36#ifndef vtkAttributeClustering2DLayoutStrategy_h
37#define vtkAttributeClustering2DLayoutStrategy_h
40#include "vtkInfovisLayoutModule.h"
62 vtkGetStringMacro(VertexAttribute);
73 vtkGetMacro(RandomSeed,
int);
86 vtkGetMacro(MaxNumberOfIterations,
int);
98 vtkGetMacro(IterationsPerLayout,
int);
109 vtkGetMacro(InitialTemperature,
float);
122 vtkGetMacro(CoolDownRate,
double);
130 vtkSetMacro(RestDistance,
float);
131 vtkGetMacro(RestDistance,
float);
172 int IterationsPerLayout;
177 float CuttingThreshold;
178 char* VertexAttribute;
181 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
182 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
183 void ResolveCoincidentVertices();
186 Internals* Implementation;
a simple fast 2D graph layout
int MaxNumberOfIterations
static vtkAttributeClustering2DLayoutStrategy * New()
void SetVertexAttribute(const char *)
The name of the array on the vertices, whose values will be used for determining clusters.
~vtkAttributeClustering2DLayoutStrategy() override
vtkAttributeClustering2DLayoutStrategy()
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.
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
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.