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

Read VTK XML PolyData files. More...

#include <vtkXMLPolyDataReader.h>

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

List of all members.

Public Types

typedef
vtkXMLUnstructuredDataReader 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLPolyDataReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
vtkPolyDataGetOutput ()
vtkPolyDataGetOutput (int idx)
virtual vtkIdType GetNumberOfVerts ()
virtual vtkIdType GetNumberOfLines ()
virtual vtkIdType GetNumberOfStrips ()
virtual vtkIdType GetNumberOfPolys ()

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLPolyDataReaderSafeDownCast (vtkObjectBase *o)
static vtkXMLPolyDataReaderNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkXMLPolyDataReader ()
 ~vtkXMLPolyDataReader ()
const char * GetDataSetName ()
void GetOutputUpdateExtent (int &piece, int &numberOfPieces, int &ghostLevel)
void SetupOutputTotals ()
void SetupNextPiece ()
void SetupPieces (int numPieces)
void DestroyPieces ()
void SetupOutputData ()
int ReadPiece (vtkXMLDataElement *ePiece)
int ReadPieceData ()
virtual int ReadArrayForCells (vtkXMLDataElement *da, vtkAbstractArray *outArray)
virtual vtkIdType GetNumberOfCellsInPiece (int piece)
virtual int FillOutputPortInformation (int, vtkInformation *)

Protected Attributes

int TotalNumberOfVerts
int TotalNumberOfLines
int TotalNumberOfStrips
int TotalNumberOfPolys
vtkIdType StartVert
vtkIdType StartLine
vtkIdType StartStrip
vtkIdType StartPoly
vtkXMLDataElement ** VertElements
vtkXMLDataElement ** LineElements
vtkXMLDataElement ** StripElements
vtkXMLDataElement ** PolyElements
vtkIdTypeNumberOfVerts
vtkIdTypeNumberOfLines
vtkIdTypeNumberOfStrips
vtkIdTypeNumberOfPolys
int VertsTimeStep
unsigned long VertsOffset
int LinesTimeStep
unsigned long LinesOffset
int StripsTimeStep
unsigned long StripsOffset
int PolysTimeStep
unsigned long PolysOffset

Detailed Description

Read VTK XML PolyData files.

vtkXMLPolyDataReader reads the VTK XML PolyData file format. One polygonal data file can be read to produce one output. Streaming is supported. The standard extension for this reader's file format is "vtp". This reader is also used to read a single piece of the parallel file format.

See also:
vtkXMLPPolyDataReader
Examples:
vtkXMLPolyDataReader (Examples)
Tests:
vtkXMLPolyDataReader (Tests)

Definition at line 42 of file vtkXMLPolyDataReader.h.


Member Typedef Documentation

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

Definition at line 45 of file vtkXMLPolyDataReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented in vtkRTXMLPolyDataReader.

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

Reimplemented in vtkRTXMLPolyDataReader.

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

virtual vtkObjectBase* vtkXMLPolyDataReader::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

void vtkXMLPolyDataReader::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 vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

Reimplemented in vtkRTXMLPolyDataReader.

Get the reader's output.

Get the reader's output.

Get the number of verts/lines/strips/polys in the output.

Get the number of verts/lines/strips/polys in the output.

Get the number of verts/lines/strips/polys in the output.

Get the number of verts/lines/strips/polys in the output.

const char* vtkXMLPolyDataReader::GetDataSetName ( ) [protected, virtual]

Implements vtkXMLReader.

void vtkXMLPolyDataReader::GetOutputUpdateExtent ( int piece,
int numberOfPieces,
int ghostLevel 
) [protected, virtual]
void vtkXMLPolyDataReader::SetupOutputTotals ( ) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLPolyDataReader::SetupNextPiece ( ) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLPolyDataReader::SetupPieces ( int  numPieces) [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

virtual int vtkXMLPolyDataReader::ReadArrayForCells ( vtkXMLDataElement da,
vtkAbstractArray outArray 
) [protected, virtual]

Reimplemented from vtkXMLDataReader.

virtual vtkIdType vtkXMLPolyDataReader::GetNumberOfCellsInPiece ( int  piece) [protected, virtual]
virtual int vtkXMLPolyDataReader::FillOutputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the output port information objects for this algorithm. This is invoked by the first call to GetOutputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.


Member Data Documentation

Definition at line 89 of file vtkXMLPolyDataReader.h.

Definition at line 90 of file vtkXMLPolyDataReader.h.

Definition at line 91 of file vtkXMLPolyDataReader.h.

Definition at line 92 of file vtkXMLPolyDataReader.h.

Definition at line 93 of file vtkXMLPolyDataReader.h.

Definition at line 94 of file vtkXMLPolyDataReader.h.

Definition at line 95 of file vtkXMLPolyDataReader.h.

Definition at line 96 of file vtkXMLPolyDataReader.h.

Definition at line 99 of file vtkXMLPolyDataReader.h.

Definition at line 100 of file vtkXMLPolyDataReader.h.

Definition at line 101 of file vtkXMLPolyDataReader.h.

Definition at line 102 of file vtkXMLPolyDataReader.h.

Definition at line 103 of file vtkXMLPolyDataReader.h.

Definition at line 104 of file vtkXMLPolyDataReader.h.

Definition at line 105 of file vtkXMLPolyDataReader.h.

Definition at line 106 of file vtkXMLPolyDataReader.h.

Definition at line 109 of file vtkXMLPolyDataReader.h.

unsigned long vtkXMLPolyDataReader::VertsOffset [protected]

Definition at line 110 of file vtkXMLPolyDataReader.h.

Definition at line 111 of file vtkXMLPolyDataReader.h.

unsigned long vtkXMLPolyDataReader::LinesOffset [protected]

Definition at line 112 of file vtkXMLPolyDataReader.h.

Definition at line 113 of file vtkXMLPolyDataReader.h.

unsigned long vtkXMLPolyDataReader::StripsOffset [protected]

Definition at line 114 of file vtkXMLPolyDataReader.h.

Definition at line 115 of file vtkXMLPolyDataReader.h.

unsigned long vtkXMLPolyDataReader::PolysOffset [protected]

Definition at line 116 of file vtkXMLPolyDataReader.h.


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