Open
Graph Drawing
Framework

 v.2012.05
 

ogdf::OrthoShaper Class Reference

#include <ogdf/orthogonal/OrthoShaper.h>

List of all members.

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

Detailed Description

Definition at line 63 of file OrthoShaper.h.


Member Enumeration Documentation

Enumerator:
low 
high 
inner 
outer 

Definition at line 67 of file OrthoShaper.h.


Constructor & Destructor Documentation

Definition at line 70 of file OrthoShaper.h.

Definition at line 74 of file OrthoShaper.h.


Member Function Documentation

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)

Definition at line 101 of file OrthoShaper.h.

void ogdf::OrthoShaper::distributeEdges ( bool  b) [inline]

Definition at line 103 of file OrthoShaper.h.

Definition at line 116 of file OrthoShaper.h.

void ogdf::OrthoShaper::fixDegreeFourAngles ( bool  b) [inline]

Definition at line 118 of file OrthoShaper.h.

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.

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.


Member Data Documentation

Definition at line 142 of file OrthoShaper.h.

Definition at line 133 of file OrthoShaper.h.

Definition at line 136 of file OrthoShaper.h.

Definition at line 130 of file OrthoShaper.h.

Definition at line 131 of file OrthoShaper.h.

Definition at line 135 of file OrthoShaper.h.

bound on the number of bends per edge for flow if == 0, no bound is used

Definition at line 151 of file OrthoShaper.h.

Definition at line 137 of file OrthoShaper.h.


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