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];
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
int ThreeDimensionalLayout
a simple class to control print indentation
int MaxNumberOfIterations
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
double InitialTemperature
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...
int AutomaticBoundsComputation
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...