#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 40 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 () |
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 |
Reimplemented from vtkLabelHierarchyAlgorithm.
Definition at line 44 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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro 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 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 71 of file vtkPointSetToLabelHierarchy.h.
int vtkPointSetToLabelHierarchy::MaximumDepth [protected] |
Definition at line 72 of file vtkPointSetToLabelHierarchy.h.