Interface for simdraw manipulators. More...
#include <ogdf/simultaneous/SimDrawManipulatorModule.h>
Public Member Functions | |
SimDrawManipulatorModule () | |
default constructor More... | |
SimDrawManipulatorModule (SimDraw &SD) | |
constructor More... | |
const SimDraw & | constSimDraw () const |
returns base instance More... | |
void | init (SimDraw &SD) |
initializing base instance More... | |
Protected Attributes | |
Graph * | m_G |
pointer to current graph More... | |
GraphAttributes * | m_GA |
pointer to current graphattributes More... | |
SimDraw * | m_SD |
pointer to current simdraw instance More... | |
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:
Definition at line 62 of file SimDrawManipulatorModule.h.
ogdf::SimDrawManipulatorModule::SimDrawManipulatorModule | ( | ) |
default constructor
creates its own simdraw instance
|
inlineexplicit |
constructor
Definition at line 80 of file SimDrawManipulatorModule.h.
|
inline |
returns base instance
Definition at line 86 of file SimDrawManipulatorModule.h.
void ogdf::SimDrawManipulatorModule::init | ( | SimDraw & | SD | ) |
initializing base instance
|
protected |
pointer to current graph
Definition at line 68 of file SimDrawManipulatorModule.h.
|
protected |
pointer to current graphattributes
Definition at line 71 of file SimDrawManipulatorModule.h.
|
protected |
pointer to current simdraw instance
Definition at line 65 of file SimDrawManipulatorModule.h.