#include <ogdf/orthogonal/OrthoShaper.h>
Public Types | |
| enum | n_type { low, high, inner, outer } |
Public Member Functions | |
| OrthoShaper () | |
| ~OrthoShaper () | |
| void | call (PlanRepUML &PG, CombinatorialEmbedding &E, OrthoRep &OR, bool fourPlanar=true) throw (AlgorithmFailureException) |
| void | setDefaultSettings () |
| bool | distributeEdges () |
| void | distributeEdges (bool b) |
| bool | multiAlign () |
| void | multiAlign (bool b) |
| bool | traditional () |
| void | traditional (bool b) |
| bool | fixDegreeFourAngles () |
| void | fixDegreeFourAngles (bool b) |
| void | align (bool al) |
| bool | align () |
| void | setBendBound (int i) |
| int | getBendBound () |
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_distributeEdges |
| bool | m_fourPlanar |
| bool | m_allowLowZero |
| bool | m_multiAlign |
| bool | m_deg4free |
| bool | m_traditional |
| bool | m_align |
| int | m_startBoundBendsPerEdge |
Definition at line 63 of file OrthoShaper.h.
Definition at line 67 of file OrthoShaper.h.
| ogdf::OrthoShaper::OrthoShaper | ( | ) | [inline] |
Definition at line 70 of file OrthoShaper.h.
| ogdf::OrthoShaper::~OrthoShaper | ( | ) | [inline] |
Definition at line 74 of file OrthoShaper.h.
| void ogdf::OrthoShaper::align | ( | bool | al | ) | [inline] |
Definition at line 121 of file OrthoShaper.h.
| bool ogdf::OrthoShaper::align | ( | ) | [inline] |
Definition at line 122 of file OrthoShaper.h.
| void ogdf::OrthoShaper::call | ( | PlanRepUML & | PG, |
| CombinatorialEmbedding & | E, | ||
| OrthoRep & | OR, | ||
| bool | fourPlanar = true |
||
| ) | throw (AlgorithmFailureException) |
| bool ogdf::OrthoShaper::distributeEdges | ( | ) | [inline] |
Definition at line 101 of file OrthoShaper.h.
| void ogdf::OrthoShaper::distributeEdges | ( | bool | b | ) | [inline] |
Definition at line 103 of file OrthoShaper.h.
| bool ogdf::OrthoShaper::fixDegreeFourAngles | ( | ) | [inline] |
Definition at line 116 of file OrthoShaper.h.
| void ogdf::OrthoShaper::fixDegreeFourAngles | ( | bool | b | ) | [inline] |
Definition at line 118 of file OrthoShaper.h.
| int ogdf::OrthoShaper::getBendBound | ( | ) | [inline] |
Definition at line 127 of file OrthoShaper.h.
| bool ogdf::OrthoShaper::multiAlign | ( | ) | [inline] |
Definition at line 106 of file OrthoShaper.h.
| void ogdf::OrthoShaper::multiAlign | ( | bool | b | ) | [inline] |
Definition at line 108 of file OrthoShaper.h.
| void ogdf::OrthoShaper::setAngleBound | ( | edge | netArc, |
| int | angle, | ||
| EdgeArray< int > & | lowB, | ||
| EdgeArray< int > & | upB, | ||
| EdgeArray< edge > & | aTwin, | ||
| bool | maxBound = true |
||
| ) | [inline, private] |
Definition at line 156 of file OrthoShaper.h.
| void ogdf::OrthoShaper::setBendBound | ( | int | i | ) | [inline] |
Set bound for number of bends per edge (none if set to 0). If shape flow computation is unsuccessful, the bound is increased iteratively.
Definition at line 126 of file OrthoShaper.h.
| void ogdf::OrthoShaper::setDefaultSettings | ( | ) | [inline] |
Definition at line 88 of file OrthoShaper.h.
| bool ogdf::OrthoShaper::traditional | ( | ) | [inline] |
Definition at line 111 of file OrthoShaper.h.
| void ogdf::OrthoShaper::traditional | ( | bool | b | ) | [inline] |
Definition at line 113 of file OrthoShaper.h.
bool ogdf::OrthoShaper::m_align [private] |
Definition at line 142 of file OrthoShaper.h.
bool ogdf::OrthoShaper::m_allowLowZero [private] |
Definition at line 133 of file OrthoShaper.h.
bool ogdf::OrthoShaper::m_deg4free [private] |
Definition at line 136 of file OrthoShaper.h.
bool ogdf::OrthoShaper::m_distributeEdges [private] |
Definition at line 130 of file OrthoShaper.h.
bool ogdf::OrthoShaper::m_fourPlanar [private] |
Definition at line 131 of file OrthoShaper.h.
bool ogdf::OrthoShaper::m_multiAlign [private] |
Definition at line 135 of file OrthoShaper.h.
int ogdf::OrthoShaper::m_startBoundBendsPerEdge [private] |
bound on the number of bends per edge for flow if == 0, no bound is used
Definition at line 151 of file OrthoShaper.h.
bool ogdf::OrthoShaper::m_traditional [private] |
Definition at line 137 of file OrthoShaper.h.