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 47 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 50 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 93 of file RoutingChannel.h.

◆ computeRoutingChannels()

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

Definition at line 69 of file RoutingChannel.h.

◆ cOverhang()

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

Definition at line 64 of file RoutingChannel.h.

◆ operator()() [1/2]

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

Definition at line 58 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 54 of file RoutingChannel.h.

◆ overhang()

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

Definition at line 67 of file RoutingChannel.h.

◆ separation()

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

Definition at line 61 of file RoutingChannel.h.

Member Data Documentation

◆ m_channel

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

Definition at line 119 of file RoutingChannel.h.

◆ m_cOverhang

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

Definition at line 121 of file RoutingChannel.h.

◆ m_separation

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

Definition at line 120 of file RoutingChannel.h.


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