#include <MixedModelCrossingsBeautifierModule.h>

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. | |
| void * | operator new (size_t nBytes) |
| void * | operator new (size_t, void *p) |
| void | operator delete (void *p) |
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. | |
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.
An implementation of a Mixed-Model crossings beautifier module must override the protected method doCall().
Definition at line 80 of file MixedModelCrossingsBeautifierModule.h.
| ogdf::MixedModelCrossingsBeautifierModule::MixedModelCrossingsBeautifierModule | ( | ) | [inline] |
Initializes the Mixed-Model crossings beautifier module.
Definition at line 83 of file MixedModelCrossingsBeautifierModule.h.
| virtual ogdf::MixedModelCrossingsBeautifierModule::~MixedModelCrossingsBeautifierModule | ( | ) | [inline, virtual] |
Definition at line 86 of file MixedModelCrossingsBeautifierModule.h.
| void ogdf::MixedModelCrossingsBeautifierModule::call | ( | const PlanRep & | PG, | |
| GridLayout & | gl | |||
| ) |
| int ogdf::MixedModelCrossingsBeautifierModule::numberOfCrossings | ( | ) | const [inline] |
Returns the number of processed crossings.
Definition at line 98 of file MixedModelCrossingsBeautifierModule.h.
| virtual void ogdf::MixedModelCrossingsBeautifierModule::doCall | ( | const PlanRep & | PG, | |
| GridLayout & | gl, | |||
| const List< node > & | L | |||
| ) | [protected, pure virtual] |
Implements the crossings beautifier module.
| PG | is the input graph. | |
| gl | is the grid layout of PG. | |
| L | is the list of crossing nodes. |
Implemented in ogdf::MMDummyCrossingsBeautifier, ogdf::MMCBDoubleGrid, and ogdf::MMCBLocalStretch.
| void* ogdf::MixedModelCrossingsBeautifierModule::operator new | ( | size_t | nBytes | ) | [inline] |
Definition at line 116 of file MixedModelCrossingsBeautifierModule.h.
| void* ogdf::MixedModelCrossingsBeautifierModule::operator new | ( | size_t | , | |
| void * | p | |||
| ) | [inline] |
Definition at line 116 of file MixedModelCrossingsBeautifierModule.h.
| void ogdf::MixedModelCrossingsBeautifierModule::operator delete | ( | void * | p | ) | [inline] |
Definition at line 116 of file MixedModelCrossingsBeautifierModule.h.
int ogdf::MixedModelCrossingsBeautifierModule::m_nCrossings [private] |
the number of processed crossings.
Definition at line 114 of file MixedModelCrossingsBeautifierModule.h.