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.

virtual void CopyOutputInformation (vtkInformation *outInfo, int port)
 vtkXMLStructuredDataReader ()
 ~vtkXMLStructuredDataReader ()

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

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]

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

vtkXMLStructuredDataReader::~vtkXMLStructuredDataReader (  )  [protected]

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


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 vtkTypeMacro 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 vtkTypeMacro 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 71 of file vtkXMLStructuredDataReader.h.

Definition at line 72 of file vtkXMLStructuredDataReader.h.

Definition at line 73 of file vtkXMLStructuredDataReader.h.

Definition at line 74 of file vtkXMLStructuredDataReader.h.

Definition at line 75 of file vtkXMLStructuredDataReader.h.

Definition at line 78 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 84 of file vtkXMLStructuredDataReader.h.

Definition at line 85 of file vtkXMLStructuredDataReader.h.

Definition at line 87 of file vtkXMLStructuredDataReader.h.

Definition at line 90 of file vtkXMLStructuredDataReader.h.

Definition at line 91 of file vtkXMLStructuredDataReader.h.

Definition at line 92 of file vtkXMLStructuredDataReader.h.


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

Generated on Wed Aug 24 12:22:47 2011 for VTK by  doxygen 1.5.6