41#ifndef vtkSimple2DLayoutStrategy_h
42#define vtkSimple2DLayoutStrategy_h
45#include "vtkInfovisLayoutModule.h"
64 vtkGetMacro(RandomSeed,
int);
89 vtkGetMacro(IterationsPerLayout,
int);
124 vtkSetMacro(Jitter,
bool);
125 vtkGetMacro(Jitter,
bool);
133 vtkSetMacro(RestDistance,
float);
134 vtkGetMacro(RestDistance,
float);
169 struct vtkLayoutEdge_t
175 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
180 vtkLayoutEdge* EdgeArray;
183 int IterationsPerLayout;
dynamic, self-adjusting array of float
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkSimple2DLayoutStrategy * New()
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
vtkSimple2DLayoutStrategy()
~vtkSimple2DLayoutStrategy() override
int MaxNumberOfIterations
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.