22 #ifndef vtkCommunity2DLayoutStrategy_h
23 #define vtkCommunity2DLayoutStrategy_h
26 #include "vtkInfovisLayoutModule.h"
30 VTK_ABI_NAMESPACE_BEGIN
50 vtkGetMacro(RandomSeed,
int);
62 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
63 vtkGetMacro(MaxNumberOfIterations,
int);
74 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
75 vtkGetMacro(IterationsPerLayout,
int);
85 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
86 vtkGetMacro(InitialTemperature,
float);
99 vtkGetMacro(CoolDownRate,
double);
107 vtkSetMacro(RestDistance,
float);
108 vtkGetMacro(RestDistance,
float);
136 vtkGetStringMacro(CommunityArrayName);
137 vtkSetStringMacro(CommunityArrayName);
147 vtkSetClampMacro(CommunityStrength,
float, 0.1, 1.0);
148 vtkGetMacro(CommunityStrength,
float);
162 struct vtkLayoutEdge_t
168 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
176 vtkLayoutEdge* EdgeArray;
179 int IterationsPerLayout;
184 float CommunityStrength;
189 char* CommunityArrayName;
192 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
193 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
194 void ResolveCoincidentVertices();
200 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
A splatter optimized for splatting single kernels.
a simple class to control print indentation
topologically and geometrically regular array of data
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. ...