Go to the documentation of this file.
64 #ifndef vtkLabelHierarchy_h
65 #define vtkLabelHierarchy_h
67 #include "vtkRenderingLabelModule.h"
104 vtkGetMacro(TargetLabelCount,
int);
112 vtkGetMacro(MaximumDepth,
int);
193 int type,
vtkRenderer* ren,
vtkCamera* cam,
double frustumPlanes[24],
bool positionsAsNormals,
float bucketSize[2] );
271 friend class vtkLabelHierarchyFrustumIterator;
272 friend class vtkLabelHierarchyFullSortIterator;
273 friend class implementation;
280 #endif // vtkLabelHierarchy_h
virtual vtkIdType FindCell(double *, vtkCell *, vtkGenericCell *, vtkIdType, double, int &, double *, double *)
represent and manipulate 3D points
vtkAbstractArray * Labels
virtual void ComputeHierarchy()
Fill the hierarchy with the input labels.
virtual vtkIdType GetNumberOfCells()
Inherited members (from vtkDataSet)
contains an octree of labels
virtual void SetBoundedSizes(vtkDataArray *arr)
Set/get the array specifying the maximum width and height in world coordinates of each label.
virtual void SetSizes(vtkDataArray *arr)
Set/get the array specifying the size of each label.
vtkDataArray * Priorities
virtual void SetPriorities(vtkDataArray *arr)
Set/get the array specifying the importance (priority) of each label.
void GetDiscreteNodeCoordinatesFromWorldPoint(int ijk[3], double pt[3], int level)
Given a depth in the hierarchy (level) and a point pt in world space, compute ijk.
iterator over vtkLabelHierarchy
abstract superclass for arrays of numeric data
VTK_NEWINSTANCE vtkLabelHierarchyIterator * NewIterator(int type, vtkRenderer *ren, vtkCamera *cam, double frustumPlanes[24], bool positionsAsNormals, float bucketSize[2])
Returns an iterator for this data object.
static vtkLabelHierarchy * New()
contains an octree of labels
virtual void GetCell(vtkIdType, vtkGenericCell *)
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
virtual void GetCellPoints(vtkIdType, vtkIdList *)
Topological inquiry to get points defining cell.
vtkCoincidentPoints * CoincidentPoints
virtual vtkIdType FindCell(double *, vtkCell *, vtkIdType, double, int &, double *, double *)
virtual int GetCellType(vtkIdType)
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
static bool GetPathForNodalCoordinates(int *path, int ijk[3], int level)
Given a level of the tree and ijk coordinates in a lattice, compute a path down the tree to reach the...
vtkDataArray * Orientations
abstract class to specify cell behavior
a simple class to control print indentation
dynamic, self-adjusting array of int
a virtual camera for 3D rendering
list of point or cell ids
vtkIntArray * IconIndices
virtual void SetPoints(vtkPoints *)
Override SetPoints so we can reset the hierarchy when the points change.
Abstract superclass for all arrays.
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
virtual void SetLabels(vtkAbstractArray *arr)
Set/get the array specifying the text of each label.
virtual int GetMaxCellSize()
Convenience method returns largest cell size in dataset.
vtkDataArray * BoundedSizes
abstract class for specifying dataset behavior
abstract specification for renderers
virtual vtkCell * GetCell(vtkIdType)
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
concrete dataset represents vertices, lines, polygons, and triangle strips
provides thread-safe access to cells
Implementation * GetImplementation()
virtual void GetPointCells(vtkIdType, vtkIdList *)
Topological inquiry to get cells using point.
virtual void SetIconIndices(vtkIntArray *arr)
Set/get the array specifying the icon index of each label.
virtual void SetTextProperty(vtkTextProperty *tprop)
The default text property assigned to labels in this hierarchy.
vtkTextProperty * TextProperty
IteratorType
Enumeration of iterator types.
virtual void SetOrientations(vtkDataArray *arr)
Set/get the array specifying the orientation of each label.
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual ~vtkLabelHierarchy()