33 #ifndef vtkAttributeClustering2DLayoutStrategy_h 34 #define vtkAttributeClustering2DLayoutStrategy_h 36 #include "vtkInfovisLayoutModule.h" 60 void SetVertexAttribute(
const char*);
70 vtkGetMacro(RandomSeed,
int);
82 vtkSetClampMacro(MaxNumberOfIterations,
int, 0,
VTK_INT_MAX);
83 vtkGetMacro(MaxNumberOfIterations,
int);
94 vtkSetClampMacro(IterationsPerLayout,
int, 0,
VTK_INT_MAX);
95 vtkGetMacro(IterationsPerLayout,
int);
105 vtkSetClampMacro(InitialTemperature,
float, 0.0,
VTK_FLOAT_MAX);
106 vtkGetMacro(InitialTemperature,
float);
119 vtkGetMacro(CoolDownRate,
double);
128 vtkGetMacro(RestDistance,
float);
144 void Layout() VTK_OVERRIDE;
150 int IsLayoutComplete() VTK_OVERRIDE {
return this->LayoutComplete;}
156 int MaxNumberOfIterations;
157 float InitialTemperature;
170 int IterationsPerLayout;
175 float CuttingThreshold;
176 char* VertexAttribute;
179 void GenerateCircularSplat(
vtkImageData *splat,
int x,
int y);
180 void GenerateGaussianSplat(
vtkImageData *splat,
int x,
int y);
181 void ResolveCoincidentVertices();
184 Internals* Implementation;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
a simple fast 2D graph layout
dynamic, self-adjusting array of float
Hold a reference to a vtkObjectBase instance.
abstract superclass for all graph layout strategies
dynamic, self-adjusting array of int
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...