Section: Visualization Toolkit Parallel Classes
To create an instance of class vtkBranchExtentTranslator, simply invoke its constructor as follows
obj = vtkBranchExtentTranslator
obj
is an instance of the vtkBranchExtentTranslator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkBranchExtentTranslator = obj.NewInstance ()
vtkBranchExtentTranslator = obj.SafeDownCast (vtkObject o)
obj.SetOriginalSource (vtkImageData )
- This is the original upstream image source.
vtkImageData = obj.GetOriginalSource ()
- This is the original upstream image source.
int = obj.PieceToExtent ()
- Generates the extent from the pieces.
obj.SetAssignedPiece (int )
- 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.
int = obj.GetAssignedPiece ()
- 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.
obj.SetAssignedNumberOfPieces (int )
- 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.
int = obj.GetAssignedNumberOfPieces ()
- 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.