Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | 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
Created by:
  • King, Brad
CVS contributions (if > 5%):
  • King, Brad (99%)
CVS logs (CVSweb):
  • .h (/IO/vtkXMLDataReader.h)
  • .cxx (/IO/vtkXMLDataReader.cxx)

Definition at line 41 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

Static Public Member Functions

int IsTypeOf (const char *type)
vtkXMLDataReaderSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXMLDataReader ()
 ~vtkXMLDataReader ()
virtual void CreateXMLParser ()
virtual void DestroyXMLParser ()
int ReadPrimaryElement (vtkXMLDataElement *ePrimary)
void SetupOutputInformation ()
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 int ReadArrayForPoints (vtkXMLDataElement *da, vtkDataArray *outArray)
virtual int ReadArrayForCells (vtkXMLDataElement *da, vtkDataArray *outArray)
int ReadData (vtkXMLDataElement *da, void *data, int wordType, int startWord, int numWords)
virtual void DataProgressCallback ()

Static Protected Member Functions

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

Protected Attributes

int NumberOfPieces
vtkXMLDataElement ** PointDataElements
vtkXMLDataElement ** CellDataElements
int Piece
int NumberOfPointArrays
int NumberOfCellArrays
int InReadData
vtkCallbackCommandDataProgressObserver


Member Typedef Documentation

typedef vtkXMLReader vtkXMLDataReader::Superclass
 

Reimplemented from vtkXMLReader.

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

Definition at line 44 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.

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.

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::CreateXMLParser  )  [protected, virtual]
 

Reimplemented from vtkXMLReader.

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

Reimplemented from vtkXMLReader.

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

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLImageDataReader, and vtkXMLStructuredDataReader.

void vtkXMLDataReader::SetupOutputInformation  )  [protected, virtual]
 

Reimplemented from vtkXMLReader.

Reimplemented in vtkXMLImageDataReader, vtkXMLRectilinearGridReader, vtkXMLStructuredGridReader, and vtkXMLUnstructuredDataReader.

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 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,
int  startWord,
int  numWords
[protected]
 

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

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


Member Data Documentation

int vtkXMLDataReader::NumberOfPieces [protected]
 

Definition at line 93 of file vtkXMLDataReader.h.

vtkXMLDataElement** vtkXMLDataReader::PointDataElements [protected]
 

Definition at line 96 of file vtkXMLDataReader.h.

vtkXMLDataElement** vtkXMLDataReader::CellDataElements [protected]
 

Definition at line 97 of file vtkXMLDataReader.h.

int vtkXMLDataReader::Piece [protected]
 

Definition at line 100 of file vtkXMLDataReader.h.

int vtkXMLDataReader::NumberOfPointArrays [protected]
 

Definition at line 104 of file vtkXMLDataReader.h.

int vtkXMLDataReader::NumberOfCellArrays [protected]
 

Definition at line 105 of file vtkXMLDataReader.h.

int vtkXMLDataReader::InReadData [protected]
 

Definition at line 109 of file vtkXMLDataReader.h.

vtkCallbackCommand* vtkXMLDataReader::DataProgressObserver [protected]
 

Definition at line 112 of file vtkXMLDataReader.h.


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