VTK
|
abstract superclass for all circle packing layout strategies. More...
#include <vtkCirclePackLayoutStrategy.h>
Public Types | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCirclePackLayoutStrategy * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Layout (vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray)=0 |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCirclePackLayoutStrategy * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCirclePackLayoutStrategy () | |
~vtkCirclePackLayoutStrategy () | |
abstract superclass for all circle packing layout strategies.
All subclasses of this class perform a circle packing layout on a vtkTree. This involves assigning a circle to each vertex in the tree, and placing that information in a data array with three components per tuple representing (Xcenter, Ycenter, Radius).
Instances of subclasses of this class may be assigned as the layout strategy to vtkCirclePackLayout
Definition at line 51 of file vtkCirclePackLayoutStrategy.h.
typedef vtkObject vtkCirclePackLayoutStrategy::Superclass |
Definition at line 54 of file vtkCirclePackLayoutStrategy.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented in vtkCirclePackFrontChainLayoutStrategy.
|
static |
|
protectedvirtual |
Reimplemented in vtkCirclePackFrontChainLayoutStrategy.
vtkCirclePackLayoutStrategy* vtkCirclePackLayoutStrategy::NewInstance | ( | ) | const |
void vtkCirclePackLayoutStrategy::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
pure virtual |
Perform the layout of the input tree, and store the circle bounds of each vertex as a tuple in a data array. (Xcenter, Ycenter, Radius). The sizeArray may be NULL, or may contain the desired size of each vertex in the tree.
Implemented in vtkCirclePackFrontChainLayoutStrategy.