Section: Visualization Toolkit Common Classes
To create an instance of class vtkTableExtentTranslator, simply invoke its constructor as follows
obj = vtkTableExtentTranslator
obj
is an instance of the vtkTableExtentTranslator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkTableExtentTranslator = obj.NewInstance ()
vtkTableExtentTranslator = obj.SafeDownCast (vtkObject o)
obj.SetNumberOfPieces (int pieces)
obj.SetNumberOfPiecesInTable (int pieces)
- Set the real number of pieces in the extent table.
int = obj.GetNumberOfPiecesInTable ()
- Set the real number of pieces in the extent table.
int = obj.PieceToExtent ()
- Called to translate the current piece into an extent. This is
not thread safe.
int = obj.PieceToExtentByPoints ()
- Not supported by this subclass of vtkExtentTranslator.
int = obj.PieceToExtentThreadSafe (int piece, int numPieces, int ghostLevel, int wholeExtent, int resultExtent, int splitMode, int byPoints)
- Not supported by this subclass of vtkExtentTranslator.
obj.SetExtentForPiece (int piece, int extent)
- Set the extent to be used for a piece. This sets the extent table
entry for the piece.
obj.GetExtentForPiece (int piece, int extent)
- 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.
obj.SetMaximumGhostLevel (int )
- 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.
int = obj.GetMaximumGhostLevel ()
- 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.
obj.SetPieceAvailable (int piece, int available)
- Get/Set whether the given piece is available. Requesting a piece
that is not available will produce errors in the pipeline.
int = obj.GetPieceAvailable (int piece)
- Get/Set whether the given piece is available. Requesting a piece
that is not available will produce errors in the pipeline.