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);
74 vtkSetMacro(AutomaticBoundsComputation,
vtkTypeBool);
75 vtkGetMacro(AutomaticBoundsComputation,
vtkTypeBool);
76 vtkBooleanMacro(AutomaticBoundsComputation,
vtkTypeBool);
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);
119 vtkBooleanMacro(ThreeDimensionalLayout,
vtkTypeBool);
136 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
137 vtkGetMacro(InitialTemperature,
float);
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.
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. ...