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

Superclass for structured data XML readers. More...

#include <vtkXMLStructuredDataReader.h>

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

List of all members.

Public Types

typedef vtkXMLDataReader Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLStructuredDataReaderNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

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

intPieceExtents
intPiecePointDimensions
vtkIdTypePiecePointIncrements
intPieceCellDimensions
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]
virtual void CopyOutputInformation (vtkInformation *outInfo, int port)
 vtkXMLStructuredDataReader ()
 ~vtkXMLStructuredDataReader ()

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


Member Typedef Documentation


Constructor & Destructor Documentation

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

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


Member Function Documentation

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.

virtual vtkObjectBase* vtkXMLStructuredDataReader::NewInstanceInternal ( ) const [protected, virtual]
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.

Get the number of points in the output.

Implements vtkXMLDataReader.

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.

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]

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 vtkXMLStructuredGridReader, and vtkXMLRectilinearGridReader.

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

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

Definition at line 88 of file vtkXMLStructuredDataReader.h.

Definition at line 91 of file vtkXMLStructuredDataReader.h.

Definition at line 92 of file vtkXMLStructuredDataReader.h.

Definition at line 93 of file vtkXMLStructuredDataReader.h.


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