Qt 4.8
|
Representation of a valid path for a given vertex in the graph. More...
#include <qgraphicsanchorlayout_p.h>
Public Functions | |
QSimplexConstraint * | constraint (const GraphPath &path) const |
GraphPath () | |
QString | toString () const |
Public Variables | |
QSet< AnchorData * > | negatives |
QSet< AnchorData * > | positives |
Representation of a valid path for a given vertex in the graph.
In this struct, "positives" is the set of anchors that have been traversed in the forward direction, while "negatives" is the set with the ones walked backwards.
This paths are compared against each other to produce LP Constraints, the exact order in which the anchors were traversed is not relevant.
Definition at line 324 of file qgraphicsanchorlayout_p.h.
|
inline |
Definition at line 327 of file qgraphicsanchorlayout_p.h.
QSimplexConstraint * GraphPath::constraint | ( | const GraphPath & | path | ) | const |
Definition at line 582 of file qgraphicsanchorlayout_p.cpp.
QString GraphPath::toString | ( | ) | const |
Definition at line 610 of file qgraphicsanchorlayout_p.cpp.
QSet<AnchorData *> GraphPath::negatives |
Definition at line 334 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::calculateTrunk(), constraint(), QGraphicsAnchorLayoutPrivate::findPaths(), and QGraphicsAnchorLayoutPrivate::solveMinMax().
QSet<AnchorData *> GraphPath::positives |
Definition at line 333 of file qgraphicsanchorlayout_p.h.
Referenced by QGraphicsAnchorLayoutPrivate::calculateTrunk(), constraint(), QGraphicsAnchorLayoutPrivate::findPaths(), and QGraphicsAnchorLayoutPrivate::solveMinMax().