17#ifndef vtkClustering2DLayoutStrategy_h
18#define vtkClustering2DLayoutStrategy_h
21#include "vtkInfovisLayoutModule.h"
25VTK_ABI_NAMESPACE_BEGIN
46 vtkGetMacro(RandomSeed,
int);
59 vtkGetMacro(MaxNumberOfIterations,
int);
71 vtkGetMacro(IterationsPerLayout,
int);
82 vtkGetMacro(InitialTemperature,
float);
95 vtkGetMacro(CoolDownRate,
double);
103 vtkSetMacro(RestDistance,
float);
104 vtkGetMacro(RestDistance,
float);
139 struct vtkLayoutEdge_t
148 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
157 vtkLayoutEdge* EdgeArray;
160 int IterationsPerLayout;
165 float CuttingThreshold;
168 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
169 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
170 void ResolveCoincidentVertices();
a simple fast 2D graph layout
static vtkClustering2DLayoutStrategy * New()
int MaxNumberOfIterations
vtkClustering2DLayoutStrategy()
~vtkClustering2DLayoutStrategy() override
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
A splatter optimized for splatting single kernels.
dynamic, self-adjusting array of float
abstract superclass for all graph layout strategies
topologically and geometrically regular array of data
a simple class to control print indentation
dynamic, self-adjusting array of int
Hold a reference to a vtkObjectBase instance.