36#ifndef vtkClustering2DLayoutStrategy_h
37#define vtkClustering2DLayoutStrategy_h
40#include "vtkInfovisLayoutModule.h"
64 vtkGetMacro(RandomSeed,
int);
77 vtkGetMacro(MaxNumberOfIterations,
int);
89 vtkGetMacro(IterationsPerLayout,
int);
100 vtkGetMacro(InitialTemperature,
float);
113 vtkGetMacro(CoolDownRate,
double);
121 vtkSetMacro(RestDistance,
float);
122 vtkGetMacro(RestDistance,
float);
157 struct vtkLayoutEdge_t
166 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
175 vtkLayoutEdge* EdgeArray;
178 int IterationsPerLayout;
183 float CuttingThreshold;
186 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
187 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
188 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.