37 #ifndef vtkForceDirectedLayoutStrategy_h
38 #define vtkForceDirectedLayoutStrategy_h
40 #include "vtkInfovisLayoutModule.h"
58 vtkGetMacro(RandomSeed,
int);
67 vtkSetVector6Macro(GraphBounds,
double);
68 vtkGetVectorMacro(GraphBounds,
double,6);
78 vtkGetMacro(AutomaticBoundsComputation,
int);
89 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
90 vtkGetMacro(MaxNumberOfIterations,
int);
100 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
101 vtkGetMacro(IterationsPerLayout,
int);
111 vtkGetMacro(CoolDownRate,
double);
121 vtkGetMacro(ThreeDimensionalLayout,
int);
130 vtkGetMacro(RandomInitialPoints,
int);
139 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
140 vtkGetMacro(InitialTemperature,
float);
168 double GraphBounds[6];
193 int IterationsPerLayout;
a force directed graph layout algorithm
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 int IsLayoutComplete()
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph...
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. ...
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.