33 #ifndef vtkClustering2DLayoutStrategy_h
34 #define vtkClustering2DLayoutStrategy_h
36 #include "vtkInfovisLayoutModule.h"
61 vtkGetMacro(RandomSeed,
int);
73 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
74 vtkGetMacro(MaxNumberOfIterations,
int);
85 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
86 vtkGetMacro(IterationsPerLayout,
int);
96 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
97 vtkGetMacro(InitialTemperature,
float);
110 vtkGetMacro(CoolDownRate,
double);
119 vtkGetMacro(RestDistance,
float);
135 void Layout() VTK_OVERRIDE;
141 int IsLayoutComplete() VTK_OVERRIDE {
return this->LayoutComplete;}
147 int MaxNumberOfIterations;
148 float InitialTemperature;
172 vtkLayoutEdge *EdgeArray;
175 int IterationsPerLayout;
180 float CuttingThreshold;
183 void GenerateCircularSplat(
vtkImageData *splat,
int x,
int y);
184 void GenerateGaussianSplat(
vtkImageData *splat,
int x,
int y);
185 void ResolveCoincidentVertices();
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
dynamic, self-adjusting array of float
abstract superclass for all graph layout strategies
dynamic, self-adjusting array of int
A splatter optimized for splatting single kernels.
a simple class to control print indentation
topologically and geometrically regular array of data
vtkSetMacro(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...
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...
a simple fast 2D graph layout