21#ifndef vtkStackedTreeLayoutStrategy_h
22#define vtkStackedTreeLayoutStrategy_h
25#include "vtkInfovisLayoutModule.h"
27VTK_ABI_NAMESPACE_BEGIN
51 vtkTree* edgeRoutingTree)
override;
57 vtkSetMacro(InteriorRadius,
double);
58 vtkGetMacro(InteriorRadius,
double);
65 vtkSetMacro(RingThickness,
double);
66 vtkGetMacro(RingThickness,
double);
75 vtkSetMacro(RootStartAngle,
double);
76 vtkGetMacro(RootStartAngle,
double);
85 vtkSetMacro(RootEndAngle,
double);
86 vtkGetMacro(RootEndAngle,
double);
94 vtkSetMacro(UseRectangularCoordinates,
bool);
95 vtkGetMacro(UseRectangularCoordinates,
bool);
96 vtkBooleanMacro(UseRectangularCoordinates,
bool);
104 vtkSetMacro(Reverse,
bool);
105 vtkGetMacro(Reverse,
bool);
106 vtkBooleanMacro(Reverse,
bool);
117 vtkSetMacro(InteriorLogSpacingValue,
double);
118 vtkGetMacro(InteriorLogSpacingValue,
double);
142 float parentOuterRad,
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
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)
void LayoutEdgePoints(vtkTree *inputTree, vtkDataArray *sectorArray, vtkDataArray *sizeArray, vtkTree *edgeRoutingTree) override
Fill edgeRoutingTree with points suitable for routing edges of an overlaid graph.
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...
bool UseRectangularCoordinates
static vtkStackedTreeLayoutStrategy * New()
vtkIdType FindVertex(vtkTree *tree, vtkDataArray *array, float pnt[2]) override
Returns the vertex id that contains pnt (or -1 if no one contains it).
double InteriorLogSpacingValue
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkStackedTreeLayoutStrategy() override
A rooted tree data structure.