36 #ifndef vtkFast2DLayoutStrategy_h 37 #define vtkFast2DLayoutStrategy_h 40 #include "vtkInfovisLayoutModule.h" 64 vtkGetMacro(RandomSeed,
int);
76 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
77 vtkGetMacro(MaxNumberOfIterations,
int);
88 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
89 vtkGetMacro(IterationsPerLayout,
int);
99 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
100 vtkGetMacro(InitialTemperature,
float);
113 vtkGetMacro(CoolDownRate,
double);
121 vtkSetMacro(RestDistance,
float);
122 vtkGetMacro(RestDistance,
float);
171 vtkLayoutEdge* EdgeArray;
174 int IterationsPerLayout;
181 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
182 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
183 void ResolveCoincidentVertices();
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int MaxNumberOfIterations
dynamic, self-adjusting array of float
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph...
abstract superclass for all graph layout strategies
convert a vtkGraph to vtkPolyData
A splatter optimized for splatting single kernels.
a simple class to control print indentation
topologically and geometrically regular array of data
a simple fast 2D graph layout
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. ...