Open
Graph Drawing
Framework

 v.2012.07
 

ogdf::ClusterOrthoShaper Class Reference

#include <ogdf/cluster/ClusterOrthoShaper.h>

List of all members.

Public Types

enum  BendCost { defaultCost, topDownCost, bottomUpCost }
enum  n_type { low, high, inner, outer }

Public Member Functions

 ClusterOrthoShaper ()
 ~ClusterOrthoShaper ()
void align (bool al)
bool align ()
void bendCostTopDown (BendCost i)
void call (ClusterPlanRep &PG, CombinatorialEmbedding &E, OrthoRep &OR, int startBoundBendsPerEdge=0, bool fourPlanar=true)
int clusterProgBendCost (int clDepth, int treeDepth, int pbc)
int clusterTradBendCost (int clDepth, int treeDepth, int pbc)
bool distributeEdges ()
void distributeEdges (bool b)
bool fixDegreeFourAngles ()
void fixDegreeFourAngles (bool b)
bool multiAlign ()
void multiAlign (bool b)
bool traditional ()
void traditional (bool b)

Private Member Functions

void setAngleBound (edge netArc, int angle, EdgeArray< int > &lowB, EdgeArray< int > &upB, EdgeArray< edge > &aTwin, bool maxBound=true)

Private Attributes

bool m_align
bool m_allowLowZero
bool m_deg4free
bool m_distributeEdges
bool m_fourPlanar
bool m_multiAlign
BendCost m_topToBottom
bool m_traditional

Detailed Description

Definition at line 61 of file ClusterOrthoShaper.h.


Member Enumeration Documentation

Enumerator:
defaultCost 
topDownCost 
bottomUpCost 

Definition at line 66 of file ClusterOrthoShaper.h.

Enumerator:
low 
high 
inner 
outer 

Definition at line 67 of file ClusterOrthoShaper.h.


Constructor & Destructor Documentation

ogdf::ClusterOrthoShaper::ClusterOrthoShaper ( )
inline

Definition at line 70 of file ClusterOrthoShaper.h.

ogdf::ClusterOrthoShaper::~ClusterOrthoShaper ( )
inline

Definition at line 81 of file ClusterOrthoShaper.h.


Member Function Documentation

void ogdf::ClusterOrthoShaper::align ( bool  al)
inline

Definition at line 124 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::align ( )
inline

Definition at line 125 of file ClusterOrthoShaper.h.

void ogdf::ClusterOrthoShaper::bendCostTopDown ( BendCost  i)
inline

Definition at line 127 of file ClusterOrthoShaper.h.

void ogdf::ClusterOrthoShaper::call ( ClusterPlanRep PG,
CombinatorialEmbedding E,
OrthoRep OR,
int  startBoundBendsPerEdge = 0,
bool  fourPlanar = true 
)
int ogdf::ClusterOrthoShaper::clusterProgBendCost ( int  clDepth,
int  treeDepth,
int  pbc 
)
inline

Definition at line 130 of file ClusterOrthoShaper.h.

int ogdf::ClusterOrthoShaper::clusterTradBendCost ( int  clDepth,
int  treeDepth,
int  pbc 
)
inline

Definition at line 156 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::distributeEdges ( )
inline

Definition at line 104 of file ClusterOrthoShaper.h.

void ogdf::ClusterOrthoShaper::distributeEdges ( bool  b)
inline

Definition at line 106 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::fixDegreeFourAngles ( )
inline

Definition at line 119 of file ClusterOrthoShaper.h.

void ogdf::ClusterOrthoShaper::fixDegreeFourAngles ( bool  b)
inline

Definition at line 121 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::multiAlign ( )
inline

Definition at line 109 of file ClusterOrthoShaper.h.

void ogdf::ClusterOrthoShaper::multiAlign ( bool  b)
inline

Definition at line 111 of file ClusterOrthoShaper.h.

void ogdf::ClusterOrthoShaper::setAngleBound ( edge  netArc,
int  angle,
EdgeArray< int > &  lowB,
EdgeArray< int > &  upB,
EdgeArray< edge > &  aTwin,
bool  maxBound = true 
)
inlineprivate

Definition at line 196 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::traditional ( )
inline

Definition at line 114 of file ClusterOrthoShaper.h.

void ogdf::ClusterOrthoShaper::traditional ( bool  b)
inline

Definition at line 116 of file ClusterOrthoShaper.h.


Member Data Documentation

bool ogdf::ClusterOrthoShaper::m_align
private

Definition at line 190 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::m_allowLowZero
private

Definition at line 181 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::m_deg4free
private

Definition at line 184 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::m_distributeEdges
private

Definition at line 178 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::m_fourPlanar
private

Definition at line 179 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::m_multiAlign
private

Definition at line 183 of file ClusterOrthoShaper.h.

BendCost ogdf::ClusterOrthoShaper::m_topToBottom
private

Definition at line 192 of file ClusterOrthoShaper.h.

bool ogdf::ClusterOrthoShaper::m_traditional
private

Definition at line 185 of file ClusterOrthoShaper.h.


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