Open
Graph Drawing
Framework

 v.2007.11
 

ogdf::LayoutClusterPlanRepModule Class Reference

Interface for planar cluster layout algorithms. More...

#include <LayoutClusterPlanRepModule.h>

Inheritance diagram for ogdf::LayoutClusterPlanRepModule:

ogdf::ClusterOrthoLayout

List of all members.

Public Member Functions

 LayoutClusterPlanRepModule ()
 Initializes a cluster planar layout module.
virtual ~LayoutClusterPlanRepModule ()
virtual void call (ClusterPlanRep &PG, adjEntry adjExternal, Layout &drawing, List< NodePair > &npEdges, List< edge > &newEdges, Graph &originalGraph)=0
const DPointgetBoundingBox () const
 Returns the bounding box of the computed layout.
virtual void setOptions (int)
 Sets the (generic) options; derived classes have to cope with the interpretation).
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.
void * operator new (size_t nBytes)
void * operator new (size_t, void *p)
void operator delete (void *p)

Protected Attributes

DPoint m_boundingBox
 Stores the bounding box of the computed layout. Must be set by derived algorithms!.


Detailed Description

Interface for planar cluster layout algorithms.

Warning:
This interface is likely to change in future releases.
See also:
ClusterPlanarizationLayout

Definition at line 76 of file LayoutClusterPlanRepModule.h.


Constructor & Destructor Documentation

ogdf::LayoutClusterPlanRepModule::LayoutClusterPlanRepModule (  )  [inline]

Initializes a cluster planar layout module.

Definition at line 79 of file LayoutClusterPlanRepModule.h.

virtual ogdf::LayoutClusterPlanRepModule::~LayoutClusterPlanRepModule (  )  [inline, virtual]

Definition at line 81 of file LayoutClusterPlanRepModule.h.


Member Function Documentation

virtual void ogdf::LayoutClusterPlanRepModule::call ( ClusterPlanRep PG,
adjEntry  adjExternal,
Layout drawing,
List< NodePair > &  npEdges,
List< edge > &  newEdges,
Graph originalGraph 
) [pure virtual]

Computes a layout of PG in drawing.

Must be overridden by derived classes.

Parameters:
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.
newEdges 
originalGraph 

Implemented in ogdf::ClusterOrthoLayout.

const DPoint& ogdf::LayoutClusterPlanRepModule::getBoundingBox (  )  const [inline]

Returns the bounding box of the computed layout.

Definition at line 101 of file LayoutClusterPlanRepModule.h.

virtual void ogdf::LayoutClusterPlanRepModule::setOptions ( int   )  [inline, virtual]

Sets the (generic) options; derived classes have to cope with the interpretation).

Reimplemented in ogdf::ClusterOrthoLayout.

Definition at line 106 of file LayoutClusterPlanRepModule.h.

virtual int ogdf::LayoutClusterPlanRepModule::getOptions (  )  [inline, virtual]

Returns the (generic) options.

Definition at line 109 of file LayoutClusterPlanRepModule.h.

virtual double ogdf::LayoutClusterPlanRepModule::separation (  )  const [pure virtual]

Returns the minimal allowed distance between edges and vertices.

Implemented in ogdf::ClusterOrthoLayout.

virtual void ogdf::LayoutClusterPlanRepModule::separation ( double  sep  )  [pure virtual]

Sets the minimal allowed distance between edges and vertices to sep.

Implemented in ogdf::ClusterOrthoLayout.

void* ogdf::LayoutClusterPlanRepModule::operator new ( size_t  nBytes  )  [inline]

Definition at line 125 of file LayoutClusterPlanRepModule.h.

void* ogdf::LayoutClusterPlanRepModule::operator new ( size_t  ,
void *  p 
) [inline]

Definition at line 125 of file LayoutClusterPlanRepModule.h.

void ogdf::LayoutClusterPlanRepModule::operator delete ( void *  p  )  [inline]

Definition at line 125 of file LayoutClusterPlanRepModule.h.


Member Data Documentation

DPoint ogdf::LayoutClusterPlanRepModule::m_boundingBox [protected]

Stores the bounding box of the computed layout. Must be set by derived algorithms!.

Definition at line 122 of file LayoutClusterPlanRepModule.h.


The documentation for this class was generated from the following file:

© 1999-2007 by oreas GmbH, © 2005-2007 by University Dortmund and University Cologne.

Generated on Thu Nov 22 19:40:12 2007 by doxygen 1.5.4.