Orthogonal representation of an embedded graph. More...
#include <ogdf/orthogonal/OrthoRep.h>
Classes | |
struct | SideInfoUML |
Information about a side of a vertex in UML diagrams. More... | |
struct | VertexInfoUML |
Further information about the cages of vertices in UML diagrams. More... | |
Public Member Functions | |
OrthoRep () | |
OrthoRep (CombinatorialEmbedding &E) | |
~OrthoRep () | |
adjEntry | alignAdjEntry () const |
int & | angle (adjEntry adj) |
int | angle (adjEntry adj) const |
BendString & | bend (adjEntry adj) |
const BendString & | bend (adjEntry adj) const |
VertexInfoUML * | cageInfo (node v) |
const VertexInfoUML * | cageInfo (node v) const |
bool | check (string &error) const |
void | computeCageInfoUML (const PlanRep &PG) |
OrthoDir | direction (adjEntry adj) const |
void | dissect () |
void | dissect2 (PlanRep *PG=nullptr) |
adjEntry | externalAdjEntry () const |
void | gridDissect (PlanRep *PG) |
void | init (CombinatorialEmbedding &E) |
bool | isNormalized () const |
bool | isOrientated () const |
void | normalize () |
operator const CombinatorialEmbedding & () const | |
operator const Graph & () const | |
void | orientate () |
void | orientate (adjEntry adj, OrthoDir dir) |
void | orientate (const PlanRep &PG, OrthoDir preferedDir) |
void | rotate (int r) |
void | undissect (bool align=false) |
Static Public Member Functions | |
static char | flip (char c) |
static OrthoDir | nextDir (OrthoDir d) |
Returns the next OrthoDir (in a clockwise manner) More... | |
static OrthoDir | oppDir (OrthoDir d) |
Returns the opposite OrthoDir. More... | |
static OrthoDir | prevDir (OrthoDir d) |
Returns the previous OrthoDir (in a clockwise manner) More... | |
Private Member Functions | |
void | freeCageInfoUML () |
void | orientateFace (adjEntry adj, OrthoDir dir) |
Private Attributes | |
adjEntry | m_adjAlign |
adjEntry | m_adjExternal |
EdgeArray< bool > | m_alignmentEdge |
AdjEntryArray< int > | m_angle |
AdjEntryArray< BendString > | m_bends |
AdjEntryArray< OrthoDir > | m_dir |
EdgeArray< bool > | m_dissectionEdge |
bool | m_pattern2 |
CombinatorialEmbedding * | m_pE |
bool | m_preprocess |
ArrayBuffer< node > | m_splitNodes |
NodeArray< VertexInfoUML * > | m_umlCageInfo |
Friends | |
std::ostream & | operator<< (std::ostream &os, const OrthoRep &op) |
Orthogonal representation of an embedded graph.
Definition at line 225 of file OrthoRep.h.
|
inline |
Definition at line 285 of file OrthoRep.h.
|
explicit |
|
inline |
Definition at line 291 of file OrthoRep.h.
|
inline |
Definition at line 261 of file OrthoRep.h.
|
inline |
Definition at line 310 of file OrthoRep.h.
|
inline |
Definition at line 308 of file OrthoRep.h.
|
inline |
Definition at line 315 of file OrthoRep.h.
|
inline |
Definition at line 313 of file OrthoRep.h.
|
inline |
Definition at line 324 of file OrthoRep.h.
|
inline |
Definition at line 321 of file OrthoRep.h.
bool ogdf::OrthoRep::check | ( | string & | error | ) | const |
void ogdf::OrthoRep::computeCageInfoUML | ( | const PlanRep & | PG | ) |
Definition at line 318 of file OrthoRep.h.
void ogdf::OrthoRep::dissect | ( | ) |
void ogdf::OrthoRep::dissect2 | ( | PlanRep * | PG = nullptr | ) |
|
inline |
Definition at line 259 of file OrthoRep.h.
|
inlinestatic |
Definition at line 387 of file OrthoRep.h.
|
private |
void ogdf::OrthoRep::gridDissect | ( | PlanRep * | PG | ) |
void ogdf::OrthoRep::init | ( | CombinatorialEmbedding & | E | ) |
bool ogdf::OrthoRep::isNormalized | ( | ) | const |
|
inline |
Definition at line 366 of file OrthoRep.h.
Returns the next OrthoDir (in a clockwise manner)
Definition at line 395 of file OrthoRep.h.
void ogdf::OrthoRep::normalize | ( | ) |
|
inline |
Definition at line 301 of file OrthoRep.h.
|
inline |
Definition at line 304 of file OrthoRep.h.
Returns the opposite OrthoDir.
Definition at line 390 of file OrthoRep.h.
void ogdf::OrthoRep::orientate | ( | ) |
Returns the previous OrthoDir (in a clockwise manner)
Definition at line 400 of file OrthoRep.h.
void ogdf::OrthoRep::rotate | ( | int | r | ) |
void ogdf::OrthoRep::undissect | ( | bool | align = false | ) |
|
friend |
Definition at line 404 of file OrthoRep.h.
|
private |
Definition at line 445 of file OrthoRep.h.
|
private |
Definition at line 443 of file OrthoRep.h.
|
private |
Definition at line 438 of file OrthoRep.h.
|
private |
Definition at line 425 of file OrthoRep.h.
|
private |
Definition at line 427 of file OrthoRep.h.
|
private |
Definition at line 429 of file OrthoRep.h.
|
private |
Definition at line 436 of file OrthoRep.h.
|
private |
Definition at line 449 of file OrthoRep.h.
|
private |
Definition at line 422 of file OrthoRep.h.
|
private |
Definition at line 447 of file OrthoRep.h.
|
private |
Definition at line 441 of file OrthoRep.h.
|
private |
Definition at line 433 of file OrthoRep.h.