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

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.
void SetOutput (vtkUnstructuredGrid *output)
vtkUnstructuredGridGetOutput ()
vtkUnstructuredGridGetOutput (int idx)
static vtkXMLUnstructuredGridReaderNew ()

Public Types

typedef vtkXMLUnstructuredDataReader Superclass

Public Member Functions

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

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkXMLUnstructuredGridReaderSafeDownCast (vtkObject *o)

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 ()
int ReadArrayForCells (vtkXMLDataElement *da, vtkDataArray *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

typedef vtkXMLUnstructuredDataReader vtkXMLUnstructuredGridReader::Superclass
 

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

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

Get/Set the reader's output.

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]
 

Implements vtkXMLUnstructuredDataReader.

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.

int vtkXMLUnstructuredGridReader::ReadArrayForCells vtkXMLDataElement da,
vtkDataArray outArray
[protected, virtual]
 

Reimplemented from vtkXMLDataReader.

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

Implements vtkXMLUnstructuredDataReader.

virtual int vtkXMLUnstructuredGridReader::FillOutputPortInformation int  ,
vtkInformation
[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

vtkIdType vtkXMLUnstructuredGridReader::StartCell [protected]
 

Definition at line 78 of file vtkXMLUnstructuredGridReader.h.

vtkXMLDataElement** vtkXMLUnstructuredGridReader::CellElements [protected]
 

Definition at line 81 of file vtkXMLUnstructuredGridReader.h.

vtkIdType* vtkXMLUnstructuredGridReader::NumberOfCells [protected]
 

Definition at line 82 of file vtkXMLUnstructuredGridReader.h.

int vtkXMLUnstructuredGridReader::CellsTimeStep [protected]
 

Definition at line 84 of file vtkXMLUnstructuredGridReader.h.

unsigned long vtkXMLUnstructuredGridReader::CellsOffset [protected]
 

Definition at line 85 of file vtkXMLUnstructuredGridReader.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 22 00:34:40 2008 for VTK by  doxygen 1.4.3-20050530