42 #ifndef vtkFast2DLayoutStrategy_h
43 #define vtkFast2DLayoutStrategy_h
46 #include "vtkInfovisLayoutModule.h"
70 vtkGetMacro(RandomSeed,
int);
83 vtkGetMacro(MaxNumberOfIterations,
int);
95 vtkGetMacro(IterationsPerLayout,
int);
106 vtkGetMacro(InitialTemperature,
float);
119 vtkGetMacro(CoolDownRate,
double);
127 vtkSetMacro(RestDistance,
float);
128 vtkGetMacro(RestDistance,
float);
177 vtkLayoutEdge* EdgeArray;
180 int IterationsPerLayout;
187 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
188 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
189 void ResolveCoincidentVertices();
a simple fast 2D graph layout
vtkFast2DLayoutStrategy()
int MaxNumberOfIterations
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
~vtkFast2DLayoutStrategy() override
static vtkFast2DLayoutStrategy * New()
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
A splatter optimized for splatting single kernels.
dynamic, self-adjusting array of float
abstract superclass for all graph layout strategies
convert a vtkGraph to vtkPolyData
topologically and geometrically regular array of data
a simple class to control print indentation