39 #ifndef vtkConstrained2DLayoutStrategy_h 40 #define vtkConstrained2DLayoutStrategy_h 42 #include "vtkInfovisLayoutModule.h" 66 vtkGetMacro(RandomSeed,
int);
78 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
79 vtkGetMacro(MaxNumberOfIterations,
int);
90 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
91 vtkGetMacro(IterationsPerLayout,
int);
101 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
102 vtkGetMacro(InitialTemperature,
float);
115 vtkGetMacro(CoolDownRate,
double);
125 vtkGetMacro(RestDistance,
float);
141 void Layout() VTK_OVERRIDE;
147 int IsLayoutComplete() VTK_OVERRIDE {
return this->LayoutComplete;}
154 vtkSetStringMacro(InputArrayName);
162 int MaxNumberOfIterations;
163 float InitialTemperature;
183 vtkLayoutEdge *EdgeArray;
186 int IterationsPerLayout;
192 char* InputArrayName;
195 void GenerateCircularSplat(
vtkImageData *splat,
int x,
int y);
196 void GenerateGaussianSplat(
vtkImageData *splat,
int x,
int y);
197 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
a simple fast 2D graph layout that looks for a 'constraint' array (vtkDoubleArray).
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...