#include <vtkPointSetToLabelHierarchy.h>
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 45 of file vtkPointSetToLabelHierarchy.h.
Public Types | |
typedef vtkLabelHierarchyAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetTargetLabelCount (int) |
virtual int | GetTargetLabelCount () |
virtual void | SetMaximumDepth (int) |
virtual int | GetMaximumDepth () |
virtual void | SetUseUnicodeStrings (bool) |
virtual bool | GetUseUnicodeStrings () |
virtual void | UseUnicodeStringsOn () |
virtual void | UseUnicodeStringsOff () |
virtual void | SetLabelArrayName (const char *name) |
virtual const char * | GetLabelArrayName () |
virtual void | SetSizeArrayName (const char *name) |
virtual const char * | GetSizeArrayName () |
virtual void | SetPriorityArrayName (const char *name) |
virtual const char * | GetPriorityArrayName () |
virtual void | SetIconIndexArrayName (const char *name) |
virtual const char * | GetIconIndexArrayName () |
virtual void | SetOrientationArrayName (const char *name) |
virtual const char * | GetOrientationArrayName () |
virtual void | SetBoundedSizeArrayName (const char *name) |
virtual const char * | GetBoundedSizeArrayName () |
virtual void | SetTextProperty (vtkTextProperty *tprop) |
virtual vtkTextProperty * | GetTextProperty () |
Static Public Member Functions | |
static vtkPointSetToLabelHierarchy * | New () |
static int | IsTypeOf (const char *type) |
static vtkPointSetToLabelHierarchy * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkPointSetToLabelHierarchy () | |
virtual | ~vtkPointSetToLabelHierarchy () |
virtual int | FillInputPortInformation (int port, vtkInformation *info) |
virtual int | RequestData (vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) |
Protected Attributes | |
int | TargetLabelCount |
int | MaximumDepth |
bool | UseUnicodeStrings |
vtkTextProperty * | TextProperty |
Reimplemented from vtkLabelHierarchyAlgorithm.
Definition at line 49 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.
virtual const char* vtkPointSetToLabelHierarchy::GetClassName | ( | ) | [virtual] |
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 | ( | vtkObject * | o | ) | [static] |
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 125 of file vtkPointSetToLabelHierarchy.h.
int vtkPointSetToLabelHierarchy::MaximumDepth [protected] |
Definition at line 126 of file vtkPointSetToLabelHierarchy.h.
bool vtkPointSetToLabelHierarchy::UseUnicodeStrings [protected] |
Definition at line 127 of file vtkPointSetToLabelHierarchy.h.
vtkTextProperty* vtkPointSetToLabelHierarchy::TextProperty [protected] |
Definition at line 128 of file vtkPointSetToLabelHierarchy.h.