20 #ifndef vtkAttributeClustering2DLayoutStrategy_h
21 #define vtkAttributeClustering2DLayoutStrategy_h
24 #include "vtkInfovisLayoutModule.h"
28 VTK_ABI_NAMESPACE_BEGIN
47 vtkGetStringMacro(VertexAttribute);
48 void SetVertexAttribute(
const char*);
58 vtkGetMacro(RandomSeed,
int);
70 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
71 vtkGetMacro(MaxNumberOfIterations,
int);
82 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
83 vtkGetMacro(IterationsPerLayout,
int);
93 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
94 vtkGetMacro(InitialTemperature,
float);
107 vtkGetMacro(CoolDownRate,
double);
115 vtkSetMacro(RestDistance,
float);
116 vtkGetMacro(RestDistance,
float);
157 int IterationsPerLayout;
162 float CuttingThreshold;
163 char* VertexAttribute;
166 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
167 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
168 void ResolveCoincidentVertices();
171 Internals* Implementation;
177 VTK_ABI_NAMESPACE_END
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple fast 2D graph layout
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
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph...
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
int MaxNumberOfIterations
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. ...