VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPointSetToLabelHierarchy Class Reference

build a label hierarchy for a graph or point set. More...

#include <vtkPointSetToLabelHierarchy.h>

Inheritance diagram for vtkPointSetToLabelHierarchy:
Inheritance graph
[legend]
Collaboration diagram for vtkPointSetToLabelHierarchy:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkLabelHierarchyAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkPointSetToLabelHierarchyNewInstance () const
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 vtkTextPropertyGetTextProperty ()

Static Public Member Functions

static
vtkPointSetToLabelHierarchy
New ()
static int IsTypeOf (const char *type)
static
vtkPointSetToLabelHierarchy
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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
vtkTextPropertyTextProperty

Detailed Description

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).

Examples:
vtkPointSetToLabelHierarchy (Examples)
Tests:
vtkPointSetToLabelHierarchy (Tests)

Definition at line 46 of file vtkPointSetToLabelHierarchy.h.


Member Typedef Documentation

Reimplemented from vtkLabelHierarchyAlgorithm.

Definition at line 50 of file vtkPointSetToLabelHierarchy.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

Set/get the "ideal" number of labels to associate with each node in the output hierarchy.

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.

Set/get the maximum tree depth in the output hierarchy.

virtual void vtkPointSetToLabelHierarchy::SetUseUnicodeStrings ( bool  ) [virtual]

Whether to use unicode strings.

Whether to use unicode strings.

Whether to use unicode strings.

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.

Set/get the text property assigned to the hierarchy.

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.


Member Data Documentation

Definition at line 126 of file vtkPointSetToLabelHierarchy.h.

Definition at line 127 of file vtkPointSetToLabelHierarchy.h.

Definition at line 128 of file vtkPointSetToLabelHierarchy.h.

Definition at line 129 of file vtkPointSetToLabelHierarchy.h.


The documentation for this class was generated from the following file: