VTK
|
build a label hierarchy for a graph or point set. More...
#include <vtkPointSetToLabelHierarchy.h>
build a label hierarchy for a graph or point set.
Every point in the input vtkPoints object is taken to be an anchor point for a label. Statistics on the input points are used to subdivide an octree referencing the points until the points each octree node contains have a variance close to the node size and a limited population (< 100).
Definition at line 46 of file vtkPointSetToLabelHierarchy.h.
Reimplemented from vtkLabelHierarchyAlgorithm.
Definition at line 50 of file vtkPointSetToLabelHierarchy.h.
vtkPointSetToLabelHierarchy::vtkPointSetToLabelHierarchy | ( | ) | [protected] |
virtual vtkPointSetToLabelHierarchy::~vtkPointSetToLabelHierarchy | ( | ) | [protected, virtual] |
static vtkPointSetToLabelHierarchy* vtkPointSetToLabelHierarchy::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkLabelHierarchyAlgorithm.
static int vtkPointSetToLabelHierarchy::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkLabelHierarchyAlgorithm.
virtual int vtkPointSetToLabelHierarchy::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkLabelHierarchyAlgorithm.
static vtkPointSetToLabelHierarchy* vtkPointSetToLabelHierarchy::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkLabelHierarchyAlgorithm.
virtual vtkObjectBase* vtkPointSetToLabelHierarchy::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkLabelHierarchyAlgorithm.
Reimplemented from vtkLabelHierarchyAlgorithm.
virtual void vtkPointSetToLabelHierarchy::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkLabelHierarchyAlgorithm.
virtual void vtkPointSetToLabelHierarchy::SetTargetLabelCount | ( | int | ) | [virtual] |
Set/get the "ideal" number of labels to associate with each node in the output hierarchy.
virtual int vtkPointSetToLabelHierarchy::GetTargetLabelCount | ( | ) | [virtual] |
Set/get the "ideal" number of labels to associate with each node in the output hierarchy.
virtual void vtkPointSetToLabelHierarchy::SetMaximumDepth | ( | int | ) | [virtual] |
Set/get the maximum tree depth in the output hierarchy.
virtual int vtkPointSetToLabelHierarchy::GetMaximumDepth | ( | ) | [virtual] |
Set/get the maximum tree depth in the output hierarchy.
virtual void vtkPointSetToLabelHierarchy::SetUseUnicodeStrings | ( | bool | ) | [virtual] |
Whether to use unicode strings.
virtual bool vtkPointSetToLabelHierarchy::GetUseUnicodeStrings | ( | ) | [virtual] |
Whether to use unicode strings.
virtual void vtkPointSetToLabelHierarchy::UseUnicodeStringsOn | ( | ) | [virtual] |
Whether to use unicode strings.
virtual void vtkPointSetToLabelHierarchy::UseUnicodeStringsOff | ( | ) | [virtual] |
Whether to use unicode strings.
virtual void vtkPointSetToLabelHierarchy::SetLabelArrayName | ( | const char * | name | ) | [virtual] |
Set/get the label array name.
virtual const char* vtkPointSetToLabelHierarchy::GetLabelArrayName | ( | ) | [virtual] |
Set/get the label array name.
virtual void vtkPointSetToLabelHierarchy::SetSizeArrayName | ( | const char * | name | ) | [virtual] |
Set/get the priority array name.
virtual const char* vtkPointSetToLabelHierarchy::GetSizeArrayName | ( | ) | [virtual] |
Set/get the priority array name.
virtual void vtkPointSetToLabelHierarchy::SetPriorityArrayName | ( | const char * | name | ) | [virtual] |
Set/get the priority array name.
virtual const char* vtkPointSetToLabelHierarchy::GetPriorityArrayName | ( | ) | [virtual] |
Set/get the priority array name.
virtual void vtkPointSetToLabelHierarchy::SetIconIndexArrayName | ( | const char * | name | ) | [virtual] |
Set/get the icon index array name.
virtual const char* vtkPointSetToLabelHierarchy::GetIconIndexArrayName | ( | ) | [virtual] |
Set/get the icon index array name.
virtual void vtkPointSetToLabelHierarchy::SetOrientationArrayName | ( | const char * | name | ) | [virtual] |
Set/get the text orientation array name.
virtual const char* vtkPointSetToLabelHierarchy::GetOrientationArrayName | ( | ) | [virtual] |
Set/get the text orientation array name.
virtual void vtkPointSetToLabelHierarchy::SetBoundedSizeArrayName | ( | const char * | name | ) | [virtual] |
Set/get the maximum text width (in world coordinates) array name.
virtual const char* vtkPointSetToLabelHierarchy::GetBoundedSizeArrayName | ( | ) | [virtual] |
Set/get the maximum text width (in world coordinates) array name.
virtual void vtkPointSetToLabelHierarchy::SetTextProperty | ( | vtkTextProperty * | tprop | ) | [virtual] |
Set/get the text property assigned to the hierarchy.
virtual vtkTextProperty* vtkPointSetToLabelHierarchy::GetTextProperty | ( | ) | [virtual] |
Set/get the text property assigned to the hierarchy.
virtual int vtkPointSetToLabelHierarchy::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkLabelHierarchyAlgorithm.
virtual int vtkPointSetToLabelHierarchy::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkLabelHierarchyAlgorithm.
int vtkPointSetToLabelHierarchy::TargetLabelCount [protected] |
Definition at line 126 of file vtkPointSetToLabelHierarchy.h.
int vtkPointSetToLabelHierarchy::MaximumDepth [protected] |
Definition at line 127 of file vtkPointSetToLabelHierarchy.h.
bool vtkPointSetToLabelHierarchy::UseUnicodeStrings [protected] |
Definition at line 128 of file vtkPointSetToLabelHierarchy.h.
vtkTextProperty* vtkPointSetToLabelHierarchy::TextProperty [protected] |
Definition at line 129 of file vtkPointSetToLabelHierarchy.h.