Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

ogdf::GraphCopyAttributes Class Reference

Helper class for accessing graph attributes from a copy of the graph. More...

#include <ogdf/basic/GraphCopyAttributes.h>

Public Member Functions

 GraphCopyAttributes (const GraphCopy &GC, GraphAttributes &AG)
 
 ~GraphCopyAttributes ()
 Destruction. More...
 
double getHeight (node v) const
 
double getWidth (node v) const
 
void transform ()
 
const double & x (node v) const
 
double & x (node v)
 
const double & y (node v) const
 
double & y (node v)
 

Private Attributes

GraphAttributes * m_pAG
 
const GraphCopy * m_pGC
 
NodeArray< double > m_x
 
NodeArray< double > m_y
 

Detailed Description

Helper class for accessing graph attributes from a copy of the graph.

Definition at line 46 of file GraphCopyAttributes.h.

Constructor & Destructor Documentation

◆ GraphCopyAttributes()

ogdf::GraphCopyAttributes::GraphCopyAttributes ( const GraphCopy &  GC,
GraphAttributes &  AG 
)
inline

Definition at line 54 of file GraphCopyAttributes.h.

◆ ~GraphCopyAttributes()

ogdf::GraphCopyAttributes::~GraphCopyAttributes ( )
inline

Destruction.

Definition at line 58 of file GraphCopyAttributes.h.

Member Function Documentation

◆ getHeight()

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

Definition at line 66 of file GraphCopyAttributes.h.

◆ getWidth()

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

Definition at line 61 of file GraphCopyAttributes.h.

◆ transform()

void ogdf::GraphCopyAttributes::transform ( )

◆ x() [1/2]

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

Definition at line 71 of file GraphCopyAttributes.h.

◆ x() [2/2]

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

Definition at line 76 of file GraphCopyAttributes.h.

◆ y() [1/2]

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

Definition at line 81 of file GraphCopyAttributes.h.

◆ y() [2/2]

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

Definition at line 86 of file GraphCopyAttributes.h.

Member Data Documentation

◆ m_pAG

GraphAttributes* ogdf::GraphCopyAttributes::m_pAG
private

Definition at line 49 of file GraphCopyAttributes.h.

◆ m_pGC

const GraphCopy* ogdf::GraphCopyAttributes::m_pGC
private

Definition at line 48 of file GraphCopyAttributes.h.

◆ m_x

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

Definition at line 50 of file GraphCopyAttributes.h.

◆ m_y

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

Definition at line 50 of file GraphCopyAttributes.h.


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