35 #ifndef vtkCommunity2DLayoutStrategy_h 36 #define vtkCommunity2DLayoutStrategy_h 39 #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);
119 vtkSetMacro(RestDistance,
float);
120 vtkGetMacro(RestDistance,
float);
148 vtkGetStringMacro(CommunityArrayName);
149 vtkSetStringMacro(CommunityArrayName);
159 vtkSetClampMacro(CommunityStrength,
float, 0.1, 1.0);
160 vtkGetMacro(CommunityStrength,
float);
187 vtkLayoutEdge* EdgeArray;
190 int IterationsPerLayout;
195 float CommunityStrength;
200 char* CommunityArrayName;
203 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
204 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
205 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. ...