37 #ifndef vtkStackedTreeLayoutStrategy_h
38 #define vtkStackedTreeLayoutStrategy_h
40 #include "vtkInfovisLayoutModule.h"
75 vtkGetMacro(InteriorRadius,
double);
83 vtkGetMacro(RingThickness,
double);
93 vtkGetMacro(RootStartAngle,
double);
103 vtkGetMacro(RootEndAngle,
double);
112 vtkGetMacro(UseRectangularCoordinates,
bool);
122 vtkGetMacro(Reverse,
bool);
135 vtkGetMacro(InteriorLogSpacingValue,
double);
161 float parentInnerRad,
float parentOuterRad,
162 float parentStartAng,
float parentEndAng);
abstract superclass for all area layout strategies
abstract superclass for arrays of numeric data
a simple class to control print indentation
lays out tree in stacked boxes or rings
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkStackedTreeLayoutStrategy()
void ComputeEdgeRoutingPoints(vtkTree *inputTree, vtkDataArray *coordsArray, vtkTree *outputTree)
void LayoutChildren(vtkTree *tree, vtkDataArray *coordsArray, vtkDataArray *sizeArray, vtkIdType nchildren, vtkIdType parent, vtkIdType begin, float parentInnerRad, float parentOuterRad, float parentStartAng, float parentEndAng)
virtual void Layout(vtkTree *inputTree, vtkDataArray *sectorArray, vtkDataArray *sizeArray)
Perform the layout of the input tree, and store the sector bounds of each vertex as a tuple (innerRad...
bool UseRectangularCoordinates
virtual vtkIdType FindVertex(vtkTree *tree, vtkDataArray *array, float pnt[2])
Returns the vertex id that contains pnt (or -1 if no one contains it).
double InteriorLogSpacingValue
virtual void LayoutEdgePoints(vtkTree *inputTree, vtkDataArray *sectorArray, vtkDataArray *sizeArray, vtkTree *edgeRoutingTree)
Fill edgeRoutingTree with points suitable for routing edges of an overlaid graph.
static vtkStackedTreeLayoutStrategy * New()
~vtkStackedTreeLayoutStrategy()
A rooted tree data structure.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.