Interface for planar cluster layout algorithms. More...
#include <ogdf/cluster/LayoutClusterPlanRepModule.h>
Public Member Functions | |
LayoutClusterPlanRepModule () | |
Initializes a cluster planar layout module. | |
virtual | ~LayoutClusterPlanRepModule () |
virtual void | call (ClusterPlanRep &PG, adjEntry adjExternal, Layout &drawing, List< edge > &origEdges, Graph &originalGraph)=0 |
Computes a layout of PG in drawing . | |
const DPoint & | getBoundingBox () const |
Returns the bounding box of the computed layout. | |
virtual int | getOptions () |
Returns the (generic) options. | |
virtual double | separation () const =0 |
Returns the minimal allowed distance between edges and vertices. | |
virtual void | separation (double sep)=0 |
Sets the minimal allowed distance between edges and vertices to sep . | |
virtual void | setOptions (int) |
Sets the (generic) options; derived classes have to cope with the interpretation) | |
Protected Attributes | |
DPoint | m_boundingBox |
Stores the bounding box of the computed layout. | |
Interface for planar cluster layout algorithms.
Definition at line 46 of file LayoutClusterPlanRepModule.h.
|
inline |
Initializes a cluster planar layout module.
Definition at line 49 of file LayoutClusterPlanRepModule.h.
|
inlinevirtual |
Definition at line 51 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.
Returns the bounding box of the computed layout.
Definition at line 66 of file LayoutClusterPlanRepModule.h.
Returns the (generic) options.
Definition at line 74 of file LayoutClusterPlanRepModule.h.
Returns the minimal allowed distance between edges and vertices.
Implemented in ogdf::ClusterOrthoLayout.
Sets the minimal allowed distance between edges and vertices to sep
.
Implemented in ogdf::ClusterOrthoLayout.
Sets the (generic) options; derived classes have to cope with the interpretation)
Reimplemented in ogdf::ClusterOrthoLayout.
Definition at line 69 of file LayoutClusterPlanRepModule.h.
|
protected |
Stores the bounding box of the computed layout.
Must be set by derived algorithms!
Definition at line 89 of file LayoutClusterPlanRepModule.h.