37#ifndef vtkStackedTreeLayoutStrategy_h
38#define vtkStackedTreeLayoutStrategy_h
41#include "vtkInfovisLayoutModule.h"
66 vtkTree* edgeRoutingTree)
override;
157 float parentOuterRad,
float parentStartAng,
float parentEndAng);
a simple class to control print indentation
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.