25 #ifndef vtkSimple2DLayoutStrategy_h
26 #define vtkSimple2DLayoutStrategy_h
29 #include "vtkInfovisLayoutModule.h"
31 VTK_ABI_NAMESPACE_BEGIN
49 vtkGetMacro(RandomSeed,
int);
61 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
62 vtkGetMacro(MaxNumberOfIterations,
int);
73 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
74 vtkGetMacro(IterationsPerLayout,
int);
84 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
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
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int MaxNumberOfIterations
dynamic, self-adjusting array of float
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph...
abstract superclass for all graph layout strategies
a simple class to control print indentation
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out. ...