Open
Graph Drawing
Framework

 v.2007.11
 

ogdf::ClusterGraphCopyAttributes Class Reference

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

#include <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 78 of file ClusterGraphCopyAttributes.h.

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

Definition at line 83 of file ClusterGraphCopyAttributes.h.


Member Function Documentation

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

Returns corresponding ClusterGraphAttributes.

Definition at line 86 of file ClusterGraphCopyAttributes.h.

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

Returns width of node v.

Definition at line 89 of file ClusterGraphCopyAttributes.h.

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

Returns height of node v.

Definition at line 95 of file ClusterGraphCopyAttributes.h.

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

Returns reference to x-coord. of node v.

Definition at line 101 of file ClusterGraphCopyAttributes.h.

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

Returns reference to x-coord. of node v.

Definition at line 106 of file ClusterGraphCopyAttributes.h.

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

Returns reference to y-coord. of node v.

Definition at line 111 of file ClusterGraphCopyAttributes.h.

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

Returns reference to y-coord. of node v.

Definition at line 116 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 121 of file ClusterGraphCopyAttributes.h.

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

Returns coordinate of lower cluster boundary of original cluster cOrig.

Definition at line 125 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 130 of file ClusterGraphCopyAttributes.h.

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

Definition at line 143 of file ClusterGraphCopyAttributes.h.

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

Definition at line 152 of file ClusterGraphCopyAttributes.h.

void ogdf::ClusterGraphCopyAttributes::transform (  ) 

Sets attributes for the original graph in attributed graph.


Member Data Documentation

const ExtendedNestingGraph* ogdf::ClusterGraphCopyAttributes::m_pH [private]

Definition at line 72 of file ClusterGraphCopyAttributes.h.

ClusterGraphAttributes* ogdf::ClusterGraphCopyAttributes::m_pACG [private]

Definition at line 73 of file ClusterGraphCopyAttributes.h.

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

Definition at line 74 of file ClusterGraphCopyAttributes.h.

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

Definition at line 74 of file ClusterGraphCopyAttributes.h.


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

© 1999-2007 by oreas GmbH, © 2005-2007 by University Dortmund and University Cologne.

Generated on Thu Nov 22 19:40:09 2007 by doxygen 1.5.4.