Interface for planar cluster layout algorithms. More...
#include <ogdf/module/LayoutClusterPlanRepModule.h>
Inheritance diagram for ogdf::LayoutClusterPlanRepModule:Public Member Functions | |
| LayoutClusterPlanRepModule () | |
| Initializes a cluster planar layout module. More... | |
| virtual | ~LayoutClusterPlanRepModule () |
| virtual void | call (ClusterPlanRep &PG, adjEntry adjExternal, Layout &drawing, List< NodePair > &npEdges, List< edge > &newEdges, Graph &originalGraph)=0 |
Computes a layout of PG in drawing. More... | |
| const DPoint & | getBoundingBox () const |
| Returns the bounding box of the computed layout. More... | |
| virtual int | getOptions () |
| Returns the (generic) options. More... | |
| virtual double | separation () const =0 |
| Returns the minimal allowed distance between edges and vertices. More... | |
| virtual void | separation (double sep)=0 |
Sets the minimal allowed distance between edges and vertices to sep. More... | |
| virtual void | setOptions (int) |
| Sets the (generic) options; derived classes have to cope with the interpretation) More... | |
Protected Attributes | |
| DPoint | m_boundingBox |
| Stores the bounding box of the computed layout. More... | |
Interface for planar cluster layout algorithms.
Definition at line 48 of file LayoutClusterPlanRepModule.h.
|
inline |
Initializes a cluster planar layout module.
Definition at line 51 of file LayoutClusterPlanRepModule.h.
|
inlinevirtual |
Definition at line 53 of file LayoutClusterPlanRepModule.h.
|
pure virtual |
Computes a layout of PG in drawing.
Must be overridden by derived classes.
| PG | is the input cluster planarized representation which may be modified. |
| adjExternal | is an adjacenty entry on the external face. |
| drawing | is the computed layout of PG. |
| npEdges | are pairs of nodes in the original graph that shall be connected. |
| newEdges | are assigned the inserted edges. |
| originalGraph | must be the original graph of PG. |
Implemented in ogdf::ClusterOrthoLayout.
|
inline |
Returns the bounding box of the computed layout.
Definition at line 75 of file LayoutClusterPlanRepModule.h.
|
inlinevirtual |
Returns the (generic) options.
Definition at line 83 of file LayoutClusterPlanRepModule.h.
|
pure virtual |
Returns the minimal allowed distance between edges and vertices.
Implemented in ogdf::ClusterOrthoLayout.
|
pure virtual |
Sets the minimal allowed distance between edges and vertices to sep.
Implemented in ogdf::ClusterOrthoLayout.
|
inlinevirtual |
Sets the (generic) options; derived classes have to cope with the interpretation)
Reimplemented in ogdf::ClusterOrthoLayout.
Definition at line 80 of file LayoutClusterPlanRepModule.h.
|
protected |
Stores the bounding box of the computed layout.
Must be set by derived algorithms!
Definition at line 96 of file LayoutClusterPlanRepModule.h.