28 #ifndef vtkLabelHierarchyIterator_h
29 #define vtkLabelHierarchyIterator_h
32 #include "vtkRenderingLabelModule.h"
71 virtual void GetSize(
double sz[2]);
76 virtual void GetBoundedSize(
double sz[2]);
81 virtual int GetType();
91 virtual double GetOrientation();
117 virtual void GetNodeGeometry(
double ctr[3],
double&
size) = 0;
124 virtual void BoxNode();
140 vtkSetMacro(AllBounds,
int);
141 vtkGetMacro(AllBounds,
int);
148 void BoxNodeInternal3(
const double* ctr,
double sz);
149 void BoxNodeInternal2(
const double* ctr,
double sz);
167 #endif // vtkLabelHierarchyIterator_h
iterator over vtkLabelHierarchy
Wrapper around std::string to keep symbols short.
vtkLabelHierarchy * Hierarchy
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void Next()
Advance the iterator.
dynamic, self-adjusting array of vtkIdType
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void Begin(vtkIdTypeArray *)
Initializes the iterator.
void GetPoint(const int i, const int j, const int k, double pnt[3])
a simple class to control print indentation
vtkPolyData * TraversedBounds
contains an octree of labels
virtual bool IsAtEnd()
Returns true if the iterator is at the end.
virtual vtkIdType GetLabelId()
Retrieves the current label id.