22#ifndef vtkSimple2DLayoutStrategy_h
23#define vtkSimple2DLayoutStrategy_h
26#include "vtkInfovisLayoutModule.h"
28VTK_ABI_NAMESPACE_BEGIN
46 vtkGetMacro(RandomSeed,
int);
59 vtkGetMacro(MaxNumberOfIterations,
int);
71 vtkGetMacro(IterationsPerLayout,
int);
82 vtkGetMacro(InitialTemperature,
float);
95 vtkGetMacro(CoolDownRate,
double);
106 vtkSetMacro(Jitter,
bool);
107 vtkGetMacro(Jitter,
bool);
115 vtkSetMacro(RestDistance,
float);
116 vtkGetMacro(RestDistance,
float);
151 struct vtkLayoutEdge_t
157 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
162 vtkLayoutEdge* EdgeArray;
165 int IterationsPerLayout;
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.
static vtkSimple2DLayoutStrategy * New()
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
vtkSimple2DLayoutStrategy()
~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.