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

converts a tree to a polygonal data representing radial space filling tree. More...

#include <vtkTreeRingToPolyData.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkTreeRingToPolyDataNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
int FillInputPortInformation (int port, vtkInformation *info)
virtual void SetSectorsArrayName (const char *name)
virtual void SetShrinkPercentage (double)
virtual double GetShrinkPercentage ()

Static Public Member Functions

static vtkTreeRingToPolyDataNew ()
static int IsTypeOf (const char *type)
static vtkTreeRingToPolyDataSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkTreeRingToPolyData ()
 ~vtkTreeRingToPolyData ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

double ShrinkPercentage

Detailed Description

converts a tree to a polygonal data representing radial space filling tree.

This algorithm requires that the vtkTreeRingLayout filter has already been applied to the data in order to create the quadruple array (start angle, end angle, inner radius, outer radius) of bounds for each vertex of the tree.

Events:
vtkCommand::ProgressEvent

Definition at line 40 of file vtkTreeRingToPolyData.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 45 of file vtkTreeRingToPolyData.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 vtkPolyDataAlgorithm.

static int vtkTreeRingToPolyData::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 vtkPolyDataAlgorithm.

virtual int vtkTreeRingToPolyData::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 vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

virtual vtkObjectBase* vtkTreeRingToPolyData::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPolyDataAlgorithm.

Reimplemented from vtkPolyDataAlgorithm.

void vtkTreeRingToPolyData::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 vtkPolyDataAlgorithm.

virtual void vtkTreeRingToPolyData::SetSectorsArrayName ( const char *  name) [inline, virtual]

The field containing quadruples of the form (start angle, end angle, inner radius, outer radius) representing the bounds of the rectangles for each vertex. This field may be added to the tree using vtkTreeRingLayout. This array must be set.

Definition at line 53 of file vtkTreeRingToPolyData.h.

virtual void vtkTreeRingToPolyData::SetShrinkPercentage ( double  ) [virtual]

Define a shrink percentage for each of the sectors.

Define a shrink percentage for each of the sectors.

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

int vtkTreeRingToPolyData::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

Definition at line 69 of file vtkTreeRingToPolyData.h.


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