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);
90 vtkGetMacro(MaxNumberOfIterations,
int);
101 vtkGetMacro(IterationsPerLayout,
int);
111 vtkGetMacro(CoolDownRate,
double);
121 vtkGetMacro(ThreeDimensionalLayout,
int);
130 vtkGetMacro(RandomInitialPoints,
int);
140 vtkGetMacro(InitialTemperature,
float);
168 double GraphBounds[6];
193 int IterationsPerLayout;
a force directed graph layout algorithm
virtual void Initialize()
This strategy sets up some data structures for faster processing of each Layout() call.
virtual void Layout()
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.
double InitialTemperature
~vtkForceDirectedLayoutStrategy()
vtkForceDirectedLayoutStrategy()
virtual int IsLayoutComplete()
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
int AutomaticBoundsComputation
int ThreeDimensionalLayout
static vtkForceDirectedLayoutStrategy * New()
int MaxNumberOfIterations
abstract superclass for all graph layout strategies
a simple class to control print indentation
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.