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

Read VTK XML UnstructuredGrid files. More...

#include <vtkXMLUnstructuredGridReader.h>

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

List of all members.

Public Types

typedef
vtkXMLUnstructuredDataReader 
Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLUnstructuredGridReaderNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
vtkUnstructuredGridGetOutput ()
vtkUnstructuredGridGetOutput (int idx)

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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

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

Definition at line 43 of file vtkXMLUnstructuredGridReader.h.


Member Typedef Documentation

Reimplemented from vtkXMLUnstructuredDataReader.

Definition at line 46 of file vtkXMLUnstructuredGridReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkXMLUnstructuredDataReader.

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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.

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

Reimplemented from vtkAlgorithm.

Get the reader's output.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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

Reimplemented from vtkXMLUnstructuredDataReader.

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 83 of file vtkXMLUnstructuredGridReader.h.

Definition at line 86 of file vtkXMLUnstructuredGridReader.h.

Definition at line 87 of file vtkXMLUnstructuredGridReader.h.

Definition at line 89 of file vtkXMLUnstructuredGridReader.h.

unsigned long vtkXMLUnstructuredGridReader::CellsOffset [protected]

Definition at line 90 of file vtkXMLUnstructuredGridReader.h.


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