Open
Graph Drawing
Framework

 v.2010.10
 

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

ogdf::TopologyModule Class Reference

#include <ogdf/basic/TopologyModule.h>

List of all members.

Public Types

enum  Options {
  opDegOneCrossings = 0x0001, opGenToAss = 0x0002, opCrossFlip = 0x0004, opFlipUML = 0x0010,
  opLoop = 0x0008
}

Public Member Functions

 TopologyModule ()
virtual ~TopologyModule ()
void setOptions (int i)
void addOption (TopologyModule::Options o)
bool setEmbeddingFromGraph (PlanRep &PG, GraphAttributes &AG, adjEntry &adjExternal, bool setExternal=true, bool reuseAGEmbedding=false)
void sortEdgesFromLayout (Graph &G, GraphAttributes &AG)
face getExternalFace (PlanRep &PG, const GraphAttributes &AG)
double faceSum (PlanRep &PG, const GraphAttributes &AG, face f)

Protected Member Functions

void planarizeFromLayout (PlanRep &PG, GraphAttributes &AG)
bool hasCrossing (EdgeLeg *legA, EdgeLeg *legB, DPoint &xp)
bool checkFlipCrossing (PlanRep &PG, node v, bool flip=true)
void postProcess (PlanRep &PG)
void handleImprecision (PlanRep &PG)
bool skipable (EdgeLeg *legA, EdgeLeg *legB)

Private Member Functions

int compare_vectors (const double &x1, const double &y1, const double &x2, const double &y2)
double angle (DPoint p, DPoint q, DPoint r)

Private Attributes

NodeArray< DPointm_crossPosition
EdgeArray< List< EdgeLeg * > > m_eLegs
int m_options

Detailed Description

Definition at line 83 of file TopologyModule.h.


Member Enumeration Documentation

Enumerator:
opDegOneCrossings 
opGenToAss 
opCrossFlip 
opFlipUML 
opLoop 

Definition at line 93 of file TopologyModule.h.


Constructor & Destructor Documentation

ogdf::TopologyModule::TopologyModule (  )  [inline]

Definition at line 86 of file TopologyModule.h.

virtual ogdf::TopologyModule::~TopologyModule (  )  [inline, virtual]

Definition at line 88 of file TopologyModule.h.


Member Function Documentation

void ogdf::TopologyModule::addOption ( TopologyModule::Options  o  )  [inline]

Definition at line 107 of file TopologyModule.h.

double ogdf::TopologyModule::angle ( DPoint  p,
DPoint  q,
DPoint  r 
) [private]
bool ogdf::TopologyModule::checkFlipCrossing ( PlanRep PG,
node  v,
bool  flip = true 
) [protected]
int ogdf::TopologyModule::compare_vectors ( const double &  x1,
const double &  y1,
const double &  x2,
const double &  y2 
) [private]
double ogdf::TopologyModule::faceSum ( PlanRep PG,
const GraphAttributes AG,
face  f 
)
face ogdf::TopologyModule::getExternalFace ( PlanRep PG,
const GraphAttributes AG 
)
void ogdf::TopologyModule::handleImprecision ( PlanRep PG  )  [protected]
bool ogdf::TopologyModule::hasCrossing ( EdgeLeg legA,
EdgeLeg legB,
DPoint xp 
) [protected]
void ogdf::TopologyModule::planarizeFromLayout ( PlanRep PG,
GraphAttributes AG 
) [protected]
void ogdf::TopologyModule::postProcess ( PlanRep PG  )  [protected]
bool ogdf::TopologyModule::setEmbeddingFromGraph ( PlanRep PG,
GraphAttributes AG,
adjEntry adjExternal,
bool  setExternal = true,
bool  reuseAGEmbedding = false 
)
void ogdf::TopologyModule::setOptions ( int  i  )  [inline]

Definition at line 106 of file TopologyModule.h.

bool ogdf::TopologyModule::skipable ( EdgeLeg legA,
EdgeLeg legB 
) [protected]
void ogdf::TopologyModule::sortEdgesFromLayout ( Graph G,
GraphAttributes AG 
)

Member Data Documentation

Definition at line 160 of file TopologyModule.h.

Definition at line 164 of file TopologyModule.h.

Definition at line 168 of file TopologyModule.h.


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