Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkXMLUnstructuredGridReader Class Reference

#include <vtkXMLUnstructuredGridReader.h>

Inheritance diagram for vtkXMLUnstructuredGridReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLUnstructuredGridReader:

Collaboration graph
[legend]
List of all members.

Detailed Description

Read VTK XML UnstructuredGrid files.

vtkXMLUnstructuredGridReader reads the VTK XML UnstructuredGrid file format. One unstructured grid file can be read to produce one output. Streaming is supported. The standard extension for this reader's file format is "vtu". This reader is also used to read a single piece of the parallel file format.

See also:
vtkXMLPUnstructuredGridReader
Created by:
  • King, Brad
CVS contributions (if > 5%):
  • King, Brad (90%)
CVS logs (CVSweb):
  • .cxx (/IO/vtkXMLUnstructuredGridReader.cxx)
  • .h (/IO/vtkXMLUnstructuredGridReader.h)
Tests:
vtkXMLUnstructuredGridReader (Tests)

Definition at line 48 of file vtkXMLUnstructuredGridReader.h.

Public Types

typedef vtkXMLUnstructuredDataReader Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetOutput (vtkUnstructuredGrid *output)
vtkUnstructuredGridGetOutput ()
vtkUnstructuredGridGetOutput (int idx)

Static Public Member Functions

int IsTypeOf (const char *type)
vtkXMLUnstructuredGridReaderSafeDownCast (vtkObject *o)
vtkXMLUnstructuredGridReaderNew ()

Protected Member Functions

 vtkXMLUnstructuredGridReader ()
 ~vtkXMLUnstructuredGridReader ()
const char * GetDataSetName ()
void GetOutputUpdateExtent (int &piece, int &numberOfPieces, int &ghostLevel)
void SetupOutputTotals ()
void SetupPieces (int numPieces)
void DestroyPieces ()
void SetupOutputData ()
int ReadPiece (vtkXMLDataElement *ePiece)
void SetupNextPiece ()
int ReadPieceData ()
int ReadArrayForCells (vtkXMLDataElement *da, vtkDataArray *outArray)
virtual vtkIdType GetNumberOfCellsInPiece (int piece)

Protected Attributes

vtkIdType StartCell
vtkXMLDataElement ** CellElements
vtkIdTypeNumberOfCells


Member Typedef Documentation

typedef vtkXMLUnstructuredDataReader vtkXMLUnstructuredGridReader::Superclass
 

Reimplemented from vtkXMLUnstructuredDataReader.

Definition at line 51 of file vtkXMLUnstructuredGridReader.h.


Constructor & Destructor Documentation

vtkXMLUnstructuredGridReader::vtkXMLUnstructuredGridReader  )  [protected]
 

vtkXMLUnstructuredGridReader::~vtkXMLUnstructuredGridReader  )  [protected]
 


Member Function Documentation

virtual const char* vtkXMLUnstructuredGridReader::GetClassName  )  [virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

int vtkXMLUnstructuredGridReader::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkXMLUnstructuredDataReader.

virtual int vtkXMLUnstructuredGridReader::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkXMLUnstructuredDataReader.

vtkXMLUnstructuredGridReader* vtkXMLUnstructuredGridReader::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLUnstructuredGridReader::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkXMLUnstructuredDataReader.

vtkXMLUnstructuredGridReader* vtkXMLUnstructuredGridReader::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

void vtkXMLUnstructuredGridReader::SetOutput vtkUnstructuredGrid output  ) 
 

Get/Set the reader's output.

vtkUnstructuredGrid* vtkXMLUnstructuredGridReader::GetOutput  ) 
 

Get/Set the reader's output.

vtkUnstructuredGrid* vtkXMLUnstructuredGridReader::GetOutput int  idx  ) 
 

Get/Set the reader's output.

Reimplemented from vtkSource.

const char* vtkXMLUnstructuredGridReader::GetDataSetName  )  [protected, virtual]
 

Implements vtkXMLReader.

void vtkXMLUnstructuredGridReader::GetOutputUpdateExtent int &  piece,
int &  numberOfPieces,
int &  ghostLevel
[protected, virtual]
 

Implements vtkXMLUnstructuredDataReader.

void vtkXMLUnstructuredGridReader::SetupOutputTotals  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLUnstructuredGridReader::SetupPieces int  numPieces  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLUnstructuredGridReader::DestroyPieces  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLUnstructuredGridReader::SetupOutputData  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

int vtkXMLUnstructuredGridReader::ReadPiece vtkXMLDataElement ePiece  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLUnstructuredGridReader::SetupNextPiece  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

int vtkXMLUnstructuredGridReader::ReadPieceData  )  [protected, virtual]
 

Reimplemented from vtkXMLUnstructuredDataReader.

int vtkXMLUnstructuredGridReader::ReadArrayForCells vtkXMLDataElement da,
vtkDataArray outArray
[protected, virtual]
 

Reimplemented from vtkXMLDataReader.

virtual vtkIdType vtkXMLUnstructuredGridReader::GetNumberOfCellsInPiece int  piece  )  [protected, virtual]
 

Implements vtkXMLUnstructuredDataReader.


Member Data Documentation

vtkIdType vtkXMLUnstructuredGridReader::StartCell [protected]
 

Definition at line 86 of file vtkXMLUnstructuredGridReader.h.

vtkXMLDataElement** vtkXMLUnstructuredGridReader::CellElements [protected]
 

Definition at line 89 of file vtkXMLUnstructuredGridReader.h.

vtkIdType* vtkXMLUnstructuredGridReader::NumberOfCells [protected]
 

Definition at line 90 of file vtkXMLUnstructuredGridReader.h.


The documentation for this class was generated from the following file: