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

converts a tree to a polygonal data representing a circle packing of the hierarchy. More...

#include <vtkCirclePackToPolyData.h>

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

List of all members.

Public Types

typedef vtkPolyDataAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkCirclePackToPolyDataNewInstance () 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 vtkCirclePackToPolyDataNew ()
static int IsTypeOf (const char *type)
static vtkCirclePackToPolyDataSafeDownCast (vtkObjectBase *o)

Protected Member Functions

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

Protected Attributes

unsigned int Resolution

Detailed Description

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.

Events:
vtkCommand::ProgressEvent
Tests:
vtkCirclePackToPolyData (Tests)

Definition at line 42 of file vtkCirclePackToPolyData.h.


Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 47 of file vtkCirclePackToPolyData.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 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.

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.

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.


Member Data Documentation

Definition at line 70 of file vtkCirclePackToPolyData.h.


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