Generates a structured extent from unstructured.
More...
#include <vtkExtentTranslator.h>
|
virtual int | IsA (const char *type) |
|
vtkExtentTranslator * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
void | SetSplitPath (int len, int *splitpath) |
|
|
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 () |
|
Generates a structured extent from unstructured.
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.
- Warning
- This object is still under development.
Definition at line 34 of file vtkExtentTranslator.h.
vtkExtentTranslator::vtkExtentTranslator |
( |
| ) |
|
|
protected |
vtkExtentTranslator::~vtkExtentTranslator |
( |
| ) |
|
|
protected |
static int vtkExtentTranslator::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkExtentTranslator::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkExtentTranslator::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkExtentTranslator::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
virtual void vtkExtentTranslator::SetWholeExtent |
( |
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::SetWholeExtent |
( |
int |
[6] | ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual int* vtkExtentTranslator::GetWholeExtent |
( |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::GetWholeExtent |
( |
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
| |
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::GetWholeExtent |
( |
int |
[6] | ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::SetExtent |
( |
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
, |
|
|
int |
|
|
) |
| |
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::SetExtent |
( |
int |
[6] | ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual int* vtkExtentTranslator::GetExtent |
( |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::GetExtent |
( |
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
, |
|
|
int & |
|
|
) |
| |
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::GetExtent |
( |
int |
[6] | ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::SetPiece |
( |
int |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual int vtkExtentTranslator::GetPiece |
( |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::SetNumberOfPieces |
( |
int |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
Reimplemented in vtkTableExtentTranslator.
virtual int vtkExtentTranslator::GetNumberOfPieces |
( |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual void vtkExtentTranslator::SetGhostLevel |
( |
int |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual int vtkExtentTranslator::GetGhostLevel |
( |
| ) |
|
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
virtual int vtkExtentTranslator::PieceToExtent |
( |
| ) |
|
|
virtual |
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 arguments are fully thread safe.
Reimplemented in vtkTableExtentTranslator.
virtual int vtkExtentTranslator::PieceToExtentByPoints |
( |
| ) |
|
|
virtual |
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 arguments are fully thread safe.
Reimplemented in vtkTableExtentTranslator.
virtual int vtkExtentTranslator::PieceToExtentThreadSafe |
( |
int |
piece, |
|
|
int |
numPieces, |
|
|
int |
ghostLevel, |
|
|
int * |
wholeExtent, |
|
|
int * |
resultExtent, |
|
|
int |
splitMode, |
|
|
int |
byPoints |
|
) |
| |
|
virtual |
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 arguments are fully thread safe.
Reimplemented in vtkTableExtentTranslator.
void vtkExtentTranslator::SetSplitModeToBlock |
( |
| ) |
|
|
inline |
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 78 of file vtkExtentTranslator.h.
void vtkExtentTranslator::SetSplitModeToXSlab |
( |
| ) |
|
|
inline |
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 80 of file vtkExtentTranslator.h.
void vtkExtentTranslator::SetSplitModeToYSlab |
( |
| ) |
|
|
inline |
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 82 of file vtkExtentTranslator.h.
void vtkExtentTranslator::SetSplitModeToZSlab |
( |
| ) |
|
|
inline |
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 84 of file vtkExtentTranslator.h.
virtual int vtkExtentTranslator::GetSplitMode |
( |
| ) |
|
|
virtual |
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.
void vtkExtentTranslator::SetSplitPath |
( |
int |
len, |
|
|
int * |
splitpath |
|
) |
| |
By default the translator creates N structured subextents by repeatedly splitting the largest current dimension until there are N pieces. If you do not want it always split the largest dimension, for instance when the shortest dimension is the slowest changing and thus least coherent in memory, use this to tell the translator which dimensions to split.
int vtkExtentTranslator::SplitExtent |
( |
int |
piece, |
|
|
int |
numPieces, |
|
|
int * |
extent, |
|
|
int |
splitMode |
|
) |
| |
|
protected |
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.
int vtkExtentTranslator::SplitExtentByPoints |
( |
int |
piece, |
|
|
int |
numPieces, |
|
|
int * |
extent, |
|
|
int |
splitMode |
|
) |
| |
|
protected |
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.
int vtkExtentTranslator::Piece |
|
protected |
int vtkExtentTranslator::NumberOfPieces |
|
protected |
int vtkExtentTranslator::GhostLevel |
|
protected |
int vtkExtentTranslator::Extent[6] |
|
protected |
int vtkExtentTranslator::WholeExtent[6] |
|
protected |
int vtkExtentTranslator::SplitMode |
|
protected |
int* vtkExtentTranslator::SplitPath |
|
protected |
int vtkExtentTranslator::SplitLen |
|
protected |
The documentation for this class was generated from the following file: