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) | |
static OrthoDir | oppDir (OrthoDir d) |
Returns the opposite OrthoDir. | |
static OrthoDir | prevDir (OrthoDir d) |
Returns the previous OrthoDir (in a clockwise manner) | |
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 219 of file OrthoRep.h.
|
inline |
Definition at line 279 of file OrthoRep.h.
|
explicit |
|
inline |
Definition at line 285 of file OrthoRep.h.
|
inline |
Definition at line 255 of file OrthoRep.h.
Definition at line 304 of file OrthoRep.h.
Definition at line 302 of file OrthoRep.h.
|
inline |
Definition at line 309 of file OrthoRep.h.
|
inline |
Definition at line 307 of file OrthoRep.h.
|
inline |
Definition at line 318 of file OrthoRep.h.
|
inline |
Definition at line 315 of file OrthoRep.h.
bool ogdf::OrthoRep::check | ( | string & | error | ) | const |
Definition at line 312 of file OrthoRep.h.
void ogdf::OrthoRep::dissect | ( | ) |
|
inline |
Definition at line 253 of file OrthoRep.h.
Definition at line 381 of file OrthoRep.h.
|
private |
void ogdf::OrthoRep::init | ( | CombinatorialEmbedding & | E | ) |
bool ogdf::OrthoRep::isNormalized | ( | ) | const |
|
inline |
Definition at line 360 of file OrthoRep.h.
Returns the next OrthoDir (in a clockwise manner)
Definition at line 389 of file OrthoRep.h.
void ogdf::OrthoRep::normalize | ( | ) |
|
inline |
Definition at line 295 of file OrthoRep.h.
Definition at line 298 of file OrthoRep.h.
Returns the opposite OrthoDir.
Definition at line 384 of file OrthoRep.h.
void ogdf::OrthoRep::orientate | ( | ) |
Returns the previous OrthoDir (in a clockwise manner)
Definition at line 394 of file OrthoRep.h.
Definition at line 398 of file OrthoRep.h.
|
private |
Definition at line 439 of file OrthoRep.h.
|
private |
Definition at line 437 of file OrthoRep.h.
Definition at line 432 of file OrthoRep.h.
|
private |
Definition at line 419 of file OrthoRep.h.
|
private |
Definition at line 421 of file OrthoRep.h.
|
private |
Definition at line 423 of file OrthoRep.h.
Definition at line 430 of file OrthoRep.h.
|
private |
Definition at line 443 of file OrthoRep.h.
|
private |
Definition at line 416 of file OrthoRep.h.
|
private |
Definition at line 441 of file OrthoRep.h.
|
private |
Definition at line 435 of file OrthoRep.h.
|
private |
Definition at line 427 of file OrthoRep.h.