VTK
|
converts a tree to a polygonal data representing a circle packing of the hierarchy. More...
#include <vtkCirclePackToPolyData.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCirclePackToPolyData * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
int | FillInputPortInformation (int port, vtkInformation *info) |
virtual void | SetCirclesArrayName (const char *name) |
virtual void | SetResolution (unsigned int) |
virtual unsigned int | GetResolution () |
Static Public Member Functions | |
static vtkCirclePackToPolyData * | New () |
static int | IsTypeOf (const char *type) |
static vtkCirclePackToPolyData * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCirclePackToPolyData () | |
~vtkCirclePackToPolyData () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
unsigned int | Resolution |
converts a tree to a polygonal data representing a circle packing of the hierarchy.
This algorithm requires that the vtkCirclePackLayout filter has already been applied to the data in order to create the triple array (Xcenter, Ycenter, Radius) of circle bounds or each vertex of the tree.
Definition at line 42 of file vtkCirclePackToPolyData.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 47 of file vtkCirclePackToPolyData.h.
vtkCirclePackToPolyData::vtkCirclePackToPolyData | ( | ) | [protected] |
vtkCirclePackToPolyData::~vtkCirclePackToPolyData | ( | ) | [protected] |
static vtkCirclePackToPolyData* vtkCirclePackToPolyData::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
static int vtkCirclePackToPolyData::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 vtkCirclePackToPolyData::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 vtkCirclePackToPolyData* vtkCirclePackToPolyData::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkCirclePackToPolyData::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
Reimplemented from vtkPolyDataAlgorithm.
void vtkCirclePackToPolyData::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 vtkCirclePackToPolyData::SetCirclesArrayName | ( | const char * | name | ) | [inline, virtual] |
The field containing triples of the form (Xcenter, Ycenter, Radius). This field may be added to the tree using vtkCirclePackLayout. This array must be set.
Definition at line 54 of file vtkCirclePackToPolyData.h.
virtual void vtkCirclePackToPolyData::SetResolution | ( | unsigned | int | ) | [virtual] |
Define the number of sides used in output circles. Default is 100.
virtual unsigned int vtkCirclePackToPolyData::GetResolution | ( | ) | [virtual] |
Define the number of sides used in output circles. Default is 100.
int vtkCirclePackToPolyData::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 vtkCirclePackToPolyData::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.
unsigned int vtkCirclePackToPolyData::Resolution [protected] |
Definition at line 70 of file vtkCirclePackToPolyData.h.