vtkXMLStructuredDataReader Class Reference

#include <vtkXMLStructuredDataReader.h>

Inheritance diagram for vtkXMLStructuredDataReader:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLStructuredDataReader:

Collaboration graph
[legend]

List of all members.


Detailed Description

Superclass for structured data XML readers.

vtkXMLStructuredDataReader provides functionality common to all structured data format readers.

See also:
vtkXMLImageDataReader vtkXMLStructuredGridReader vtkXMLRectilinearGridReader

Definition at line 32 of file vtkXMLStructuredDataReader.h.


Public Types

typedef vtkXMLDataReader Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual vtkIdType GetNumberOfPoints ()
virtual vtkIdType GetNumberOfCells ()
virtual void CopyOutputInformation (vtkInformation *outInfo, int port)
virtual void SetWholeSlices (int)
virtual int GetWholeSlices ()
virtual void WholeSlicesOn ()
virtual void WholeSlicesOff ()

Static Public Member Functions

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

Protected Member Functions

 vtkXMLStructuredDataReader ()
 ~vtkXMLStructuredDataReader ()
virtual void SetOutputExtent (int *extent)=0
int ReadPrimaryElement (vtkXMLDataElement *ePrimary)
void ReadXMLData ()
void SetupEmptyOutput ()
void SetupPieces (int numPieces)
void DestroyPieces ()
virtual int ReadArrayForPoints (vtkXMLDataElement *da, vtkAbstractArray *outArray)
virtual int ReadArrayForCells (vtkXMLDataElement *da, vtkAbstractArray *outArray)
int ReadPiece (vtkXMLDataElement *ePiece)
virtual int ReadSubExtent (int *inExtent, int *inDimensions, vtkIdType *inIncrements, int *outExtent, int *outDimensions, vtkIdType *outIncrements, int *subExtent, int *subDimensions, vtkXMLDataElement *da, vtkAbstractArray *array)

Protected Attributes

int * PieceExtents
int * PiecePointDimensions
vtkIdTypePiecePointIncrements
int * PieceCellDimensions
vtkIdTypePieceCellIncrements
int WholeSlices
int UpdateExtent [6]
int PointDimensions [3]
int CellDimensions [3]
vtkIdType PointIncrements [3]
vtkIdType CellIncrements [3]
int WholeExtent [6]
int SubExtent [6]
int SubPointDimensions [3]
int SubCellDimensions [3]

Member Typedef Documentation


Constructor & Destructor Documentation

vtkXMLStructuredDataReader::vtkXMLStructuredDataReader (  )  [protected]

vtkXMLStructuredDataReader::~vtkXMLStructuredDataReader (  )  [protected]


Member Function Documentation

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

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

Reimplemented in vtkXMLImageDataReader, vtkXMLRectilinearGridReader, and vtkXMLStructuredGridReader.

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

Reimplemented in vtkXMLImageDataReader, vtkXMLRectilinearGridReader, and vtkXMLStructuredGridReader.

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

void vtkXMLStructuredDataReader::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 vtkXMLDataReader.

Reimplemented in vtkXMLImageDataReader, vtkXMLRectilinearGridReader, and vtkXMLStructuredGridReader.

virtual vtkIdType vtkXMLStructuredDataReader::GetNumberOfPoints (  )  [virtual]

Get the number of points in the output.

Implements vtkXMLDataReader.

virtual vtkIdType vtkXMLStructuredDataReader::GetNumberOfCells (  )  [virtual]

Get the number of cells in the output.

Implements vtkXMLDataReader.

virtual void vtkXMLStructuredDataReader::SetWholeSlices ( int   )  [virtual]

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

virtual int vtkXMLStructuredDataReader::GetWholeSlices (  )  [virtual]

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

virtual void vtkXMLStructuredDataReader::WholeSlicesOn (  )  [virtual]

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

virtual void vtkXMLStructuredDataReader::WholeSlicesOff (  )  [virtual]

Get/Set whether the reader gets a whole slice from disk when only a rectangle inside it is needed. This mode reads more data than necessary, but prevents many short reads from interacting poorly with the compression and encoding schemes.

virtual void vtkXMLStructuredDataReader::CopyOutputInformation ( vtkInformation outInfo,
int  port 
) [virtual]

For the specified port, copy the information this reader sets up in SetupOutputInformation to outInfo

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLImageDataReader.

virtual void vtkXMLStructuredDataReader::SetOutputExtent ( int *  extent  )  [protected, pure virtual]

int vtkXMLStructuredDataReader::ReadPrimaryElement ( vtkXMLDataElement ePrimary  )  [protected, virtual]

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLImageDataReader.

void vtkXMLStructuredDataReader::ReadXMLData (  )  [protected, virtual]

Reimplemented from vtkXMLDataReader.

void vtkXMLStructuredDataReader::SetupEmptyOutput (  )  [protected, virtual]

Implements vtkXMLReader.

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

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLRectilinearGridReader, and vtkXMLStructuredGridReader.

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

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLRectilinearGridReader, and vtkXMLStructuredGridReader.

virtual int vtkXMLStructuredDataReader::ReadArrayForPoints ( vtkXMLDataElement da,
vtkAbstractArray outArray 
) [protected, virtual]

Reimplemented from vtkXMLDataReader.

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

Reimplemented from vtkXMLDataReader.

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

Reimplemented from vtkXMLDataReader.

Reimplemented in vtkXMLRectilinearGridReader, and vtkXMLStructuredGridReader.

virtual int vtkXMLStructuredDataReader::ReadSubExtent ( int *  inExtent,
int *  inDimensions,
vtkIdType inIncrements,
int *  outExtent,
int *  outDimensions,
vtkIdType outIncrements,
int *  subExtent,
int *  subDimensions,
vtkXMLDataElement da,
vtkAbstractArray array 
) [protected, virtual]


Member Data Documentation

Definition at line 69 of file vtkXMLStructuredDataReader.h.

Definition at line 70 of file vtkXMLStructuredDataReader.h.

Definition at line 71 of file vtkXMLStructuredDataReader.h.

Definition at line 72 of file vtkXMLStructuredDataReader.h.

Definition at line 73 of file vtkXMLStructuredDataReader.h.

Definition at line 76 of file vtkXMLStructuredDataReader.h.

Definition at line 79 of file vtkXMLStructuredDataReader.h.

Definition at line 80 of file vtkXMLStructuredDataReader.h.

Definition at line 81 of file vtkXMLStructuredDataReader.h.

Definition at line 82 of file vtkXMLStructuredDataReader.h.

Definition at line 83 of file vtkXMLStructuredDataReader.h.

Definition at line 85 of file vtkXMLStructuredDataReader.h.

Definition at line 88 of file vtkXMLStructuredDataReader.h.

Definition at line 89 of file vtkXMLStructuredDataReader.h.

Definition at line 90 of file vtkXMLStructuredDataReader.h.


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

Generated on Wed Jun 3 19:49:07 2009 for VTK by  doxygen 1.5.6