34 #ifndef vtkForceDirectedLayoutStrategy_h
35 #define vtkForceDirectedLayoutStrategy_h
37 #include "vtkInfovisLayoutModule.h"
55 vtkGetMacro(RandomSeed,
int);
64 vtkSetVector6Macro(GraphBounds,
double);
65 vtkGetVectorMacro(GraphBounds,
double,6);
75 vtkGetMacro(AutomaticBoundsComputation,
int);
86 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
87 vtkGetMacro(MaxNumberOfIterations,
int);
97 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
98 vtkGetMacro(IterationsPerLayout,
int);
108 vtkGetMacro(CoolDownRate,
double);
118 vtkGetMacro(ThreeDimensionalLayout,
int);
127 vtkGetMacro(RandomInitialPoints,
int);
136 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
137 vtkGetMacro(InitialTemperature,
float);
153 void Layout() VTK_OVERRIDE;
159 int IsLayoutComplete() VTK_OVERRIDE {
return this->LayoutComplete;}
165 double GraphBounds[6];
166 int AutomaticBoundsComputation;
167 int MaxNumberOfIterations;
169 double InitialTemperature;
170 int ThreeDimensionalLayout;
171 int RandomInitialPoints;
190 int IterationsPerLayout;
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.
abstract superclass for all graph layout strategies
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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...