Section: Visualization Toolkit Rendering Classes
To create an instance of class vtkLabelHierarchyCompositeIterator, simply invoke its constructor as follows
obj = vtkLabelHierarchyCompositeIterator
obj
is an instance of the vtkLabelHierarchyCompositeIterator class.
string = obj.GetClassName ()
int = obj.IsA (string name)
vtkLabelHierarchyCompositeIterator = obj.NewInstance ()
vtkLabelHierarchyCompositeIterator = obj.SafeDownCast (vtkObject o)
obj.AddIterator (vtkLabelHierarchyIterator it)
- Adds a label iterator to this composite iterator.
The second optional argument is the number of times to repeat the iterator
before moving to the next one round-robin style. Default is 1.
obj.AddIterator (vtkLabelHierarchyIterator it, int count)
- Adds a label iterator to this composite iterator.
The second optional argument is the number of times to repeat the iterator
before moving to the next one round-robin style. Default is 1.
obj.ClearIterators ()
- Remove all iterators from this composite iterator.
obj.Begin (vtkIdTypeArray )
- Initializes the iterator. lastLabels is an array holding labels
which should be traversed before any other labels in the hierarchy.
This could include labels placed during a previous rendering or
a label located under the mouse pointer. You may pass a null pointer.
obj.Next ()
- Advance the iterator.
bool = obj.IsAtEnd ()
- Returns true if the iterator is at the end.
vtkIdType = obj.GetLabelId ()
- Retrieves the current label id.
vtkLabelHierarchy = obj.GetHierarchy ()
- Retrieve the current label hierarchy.
obj.BoxNode ()
- Not implemented.
obj.BoxAllNodes (vtkPolyData )