12#ifndef vtkLabelHierarchyIterator_h
13#define vtkLabelHierarchyIterator_h
16#include "vtkRenderingLabelModule.h"
19VTK_ABI_NAMESPACE_BEGIN
125 vtkSetMacro(AllBounds,
int);
126 vtkGetMacro(AllBounds,
int);
dynamic, self-adjusting array of vtkIdType
a simple class to control print indentation
iterator over vtkLabelHierarchy
virtual void Next()
Advance the iterator.
virtual void SetTraversedBounds(vtkPolyData *)
Sets a polydata to fill with geometry representing the bounding boxes of the traversed octree nodes.
virtual void SetHierarchy(vtkLabelHierarchy *h)
The hierarchy being traversed by this iterator.
vtkPolyData * TraversedBounds
virtual void GetPoint(double x[3])
Retrieves the current label location.
virtual void BoxNode()
Add a representation to TraversedBounds for the current octree node.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkLabelHierarchyIterator()
virtual vtkStdString GetLabel()
Retrieves the current label string.
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.
virtual bool IsAtEnd()
Returns true if the iterator is at the end.
virtual vtkIdType GetLabelId()
Retrieves the current label id.
virtual void Begin(vtkIdTypeArray *)
Initializes the iterator.
virtual void BoxAllNodes(vtkPolyData *)
Add a representation for all existing octree nodes to the specified polydata.
virtual void GetBoundedSize(double sz[2])
Retrieves the current label maximum width in world coordinates.
~vtkLabelHierarchyIterator() override
virtual int GetType()
Retrieves the current label type.
void BoxNodeInternal3(const double *ctr, double sz)
virtual void GetSize(double sz[2])
Retrieves the current label size.
virtual double GetOrientation()
Retrieves the current label orientation.
vtkLabelHierarchy * Hierarchy
void BoxNodeInternal2(const double *ctr, double sz)
contains an octree of labels
abstract base class for most VTK objects
concrete dataset represents vertices, lines, polygons, and triangle strips
Computes the portion of a dataset which is inside a selection.
Wrapper around std::string to keep symbols short.