25 #ifndef vtkSimple2DLayoutStrategy_h
26 #define vtkSimple2DLayoutStrategy_h
29 #include "vtkInfovisLayoutModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
49 vtkGetMacro(RandomSeed,
int);
62 vtkGetMacro(MaxNumberOfIterations,
int);
74 vtkGetMacro(IterationsPerLayout,
int);
85 vtkGetMacro(InitialTemperature,
float);
98 vtkGetMacro(CoolDownRate,
double);
109 vtkSetMacro(Jitter,
bool);
110 vtkGetMacro(Jitter,
bool);
118 vtkSetMacro(RestDistance,
float);
119 vtkGetMacro(RestDistance,
float);
154 struct vtkLayoutEdge_t
160 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
165 vtkLayoutEdge* EdgeArray;
168 int IterationsPerLayout;
179 VTK_ABI_NAMESPACE_END
dynamic, self-adjusting array of float
abstract superclass for all graph layout strategies
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
vtkSimple2DLayoutStrategy()
static vtkSimple2DLayoutStrategy * New()
~vtkSimple2DLayoutStrategy() override
int MaxNumberOfIterations
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.