38 #ifndef vtkCommunity2DLayoutStrategy_h 39 #define vtkCommunity2DLayoutStrategy_h 42 #include "vtkInfovisLayoutModule.h" 65 vtkGetMacro(RandomSeed,
int);
77 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
78 vtkGetMacro(MaxNumberOfIterations,
int);
89 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
90 vtkGetMacro(IterationsPerLayout,
int);
100 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
101 vtkGetMacro(InitialTemperature,
float);
114 vtkGetMacro(CoolDownRate,
double);
122 vtkSetMacro(RestDistance,
float);
123 vtkGetMacro(RestDistance,
float);
151 vtkGetStringMacro(CommunityArrayName);
152 vtkSetStringMacro(CommunityArrayName);
162 vtkSetClampMacro(CommunityStrength,
float, 0.1, 1.0);
163 vtkGetMacro(CommunityStrength,
float);
190 vtkLayoutEdge* EdgeArray;
193 int IterationsPerLayout;
198 float CommunityStrength;
203 char* CommunityArrayName;
206 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
207 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
208 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. ...