Go to the documentation of this file.
28 #ifndef vtkLabelHierarchyIterator_h
29 #define vtkLabelHierarchyIterator_h
31 #include "vtkRenderingLabelModule.h"
147 vtkGetMacro(AllBounds,
int);
173 #endif // vtkLabelHierarchyIterator_h
vtkLabelHierarchyIterator()
virtual vtkIdType GetLabelId()
Retrieves the current label id.
vtkPolyData * TraversedBounds
virtual void GetPoint(double x[3])
Retrieves the current label location.
contains an octree of labels
virtual ~vtkLabelHierarchyIterator()
virtual bool IsAtEnd()
Returns true if the iterator is at the end.
abstract base class for most VTK objects
iterator over vtkLabelHierarchy
virtual void SetHierarchy(vtkLabelHierarchy *h)
The hierarchy being traversed by this iterator.
virtual vtkUnicodeString GetUnicodeLabel()
Retrieves the current label as a unicode string.
virtual double GetOrientation()
Retrieves the current label orientation.
virtual void Begin(vtkIdTypeArray *)
Initializes the iterator.
virtual void SetTraversedBounds(vtkPolyData *)
Sets a polydata to fill with geometry representing the bounding boxes of the traversed octree nodes.
a simple class to control print indentation
String class that stores Unicode text.
virtual void GetBoundedSize(double sz[2])
Retrieves the current label maximum width in world coordinates.
void BoxNodeInternal2(const double *ctr, double sz)
void BoxNodeInternal3(const double *ctr, double sz)
virtual int GetType()
Retrieves the current label type.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void Next()
Advance the iterator.
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void GetSize(double sz[2])
Retrieves the current label size.
virtual void BoxNode()
Add a representation to TraversedBounds for the current octree node.
Wrapper around std::string to keep symbols short.
virtual void BoxAllNodes(vtkPolyData *)
Add a representation for all existing octree nodes to the specified polydata.
virtual void GetNodeGeometry(double ctr[3], double &size)=0
Retrieve the coordinates of the center of the current hierarchy node and the size of the node.
vtkLabelHierarchy * Hierarchy
virtual vtkStdString GetLabel()
Retrieves the current label string.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.