Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

LayoutClusterPlanRepModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
36 #include <ogdf/basic/Layout.h>
37 
38 
39 
40 namespace ogdf {
41 
49 public:
52 
54 
64  virtual void call(
65  ClusterPlanRep &PG,
66  adjEntry adjExternal,
67  Layout &drawing,
68  List<edge>& origEdges,
69  Graph& originalGraph) = 0;
70 
71 
73  const DPoint &getBoundingBox() const {
74  return m_boundingBox;
75  }
76 
78  virtual void setOptions(int /* optionField */) { }
79  // don't make it abstract!
80 
82  virtual int getOptions() { return 0; }
83  // don't make it abstract!
84 
86  virtual double separation() const = 0;
87 
89  virtual void separation(double sep) = 0;
90 
91 protected:
97 
99 };
100 
101 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::GenericPoint< double >
Layout.h
Declaration of class Layout.
ogdf::ClusterPlanRep
Planarized representations for clustered graphs.
Definition: ClusterPlanRep.h:49
ClusterPlanRep.h
Declaration of ClusterPlanRep class, allowing cluster boundary insertion and shortest path edge inser...
ogdf::LayoutClusterPlanRepModule::setOptions
virtual void setOptions(int)
Sets the (generic) options; derived classes have to cope with the interpretation)
Definition: LayoutClusterPlanRepModule.h:78
ogdf::AdjElement
Class for adjacency list elements.
Definition: Graph_d.h:79
ogdf::Layout
Stores a layout of a graph (coordinates of nodes, bend points of edges).
Definition: Layout.h:46
OGDF_MALLOC_NEW_DELETE
#define OGDF_MALLOC_NEW_DELETE
Makes the class use malloc for memory allocation.
Definition: memory.h:91
ogdf::List< edge >
ogdf::LayoutClusterPlanRepModule::~LayoutClusterPlanRepModule
virtual ~LayoutClusterPlanRepModule()
Definition: LayoutClusterPlanRepModule.h:53
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:495
ogdf::LayoutClusterPlanRepModule::m_boundingBox
DPoint m_boundingBox
Stores the bounding box of the computed layout.
Definition: LayoutClusterPlanRepModule.h:96
ogdf::LayoutClusterPlanRepModule::LayoutClusterPlanRepModule
LayoutClusterPlanRepModule()
Initializes a cluster planar layout module.
Definition: LayoutClusterPlanRepModule.h:51
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
ogdf::LayoutClusterPlanRepModule::getBoundingBox
const DPoint & getBoundingBox() const
Returns the bounding box of the computed layout.
Definition: LayoutClusterPlanRepModule.h:73
ogdf::LayoutClusterPlanRepModule::getOptions
virtual int getOptions()
Returns the (generic) options.
Definition: LayoutClusterPlanRepModule.h:82
ogdf::LayoutClusterPlanRepModule
Interface for planar cluster layout algorithms.
Definition: LayoutClusterPlanRepModule.h:48