Open
Graph Drawing
Framework

 v.2010.10
 

Public Member Functions | Private Attributes

ogdf::ClusterGraphCopyAttributes Class Reference

Manages access on copy of an attributed clustered graph. More...

#include <ogdf/cluster/ClusterGraphCopyAttributes.h>

List of all members.

Public Member Functions

 ClusterGraphCopyAttributes (const ExtendedNestingGraph &H, ClusterGraphAttributes &ACG)
 Initializes instance of class ClusterGraphCopyAttributes.
 ~ClusterGraphCopyAttributes ()
const ClusterGraphAttributesgetClusterGraphAttributes () const
 Returns corresponding ClusterGraphAttributes.
double getWidth (node v) const
 Returns width of node v.
double getHeight (node v) const
 Returns height of node v.
const double & x (node v) const
 Returns reference to x-coord. of node v.
double & x (node v)
 Returns reference to x-coord. of node v.
const double & y (node v) const
 Returns reference to y-coord. of node v.
double & y (node v)
 Returns reference to y-coord. of node v.
double top (cluster cOrig) const
 Returns coordinate of upper cluster boundary of original cluster cOrig.
double bottom (cluster cOrig) const
 Returns coordinate of lower cluster boundary of original cluster cOrig.
void setClusterRect (cluster cOrig, double left, double right, double top, double bottom)
 Sets the position of the cluster rectangle for original cluster cOrig.
void setClusterLeftRight (cluster cOrig, double left, double right)
void setClusterTopBottom (cluster cOrig, double top, double bottom)
void transform ()
 Sets attributes for the original graph in attributed graph.

Private Attributes

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

Detailed Description

Manages access on copy of an attributed clustered graph.

Definition at line 70 of file ClusterGraphCopyAttributes.h.


Constructor & Destructor Documentation

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

Initializes instance of class ClusterGraphCopyAttributes.

Definition at line 73 of file ClusterGraphCopyAttributes.h.

ogdf::ClusterGraphCopyAttributes::~ClusterGraphCopyAttributes (  )  [inline]

Definition at line 78 of file ClusterGraphCopyAttributes.h.


Member Function Documentation

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

Returns coordinate of lower cluster boundary of original cluster cOrig.

Definition at line 120 of file ClusterGraphCopyAttributes.h.

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

Returns corresponding ClusterGraphAttributes.

Definition at line 81 of file ClusterGraphCopyAttributes.h.

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

Returns height of node v.

Definition at line 90 of file ClusterGraphCopyAttributes.h.

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

Returns width of node v.

Definition at line 84 of file ClusterGraphCopyAttributes.h.

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

Definition at line 138 of file ClusterGraphCopyAttributes.h.

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 125 of file ClusterGraphCopyAttributes.h.

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

Definition at line 147 of file ClusterGraphCopyAttributes.h.

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

Returns coordinate of upper cluster boundary of original cluster cOrig.

Definition at line 116 of file ClusterGraphCopyAttributes.h.

void ogdf::ClusterGraphCopyAttributes::transform (  ) 

Sets attributes for the original graph in attributed graph.

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

Returns reference to x-coord. of node v.

Definition at line 101 of file ClusterGraphCopyAttributes.h.

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

Returns reference to x-coord. of node v.

Definition at line 96 of file ClusterGraphCopyAttributes.h.

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

Returns reference to y-coord. of node v.

Definition at line 111 of file ClusterGraphCopyAttributes.h.

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

Returns reference to y-coord. of node v.

Definition at line 106 of file ClusterGraphCopyAttributes.h.


Member Data Documentation

Definition at line 68 of file ClusterGraphCopyAttributes.h.

Definition at line 67 of file ClusterGraphCopyAttributes.h.

Definition at line 69 of file ClusterGraphCopyAttributes.h.

Definition at line 69 of file ClusterGraphCopyAttributes.h.


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