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

vtkXMLDataReader Class Reference

#include <vtkXMLDataReader.h>

Inheritance diagram for vtkXMLDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLDataReader:

Collaboration graph
[legend]
List of all members.

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 31 of file vtkXMLDataReader.h.

Public Types

typedef vtkXMLReader Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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 (vtkObject *o)

Protected Member Functions

 vtkXMLDataReader ()
 ~vtkXMLDataReader ()
virtual void CreateXMLParser ()
virtual void DestroyXMLParser ()
virtual void SetupOutputInformation (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, vtkDataArray *outArray)
virtual int ReadArrayForCells (vtkXMLDataElement *da, vtkDataArray *outArray)
int ReadData (vtkXMLDataElement *da, void *data, int wordType, vtkIdType startWord, vtkIdType numWords)
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
int * PointDataTimeStep
unsigned long * PointDataOffset
int * CellDataTimeStep
unsigned long * CellDataOffset


Member Typedef Documentation

typedef vtkXMLReader vtkXMLDataReader::Superclass
 

Reimplemented from vtkXMLReader.

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

Definition at line 34 of file vtkXMLDataReader.h.


Constructor & Destructor Documentation

vtkXMLDataReader::vtkXMLDataReader  )  [protected]
 

vtkXMLDataReader::~vtkXMLDataReader  )  [protected]
 


Member Function Documentation

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

Reimplemented from vtkXMLReader.

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

static int vtkXMLDataReader::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 vtkXMLReader.

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

virtual int vtkXMLDataReader::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 vtkXMLReader.

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

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

Reimplemented from vtkXMLReader.

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

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 vtkXMLImageDataReader, vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredDataReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.

virtual vtkIdType vtkXMLDataReader::GetNumberOfPoints  )  [pure virtual]
 

Get the number of points in the output.

Implemented in vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader.

virtual vtkIdType vtkXMLDataReader::GetNumberOfCells  )  [pure virtual]
 

Get the number of cells in the output.

Implemented in vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader.

virtual void vtkXMLDataReader::CopyOutputInformation vtkInformation outInfo,
int  port
[virtual]
 

Reimplemented in vtkXMLImageDataReader, vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader.

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]
 

Reimplemented in vtkXMLImageDataReader, and vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLImageDataReader, and vtkXMLStructuredDataReader.

void vtkXMLDataReader::SetupOutputData  )  [protected, virtual]
 

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.

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

Reimplemented in vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredDataReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.

virtual void vtkXMLDataReader::DestroyPieces  )  [protected, virtual]
 

Reimplemented in vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredDataReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.

int vtkXMLDataReader::ReadPiece vtkXMLDataElement ePiece,
int  piece
[protected]
 

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

Reimplemented in vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredDataReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.

int vtkXMLDataReader::ReadPieceData int  piece  )  [protected]
 

virtual int vtkXMLDataReader::ReadPieceData  )  [protected, virtual]
 

Reimplemented in vtkXMLPolyDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, vtkXMLUnstructuredDataReader, and vtkXMLUnstructuredGridReader.

virtual void vtkXMLDataReader::ReadXMLData  )  [protected, virtual]
 

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader.

virtual int vtkXMLDataReader::ReadArrayForPoints vtkXMLDataElement da,
vtkDataArray outArray
[protected, virtual]
 

Reimplemented in vtkXMLStructuredDataReader, and vtkXMLUnstructuredDataReader.

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

Reimplemented in vtkXMLPolyDataReader, vtkXMLStructuredDataReader, and vtkXMLUnstructuredGridReader.

int vtkXMLDataReader::ReadData vtkXMLDataElement da,
void *  data,
int  wordType,
vtkIdType  startWord,
vtkIdType  numWords
[protected]
 

static void vtkXMLDataReader::DataProgressCallbackFunction vtkObject ,
unsigned  long,
void *  ,
void * 
[static, protected]
 

virtual void vtkXMLDataReader::DataProgressCallback  )  [protected, virtual]
 

int vtkXMLDataReader::PointDataNeedToReadTimeStep vtkXMLDataElement eNested  )  [protected]
 

int vtkXMLDataReader::CellDataNeedToReadTimeStep vtkXMLDataElement eNested  )  [protected]
 


Member Data Documentation

int vtkXMLDataReader::NumberOfPieces [protected]
 

Definition at line 90 of file vtkXMLDataReader.h.

vtkXMLDataElement** vtkXMLDataReader::PointDataElements [protected]
 

Definition at line 93 of file vtkXMLDataReader.h.

vtkXMLDataElement** vtkXMLDataReader::CellDataElements [protected]
 

Definition at line 94 of file vtkXMLDataReader.h.

int vtkXMLDataReader::Piece [protected]
 

Definition at line 97 of file vtkXMLDataReader.h.

int vtkXMLDataReader::NumberOfPointArrays [protected]
 

Definition at line 101 of file vtkXMLDataReader.h.

int vtkXMLDataReader::NumberOfCellArrays [protected]
 

Definition at line 102 of file vtkXMLDataReader.h.

int vtkXMLDataReader::InReadData [protected]
 

Definition at line 106 of file vtkXMLDataReader.h.

vtkCallbackCommand* vtkXMLDataReader::DataProgressObserver [protected]
 

Definition at line 109 of file vtkXMLDataReader.h.

int* vtkXMLDataReader::PointDataTimeStep [protected]
 

Definition at line 113 of file vtkXMLDataReader.h.

unsigned long* vtkXMLDataReader::PointDataOffset [protected]
 

Definition at line 114 of file vtkXMLDataReader.h.

int* vtkXMLDataReader::CellDataTimeStep [protected]
 

Definition at line 118 of file vtkXMLDataReader.h.

unsigned long* vtkXMLDataReader::CellDataOffset [protected]
 

Definition at line 119 of file vtkXMLDataReader.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:32:14 2008 for VTK by  doxygen 1.4.3-20050530