vtkXMLPolyDataReader Class Reference

#include <vtkXMLPolyDataReader.h>

Inheritance diagram for vtkXMLPolyDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLPolyDataReader:

Collaboration graph
[legend]

List of all members.


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
Tests:
vtkXMLPolyDataReader (Tests)

Definition at line 38 of file vtkXMLPolyDataReader.h.


Public Types

typedef
vtkXMLUnstructuredDataReader 
Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void SetOutput (vtkPolyData *output)
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 (vtkObject *o)
static vtkXMLPolyDataReaderNew ()

Protected Member Functions

 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

Member Typedef Documentation

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

Definition at line 41 of file vtkXMLPolyDataReader.h.


Constructor & Destructor Documentation

vtkXMLPolyDataReader::vtkXMLPolyDataReader (  )  [protected]

vtkXMLPolyDataReader::~vtkXMLPolyDataReader (  )  [protected]


Member Function Documentation

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

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented in vtkRTXMLPolyDataReader.

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

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.

static vtkXMLPolyDataReader* vtkXMLPolyDataReader::New (  )  [static]

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

Reimplemented from vtkAlgorithm.

Reimplemented in vtkRTXMLPolyDataReader.

void vtkXMLPolyDataReader::SetOutput ( vtkPolyData output  ) 

Get/Set the reader's output.

vtkPolyData* vtkXMLPolyDataReader::GetOutput (  ) 

Get/Set the reader's output.

vtkPolyData* vtkXMLPolyDataReader::GetOutput ( int  idx  ) 

Get/Set the reader's output.

virtual vtkIdType vtkXMLPolyDataReader::GetNumberOfVerts (  )  [virtual]

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

virtual vtkIdType vtkXMLPolyDataReader::GetNumberOfLines (  )  [virtual]

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

virtual vtkIdType vtkXMLPolyDataReader::GetNumberOfStrips (  )  [virtual]

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

virtual vtkIdType vtkXMLPolyDataReader::GetNumberOfPolys (  )  [virtual]

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 86 of file vtkXMLPolyDataReader.h.

Definition at line 87 of file vtkXMLPolyDataReader.h.

Definition at line 88 of file vtkXMLPolyDataReader.h.

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 96 of file vtkXMLPolyDataReader.h.

Definition at line 97 of file vtkXMLPolyDataReader.h.

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

unsigned long vtkXMLPolyDataReader::VertsOffset [protected]

Definition at line 107 of file vtkXMLPolyDataReader.h.

Definition at line 108 of file vtkXMLPolyDataReader.h.

unsigned long vtkXMLPolyDataReader::LinesOffset [protected]

Definition at line 109 of file vtkXMLPolyDataReader.h.

Definition at line 110 of file vtkXMLPolyDataReader.h.

unsigned long vtkXMLPolyDataReader::StripsOffset [protected]

Definition at line 111 of file vtkXMLPolyDataReader.h.

Definition at line 112 of file vtkXMLPolyDataReader.h.

unsigned long vtkXMLPolyDataReader::PolysOffset [protected]

Definition at line 113 of file vtkXMLPolyDataReader.h.


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

Generated on Sat Dec 27 14:01:07 2008 for VTK by  doxygen 1.5.6