21 #ifndef vtkForceDirectedLayoutStrategy_h
22 #define vtkForceDirectedLayoutStrategy_h
25 #include "vtkInfovisLayoutModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
43 vtkGetMacro(RandomSeed,
int);
52 vtkSetVector6Macro(GraphBounds,
double);
53 vtkGetVectorMacro(GraphBounds,
double, 6);
62 vtkSetMacro(AutomaticBoundsComputation,
vtkTypeBool);
63 vtkGetMacro(AutomaticBoundsComputation,
vtkTypeBool);
64 vtkBooleanMacro(AutomaticBoundsComputation,
vtkTypeBool);
74 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
75 vtkGetMacro(MaxNumberOfIterations,
int);
85 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
86 vtkGetMacro(IterationsPerLayout,
int);
96 vtkGetMacro(CoolDownRate,
double);
107 vtkBooleanMacro(ThreeDimensionalLayout,
vtkTypeBool);
124 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
125 vtkGetMacro(InitialTemperature,
float);
153 double GraphBounds[6];
162 struct vtkLayoutVertex_t
167 using vtkLayoutVertex =
struct vtkLayoutVertex_t;
171 struct vtkLayoutEdge_t
176 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
179 int IterationsPerLayout;
191 VTK_ABI_NAMESPACE_END
a force directed graph layout algorithm
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph...
vtkTypeBool AutomaticBoundsComputation
vtkTypeBool RandomInitialPoints
vtkTypeBool ThreeDimensionalLayout
abstract superclass for all graph layout strategies
a simple class to control print indentation
int MaxNumberOfIterations
double InitialTemperature
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. ...