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);
155 void ComputeEdgeRoutingPoints(
161 float parentInnerRad,
float parentOuterRad,
162 float parentStartAng,
float parentEndAng);
virtual void LayoutEdgePoints(vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray, vtkTree *edgeLayoutTree)
abstract superclass for all area layout strategies
virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray)=0
Perform the layout of the input tree, and store the sector bounds of each vertex as a tuple in a data...
virtual vtkIdType FindVertex(vtkTree *tree, vtkDataArray *array, float pnt[2])=0
Returns the vertex id that contains pnt (or -1 if no one contains it)
bool UseRectangularCoordinates
a simple class to control print indentation
abstract superclass for arrays of numeric data
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double InteriorLogSpacingValue
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
lays out tree in stacked boxes or rings
A rooted tree data structure.