Open
Graph Drawing
Framework

 v.2012.05
 

ogdf::MixedModelCrossingsBeautifierModule Class Reference

The base class for Mixed-Model crossings beautifier algorithms. More...

#include <ogdf/module/MixedModelCrossingsBeautifierModule.h>

Inheritance diagram for ogdf::MixedModelCrossingsBeautifierModule:
ogdf::MMCBBase ogdf::MMDummyCrossingsBeautifier ogdf::MMCBDoubleGrid ogdf::MMCBLocalStretch

List of all members.

Public Member Functions

 MixedModelCrossingsBeautifierModule ()
 Initializes the Mixed-Model crossings beautifier module.
virtual ~MixedModelCrossingsBeautifierModule ()
void call (const PlanRep &PG, GridLayout &gl)
int numberOfCrossings () const
 Returns the number of processed crossings.

Protected Member Functions

virtual void doCall (const PlanRep &PG, GridLayout &gl, const List< node > &L)=0
 Implements the crossings beautifier module.

Private Attributes

int m_nCrossings
 the number of processed crossings.

Detailed Description

The base class for Mixed-Model crossings beautifier algorithms.

The class MixedModelCrossingsBeautifierModule is the base class for mixed model bend crossing modules. Such a module transforms an input graph G into an output graph G' such that crossings of edges don't look weird.

Implementation of Mixed-Model Crossings Beautifier Algorithms

An implementation of a Mixed-Model crossings beautifier module must override the protected method doCall().

Definition at line 72 of file MixedModelCrossingsBeautifierModule.h.


Constructor & Destructor Documentation

Initializes the Mixed-Model crossings beautifier module.

Definition at line 75 of file MixedModelCrossingsBeautifierModule.h.


Member Function Documentation

virtual void ogdf::MixedModelCrossingsBeautifierModule::doCall ( const PlanRep PG,
GridLayout gl,
const List< node > &  L 
) [protected, pure virtual]

Implements the crossings beautifier module.

Parameters:
PGis the input graph.
glis the grid layout of PG.
Lis the list of crossing nodes.

Implemented in ogdf::MMDummyCrossingsBeautifier, ogdf::MMCBDoubleGrid, and ogdf::MMCBLocalStretch.

Returns the number of processed crossings.

Definition at line 90 of file MixedModelCrossingsBeautifierModule.h.


Member Data Documentation

the number of processed crossings.

Definition at line 106 of file MixedModelCrossingsBeautifierModule.h.


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