VTK
|
converts a tree to a polygonal data representing radial space filling tree. More...
#include <vtkTreeRingToPolyData.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkTreeRingToPolyData * | NewInstance () 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 vtkTreeRingToPolyData * | New () |
static int | IsTypeOf (const char *type) |
static vtkTreeRingToPolyData * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkTreeRingToPolyData () | |
~vtkTreeRingToPolyData () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | ShrinkPercentage |
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.
Definition at line 40 of file vtkTreeRingToPolyData.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 45 of file vtkTreeRingToPolyData.h.
vtkTreeRingToPolyData::vtkTreeRingToPolyData | ( | ) | [protected] |
vtkTreeRingToPolyData::~vtkTreeRingToPolyData | ( | ) | [protected] |
static vtkTreeRingToPolyData* vtkTreeRingToPolyData::New | ( | ) | [static] |
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.
static vtkTreeRingToPolyData* vtkTreeRingToPolyData::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
virtual double vtkTreeRingToPolyData::GetShrinkPercentage | ( | ) | [virtual] |
Define a shrink percentage for each of the sectors.
int vtkTreeRingToPolyData::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [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 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.
double vtkTreeRingToPolyData::ShrinkPercentage [protected] |
Definition at line 69 of file vtkTreeRingToPolyData.h.