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

Extent translation through lookup table. More...

#include <vtkTableExtentTranslator.h>

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

List of all members.

Public Types

typedef vtkExtentTranslator Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTableExtentTranslatorNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetNumberOfPieces (int pieces)
int PieceToExtent ()
int PieceToExtentByPoints ()
virtual void SetExtentForPiece (int piece, int *extent)
void SetNumberOfPiecesInTable (int pieces)
virtual int GetNumberOfPiecesInTable ()
int PieceToExtentThreadSafe (int piece, int numPieces, int ghostLevel, int *wholeExtent, int *resultExtent, int splitMode, int byPoints)
virtual void GetExtentForPiece (int piece, int *extent)
virtual intGetExtentForPiece (int piece)
virtual void SetMaximumGhostLevel (int)
virtual int GetMaximumGhostLevel ()
virtual void SetPieceAvailable (int piece, int available)
virtual int GetPieceAvailable (int piece)

Static Public Member Functions

static int IsTypeOf (const char *type)
static vtkTableExtentTranslatorSafeDownCast (vtkObjectBase *o)
static vtkTableExtentTranslatorNew ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTableExtentTranslator ()
 ~vtkTableExtentTranslator ()

Protected Attributes

intExtentTable
int NumberOfPiecesInTable
int MaximumGhostLevel
intPieceAvailable

Detailed Description

Extent translation through lookup table.

vtkTableExtentTranslator provides a vtkExtentTranslator that is programmed with a specific extent corresponding to each piece number. Readers can provide this to an application to allow the pipeline to execute using the same piece breakdown that is provided in the input file.

Definition at line 31 of file vtkTableExtentTranslator.h.


Member Typedef Documentation

Reimplemented from vtkExtentTranslator.

Definition at line 34 of file vtkTableExtentTranslator.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkTableExtentTranslator::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 vtkExtentTranslator.

virtual int vtkTableExtentTranslator::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 vtkExtentTranslator.

Reimplemented from vtkExtentTranslator.

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

Reimplemented from vtkExtentTranslator.

Reimplemented from vtkExtentTranslator.

void vtkTableExtentTranslator::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 vtkExtentTranslator.

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

Reimplemented from vtkExtentTranslator.

Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.

Reimplemented from vtkExtentTranslator.

Set the real number of pieces in the extent table.

Set the real number of pieces in the extent table.

Called to translate the current piece into an extent. This is not thread safe.

Reimplemented from vtkExtentTranslator.

Not supported by this subclass of vtkExtentTranslator.

Reimplemented from vtkExtentTranslator.

int vtkTableExtentTranslator::PieceToExtentThreadSafe ( int  piece,
int  numPieces,
int  ghostLevel,
int wholeExtent,
int resultExtent,
int  splitMode,
int  byPoints 
) [virtual]

Not supported by this subclass of vtkExtentTranslator.

Reimplemented from vtkExtentTranslator.

virtual void vtkTableExtentTranslator::SetExtentForPiece ( int  piece,
int extent 
) [virtual]

Set the extent to be used for a piece. This sets the extent table entry for the piece.

virtual void vtkTableExtentTranslator::GetExtentForPiece ( int  piece,
int extent 
) [virtual]

Get the extent table entry for the given piece. This is only for code that is setting up the table. Extent translation should always be done through the PieceToExtent method.

virtual int* vtkTableExtentTranslator::GetExtentForPiece ( int  piece) [virtual]

Get the extent table entry for the given piece. This is only for code that is setting up the table. Extent translation should always be done through the PieceToExtent method.

Set the maximum ghost level that can be requested. This can be used by a reader to make sure an extent request does not go outside the boundaries of the piece's file.

Set the maximum ghost level that can be requested. This can be used by a reader to make sure an extent request does not go outside the boundaries of the piece's file.

virtual void vtkTableExtentTranslator::SetPieceAvailable ( int  piece,
int  available 
) [virtual]

Get/Set whether the given piece is available. Requesting a piece that is not available will produce errors in the pipeline.

virtual int vtkTableExtentTranslator::GetPieceAvailable ( int  piece) [virtual]

Get/Set whether the given piece is available. Requesting a piece that is not available will produce errors in the pipeline.


Member Data Documentation

Definition at line 101 of file vtkTableExtentTranslator.h.

Definition at line 102 of file vtkTableExtentTranslator.h.

Definition at line 103 of file vtkTableExtentTranslator.h.

Definition at line 106 of file vtkTableExtentTranslator.h.


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