35 #ifndef vtkCommunity2DLayoutStrategy_h 36 #define vtkCommunity2DLayoutStrategy_h 38 #include "vtkInfovisLayoutModule.h" 62 vtkGetMacro(RandomSeed,
int);
74 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
75 vtkGetMacro(MaxNumberOfIterations,
int);
86 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
87 vtkGetMacro(IterationsPerLayout,
int);
97 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
98 vtkGetMacro(InitialTemperature,
float);
111 vtkGetMacro(CoolDownRate,
double);
120 vtkSetMacro(RestDistance,
float);
121 vtkGetMacro(RestDistance,
float);
149 vtkGetStringMacro(CommunityArrayName);
150 vtkSetStringMacro(CommunityArrayName);
160 vtkSetClampMacro(CommunityStrength,
float, 0.1, 1.0);
161 vtkGetMacro(CommunityStrength,
float);
189 vtkLayoutEdge *EdgeArray;
192 int IterationsPerLayout;
197 float CommunityStrength;
202 char* CommunityArrayName;
205 void GenerateCircularSplat(
vtkImageData *splat,
int x,
int y);
206 void GenerateGaussianSplat(
vtkImageData *splat,
int x,
int y);
207 void ResolveCoincidentVertices();
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. ...