#include <ogdf/orthogonal/OrthoLayout.h>
Public Member Functions | |
| OrthoLayout () | |
| void | call (PlanRepUML &PG, adjEntry adjExternal, Layout &drawing) |
| double | separation () const |
| Returns the minimal allowed distance between edges and vertices. | |
| void | separation (double sep) |
| Sets the minimal allowed distance between edges and vertices to sep. | |
| double | cOverhang () const |
| void | cOverhang (double c) |
| double | margin () const |
| void | margin (double m) |
| OrthoDir | preferedDir () const |
| void | preferedDir (OrthoDir dir) |
| int | costAssoc () const |
| void | costAssoc (int c) |
| int | costGen () const |
| void | costGen (int c) |
| void | optionProfile (int i) |
| void | align (bool b) |
| void | scaling (bool b) |
| virtual void | setOptions (int optionField) |
| Sets the (generic) options; derived classes have to cope with the interpretation). | |
| virtual int | getOptions () |
| Returns the (generic) options. | |
Protected Member Functions | |
| void | classifyEdges (PlanRepUML &PG, adjEntry &adjExternal) |
Private Member Functions | |
| void | computeBoundingBox (const PlanRepUML &PG, Layout &drawing) |
Private Attributes | |
| double | m_separation |
| double | m_cOverhang |
| double | m_margin |
| OrthoDir | m_preferedDir |
| int | m_optionProfile |
| int | m_costAssoc |
| int | m_costGen |
| bool | m_align |
| bool | m_useScalingCompaction |
| int | m_scalingSteps |
| int | m_orthoStyle |
Definition at line 80 of file OrthoLayout.h.
| ogdf::OrthoLayout::OrthoLayout | ( | ) |
| void ogdf::OrthoLayout::align | ( | bool | b | ) | [inline] |
Definition at line 156 of file OrthoLayout.h.
| void ogdf::OrthoLayout::call | ( | PlanRepUML & | PG, | |
| adjEntry | adjExternal, | |||
| Layout & | drawing | |||
| ) | [virtual] |
Computes a planar layout of PG in drawing.
Must be overridden by derived classes.
| PG | is the input planarized representation which may be modified. | |
| adjExternal | is an adjacenty entry on the external face. | |
| drawing | is the computed layout of PG. |
Implements ogdf::LayoutPlanRepModule.
| void ogdf::OrthoLayout::classifyEdges | ( | PlanRepUML & | PG, | |
| adjEntry & | adjExternal | |||
| ) | [protected] |
| void ogdf::OrthoLayout::computeBoundingBox | ( | const PlanRepUML & | PG, | |
| Layout & | drawing | |||
| ) | [private] |
| int ogdf::OrthoLayout::costAssoc | ( | ) | const [inline] |
Definition at line 135 of file OrthoLayout.h.
| void ogdf::OrthoLayout::costAssoc | ( | int | c | ) | [inline] |
Definition at line 139 of file OrthoLayout.h.
| void ogdf::OrthoLayout::costGen | ( | int | c | ) | [inline] |
Definition at line 148 of file OrthoLayout.h.
| int ogdf::OrthoLayout::costGen | ( | ) | const [inline] |
Definition at line 144 of file OrthoLayout.h.
| double ogdf::OrthoLayout::cOverhang | ( | ) | const [inline] |
Definition at line 106 of file OrthoLayout.h.
| void ogdf::OrthoLayout::cOverhang | ( | double | c | ) | [inline] |
Definition at line 110 of file OrthoLayout.h.
| virtual int ogdf::OrthoLayout::getOptions | ( | ) | [inline, virtual] |
Returns the (generic) options.
Reimplemented from ogdf::LayoutPlanRepModule.
Definition at line 180 of file OrthoLayout.h.
| double ogdf::OrthoLayout::margin | ( | ) | const [inline] |
Definition at line 116 of file OrthoLayout.h.
| void ogdf::OrthoLayout::margin | ( | double | m | ) | [inline] |
Definition at line 120 of file OrthoLayout.h.
| void ogdf::OrthoLayout::optionProfile | ( | int | i | ) | [inline] |
Definition at line 153 of file OrthoLayout.h.
| void ogdf::OrthoLayout::preferedDir | ( | OrthoDir | dir | ) | [inline] |
Definition at line 130 of file OrthoLayout.h.
| OrthoDir ogdf::OrthoLayout::preferedDir | ( | ) | const [inline] |
Definition at line 126 of file OrthoLayout.h.
| void ogdf::OrthoLayout::scaling | ( | bool | b | ) | [inline] |
Definition at line 159 of file OrthoLayout.h.
| double ogdf::OrthoLayout::separation | ( | ) | const [inline, virtual] |
Returns the minimal allowed distance between edges and vertices.
Implements ogdf::LayoutPlanRepModule.
Definition at line 96 of file OrthoLayout.h.
| void ogdf::OrthoLayout::separation | ( | double | sep | ) | [inline, virtual] |
Sets the minimal allowed distance between edges and vertices to sep.
Implements ogdf::LayoutPlanRepModule.
Definition at line 100 of file OrthoLayout.h.
| virtual void ogdf::OrthoLayout::setOptions | ( | int | ) | [inline, virtual] |
Sets the (generic) options; derived classes have to cope with the interpretation).
Reimplemented from ogdf::LayoutPlanRepModule.
Definition at line 170 of file OrthoLayout.h.
bool ogdf::OrthoLayout::m_align [private] |
Definition at line 209 of file OrthoLayout.h.
int ogdf::OrthoLayout::m_costAssoc [private] |
Definition at line 206 of file OrthoLayout.h.
int ogdf::OrthoLayout::m_costGen [private] |
Definition at line 207 of file OrthoLayout.h.
double ogdf::OrthoLayout::m_cOverhang [private] |
Definition at line 202 of file OrthoLayout.h.
double ogdf::OrthoLayout::m_margin [private] |
Definition at line 203 of file OrthoLayout.h.
int ogdf::OrthoLayout::m_optionProfile [private] |
Definition at line 205 of file OrthoLayout.h.
int ogdf::OrthoLayout::m_orthoStyle [private] |
Definition at line 214 of file OrthoLayout.h.
OrthoDir ogdf::OrthoLayout::m_preferedDir [private] |
Definition at line 204 of file OrthoLayout.h.
int ogdf::OrthoLayout::m_scalingSteps [private] |
Definition at line 212 of file OrthoLayout.h.
double ogdf::OrthoLayout::m_separation [private] |
Definition at line 201 of file OrthoLayout.h.
bool ogdf::OrthoLayout::m_useScalingCompaction [private] |
Definition at line 211 of file OrthoLayout.h.