Manages access on copy of an attributed clustered graph. More...
#include <ogdf/cluster/ClusterGraphCopyAttributes.h>
Public Member Functions | |
ClusterGraphCopyAttributes (const ExtendedNestingGraph &H, ClusterGraphAttributes &ACG) | |
Initializes instance of class ClusterGraphCopyAttributes. | |
~ClusterGraphCopyAttributes () | |
double | bottom (cluster cOrig) const |
Returns coordinate of lower cluster boundary of original cluster cOrig . | |
const ClusterGraphAttributes & | getClusterGraphAttributes () const |
Returns corresponding ClusterGraphAttributes. | |
double | getHeight (node v) const |
Returns height of node v. | |
double | getWidth (node v) const |
Returns width of node v. | |
void | setClusterLeftRight (cluster cOrig, double left, double right) |
void | setClusterRect (cluster cOrig, double left, double right, double top, double bottom) |
Sets the position of the cluster rectangle for original cluster cOrig . | |
void | setClusterTopBottom (cluster cOrig, double top, double bottom) |
double | top (cluster cOrig) const |
Returns coordinate of upper cluster boundary of original cluster cOrig . | |
void | transform () |
Sets attributes for the original graph in attributed graph. | |
double & | x (node v) |
Returns reference to x-coord. of node v. | |
const double & | x (node v) const |
Returns reference to x-coord. of node v. | |
double & | y (node v) |
Returns reference to y-coord. of node v. | |
const double & | y (node v) const |
Returns reference to y-coord. of node v. | |
Private Attributes | |
ClusterGraphAttributes * | m_pACG |
const ExtendedNestingGraph * | m_pH |
NodeArray< double > | m_x |
NodeArray< double > | m_y |
Manages access on copy of an attributed clustered graph.
Definition at line 45 of file ClusterGraphCopyAttributes.h.
|
inline |
Initializes instance of class ClusterGraphCopyAttributes.
Definition at line 52 of file ClusterGraphCopyAttributes.h.
|
inline |
Definition at line 55 of file ClusterGraphCopyAttributes.h.
Returns coordinate of lower cluster boundary of original cluster cOrig
.
Definition at line 88 of file ClusterGraphCopyAttributes.h.
|
inline |
Returns corresponding ClusterGraphAttributes.
Definition at line 58 of file ClusterGraphCopyAttributes.h.
Returns height of node v.
Definition at line 67 of file ClusterGraphCopyAttributes.h.
Returns width of node v.
Definition at line 61 of file ClusterGraphCopyAttributes.h.
|
inline |
Definition at line 98 of file ClusterGraphCopyAttributes.h.
|
inline |
Sets the position of the cluster rectangle for original cluster cOrig
.
Definition at line 91 of file ClusterGraphCopyAttributes.h.
|
inline |
Definition at line 103 of file ClusterGraphCopyAttributes.h.
Returns coordinate of upper cluster boundary of original cluster cOrig
.
Definition at line 85 of file ClusterGraphCopyAttributes.h.
void ogdf::ClusterGraphCopyAttributes::transform | ( | ) |
Sets attributes for the original graph in attributed graph.
Returns reference to x-coord. of node v.
Definition at line 76 of file ClusterGraphCopyAttributes.h.
Returns reference to x-coord. of node v.
Definition at line 73 of file ClusterGraphCopyAttributes.h.
Returns reference to y-coord. of node v.
Definition at line 82 of file ClusterGraphCopyAttributes.h.
Returns reference to y-coord. of node v.
Definition at line 79 of file ClusterGraphCopyAttributes.h.
|
private |
Definition at line 47 of file ClusterGraphCopyAttributes.h.
|
private |
Definition at line 46 of file ClusterGraphCopyAttributes.h.
Definition at line 48 of file ClusterGraphCopyAttributes.h.
Definition at line 48 of file ClusterGraphCopyAttributes.h.