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);
77 vtkSetMacro(AutomaticBoundsComputation,
vtkTypeBool);
78 vtkGetMacro(AutomaticBoundsComputation,
vtkTypeBool);
79 vtkBooleanMacro(AutomaticBoundsComputation,
vtkTypeBool);
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);
122 vtkBooleanMacro(ThreeDimensionalLayout,
vtkTypeBool);
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
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. ...