61 #ifndef vtkLabelHierarchy_h 62 #define vtkLabelHierarchy_h 65 #include "vtkRenderingLabelModule.h" 94 virtual void ComputeHierarchy();
101 vtkSetMacro(TargetLabelCount,
int);
102 vtkGetMacro(TargetLabelCount,
int);
109 vtkSetMacro(MaximumDepth,
int);
110 vtkGetMacro(MaximumDepth,
int);
193 double frustumPlanes[24],
bool positionsAsNormals,
float bucketSize[2]);
205 void GetDiscreteNodeCoordinatesFromWorldPoint(
int ijk[3],
double pt[3],
int level);
218 static bool GetPathForNodalCoordinates(
int* path,
int ijk[3],
int level);
237 class Implementation;
262 static void GetAnchorFrustumPlanes(
284 friend class vtkLabelHierarchyFrustumIterator;
285 friend class vtkLabelHierarchyFullSortIterator;
286 friend class implementation;
293 #endif // vtkLabelHierarchy_h iterator over vtkLabelHierarchy
contains an octree of labels
virtual vtkIdType GetNumberOfCells()=0
Determine the number of cells composing the dataset.
virtual void GetPointCells(vtkIdType ptId, vtkIdList *cellIds)=0
Topological inquiry to get cells using point.
vtkIdType FindCell(double x[3], vtkCell *cell, vtkIdType cellId, double tol2, int &subId, double pcoords[3], double *weights) override
See vtkDataSet for additional information.
static vtkDataObject * New()
Abstract superclass for all arrays.
virtual void SetPoints(vtkPoints *)
Specify point array to define point coordinates.
vtkAbstractArray * Labels
vtkDataArray * Priorities
vtkCoincidentPoints * CoincidentPoints
abstract specification for renderers
abstract class for specifying dataset behavior
concrete dataset represents vertices, lines, polygons, and triangle strips
provides thread-safe access to cells
abstract class to specify cell behavior
dynamic, self-adjusting array of int
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methdos for type information and printing.
a simple class to control print indentation
virtual int GetMaxCellSize()=0
Convenience method returns largest cell size in dataset.
a virtual camera for 3D rendering
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
represent text properties.
vtkDataArray * Orientations
perform coordinate transformation, and represent position, in a variety of vtk coordinate systems ...
vtkIntArray * IconIndices
vtkDataArray * BoundedSizes
contains an octree of labels
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
virtual int GetCellType(vtkIdType cellId)=0
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
Implementation * GetImplementation()