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

Superclass for unstructured data XML readers. More...

#include <vtkXMLUnstructuredDataReader.h>

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

List of all members.

Public Types

typedef vtkXMLDataReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLUnstructuredDataReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkIdType GetNumberOfPoints ()
virtual vtkIdType GetNumberOfCells ()
void SetupUpdateExtent (int piece, int numberOfPieces, int ghostLevel)
virtual void CopyOutputInformation (vtkInformation *outInfo, int port)

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkXMLUnstructuredDataReader
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLUnstructuredDataReader ()
 ~vtkXMLUnstructuredDataReader ()
vtkPointSetGetOutputAsPointSet ()
vtkXMLDataElementFindDataArrayWithName (vtkXMLDataElement *eParent, const char *name)
vtkIdTypeArrayConvertToIdTypeArray (vtkDataArray *a)
vtkUnsignedCharArrayConvertToUnsignedCharArray (vtkDataArray *a)
void ReadXMLData ()
virtual void SetupEmptyOutput ()
virtual void GetOutputUpdateExtent (int &piece, int &numberOfPieces, int &ghostLevel)=0
virtual void SetupOutputTotals ()
virtual void SetupNextPiece ()
void SetupPieces (int numPieces)
void DestroyPieces ()
void SetupOutputInformation (vtkInformation *outInfo)
void SetupOutputData ()
int ReadPiece (vtkXMLDataElement *ePiece)
int ReadPieceData ()
int ReadCellArray (vtkIdType numberOfCells, vtkIdType totalNumberOfCells, vtkXMLDataElement *eCells, vtkCellArray *outCells)
int ReadFaceArray (vtkIdType numberOfCells, vtkXMLDataElement *eCells, vtkIdTypeArray *outFaces, vtkIdTypeArray *outFaceOffsets)
virtual int ReadArrayForPoints (vtkXMLDataElement *da, vtkAbstractArray *outArray)
virtual vtkIdType GetNumberOfPointsInPiece (int piece)
virtual vtkIdType GetNumberOfCellsInPiece (int piece)=0
int PointsNeedToReadTimeStep (vtkXMLDataElement *eNested)
int CellsNeedToReadTimeStep (vtkXMLDataElement *eNested, int &cellstimestep, unsigned long &cellsoffset)

Protected Attributes

int UpdatePiece
int UpdateNumberOfPieces
int UpdateGhostLevel
int StartPiece
int EndPiece
vtkIdType TotalNumberOfPoints
vtkIdType TotalNumberOfCells
vtkIdType StartPoint
vtkXMLDataElement ** PointElements
vtkIdTypeNumberOfPoints
int PointsTimeStep
unsigned long PointsOffset

Detailed Description

Superclass for unstructured data XML readers.

vtkXMLUnstructuredDataReader provides functionality common to all unstructured data format readers.

See also:
vtkXMLPolyDataReader vtkXMLUnstructuredGridReader

Definition at line 36 of file vtkXMLUnstructuredDataReader.h.


Member Typedef Documentation

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLUnstructuredGridReader, vtkXMLPolyDataReader, and vtkRTXMLPolyDataReader.

Definition at line 39 of file vtkXMLUnstructuredDataReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented in vtkXMLUnstructuredGridReader, vtkXMLPolyDataReader, and vtkRTXMLPolyDataReader.

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

Reimplemented in vtkXMLUnstructuredGridReader, vtkXMLPolyDataReader, and vtkRTXMLPolyDataReader.

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

Reimplemented in vtkXMLUnstructuredGridReader, vtkXMLPolyDataReader, and vtkRTXMLPolyDataReader.

Get the number of points in the output.

Implements vtkXMLDataReader.

Get the number of cells in the output.

Implements vtkXMLDataReader.

void vtkXMLUnstructuredDataReader::SetupUpdateExtent ( int  piece,
int  numberOfPieces,
int  ghostLevel 
)

Setup the reader as if the given update extent were requested by its output. This can be used after an UpdateInformation to validate GetNumberOfPoints() and GetNumberOfCells() without actually reading data.

virtual void vtkXMLUnstructuredDataReader::CopyOutputInformation ( vtkInformation outInfo,
int  port 
) [virtual]

Reimplemented from vtkXMLDataReader.

void vtkXMLUnstructuredDataReader::ReadXMLData ( ) [protected, virtual]

Reimplemented from vtkXMLDataReader.

virtual void vtkXMLUnstructuredDataReader::SetupEmptyOutput ( ) [protected, virtual]

Implements vtkXMLReader.

virtual void vtkXMLUnstructuredDataReader::GetOutputUpdateExtent ( int piece,
int numberOfPieces,
int ghostLevel 
) [protected, pure virtual]
virtual void vtkXMLUnstructuredDataReader::SetupOutputTotals ( ) [protected, virtual]
virtual void vtkXMLUnstructuredDataReader::SetupNextPiece ( ) [protected, virtual]
void vtkXMLUnstructuredDataReader::SetupPieces ( int  numPieces) [protected, virtual]

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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

Reimplemented from vtkXMLDataReader.

void vtkXMLUnstructuredDataReader::SetupOutputData ( ) [protected, virtual]

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

int vtkXMLUnstructuredDataReader::ReadCellArray ( vtkIdType  numberOfCells,
vtkIdType  totalNumberOfCells,
vtkXMLDataElement eCells,
vtkCellArray outCells 
) [protected]
int vtkXMLUnstructuredDataReader::ReadFaceArray ( vtkIdType  numberOfCells,
vtkXMLDataElement eCells,
vtkIdTypeArray outFaces,
vtkIdTypeArray outFaceOffsets 
) [protected]
virtual int vtkXMLUnstructuredDataReader::ReadArrayForPoints ( vtkXMLDataElement da,
vtkAbstractArray outArray 
) [protected, virtual]

Reimplemented from vtkXMLDataReader.

virtual vtkIdType vtkXMLUnstructuredDataReader::GetNumberOfPointsInPiece ( int  piece) [protected, virtual]
virtual vtkIdType vtkXMLUnstructuredDataReader::GetNumberOfCellsInPiece ( int  piece) [protected, pure virtual]
int vtkXMLUnstructuredDataReader::CellsNeedToReadTimeStep ( vtkXMLDataElement eNested,
int cellstimestep,
unsigned long &  cellsoffset 
) [protected]

Member Data Documentation

Definition at line 102 of file vtkXMLUnstructuredDataReader.h.

Definition at line 103 of file vtkXMLUnstructuredDataReader.h.

Definition at line 104 of file vtkXMLUnstructuredDataReader.h.

Definition at line 107 of file vtkXMLUnstructuredDataReader.h.

Definition at line 108 of file vtkXMLUnstructuredDataReader.h.

Definition at line 109 of file vtkXMLUnstructuredDataReader.h.

Definition at line 110 of file vtkXMLUnstructuredDataReader.h.

Definition at line 111 of file vtkXMLUnstructuredDataReader.h.

Definition at line 114 of file vtkXMLUnstructuredDataReader.h.

Definition at line 115 of file vtkXMLUnstructuredDataReader.h.

Definition at line 117 of file vtkXMLUnstructuredDataReader.h.

unsigned long vtkXMLUnstructuredDataReader::PointsOffset [protected]

Definition at line 118 of file vtkXMLUnstructuredDataReader.h.


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