Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

InitialPlacer.h
Go to the documentation of this file.
1 
32 #pragma once
33 
34 #include <ogdf/basic/basic.h>
35 
36 namespace ogdf {
37 class MultilevelGraph;
38 
40 
44 protected:
46 
47 public:
48  InitialPlacer() : m_randomOffset(true) { }
49 
50  virtual ~InitialPlacer() { }
51 
52  virtual void placeOneLevel(MultilevelGraph& MLG) = 0;
53 
54  void setRandomOffset(bool on) { m_randomOffset = on; }
55 };
56 
57 }
ogdf
The namespace for all OGDF objects.
Definition: multilevelmixer.cpp:39
ogdf::InitialPlacer::setRandomOffset
void setRandomOffset(bool on)
Definition: InitialPlacer.h:54
ogdf::InitialPlacer::InitialPlacer
InitialPlacer()
Definition: InitialPlacer.h:48
ogdf::MultilevelGraph
Definition: MultilevelGraph.h:69
ogdf::InitialPlacer
Base class for placer modules.
Definition: InitialPlacer.h:43
ogdf::InitialPlacer::~InitialPlacer
virtual ~InitialPlacer()
Definition: InitialPlacer.h:50
basic.h
Basic declarations, included by all source files.
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::InitialPlacer::m_randomOffset
bool m_randomOffset
Definition: InitialPlacer.h:45