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

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
Created by:
  • King, Brad
CVS contributions (if > 5%):
  • King, Brad (98%)
CVS logs (CVSweb):
  • .h (/IO/vtkXMLUnstructuredDataReader.h)
  • .cxx (/IO/vtkXMLUnstructuredDataReader.cxx)

Definition at line 45 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)

Static Public Member Functions

int IsTypeOf (const char *type)
vtkXMLUnstructuredDataReaderSafeDownCast (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 ()
void SetupOutputData ()
int ReadPiece (vtkXMLDataElement *ePiece)
int ReadPieceData ()
int ReadCellArray (vtkIdType numberOfCells, vtkIdType totalNumberOfCells, vtkXMLDataElement *eCells, vtkCellArray *outCells)
int ReadArrayForPoints (vtkXMLDataElement *da, vtkDataArray *outArray)
virtual vtkIdType GetNumberOfPointsInPiece (int piece)
virtual vtkIdType GetNumberOfCellsInPiece (int piece)=0

Protected Attributes

int UpdatePiece
int UpdateNumberOfPieces
int UpdateGhostLevel
int StartPiece
int EndPiece
vtkIdType TotalNumberOfPoints
vtkIdType TotalNumberOfCells
vtkIdType StartPoint
vtkXMLDataElement ** PointElements
vtkIdTypeNumberOfPoints


Member Typedef Documentation

typedef vtkXMLDataReader vtkXMLUnstructuredDataReader::Superclass
 

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

Definition at line 48 of file vtkXMLUnstructuredDataReader.h.


Constructor & Destructor Documentation

vtkXMLUnstructuredDataReader::vtkXMLUnstructuredDataReader  )  [protected]
 

vtkXMLUnstructuredDataReader::~vtkXMLUnstructuredDataReader  )  [protected]
 


Member Function Documentation

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

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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 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.

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 vtkXMLReader.

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

Implements vtkXMLReader.

virtual void vtkXMLUnstructuredDataReader::GetOutputUpdateExtent int &  piece,
int &  numberOfPieces,
int &  ghostLevel
[protected, pure virtual]
 

Implemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

virtual void vtkXMLUnstructuredDataReader::SetupOutputTotals  )  [protected, virtual]
 

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

virtual void vtkXMLUnstructuredDataReader::SetupNextPiece  )  [protected, virtual]
 

Reimplemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.

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  )  [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::ReadArrayForPoints vtkXMLDataElement da,
vtkDataArray outArray
[protected, virtual]
 

Reimplemented from vtkXMLDataReader.

virtual vtkIdType vtkXMLUnstructuredDataReader::GetNumberOfPointsInPiece int  piece  )  [protected, virtual]
 

virtual vtkIdType vtkXMLUnstructuredDataReader::GetNumberOfCellsInPiece int  piece  )  [protected, pure virtual]
 

Implemented in vtkXMLPolyDataReader, and vtkXMLUnstructuredGridReader.


Member Data Documentation

int vtkXMLUnstructuredDataReader::UpdatePiece [protected]
 

Definition at line 100 of file vtkXMLUnstructuredDataReader.h.

int vtkXMLUnstructuredDataReader::UpdateNumberOfPieces [protected]
 

Definition at line 101 of file vtkXMLUnstructuredDataReader.h.

int vtkXMLUnstructuredDataReader::UpdateGhostLevel [protected]
 

Definition at line 102 of file vtkXMLUnstructuredDataReader.h.

int vtkXMLUnstructuredDataReader::StartPiece [protected]
 

Definition at line 105 of file vtkXMLUnstructuredDataReader.h.

int vtkXMLUnstructuredDataReader::EndPiece [protected]
 

Definition at line 106 of file vtkXMLUnstructuredDataReader.h.

vtkIdType vtkXMLUnstructuredDataReader::TotalNumberOfPoints [protected]
 

Definition at line 107 of file vtkXMLUnstructuredDataReader.h.

vtkIdType vtkXMLUnstructuredDataReader::TotalNumberOfCells [protected]
 

Definition at line 108 of file vtkXMLUnstructuredDataReader.h.

vtkIdType vtkXMLUnstructuredDataReader::StartPoint [protected]
 

Definition at line 109 of file vtkXMLUnstructuredDataReader.h.

vtkXMLDataElement** vtkXMLUnstructuredDataReader::PointElements [protected]
 

Definition at line 112 of file vtkXMLUnstructuredDataReader.h.

vtkIdType* vtkXMLUnstructuredDataReader::NumberOfPoints [protected]
 

Definition at line 113 of file vtkXMLUnstructuredDataReader.h.


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