39#ifndef vtkConstrained2DLayoutStrategy_h
40#define vtkConstrained2DLayoutStrategy_h
42#include "vtkInfovisLayoutModule.h"
66 vtkGetMacro(RandomSeed,
int);
79 vtkGetMacro(MaxNumberOfIterations,
int);
91 vtkGetMacro(IterationsPerLayout,
int);
102 vtkGetMacro(InitialTemperature,
float);
115 vtkGetMacro(CoolDownRate,
double);
125 vtkGetMacro(RestDistance,
float);
154 vtkSetStringMacro(InputArrayName);
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();
a simple fast 2D graph layout that looks for a 'constraint' array (vtkDoubleArray).
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkConstrained2DLayoutStrategy * New()
~vtkConstrained2DLayoutStrategy()
virtual int IsLayoutComplete()
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
virtual void Layout()
This is the layout method where the graph that was set in SetGraph() is laid out.
int MaxNumberOfIterations
virtual void Initialize()
This strategy sets up some data structures for faster processing of each Layout() call.
vtkConstrained2DLayoutStrategy()
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
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.