Interface for planar cluster layout algorithms. More...
#include <ogdf/cluster/LayoutClusterPlanRepModule.h>
Public Member Functions | |
LayoutClusterPlanRepModule () | |
Initializes a cluster planar layout module. More... | |
virtual | ~LayoutClusterPlanRepModule () |
virtual void | call (ClusterPlanRep &PG, adjEntry adjExternal, Layout &drawing, List< edge > &origEdges, 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 52 of file LayoutClusterPlanRepModule.h.
|
inline |
Initializes a cluster planar layout module.
Definition at line 55 of file LayoutClusterPlanRepModule.h.
|
inlinevirtual |
Definition at line 57 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 . |
origEdges | are edges in the original graph. |
originalGraph | must be the original graph of PG . |
Implemented in ogdf::ClusterOrthoLayout.
|
inline |
Returns the bounding box of the computed layout.
Definition at line 72 of file LayoutClusterPlanRepModule.h.
|
inlinevirtual |
Returns the (generic) options.
Definition at line 80 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 75 of file LayoutClusterPlanRepModule.h.
|
protected |
Stores the bounding box of the computed layout.
Must be set by derived algorithms!
Definition at line 95 of file LayoutClusterPlanRepModule.h.