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

Superclass for PVTK XML file readers. More...

#include <vtkXMLPDataReader.h>

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

List of all members.

Public Types

typedef vtkXMLReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLPDataReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void CopyOutputInformation (vtkInformation *outInfo, int port)
virtual int GetNumberOfPieces ()

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLPDataReader ()
 ~vtkXMLPDataReader ()
int ReadXMLInformation ()
virtual void SetupOutputInformation (vtkInformation *outInfo)
int ReadPrimaryElement (vtkXMLDataElement *ePrimary)
vtkDataSetGetPieceInputAsDataSet (int piece)
void SetupOutputData ()
virtual vtkXMLDataReaderCreatePieceReader ()=0
virtual vtkIdType GetNumberOfPoints ()=0
virtual vtkIdType GetNumberOfCells ()=0
virtual void CopyArrayForPoints (vtkDataArray *inArray, vtkDataArray *outArray)=0
virtual void CopyArrayForCells (vtkDataArray *inArray, vtkDataArray *outArray)=0
virtual void SetupPieces (int numPieces)
virtual void DestroyPieces ()
int ReadPiece (vtkXMLDataElement *ePiece, int index)
virtual int ReadPiece (vtkXMLDataElement *ePiece)
int ReadPieceData (int index)
virtual int ReadPieceData ()
int CanReadPiece (int index)
char * CreatePieceFileName (const char *fileName)
void SplitFileName ()
virtual void PieceProgressCallback ()

Static Protected Member Functions

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

Protected Attributes

int NumberOfPieces
int GhostLevel
int Piece
char * PathName
vtkXMLDataElement ** PieceElements
vtkXMLDataReader ** PieceReaders
intCanReadPieceFlag
vtkXMLDataElementPPointDataElement
vtkXMLDataElementPCellDataElement
vtkCallbackCommandPieceProgressObserver

Detailed Description

Superclass for PVTK XML file readers.

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

See also:
vtkXMLDataReader

Definition at line 36 of file vtkXMLPDataReader.h.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

static int vtkXMLPDataReader::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 vtkXMLPStructuredDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, and vtkXMLPUnstructuredDataReader.

virtual int vtkXMLPDataReader::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 vtkXMLPStructuredDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, and vtkXMLPUnstructuredDataReader.

virtual vtkObjectBase* vtkXMLPDataReader::NewInstanceInternal ( ) const [protected, virtual]
void vtkXMLPDataReader::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 vtkXMLPStructuredDataReader, vtkXMLPImageDataReader, vtkXMLPPolyDataReader, vtkXMLPRectilinearGridReader, vtkXMLPStructuredGridReader, vtkXMLPUnstructuredGridReader, and vtkXMLPUnstructuredDataReader.

Get the number of pieces from the summary file being read.

virtual void vtkXMLPDataReader::CopyOutputInformation ( vtkInformation outInfo,
int  port 
) [virtual]
int vtkXMLPDataReader::ReadXMLInformation ( ) [protected, virtual]

Reimplemented from vtkXMLReader.

virtual void vtkXMLPDataReader::SetupOutputInformation ( vtkInformation outInfo) [protected, virtual]
int vtkXMLPDataReader::ReadPrimaryElement ( vtkXMLDataElement ePrimary) [protected, virtual]
void vtkXMLPDataReader::SetupOutputData ( ) [protected, virtual]
virtual vtkXMLDataReader* vtkXMLPDataReader::CreatePieceReader ( ) [protected, pure virtual]
virtual vtkIdType vtkXMLPDataReader::GetNumberOfPoints ( ) [protected, pure virtual]
virtual vtkIdType vtkXMLPDataReader::GetNumberOfCells ( ) [protected, pure virtual]
virtual void vtkXMLPDataReader::CopyArrayForPoints ( vtkDataArray inArray,
vtkDataArray outArray 
) [protected, pure virtual]
virtual void vtkXMLPDataReader::CopyArrayForCells ( vtkDataArray inArray,
vtkDataArray outArray 
) [protected, pure virtual]
virtual void vtkXMLPDataReader::SetupPieces ( int  numPieces) [protected, virtual]

Reimplemented in vtkXMLPStructuredDataReader.

virtual void vtkXMLPDataReader::DestroyPieces ( ) [protected, virtual]

Reimplemented in vtkXMLPStructuredDataReader.

int vtkXMLPDataReader::ReadPiece ( vtkXMLDataElement ePiece,
int  index 
) [protected]
virtual int vtkXMLPDataReader::ReadPiece ( vtkXMLDataElement ePiece) [protected, virtual]

Reimplemented in vtkXMLPStructuredDataReader.

int vtkXMLPDataReader::ReadPieceData ( int  index) [protected]
virtual int vtkXMLPDataReader::ReadPieceData ( ) [protected, virtual]
int vtkXMLPDataReader::CanReadPiece ( int  index) [protected]
char* vtkXMLPDataReader::CreatePieceFileName ( const char *  fileName) [protected]
void vtkXMLPDataReader::SplitFileName ( ) [protected]
static void vtkXMLPDataReader::PieceProgressCallbackFunction ( vtkObject ,
unsigned  long,
void *  ,
void *   
) [static, protected]
virtual void vtkXMLPDataReader::PieceProgressCallback ( ) [protected, virtual]

Member Data Documentation

Definition at line 89 of file vtkXMLPDataReader.h.

Definition at line 92 of file vtkXMLPDataReader.h.

Definition at line 95 of file vtkXMLPDataReader.h.

char* vtkXMLPDataReader::PathName [protected]

Definition at line 98 of file vtkXMLPDataReader.h.

Definition at line 101 of file vtkXMLPDataReader.h.

Definition at line 102 of file vtkXMLPDataReader.h.

Definition at line 103 of file vtkXMLPDataReader.h.

Definition at line 106 of file vtkXMLPDataReader.h.

Definition at line 107 of file vtkXMLPDataReader.h.

Definition at line 111 of file vtkXMLPDataReader.h.


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