57 m_pH(&H), m_pACG(&ACG), m_x(H,0), m_y(H,0) { }
67 return (vOrig ==
nullptr) ? 0.0 : m_pACG->
width(vOrig);
73 return (vOrig ==
nullptr) ? 0.0 : m_pACG->
height(vOrig);
98 return m_pACG->
y(cOrig);
102 return m_pACG->
y(cOrig) + m_pACG->
height(cOrig);
113 m_pACG->
x (cOrig) = left;
114 m_pACG->
y (cOrig) = top;
115 m_pACG->
width (cOrig) = right-left;
116 m_pACG->
height(cOrig) = bottom-top;
124 m_pACG->
x (cOrig) = left;
125 m_pACG->
width (cOrig) = right-left;
133 m_pACG->
y (cOrig) = top;
134 m_pACG->
height(cOrig) = bottom-top;
void setClusterLeftRight(cluster cOrig, double left, double right)
double getWidth(node v) const
Returns width of node v.
Manages access on copy of an attributed clustered graph.
void setClusterRect(cluster cOrig, double left, double right, double top, double bottom)
Sets the position of the cluster rectangle for original cluster cOrig.
const double & y(node v) const
Returns reference to y-coord. of node v.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
double top(cluster cOrig) const
Returns coordinate of upper cluster boundary of original cluster cOrig.
node origNode(node v) const
double & x(node v)
Returns reference to x-coord. of node v.
double bottom(cluster cOrig) const
Returns coordinate of lower cluster boundary of original cluster cOrig.
double width(cluster c) const
Returns the width of cluster c.
const double & x(node v) const
Returns reference to x-coord. of node v.
double height(cluster c) const
Returns the height of cluster c.
double x(cluster c) const
Returns the x-position of cluster c's cage (lower left corner).
const ExtendedNestingGraph * m_pH
Stores additional attributes of a clustered graph (like layout information).
Class for the representation of nodes.
ClusterGraphAttributes * m_pACG
void setClusterTopBottom(cluster cOrig, double top, double bottom)
Declares ClusterGraphAttributes, an extension of class GraphAttributes, to store clustergraph layout ...
Representation of clusters in a clustered graph.
double & y(node v)
Returns reference to y-coord. of node v.
const ClusterGraphAttributes & getClusterGraphAttributes() const
Returns corresponding ClusterGraphAttributes.
double y(cluster c) const
Returns the y-position of cluster c's cage (lower left corner).
~ClusterGraphCopyAttributes()
ClusterGraphCopyAttributes(const ExtendedNestingGraph &H, ClusterGraphAttributes &ACG)
Initializes instance of class ClusterGraphCopyAttributes.
The namespace for all OGDF objects.
double getHeight(node v) const
Returns height of node v.
Declaration of ExtendedNestingGraph.