26 #ifndef vtkConstrained2DLayoutStrategy_h
27 #define vtkConstrained2DLayoutStrategy_h
30 #include "vtkInfovisLayoutModule.h"
34 VTK_ABI_NAMESPACE_BEGIN
54 vtkGetMacro(RandomSeed,
int);
66 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
67 vtkGetMacro(MaxNumberOfIterations,
int);
78 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
79 vtkGetMacro(IterationsPerLayout,
int);
89 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
90 vtkGetMacro(InitialTemperature,
float);
103 vtkGetMacro(CoolDownRate,
double);
111 vtkSetMacro(RestDistance,
float);
112 vtkGetMacro(RestDistance,
float);
141 vtkSetStringMacro(InputArrayName);
142 vtkGetStringMacro(InputArrayName);
156 struct vtkLayoutEdge_t
162 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
170 vtkLayoutEdge* EdgeArray;
173 int IterationsPerLayout;
179 char* InputArrayName;
182 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
183 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
184 void ResolveCoincidentVertices();
190 VTK_ABI_NAMESPACE_END
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
int MaxNumberOfIterations
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 that looks for a 'constraint' array (vtkDoubleArray).
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...
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. ...