Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::RoutingChannel< ATYPE > Class Template Reference

Maintains input sizes for constructive compaction (size of routing channels, separation, cOverhang) More...

#include <ogdf/orthogonal/internal/RoutingChannel.h>

Classes

struct  vInfo
 

Public Member Functions

 RoutingChannel (const Graph &G, ATYPE sep, double cOver)
 
void computeRoutingChannels (const OrthoRep &OR, bool align=false)
 
double cOverhang () const
 
ATYPE & operator() (node v, OrthoDir dir)
 
const ATYPE & operator() (node v, OrthoDir dir) const
 
ATYPE overhang () const
 
ATYPE separation () const
 

Private Member Functions

int computeRoutingChannel (const OrthoRep::SideInfoUML &si, const OrthoRep::SideInfoUML &siOpp, bool align=false)
 

Private Attributes

NodeArray< vInfom_channel
 
double m_cOverhang
 
ATYPE m_separation
 

Detailed Description

template<class ATYPE>
class ogdf::RoutingChannel< ATYPE >

Maintains input sizes for constructive compaction (size of routing channels, separation, cOverhang)

Definition at line 42 of file RoutingChannel.h.

Constructor & Destructor Documentation

◆ RoutingChannel()

template<class ATYPE >
ogdf::RoutingChannel< ATYPE >::RoutingChannel ( const Graph G,
ATYPE  sep,
double  cOver 
)
inline

Definition at line 45 of file RoutingChannel.h.

Member Function Documentation

◆ computeRoutingChannel()

template<class ATYPE >
int ogdf::RoutingChannel< ATYPE >::computeRoutingChannel ( const OrthoRep::SideInfoUML si,
const OrthoRep::SideInfoUML siOpp,
bool  align = false 
)
inlineprivate

Definition at line 88 of file RoutingChannel.h.

◆ computeRoutingChannels()

template<class ATYPE >
void ogdf::RoutingChannel< ATYPE >::computeRoutingChannels ( const OrthoRep OR,
bool  align = false 
)
inline

Definition at line 64 of file RoutingChannel.h.

◆ cOverhang()

template<class ATYPE >
double ogdf::RoutingChannel< ATYPE >::cOverhang ( ) const
inline

Definition at line 59 of file RoutingChannel.h.

◆ operator()() [1/2]

template<class ATYPE >
ATYPE& ogdf::RoutingChannel< ATYPE >::operator() ( node  v,
OrthoDir  dir 
)
inline

Definition at line 53 of file RoutingChannel.h.

◆ operator()() [2/2]

template<class ATYPE >
const ATYPE& ogdf::RoutingChannel< ATYPE >::operator() ( node  v,
OrthoDir  dir 
) const
inline

Definition at line 49 of file RoutingChannel.h.

◆ overhang()

template<class ATYPE >
ATYPE ogdf::RoutingChannel< ATYPE >::overhang ( ) const
inline

Definition at line 62 of file RoutingChannel.h.

◆ separation()

template<class ATYPE >
ATYPE ogdf::RoutingChannel< ATYPE >::separation ( ) const
inline

Definition at line 56 of file RoutingChannel.h.

Member Data Documentation

◆ m_channel

template<class ATYPE >
NodeArray<vInfo> ogdf::RoutingChannel< ATYPE >::m_channel
private

Definition at line 114 of file RoutingChannel.h.

◆ m_cOverhang

template<class ATYPE >
double ogdf::RoutingChannel< ATYPE >::m_cOverhang
private

Definition at line 116 of file RoutingChannel.h.

◆ m_separation

template<class ATYPE >
ATYPE ogdf::RoutingChannel< ATYPE >::m_separation
private

Definition at line 115 of file RoutingChannel.h.


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