Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

LayoutClusterPlanRepModule.h
Go to the documentation of this file.
1 
33 #pragma once
34 
35 #include <ogdf/basic/Layout.h>
37 
38 namespace ogdf {
39 
47 public:
50 
52 
62  virtual void call(ClusterPlanRep& PG, adjEntry adjExternal, Layout& drawing,
63  List<edge>& origEdges, Graph& originalGraph) = 0;
64 
66  const DPoint& getBoundingBox() const { return m_boundingBox; }
67 
69  virtual void setOptions(int /* optionField */) { }
70 
71  // don't make it abstract!
72 
74  virtual int getOptions() { return 0; }
75 
76  // don't make it abstract!
77 
79  virtual double separation() const = 0;
80 
82  virtual void separation(double sep) = 0;
83 
84 protected:
90 
92 };
93 
94 }
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:47
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:69
ogdf::AdjElement
Class for adjacency list elements.
Definition: Graph_d.h:135
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:51
ogdf::Graph
Data type for general directed graphs (adjacency list representation).
Definition: Graph_d.h:862
ogdf::LayoutClusterPlanRepModule::m_boundingBox
DPoint m_boundingBox
Stores the bounding box of the computed layout.
Definition: LayoutClusterPlanRepModule.h:89
ogdf::LayoutClusterPlanRepModule::LayoutClusterPlanRepModule
LayoutClusterPlanRepModule()
Initializes a cluster planar layout module.
Definition: LayoutClusterPlanRepModule.h:49
OGDF_EXPORT
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:101
ogdf::LayoutClusterPlanRepModule::getBoundingBox
const DPoint & getBoundingBox() const
Returns the bounding box of the computed layout.
Definition: LayoutClusterPlanRepModule.h:66
ogdf::LayoutClusterPlanRepModule::getOptions
virtual int getOptions()
Returns the (generic) options.
Definition: LayoutClusterPlanRepModule.h:74
ogdf::LayoutClusterPlanRepModule
Interface for planar cluster layout algorithms.
Definition: LayoutClusterPlanRepModule.h:46