Go to the documentation of this file.
37 #ifndef vtkGraphLayoutStrategy_h
38 #define vtkGraphLayoutStrategy_h
40 #include "vtkInfovisLayoutModule.h"
84 vtkGetMacro(WeightEdges,
bool);
92 vtkGetStringMacro(EdgeWeightField);
abstract superclass for all graph layout strategies
abstract base class for most VTK objects
virtual int IsLayoutComplete()
If your concrete class is iterative than you should overload IsLayoutComplete() otherwise it simply r...
virtual void Layout()=0
This is the layout method where the graph that was set in SetGraph() is laid out.
a simple class to control print indentation
virtual void Initialize()
This method allows the layout strategy to do initialization of data structures or whatever else it mi...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetGraph(vtkGraph *graph)
Setting the graph for the layout strategy.
virtual void SetWeightEdges(bool state)
Whether to use edge weights in the layout or not.
virtual void SetEdgeWeightField(const char *field)
Set/Get the field to use for the edge weights.
Base class for graph data types.
~vtkGraphLayoutStrategy() override