23#ifndef vtkConstrained2DLayoutStrategy_h
24#define vtkConstrained2DLayoutStrategy_h
27#include "vtkInfovisLayoutModule.h"
31VTK_ABI_NAMESPACE_BEGIN
51 vtkGetMacro(RandomSeed,
int);
64 vtkGetMacro(MaxNumberOfIterations,
int);
76 vtkGetMacro(IterationsPerLayout,
int);
87 vtkGetMacro(InitialTemperature,
float);
100 vtkGetMacro(CoolDownRate,
double);
108 vtkSetMacro(RestDistance,
float);
109 vtkGetMacro(RestDistance,
float);
138 vtkSetStringMacro(InputArrayName);
139 vtkGetStringMacro(InputArrayName);
153 struct vtkLayoutEdge_t
159 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
167 vtkLayoutEdge* EdgeArray;
170 int IterationsPerLayout;
176 char* InputArrayName;
179 void GenerateCircularSplat(
vtkImageData* splat,
int x,
int y);
180 void GenerateGaussianSplat(
vtkImageData* splat,
int x,
int y);
181 void ResolveCoincidentVertices();
a simple fast 2D graph layout that looks for a 'constraint' array (vtkDoubleArray).
~vtkConstrained2DLayoutStrategy() override
static vtkConstrained2DLayoutStrategy * New()
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
int MaxNumberOfIterations
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
vtkConstrained2DLayoutStrategy()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A splatter optimized for splatting single kernels.
dynamic, self-adjusting array of float
abstract superclass for all graph layout strategies
topologically and geometrically regular array of data
a simple class to control print indentation
Hold a reference to a vtkObjectBase instance.