80#ifndef vtkForceDirectedLayoutStrategy_h
81#define vtkForceDirectedLayoutStrategy_h
84#include "vtkInfovisLayoutModule.h"
86VTK_ABI_NAMESPACE_BEGIN
102 vtkGetMacro(RandomSeed,
int);
145 vtkGetMacro(IterationsPerLayout,
int);
221 struct vtkLayoutVertex_t
226 using vtkLayoutVertex =
struct vtkLayoutVertex_t;
230 struct vtkLayoutEdge_t
235 using vtkLayoutEdge =
struct vtkLayoutEdge_t;
238 int IterationsPerLayout;
246 vtkForceDirectedLayoutStrategy(
const vtkForceDirectedLayoutStrategy&) =
delete;
247 void operator=(
const vtkForceDirectedLayoutStrategy&) =
delete;
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Layout() override
This is the layout method where the graph that was set in SetGraph() is laid out.
vtkTypeBool RandomInitialPoints
double InitialTemperature
void Initialize() override
This strategy sets up some data structures for faster processing of each Layout() call.
~vtkForceDirectedLayoutStrategy() override
vtkForceDirectedLayoutStrategy()
vtkTypeBool ThreeDimensionalLayout
vtkTypeBool AutomaticBoundsComputation
int IsLayoutComplete() override
I'm an iterative layout so this method lets the caller know if I'm done laying out the graph.
static vtkForceDirectedLayoutStrategy * New()
int MaxNumberOfIterations
a simple class to control print indentation