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