64 #ifndef vtkLabelHierarchy_h 65 #define vtkLabelHierarchy_h 67 #include "vtkRenderingLabelModule.h" 96 virtual void ComputeHierarchy();
103 vtkSetMacro(TargetLabelCount,
int);
104 vtkGetMacro(TargetLabelCount,
int);
111 vtkSetMacro(MaximumDepth,
int);
112 vtkGetMacro(MaximumDepth,
int);
193 int type,
vtkRenderer* ren,
vtkCamera* cam,
double frustumPlanes[24],
bool positionsAsNormals,
float bucketSize[2] );
205 void GetDiscreteNodeCoordinatesFromWorldPoint(
int ijk[3],
double pt[3],
int level );
217 static bool GetPathForNodalCoordinates(
int* path,
int ijk[3],
int level );
272 friend class vtkLabelHierarchyFrustumIterator;
273 friend class vtkLabelHierarchyFullSortIterator;
274 friend class implementation;
281 #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
Methods invoked by print to print information about the object including superclasses.
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
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()