VTK
|
Extent translation through lookup table. More...
#include <vtkTableExtentTranslator.h>
Public Types | |
typedef vtkExtentTranslator | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
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 int * | GetExtentForPiece (int piece) |
virtual void | SetMaximumGhostLevel (int) |
virtual int | GetMaximumGhostLevel () |
virtual void | SetPieceAvailable (int piece, int available) |
virtual int | GetPieceAvailable (int piece) |
![]() | |
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 int | GetNumberOfPieces () |
virtual void | SetGhostLevel (int) |
virtual int | GetGhostLevel () |
void | SetSplitModeToBlock () |
void | SetSplitModeToXSlab () |
void | SetSplitModeToYSlab () |
void | SetSplitModeToZSlab () |
virtual int | GetSplitMode () |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkTableExtentTranslator * | SafeDownCast (vtkObject *o) |
static vtkTableExtentTranslator * | New () |
![]() | |
static vtkExtentTranslator * | New () |
static int | IsTypeOf (const char *type) |
static vtkExtentTranslator * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObject *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkTableExtentTranslator () | |
~vtkTableExtentTranslator () | |
![]() | |
vtkExtentTranslator () | |
~vtkExtentTranslator () | |
int | SplitExtent (int piece, int numPieces, int *extent, int splitMode) |
int | SplitExtentByPoints (int piece, int numPieces, int *extent, int splitMode) |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
int * | ExtentTable |
int | NumberOfPiecesInTable |
int | MaximumGhostLevel |
int * | PieceAvailable |
![]() | |
int | Piece |
int | NumberOfPieces |
int | GhostLevel |
int | Extent [6] |
int | WholeExtent [6] |
int | SplitMode |
int * | SplitPath |
int | SplitLen |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Additional Inherited Members | |
![]() | |
enum | Modes { X_SLAB_MODE =0, Y_SLAB_MODE =1, Z_SLAB_MODE =2, BLOCK_MODE = 3 } |
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 30 of file vtkTableExtentTranslator.h.
Definition at line 33 of file vtkTableExtentTranslator.h.
|
protected |
|
protected |
|
virtual |
Reimplemented from vtkExtentTranslator.
|
static |
|
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.
|
static |
|
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.
|
static |
|
virtual |
Set the Piece/NumPieces. Set the WholeExtent and then call PieceToExtent. The result can be obtained from the Extent ivar.
Reimplemented from vtkExtentTranslator.
void vtkTableExtentTranslator::SetNumberOfPiecesInTable | ( | int | pieces | ) |
Set the real number of pieces in the extent table.
|
virtual |
Set the real number of pieces in the extent table.
|
virtual |
Called to translate the current piece into an extent. This is not thread safe.
Reimplemented from vtkExtentTranslator.
|
virtual |
Not supported by this subclass of vtkExtentTranslator.
Reimplemented from vtkExtentTranslator.
|
virtual |
Not supported by this subclass of vtkExtentTranslator.
Reimplemented from vtkExtentTranslator.
|
virtual |
Set the extent to be used for a piece. This sets the extent table entry for the 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.
|
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 |
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 |
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 |
Get/Set whether the given piece is available. Requesting a piece that is not available will produce errors in the pipeline.
|
virtual |
Get/Set whether the given piece is available. Requesting a piece that is not available will produce errors in the pipeline.
|
protected |
Definition at line 100 of file vtkTableExtentTranslator.h.
|
protected |
Definition at line 101 of file vtkTableExtentTranslator.h.
|
protected |
Definition at line 102 of file vtkTableExtentTranslator.h.
|
protected |
Definition at line 105 of file vtkTableExtentTranslator.h.