21#ifndef vtkForceDirectedLayoutStrategy_h 
   22#define vtkForceDirectedLayoutStrategy_h 
   25#include "vtkInfovisLayoutModule.h"  
   27VTK_ABI_NAMESPACE_BEGIN
 
   43  vtkGetMacro(RandomSeed, 
int);
 
   52  vtkSetVector6Macro(GraphBounds, 
double);
 
   53  vtkGetVectorMacro(GraphBounds, 
double, 6);
 
   75  vtkGetMacro(MaxNumberOfIterations, 
int);
 
   86  vtkGetMacro(IterationsPerLayout, 
int);
 
   96  vtkGetMacro(CoolDownRate, 
double);
 
  125  vtkGetMacro(InitialTemperature, 
float);
 
  153  double GraphBounds[6];
 
  162  struct vtkLayoutVertex_t
 
  167  using vtkLayoutVertex = 
struct vtkLayoutVertex_t;
 
  171  struct vtkLayoutEdge_t
 
  176  using vtkLayoutEdge = 
struct vtkLayoutEdge_t;
 
  179  int IterationsPerLayout;
 
a force directed graph layout algorithm
 
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
 
abstract superclass for all graph layout strategies
 
a simple class to control print indentation