29#ifndef vtkIncrementalForceLayout_h
30#define vtkIncrementalForceLayout_h
32#include "vtkInfovisLayoutModule.h"
143 class Implementation;
Base class for graph data types.
virtual void SetGraph(vtkGraph *g)
Set the graph to be positioned.
vtkIncrementalForceLayout()
~vtkIncrementalForceLayout() override
virtual void SetFixed(vtkIdType fixed)
Set the id of the vertex that will not move during the simulation.
virtual vtkVector2f GetGravityPoint()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkIncrementalForceLayout * New()
virtual void SetGravityPoint(const vtkVector2f &point)
Set the gravity point where all vertices will migrate.
void UpdatePositions()
Perform one iteration of the force-directed layout.
a simple class to control print indentation