Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

ogdf::ClusterGraphCopyAttributes Class Reference

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. More...
 
 ~ClusterGraphCopyAttributes ()
 
double bottom (cluster cOrig) const
 Returns coordinate of lower cluster boundary of original cluster cOrig. More...
 
const ClusterGraphAttributesgetClusterGraphAttributes () const
 Returns corresponding ClusterGraphAttributes. More...
 
double getHeight (node v) const
 Returns height of node v. More...
 
double getWidth (node v) const
 Returns width of node v. More...
 
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. More...
 
void setClusterTopBottom (cluster cOrig, double top, double bottom)
 
double top (cluster cOrig) const
 Returns coordinate of upper cluster boundary of original cluster cOrig. More...
 
void transform ()
 Sets attributes for the original graph in attributed graph. More...
 
double & x (node v)
 Returns reference to x-coord. of node v. More...
 
const double & x (node v) const
 Returns reference to x-coord. of node v. More...
 
double & y (node v)
 Returns reference to y-coord. of node v. More...
 
const double & y (node v) const
 Returns reference to y-coord. of node v. More...
 

Private Attributes

ClusterGraphAttributesm_pACG
 
const ExtendedNestingGraphm_pH
 
NodeArray< double > m_x
 
NodeArray< double > m_y
 

Detailed Description

Manages access on copy of an attributed clustered graph.

Definition at line 46 of file ClusterGraphCopyAttributes.h.

Constructor & Destructor Documentation

◆ ClusterGraphCopyAttributes()

ogdf::ClusterGraphCopyAttributes::ClusterGraphCopyAttributes ( const ExtendedNestingGraph H,
ClusterGraphAttributes ACG 
)
inline

Initializes instance of class ClusterGraphCopyAttributes.

Definition at line 54 of file ClusterGraphCopyAttributes.h.

◆ ~ClusterGraphCopyAttributes()

ogdf::ClusterGraphCopyAttributes::~ClusterGraphCopyAttributes ( )
inline

Definition at line 59 of file ClusterGraphCopyAttributes.h.

Member Function Documentation

◆ bottom()

double ogdf::ClusterGraphCopyAttributes::bottom ( cluster  cOrig) const
inline

Returns coordinate of lower cluster boundary of original cluster cOrig.

Definition at line 101 of file ClusterGraphCopyAttributes.h.

◆ getClusterGraphAttributes()

const ClusterGraphAttributes& ogdf::ClusterGraphCopyAttributes::getClusterGraphAttributes ( ) const
inline

Returns corresponding ClusterGraphAttributes.

Definition at line 62 of file ClusterGraphCopyAttributes.h.

◆ getHeight()

double ogdf::ClusterGraphCopyAttributes::getHeight ( node  v) const
inline

Returns height of node v.

Definition at line 71 of file ClusterGraphCopyAttributes.h.

◆ getWidth()

double ogdf::ClusterGraphCopyAttributes::getWidth ( node  v) const
inline

Returns width of node v.

Definition at line 65 of file ClusterGraphCopyAttributes.h.

◆ setClusterLeftRight()

void ogdf::ClusterGraphCopyAttributes::setClusterLeftRight ( cluster  cOrig,
double  left,
double  right 
)
inline

Definition at line 119 of file ClusterGraphCopyAttributes.h.

◆ setClusterRect()

void ogdf::ClusterGraphCopyAttributes::setClusterRect ( cluster  cOrig,
double  left,
double  right,
double  top,
double  bottom 
)
inline

Sets the position of the cluster rectangle for original cluster cOrig.

Definition at line 106 of file ClusterGraphCopyAttributes.h.

◆ setClusterTopBottom()

void ogdf::ClusterGraphCopyAttributes::setClusterTopBottom ( cluster  cOrig,
double  top,
double  bottom 
)
inline

Definition at line 128 of file ClusterGraphCopyAttributes.h.

◆ top()

double ogdf::ClusterGraphCopyAttributes::top ( cluster  cOrig) const
inline

Returns coordinate of upper cluster boundary of original cluster cOrig.

Definition at line 97 of file ClusterGraphCopyAttributes.h.

◆ transform()

void ogdf::ClusterGraphCopyAttributes::transform ( )

Sets attributes for the original graph in attributed graph.

◆ x() [1/2]

double& ogdf::ClusterGraphCopyAttributes::x ( node  v)
inline

Returns reference to x-coord. of node v.

Definition at line 82 of file ClusterGraphCopyAttributes.h.

◆ x() [2/2]

const double& ogdf::ClusterGraphCopyAttributes::x ( node  v) const
inline

Returns reference to x-coord. of node v.

Definition at line 77 of file ClusterGraphCopyAttributes.h.

◆ y() [1/2]

double& ogdf::ClusterGraphCopyAttributes::y ( node  v)
inline

Returns reference to y-coord. of node v.

Definition at line 92 of file ClusterGraphCopyAttributes.h.

◆ y() [2/2]

const double& ogdf::ClusterGraphCopyAttributes::y ( node  v) const
inline

Returns reference to y-coord. of node v.

Definition at line 87 of file ClusterGraphCopyAttributes.h.

Member Data Documentation

◆ m_pACG

ClusterGraphAttributes* ogdf::ClusterGraphCopyAttributes::m_pACG
private

Definition at line 49 of file ClusterGraphCopyAttributes.h.

◆ m_pH

const ExtendedNestingGraph* ogdf::ClusterGraphCopyAttributes::m_pH
private

Definition at line 48 of file ClusterGraphCopyAttributes.h.

◆ m_x

NodeArray<double> ogdf::ClusterGraphCopyAttributes::m_x
private

Definition at line 50 of file ClusterGraphCopyAttributes.h.

◆ m_y

NodeArray<double> ogdf::ClusterGraphCopyAttributes::m_y
private

Definition at line 50 of file ClusterGraphCopyAttributes.h.


The documentation for this class was generated from the following file: