VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes
vtkXMLDataReader Class Reference

Superclass for VTK XML file readers. More...

#include <vtkXMLDataReader.h>

Inheritance diagram for vtkXMLDataReader:
Inheritance graph
[legend]
Collaboration diagram for vtkXMLDataReader:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkXMLReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLDataReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkIdType GetNumberOfPoints ()=0
virtual vtkIdType GetNumberOfCells ()=0
virtual void CopyOutputInformation (vtkInformation *outInfo, int port)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLDataReaderSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLDataReader ()
 ~vtkXMLDataReader ()
int SetUpdateExtentInfo (vtkXMLDataElement *eDSA, vtkInformationVector *infoVector, int piece, int numPieces)
virtual void CreateXMLParser ()
virtual void DestroyXMLParser ()
virtual void SetupOutputInformation (vtkInformation *outInfo)
virtual void SetupUpdateExtentInformation (vtkInformation *outInfo)
int ReadPrimaryElement (vtkXMLDataElement *ePrimary)
void SetupOutputData ()
virtual void SetupPieces (int numPieces)
virtual void DestroyPieces ()
int ReadPiece (vtkXMLDataElement *ePiece, int piece)
virtual int ReadPiece (vtkXMLDataElement *ePiece)
int ReadPieceData (int piece)
virtual int ReadPieceData ()
virtual void ReadXMLData ()
virtual int ReadArrayForPoints (vtkXMLDataElement *da, vtkAbstractArray *outArray)
virtual int ReadArrayForCells (vtkXMLDataElement *da, vtkAbstractArray *outArray)
int ReadArrayValues (vtkXMLDataElement *da, vtkIdType arrayIndex, vtkAbstractArray *array, vtkIdType startIndex, vtkIdType numValues)
virtual void DataProgressCallback ()
int PointDataNeedToReadTimeStep (vtkXMLDataElement *eNested)
int CellDataNeedToReadTimeStep (vtkXMLDataElement *eNested)

Static Protected Member Functions

static void DataProgressCallbackFunction (vtkObject *, unsigned long, void *, void *)

Protected Attributes

int NumberOfPieces
vtkXMLDataElement ** PointDataElements
vtkXMLDataElement ** CellDataElements
int Piece
int NumberOfPointArrays
int NumberOfCellArrays
int InReadData
vtkCallbackCommandDataProgressObserver
intPointDataTimeStep
vtkTypeInt64 * PointDataOffset
intCellDataTimeStep
vtkTypeInt64 * CellDataOffset

Detailed Description

Superclass for VTK XML file readers.

vtkXMLDataReader provides functionality common to all VTK XML file readers. Concrete subclasses call upon this functionality when needed.

See also:
vtkXMLPDataReader

Definition at line 32 of file vtkXMLDataReader.h.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

static int vtkXMLDataReader::IsTypeOf ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLStructuredDataReader, and vtkRTXMLPolyDataReader.

virtual int vtkXMLDataReader::IsA ( const char *  name) [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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLStructuredDataReader, and vtkRTXMLPolyDataReader.

virtual vtkObjectBase* vtkXMLDataReader::NewInstanceInternal ( ) const [protected, virtual]
void vtkXMLDataReader::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 vtkXMLReader.

Reimplemented in vtkXMLHyperOctreeReader, vtkXMLGenericDataObjectReader, vtkXMLUnstructuredGridReader, vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, vtkXMLStructuredDataReader, and vtkRTXMLPolyDataReader.

virtual vtkIdType vtkXMLDataReader::GetNumberOfPoints ( ) [pure virtual]
virtual vtkIdType vtkXMLDataReader::GetNumberOfCells ( ) [pure virtual]
virtual void vtkXMLDataReader::CopyOutputInformation ( vtkInformation outInfo,
int  port 
) [virtual]
int vtkXMLDataReader::SetUpdateExtentInfo ( vtkXMLDataElement eDSA,
vtkInformationVector infoVector,
int  piece,
int  numPieces 
) [protected]
virtual void vtkXMLDataReader::CreateXMLParser ( ) [protected, virtual]

Reimplemented from vtkXMLReader.

virtual void vtkXMLDataReader::DestroyXMLParser ( ) [protected, virtual]

Reimplemented from vtkXMLReader.

virtual void vtkXMLDataReader::SetupOutputInformation ( vtkInformation outInfo) [protected, virtual]
virtual void vtkXMLDataReader::SetupUpdateExtentInformation ( vtkInformation outInfo) [protected, virtual]

Reimplemented in vtkXMLImageDataReader.

int vtkXMLDataReader::ReadPrimaryElement ( vtkXMLDataElement ePrimary) [protected, virtual]

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLImageDataReader, and vtkXMLStructuredDataReader.

void vtkXMLDataReader::SetupOutputData ( ) [protected, virtual]
virtual void vtkXMLDataReader::SetupPieces ( int  numPieces) [protected, virtual]
virtual void vtkXMLDataReader::DestroyPieces ( ) [protected, virtual]
int vtkXMLDataReader::ReadPiece ( vtkXMLDataElement ePiece,
int  piece 
) [protected]
virtual int vtkXMLDataReader::ReadPiece ( vtkXMLDataElement ePiece) [protected, virtual]
int vtkXMLDataReader::ReadPieceData ( int  piece) [protected]
virtual int vtkXMLDataReader::ReadPieceData ( ) [protected, virtual]
virtual void vtkXMLDataReader::ReadXMLData ( ) [protected, virtual]
virtual int vtkXMLDataReader::ReadArrayForPoints ( vtkXMLDataElement da,
vtkAbstractArray outArray 
) [protected, virtual]
virtual int vtkXMLDataReader::ReadArrayForCells ( vtkXMLDataElement da,
vtkAbstractArray outArray 
) [protected, virtual]
int vtkXMLDataReader::ReadArrayValues ( vtkXMLDataElement da,
vtkIdType  arrayIndex,
vtkAbstractArray array,
vtkIdType  startIndex,
vtkIdType  numValues 
) [protected]
static void vtkXMLDataReader::DataProgressCallbackFunction ( vtkObject ,
unsigned  long,
void *  ,
void *   
) [static, protected]
virtual void vtkXMLDataReader::DataProgressCallback ( ) [protected, virtual]

Member Data Documentation

Definition at line 101 of file vtkXMLDataReader.h.

Definition at line 104 of file vtkXMLDataReader.h.

Definition at line 105 of file vtkXMLDataReader.h.

Definition at line 108 of file vtkXMLDataReader.h.

Definition at line 112 of file vtkXMLDataReader.h.

Definition at line 113 of file vtkXMLDataReader.h.

Definition at line 117 of file vtkXMLDataReader.h.

Definition at line 120 of file vtkXMLDataReader.h.

Definition at line 124 of file vtkXMLDataReader.h.

vtkTypeInt64* vtkXMLDataReader::PointDataOffset [protected]

Definition at line 125 of file vtkXMLDataReader.h.

Definition at line 129 of file vtkXMLDataReader.h.

vtkTypeInt64* vtkXMLDataReader::CellDataOffset [protected]

Definition at line 130 of file vtkXMLDataReader.h.


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