#include <vtkExtentTranslator.h>
Inheritance diagram for vtkExtentTranslator:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetWholeExtent (int, int, int, int, int, int) |
virtual void | SetWholeExtent (int[6]) |
virtual int * | GetWholeExtent () |
virtual void | GetWholeExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetWholeExtent (int[6]) |
virtual void | SetExtent (int, int, int, int, int, int) |
virtual void | SetExtent (int[6]) |
virtual int * | GetExtent () |
virtual void | GetExtent (int &, int &, int &, int &, int &, int &) |
virtual void | GetExtent (int[6]) |
virtual void | SetPiece (int) |
virtual int | GetPiece () |
virtual void | SetNumberOfPieces (int) |
virtual int | GetNumberOfPieces () |
virtual void | SetGhostLevel (int) |
virtual int | GetGhostLevel () |
virtual int | PieceToExtent () |
virtual int | PieceToExtentByPoints () |
virtual int | PieceToExtentThreadSafe (int piece, int numPieces, int ghostLevel, int *wholeExtent, int *resultExtent, int splitMode, int byPoints) |
void | SetSplitModeToBlock () |
void | SetSplitModeToXSlab () |
void | SetSplitModeToYSlab () |
void | SetSplitModeToZSlab () |
virtual int | GetSplitMode () |
Static Public Methods | |
vtkExtentTranslator * | New () |
int | IsTypeOf (const char *type) |
vtkExtentTranslator * | SafeDownCast (vtkObject *o) |
Protected Types | |
enum | Modes { X_SLAB_MODE = 0, Y_SLAB_MODE = 1, Z_SLAB_MODE = 2, BLOCK_MODE = 3 } |
Protected Methods | |
vtkExtentTranslator () | |
~vtkExtentTranslator () | |
int | SplitExtent (int piece, int numPieces, int *extent, int splitMode) |
int | SplitExtentByPoints (int piece, int numPieces, int *extent, int splitMode) |
Protected Attributes | |
int | Piece |
int | NumberOfPieces |
int | GhostLevel |
int | Extent [6] |
int | WholeExtent [6] |
int | SplitMode |
vtkExtentTranslator generates a structured extent from an unstructured extent. It uses a recursive scheme that splits the largest axis. A hard coded extent can be used for a starting point.
Definition at line 61 of file vtkExtentTranslator.h.
|
Definition at line 138 of file vtkExtentTranslator.h. |
|
|
|
|
|
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. Reimplemented from vtkObject. Reimplemented in vtkBranchExtentTranslator. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkBranchExtentTranslator. |
|
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 vtkObject. Reimplemented in vtkBranchExtentTranslator. |
|
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 vtkObject. Reimplemented in vtkBranchExtentTranslator. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkObject. Reimplemented in vtkBranchExtentTranslator. |
|
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 vtkObject. Reimplemented in vtkBranchExtentTranslator. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar. |
|
These are the main methods that should be called. These methods are responsible for converting a piece to an extent. The signatures without arguments are only thread safe when each thread accesses a different instance. The signatures with arguements are fully thread safe. Reimplemented in vtkBranchExtentTranslator. |
|
These are the main methods that should be called. These methods are responsible for converting a piece to an extent. The signatures without arguments are only thread safe when each thread accesses a different instance. The signatures with arguements are fully thread safe. |
|
These are the main methods that should be called. These methods are responsible for converting a piece to an extent. The signatures without arguments are only thread safe when each thread accesses a different instance. The signatures with arguements are fully thread safe. |
|
How should the streamer break up extents. Block mode tries to break an extent up into cube blocks. It always chooses the largest axis to split. Slab mode first breaks up the Z axis. If it gets to one slice, then it starts breaking up other axes. Definition at line 105 of file vtkExtentTranslator.h. |
|
How should the streamer break up extents. Block mode tries to break an extent up into cube blocks. It always chooses the largest axis to split. Slab mode first breaks up the Z axis. If it gets to one slice, then it starts breaking up other axes. Definition at line 107 of file vtkExtentTranslator.h. |
|
How should the streamer break up extents. Block mode tries to break an extent up into cube blocks. It always chooses the largest axis to split. Slab mode first breaks up the Z axis. If it gets to one slice, then it starts breaking up other axes. Definition at line 109 of file vtkExtentTranslator.h. |
|
How should the streamer break up extents. Block mode tries to break an extent up into cube blocks. It always chooses the largest axis to split. Slab mode first breaks up the Z axis. If it gets to one slice, then it starts breaking up other axes. Definition at line 111 of file vtkExtentTranslator.h. |
|
How should the streamer break up extents. Block mode tries to break an extent up into cube blocks. It always chooses the largest axis to split. Slab mode first breaks up the Z axis. If it gets to one slice, then it starts breaking up other axes. |
|
Returns 0 if no data exist for a piece. The whole extent Should be passed in as the extent. It is modified to return the result. |
|
Returns 0 if no data exist for a piece. The whole extent Should be passed in as the extent. It is modified to return the result. |
|
Definition at line 128 of file vtkExtentTranslator.h. |
|
Definition at line 129 of file vtkExtentTranslator.h. |
|
Definition at line 130 of file vtkExtentTranslator.h. |
|
Definition at line 131 of file vtkExtentTranslator.h. |
|
Definition at line 132 of file vtkExtentTranslator.h. |
|
Definition at line 133 of file vtkExtentTranslator.h. |