Open
Graph Drawing
Framework

 v.2007.11
 

ogdf::OrthoLayout Class Reference

#include <OrthoLayout.h>

Inheritance diagram for ogdf::OrthoLayout:

ogdf::LayoutPlanRepModule

List of all members.

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


Detailed Description

Definition at line 78 of file OrthoLayout.h.


Constructor & Destructor Documentation

ogdf::OrthoLayout::OrthoLayout (  ) 


Member Function Documentation

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.

Parameters:
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.

double ogdf::OrthoLayout::separation (  )  const [inline, virtual]

Returns the minimal allowed distance between edges and vertices.

Implements ogdf::LayoutPlanRepModule.

Definition at line 94 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 98 of file OrthoLayout.h.

double ogdf::OrthoLayout::cOverhang (  )  const [inline]

Definition at line 104 of file OrthoLayout.h.

void ogdf::OrthoLayout::cOverhang ( double  c  )  [inline]

Definition at line 108 of file OrthoLayout.h.

double ogdf::OrthoLayout::margin (  )  const [inline]

Definition at line 114 of file OrthoLayout.h.

void ogdf::OrthoLayout::margin ( double  m  )  [inline]

Definition at line 118 of file OrthoLayout.h.

OrthoDir ogdf::OrthoLayout::preferedDir (  )  const [inline]

Definition at line 124 of file OrthoLayout.h.

void ogdf::OrthoLayout::preferedDir ( OrthoDir  dir  )  [inline]

Definition at line 128 of file OrthoLayout.h.

int ogdf::OrthoLayout::costAssoc (  )  const [inline]

Definition at line 133 of file OrthoLayout.h.

void ogdf::OrthoLayout::costAssoc ( int  c  )  [inline]

Definition at line 137 of file OrthoLayout.h.

int ogdf::OrthoLayout::costGen (  )  const [inline]

Definition at line 142 of file OrthoLayout.h.

void ogdf::OrthoLayout::costGen ( int  c  )  [inline]

Definition at line 146 of file OrthoLayout.h.

void ogdf::OrthoLayout::optionProfile ( int  i  )  [inline]

Definition at line 151 of file OrthoLayout.h.

void ogdf::OrthoLayout::align ( bool  b  )  [inline]

Definition at line 154 of file OrthoLayout.h.

void ogdf::OrthoLayout::scaling ( bool  b  )  [inline]

Definition at line 157 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 168 of file OrthoLayout.h.

virtual int ogdf::OrthoLayout::getOptions (  )  [inline, virtual]

Returns the (generic) options.

Reimplemented from ogdf::LayoutPlanRepModule.

Definition at line 178 of file OrthoLayout.h.

void ogdf::OrthoLayout::classifyEdges ( PlanRepUML PG,
adjEntry adjExternal 
) [protected]

void ogdf::OrthoLayout::computeBoundingBox ( const PlanRepUML PG,
Layout drawing 
) [private]


Member Data Documentation

double ogdf::OrthoLayout::m_separation [private]

Definition at line 199 of file OrthoLayout.h.

double ogdf::OrthoLayout::m_cOverhang [private]

Definition at line 200 of file OrthoLayout.h.

double ogdf::OrthoLayout::m_margin [private]

Definition at line 201 of file OrthoLayout.h.

OrthoDir ogdf::OrthoLayout::m_preferedDir [private]

Definition at line 202 of file OrthoLayout.h.

int ogdf::OrthoLayout::m_optionProfile [private]

Definition at line 203 of file OrthoLayout.h.

int ogdf::OrthoLayout::m_costAssoc [private]

Definition at line 204 of file OrthoLayout.h.

int ogdf::OrthoLayout::m_costGen [private]

Definition at line 205 of file OrthoLayout.h.

bool ogdf::OrthoLayout::m_align [private]

Definition at line 207 of file OrthoLayout.h.

bool ogdf::OrthoLayout::m_useScalingCompaction [private]

Definition at line 209 of file OrthoLayout.h.

int ogdf::OrthoLayout::m_scalingSteps [private]

Definition at line 210 of file OrthoLayout.h.

int ogdf::OrthoLayout::m_orthoStyle [private]

Definition at line 212 of file OrthoLayout.h.


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

© 1999-2007 by oreas GmbH, © 2005-2007 by University Dortmund and University Cologne.

Generated on Thu Nov 22 19:40:13 2007 by doxygen 1.5.4.