#include <vtkBranchExtentTranslator.h>
vtkBranchExtentTranslator is like extent translator, but it uses an alternative source as a whole extent. The whole extent passed is assumed to be a subextent of the original source. we simply take the intersection of the split extent and the whole extdent passed in. We are attempting to make branching pipelines request consistent extents with the same piece requests.
Definition at line 39 of file vtkBranchExtentTranslator.h.
Public Types | |
typedef vtkExtentTranslator | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | PieceToExtent () |
virtual void | SetOriginalSource (vtkImageData *) |
virtual vtkImageData * | GetOriginalSource () |
virtual void | SetAssignedPiece (int) |
virtual int | GetAssignedPiece () |
virtual void | SetAssignedNumberOfPieces (int) |
virtual int | GetAssignedNumberOfPieces () |
Static Public Member Functions | |
static vtkBranchExtentTranslator * | New () |
static int | IsTypeOf (const char *type) |
static vtkBranchExtentTranslator * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkBranchExtentTranslator () | |
~vtkBranchExtentTranslator () | |
Protected Attributes | |
vtkImageData * | OriginalSource |
int | AssignedPiece |
int | AssignedNumberOfPieces |
vtkBranchExtentTranslator::vtkBranchExtentTranslator | ( | ) | [protected] |
vtkBranchExtentTranslator::~vtkBranchExtentTranslator | ( | ) | [protected] |
static vtkBranchExtentTranslator* vtkBranchExtentTranslator::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkExtentTranslator.
virtual const char* vtkBranchExtentTranslator::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkExtentTranslator.
static int vtkBranchExtentTranslator::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkExtentTranslator.
virtual int vtkBranchExtentTranslator::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkExtentTranslator.
static vtkBranchExtentTranslator* vtkBranchExtentTranslator::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkExtentTranslator.
void vtkBranchExtentTranslator::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.
virtual void vtkBranchExtentTranslator::SetOriginalSource | ( | vtkImageData * | ) | [virtual] |
This is the original upstream image source.
virtual vtkImageData* vtkBranchExtentTranslator::GetOriginalSource | ( | ) | [virtual] |
This is the original upstream image source.
int vtkBranchExtentTranslator::PieceToExtent | ( | ) | [virtual] |
Generates the extent from the pieces.
Reimplemented from vtkExtentTranslator.
virtual void vtkBranchExtentTranslator::SetAssignedPiece | ( | int | ) | [virtual] |
This unstructured extent/piece is store here for the users convenience. It is not used internally. The intent was to let an "assignment" be made when the translator/first source is created. The translator/assignment can be used for any new filter that uses the original source as output. Branches will then have the same assignment.
virtual int vtkBranchExtentTranslator::GetAssignedPiece | ( | ) | [virtual] |
This unstructured extent/piece is store here for the users convenience. It is not used internally. The intent was to let an "assignment" be made when the translator/first source is created. The translator/assignment can be used for any new filter that uses the original source as output. Branches will then have the same assignment.
virtual void vtkBranchExtentTranslator::SetAssignedNumberOfPieces | ( | int | ) | [virtual] |
This unstructured extent/piece is store here for the users convenience. It is not used internally. The intent was to let an "assignment" be made when the translator/first source is created. The translator/assignment can be used for any new filter that uses the original source as output. Branches will then have the same assignment.
virtual int vtkBranchExtentTranslator::GetAssignedNumberOfPieces | ( | ) | [virtual] |
This unstructured extent/piece is store here for the users convenience. It is not used internally. The intent was to let an "assignment" be made when the translator/first source is created. The translator/assignment can be used for any new filter that uses the original source as output. Branches will then have the same assignment.
vtkImageData* vtkBranchExtentTranslator::OriginalSource [protected] |
Definition at line 73 of file vtkBranchExtentTranslator.h.
int vtkBranchExtentTranslator::AssignedPiece [protected] |
Definition at line 74 of file vtkBranchExtentTranslator.h.
int vtkBranchExtentTranslator::AssignedNumberOfPieces [protected] |
Definition at line 75 of file vtkBranchExtentTranslator.h.