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);
121 vtkGetMacro(RestDistance,
float);
137 void Layout() VTK_OVERRIDE;
143 int IsLayoutComplete() VTK_OVERRIDE {
return this->LayoutComplete;}
150 vtkSetStringMacro(CommunityArrayName);
160 vtkSetClampMacro(CommunityStrength,
float, 0.1, 1.0);
161 vtkGetMacro(CommunityStrength,
float);
168 int MaxNumberOfIterations;
169 float InitialTemperature;
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
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
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...