vtkXMLUnstructuredGridReader Class Reference

#include <vtkXMLUnstructuredGridReader.h>

Inheritance diagram for vtkXMLUnstructuredGridReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLUnstructuredGridReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

Read VTK XML UnstructuredGrid files.

vtkXMLUnstructuredGridReader reads the VTK XML UnstructuredGrid file format. One unstructured grid file can be read to produce one output. Streaming is supported. The standard extension for this reader's file format is "vtu". This reader is also used to read a single piece of the parallel file format.

See also:
vtkXMLPUnstructuredGridReader
Tests:
vtkXMLUnstructuredGridReader (Tests)

Definition at line 38 of file vtkXMLUnstructuredGridReader.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 (vtkUnstructuredGrid *output)
vtkUnstructuredGridGetOutput ()
vtkUnstructuredGridGetOutput (int idx)

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkXMLUnstructuredGridReader
SafeDownCast (vtkObject *o)
static
vtkXMLUnstructuredGridReader
New ()

Protected Member Functions

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

Protected Attributes

vtkIdType StartCell
vtkXMLDataElement ** CellElements
vtkIdTypeNumberOfCells
int CellsTimeStep
unsigned long CellsOffset

Member Typedef Documentation

Reimplemented from vtkXMLUnstructuredDataReader.

Definition at line 41 of file vtkXMLUnstructuredGridReader.h.


Constructor & Destructor Documentation

vtkXMLUnstructuredGridReader::vtkXMLUnstructuredGridReader (  )  [protected]

vtkXMLUnstructuredGridReader::~vtkXMLUnstructuredGridReader (  )  [protected]


Member Function Documentation

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

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

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

Reimplemented from vtkXMLUnstructuredDataReader.

void vtkXMLUnstructuredGridReader::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.

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

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

Reimplemented from vtkAlgorithm.

void vtkXMLUnstructuredGridReader::SetOutput ( vtkUnstructuredGrid output  ) 

Get/Set the reader's output.

vtkUnstructuredGrid* vtkXMLUnstructuredGridReader::GetOutput (  ) 

Get/Set the reader's output.

vtkUnstructuredGrid* vtkXMLUnstructuredGridReader::GetOutput ( int  idx  ) 

Get/Set the reader's output.

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

Implements vtkXMLReader.

void vtkXMLUnstructuredGridReader::GetOutputUpdateExtent ( int &  piece,
int &  numberOfPieces,
int &  ghostLevel 
) [protected, virtual]

void vtkXMLUnstructuredGridReader::SetupOutputTotals (  )  [protected, virtual]

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLDataReader.

virtual vtkIdType vtkXMLUnstructuredGridReader::GetNumberOfCellsInPiece ( int  piece  )  [protected, virtual]

virtual int vtkXMLUnstructuredGridReader::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 79 of file vtkXMLUnstructuredGridReader.h.

Definition at line 82 of file vtkXMLUnstructuredGridReader.h.

Definition at line 83 of file vtkXMLUnstructuredGridReader.h.

Definition at line 85 of file vtkXMLUnstructuredGridReader.h.

unsigned long vtkXMLUnstructuredGridReader::CellsOffset [protected]

Definition at line 86 of file vtkXMLUnstructuredGridReader.h.


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

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