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;
Abstract superclass for all arrays.
a virtual camera for 3D rendering
abstract class to specify cell behavior
contains an octree of labels
abstract superclass for arrays of numeric data
provides thread-safe access to cells
list of point or cell ids
a simple class to control print indentation
dynamic, self-adjusting array of int
iterator over vtkLabelHierarchy
contains an octree of labels
virtual void SetPriorities(vtkDataArray *arr)
Set/get the array specifying the importance (priority) of each label.
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 * Priorities
virtual void SetBoundedSizes(vtkDataArray *arr)
Set/get the array specifying the maximum width and height in world coordinates of each label.
virtual void SetTextProperty(vtkTextProperty *tprop)
The default text property assigned to labels in this hierarchy.
virtual void GetCell(vtkIdType, vtkGenericCell *)
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
virtual void GetPointCells(vtkIdType, vtkIdList *)
Topological inquiry to get cells using point.
virtual void SetOrientations(vtkDataArray *arr)
Set/get the array specifying the orientation of each label.
virtual vtkIdType GetNumberOfCells()
Inherited members (from vtkDataSet)
virtual vtkIdType FindCell(double *, vtkCell *, vtkGenericCell *, vtkIdType, double, int &, double *, double *)
virtual ~vtkLabelHierarchy()
IteratorType
Enumeration of iterator types.
virtual void SetIconIndices(vtkIntArray *arr)
Set/get the array specifying the icon index of each label.
virtual vtkIdType FindCell(double *, vtkCell *, vtkIdType, double, int &, double *, double *)
virtual void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual int GetCellType(vtkIdType)
Get type of cell with cellId such that: 0 <= cellId < NumberOfCells.
virtual void SetLabels(vtkAbstractArray *arr)
Set/get the array specifying the text of each label.
vtkTextProperty * TextProperty
vtkCoincidentPoints * CoincidentPoints
virtual void SetSizes(vtkDataArray *arr)
Set/get the array specifying the size of each label.
vtkDataArray * BoundedSizes
virtual void ComputeHierarchy()
Fill the hierarchy with the input labels.
virtual int GetMaxCellSize()
Convenience method returns largest cell size in dataset.
vtkAbstractArray * Labels
vtkIntArray * IconIndices
virtual void GetCellPoints(vtkIdType, vtkIdList *)
Topological inquiry to get points defining cell.
static vtkLabelHierarchy * New()
virtual vtkCell * GetCell(vtkIdType)
Get cell with cellId such that: 0 <= cellId < NumberOfCells.
vtkDataArray * Orientations
Implementation * GetImplementation()
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.
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.
virtual void SetPoints(vtkPoints *)
Override SetPoints so we can reset the hierarchy when the points change.
abstract class for specifying dataset behavior
represent and manipulate 3D points
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract specification for renderers
represent text properties.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.