48 #ifndef vtkLabelHierarchy_h
49 #define vtkLabelHierarchy_h
52 #include "vtkRenderingLabelModule.h"
55 VTK_ABI_NAMESPACE_BEGIN
83 virtual void ComputeHierarchy();
90 vtkSetMacro(TargetLabelCount,
int);
91 vtkGetMacro(TargetLabelCount,
int);
98 virtual void SetMaximumDepth(
int depth);
99 vtkGetMacro(MaximumDepth,
int);
182 double frustumPlanes[24],
bool positionsAsNormals,
float bucketSize[2]);
194 void GetDiscreteNodeCoordinatesFromWorldPoint(
int ijk[3],
double pt[3],
int level);
207 static bool GetPathForNodalCoordinates(
int* path,
int ijk[3],
int level);
227 class Implementation;
252 static void GetAnchorFrustumPlanes(
274 friend class vtkLabelHierarchyFrustumIterator;
275 friend class vtkLabelHierarchyFullSortIterator;
276 friend class implementation;
283 VTK_ABI_NAMESPACE_END
284 #endif // vtkLabelHierarchy_h
iterator over vtkLabelHierarchy
contains an octree of labels
Abstract superclass for all arrays.
virtual void SetPoints(vtkPoints *)
Specify point array to define point coordinates.
vtkAbstractArray * Labels
vtkDataArray * Priorities
void GetCellPoints(vtkIdType, vtkIdList *idList) override
Topological inquiry to get points defining cell.
vtkCoincidentPoints * CoincidentPoints
abstract specification for renderers
concrete class for storing a set of points
vtkIdType GetNumberOfCells() override
This method always returns 0, as there are no cells in a vtkPointSet.
concrete dataset represents vertices, lines, polygons, and triangle strips
int GetCellType(vtkIdType) override
This method always returns VTK_EMPTY_CELL, as there is no cell in a vtkPointSet.
provides thread-safe access to cells
abstract class to specify cell behavior
dynamic, self-adjusting array of int
vtkIdType FindCell(double x[3], vtkCell *cell, vtkGenericCell *gencell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
See vtkDataSet for additional information.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for type information and printing.
a simple class to control print indentation
a virtual camera for 3D rendering
static vtkPointSet * New()
Standard instantiation method.
list of point or cell ids
virtual void GetCellPoints(vtkIdType cellId, vtkIdList *ptIds)=0
Topological inquiry to get points defining cell.
abstract superclass for arrays of numeric data
virtual vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights)
Locate cell based on global coordinate x and tolerance squared.
represent text properties.
vtkDataArray * Orientations
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
int GetMaxCellSize() override
This method always returns 0, as there are no cells in a vtkPointSet.
vtkIntArray * IconIndices
void GetPointCells(vtkIdType, vtkIdList *idList) override
Topological inquiry to get cells using point.
vtkDataArray * BoundedSizes
contains an octree of labels
vtkCell * GetCell(vtkIdType) override
This method always return a vtkEmptyCell, as there is no cell in a vtkPointSet.
A cell is otherwise valid but has coincident points.
IteratorType
Enumeration of iterator types.
vtkTextProperty * TextProperty
virtual vtkCell * GetCell(vtkIdType cellId)=0
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
represent and manipulate 3D points
Implementation * GetImplementation()