vtkXMLUnstructuredDataReader Class Reference

#include <vtkXMLUnstructuredDataReader.h>

Inheritance diagram for vtkXMLUnstructuredDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLUnstructuredDataReader:

Collaboration graph
[legend]

List of all members.


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 35 of file vtkXMLUnstructuredDataReader.h.


Public Types

typedef vtkXMLDataReader Superclass

Public Member Functions

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

Protected Member Functions

 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

Member Typedef Documentation

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkRTXMLPolyDataReader, vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

Definition at line 38 of file vtkXMLUnstructuredDataReader.h.


Constructor & Destructor Documentation

vtkXMLUnstructuredDataReader::vtkXMLUnstructuredDataReader (  )  [protected]

vtkXMLUnstructuredDataReader::~vtkXMLUnstructuredDataReader (  )  [protected]


Member Function Documentation

virtual const char* vtkXMLUnstructuredDataReader::GetClassName (  )  [virtual]

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 vtkRTXMLPolyDataReader, vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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 vtkRTXMLPolyDataReader, vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

static vtkXMLUnstructuredDataReader* vtkXMLUnstructuredDataReader::SafeDownCast ( vtkObject o  )  [static]

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 vtkRTXMLPolyDataReader, vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

virtual vtkIdType vtkXMLUnstructuredDataReader::GetNumberOfPoints (  )  [virtual]

Get the number of points in the output.

Implements vtkXMLDataReader.

virtual vtkIdType vtkXMLUnstructuredDataReader::GetNumberOfCells (  )  [virtual]

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.

vtkPointSet* vtkXMLUnstructuredDataReader::GetOutputAsPointSet (  )  [protected]

vtkXMLDataElement* vtkXMLUnstructuredDataReader::FindDataArrayWithName ( vtkXMLDataElement eParent,
const char *  name 
) [protected]

vtkIdTypeArray* vtkXMLUnstructuredDataReader::ConvertToIdTypeArray ( vtkDataArray a  )  [protected]

vtkUnsignedCharArray* vtkXMLUnstructuredDataReader::ConvertToUnsignedCharArray ( vtkDataArray a  )  [protected]

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.

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

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

int vtkXMLUnstructuredDataReader::ReadPieceData (  )  [protected, virtual]

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::PointsNeedToReadTimeStep ( vtkXMLDataElement eNested  )  [protected]

int vtkXMLUnstructuredDataReader::CellsNeedToReadTimeStep ( vtkXMLDataElement eNested,
int &  cellstimestep,
unsigned long &  cellsoffset 
) [protected]


Member Data Documentation

Definition at line 101 of file vtkXMLUnstructuredDataReader.h.

Definition at line 102 of file vtkXMLUnstructuredDataReader.h.

Definition at line 103 of file vtkXMLUnstructuredDataReader.h.

Definition at line 106 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 113 of file vtkXMLUnstructuredDataReader.h.

Definition at line 114 of file vtkXMLUnstructuredDataReader.h.

Definition at line 116 of file vtkXMLUnstructuredDataReader.h.

unsigned long vtkXMLUnstructuredDataReader::PointsOffset [protected]

Definition at line 117 of file vtkXMLUnstructuredDataReader.h.


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

Generated on Wed Aug 24 12:23:01 2011 for VTK by  doxygen 1.5.6