Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::SimDrawManipulatorModule Class Reference

Interface for simdraw manipulators. More...

#include <ogdf/simultaneous/SimDrawManipulatorModule.h>

+ Inheritance diagram for ogdf::SimDrawManipulatorModule:

Public Member Functions

 SimDrawManipulatorModule ()
 default constructor More...
 
 SimDrawManipulatorModule (SimDraw &SD)
 constructor More...
 
const SimDrawconstSimDraw () const
 returns base instance More...
 
void init (SimDraw &SD)
 initializing base instance More...
 

Protected Attributes

Graphm_G
 pointer to current graph More...
 
GraphAttributesm_GA
 pointer to current graphattributes More...
 
SimDrawm_SD
 pointer to current simdraw instance More...
 

Detailed Description

Interface for simdraw manipulators.

To avoid class SimDraw to become too large, several functions have been outsourced. These are systematically grouped in creation methods (SimDrawCreator), algorithm calls (SimDrawCaller) and coloring methods (SimDrawColorizer).

A manipulator instance always needs a SimDraw instance (base instance) to work on. The base instance is linked by pointers, thus a change within the base instance after initializing does not cause trouble:

SimDraw SD;
SimDrawCreatorSimple SDCr(SD);
SimDrawColorizer SDCo(SD);
SDCr.createTrees_GKV05(4);
SimDrawCaller SDCa(SD);
SDCa.callUMLPlanarizationLayout();
SDCo.addColor();

Definition at line 59 of file SimDrawManipulatorModule.h.

Constructor & Destructor Documentation

◆ SimDrawManipulatorModule() [1/2]

ogdf::SimDrawManipulatorModule::SimDrawManipulatorModule ( )

default constructor

creates its own simdraw instance

◆ SimDrawManipulatorModule() [2/2]

ogdf::SimDrawManipulatorModule::SimDrawManipulatorModule ( SimDraw SD)
inlineexplicit

constructor

Definition at line 79 of file SimDrawManipulatorModule.h.

Member Function Documentation

◆ constSimDraw()

const SimDraw& ogdf::SimDrawManipulatorModule::constSimDraw ( ) const
inline

returns base instance

Definition at line 85 of file SimDrawManipulatorModule.h.

◆ init()

void ogdf::SimDrawManipulatorModule::init ( SimDraw SD)

initializing base instance

Member Data Documentation

◆ m_G

Graph* ogdf::SimDrawManipulatorModule::m_G
protected

pointer to current graph

Definition at line 67 of file SimDrawManipulatorModule.h.

◆ m_GA

GraphAttributes* ogdf::SimDrawManipulatorModule::m_GA
protected

pointer to current graphattributes

Definition at line 70 of file SimDrawManipulatorModule.h.

◆ m_SD

SimDraw* ogdf::SimDrawManipulatorModule::m_SD
protected

pointer to current simdraw instance

Definition at line 64 of file SimDrawManipulatorModule.h.


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