Inkscape
Vector Graphics Editor
|
#include <vertices.h>
Public Member Functions | |
VertID () | |
VertID (unsigned int id, unsigned short n, VertIDProps p=0) | |
VertID (const VertID &other) | |
VertID & | operator= (const VertID &rhs) |
bool | operator== (const VertID &rhs) const |
bool | operator!= (const VertID &rhs) const |
bool | operator< (const VertID &rhs) const |
VertID | operator+ (const int &rhs) const |
VertID | operator- (const int &rhs) const |
VertID & | operator++ (int) |
void | print (FILE *file=stdout) const |
void | db_print (void) const |
bool | isOrthShapeEdge (void) const |
bool | isConnPt (void) const |
bool | isConnectionPin (void) const |
bool | isConnCheckpoint (void) const |
bool | isDummyPinHelper (void) const |
Public Attributes | |
unsigned int | objID |
unsigned short | vn |
VertIDProps | props |
Static Public Attributes | |
static const unsigned short | src = 1 |
static const unsigned short | tar = 2 |
static const VertIDProps | PROP_ConnPoint = 1 |
static const VertIDProps | PROP_OrthShapeEdge = 2 |
static const VertIDProps | PROP_ConnectionPin = 4 |
static const VertIDProps | PROP_ConnCheckpoint = 8 |
static const VertIDProps | PROP_DummyPinHelper = 16 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const VertID &vID) |
Definition at line 51 of file vertices.h.
Avoid::VertID::VertID | ( | ) |
Definition at line 43 of file vertices.cpp.
Referenced by operator+(), and operator-().
Avoid::VertID::VertID | ( | unsigned int | id, |
unsigned short | n, | ||
VertIDProps | p = 0 |
||
) |
Definition at line 48 of file vertices.cpp.
Avoid::VertID::VertID | ( | const VertID & | other | ) |
Definition at line 56 of file vertices.cpp.
void Avoid::VertID::db_print | ( | void | ) | const |
Definition at line 132 of file vertices.cpp.
References Avoid::db_printf(), objID, props, and vn.
Referenced by Avoid::EdgeInf::db_print(), Avoid::ConnRef::generateStandardPath(), and Avoid::vertexSweep().
|
inline |
Definition at line 95 of file vertices.h.
References PROP_ConnCheckpoint, and props.
Referenced by Avoid::validateBendPoint().
|
inline |
Definition at line 91 of file vertices.h.
References PROP_ConnectionPin, and props.
Referenced by Avoid::Router::checkAllMissingEdges(), Avoid::EdgeInf::isDummyConnection(), Avoid::validateBendPoint(), and Avoid::vertexSweep().
|
inline |
Definition at line 87 of file vertices.h.
References PROP_ConnPoint, and props.
Referenced by Avoid::VertInfList::addVertex(), Avoid::Router::checkAllMissingEdges(), Avoid::EdgeInf::checkVis(), Avoid::directVis(), Avoid::EdgeInf::firstBlocker(), Avoid::ConnRef::generateCheckpointsPath(), Avoid::ConnRef::generatePath(), Avoid::EdgeInf::isDummyConnection(), Avoid::Router::newBlockingShape(), Avoid::Router::printInfo(), Avoid::VertInfList::removeVertex(), Avoid::vertexSweep(), and Avoid::vertexVisibility().
|
inline |
Definition at line 99 of file vertices.h.
References PROP_DummyPinHelper, and props.
Referenced by Avoid::MinimumTerminalSpanningTree::buildHyperedgeTreeToRoot(), Avoid::MinimumTerminalSpanningTree::constructInterleaved(), and Avoid::MinimumTerminalSpanningTree::constructSequential().
|
inline |
Definition at line 83 of file vertices.h.
References PROP_OrthShapeEdge, and props.
bool Avoid::VertID::operator!= | ( | const VertID & | rhs | ) | const |
Definition at line 87 of file vertices.cpp.
VertID Avoid::VertID::operator+ | ( | const int & | rhs | ) | const |
VertID & Avoid::VertID::operator++ | ( | int | ) |
Definition at line 120 of file vertices.cpp.
References vn.
VertID Avoid::VertID::operator- | ( | const int & | rhs | ) | const |
bool Avoid::VertID::operator< | ( | const VertID & | rhs | ) | const |
Definition at line 97 of file vertices.cpp.
Definition at line 64 of file vertices.cpp.
bool Avoid::VertID::operator== | ( | const VertID & | rhs | ) | const |
Definition at line 77 of file vertices.cpp.
void Avoid::VertID::print | ( | FILE * | file = stdout | ) | const |
Definition at line 127 of file vertices.cpp.
|
friend |
Definition at line 149 of file vertices.cpp.
unsigned int Avoid::VertID::objID |
Definition at line 54 of file vertices.h.
Referenced by Avoid::Router::checkAllMissingEdges(), Avoid::EdgeInf::checkVis(), db_print(), Avoid::EdgeInf::firstBlocker(), Avoid::ConnRef::generateCheckpointsPath(), Avoid::ConnRef::generatePath(), Avoid::ConnRef::generateStandardPath(), Avoid::VertInfList::getVertexByID(), operator!=(), operator+(), operator-(), operator<(), operator=(), operator==(), print(), Avoid::Router::printInfo(), Avoid::vertexSweep(), Avoid::vertexVisibility(), and Avoid::VertInf::VertInf().
|
static |
Definition at line 65 of file vertices.h.
Referenced by isConnCheckpoint(), and Avoid::ConnRef::setRoutingCheckpoints().
|
static |
Definition at line 64 of file vertices.h.
Referenced by Avoid::ShapeConnectionPin::commonInitForShapeConnection(), isConnectionPin(), and Avoid::ShapeConnectionPin::ShapeConnectionPin().
|
static |
Definition at line 62 of file vertices.h.
Referenced by Avoid::ConnRef::common_updateEndPoint(), Avoid::ShapeConnectionPin::commonInitForShapeConnection(), Avoid::ConnRef::generateStandardPath(), Avoid::ConnEnd::getHyperedgeVertex(), isConnPt(), Avoid::ConnRef::setRoutingCheckpoints(), and Avoid::ShapeConnectionPin::ShapeConnectionPin().
|
static |
Definition at line 66 of file vertices.h.
Referenced by Avoid::ConnRef::common_updateEndPoint(), and isDummyPinHelper().
|
static |
Definition at line 63 of file vertices.h.
Referenced by isOrthShapeEdge().
VertIDProps Avoid::VertID::props |
Definition at line 57 of file vertices.h.
Referenced by db_print(), isConnCheckpoint(), isConnectionPin(), isConnPt(), isDummyPinHelper(), isOrthShapeEdge(), operator+(), operator-(), operator=(), and print().
|
static |
Definition at line 59 of file vertices.h.
Referenced by Inkscape::UI::Tools::ConnectorTool::_setSubsequentPoint(), Avoid::HyperedgeTreeNode::addConns(), Avoid::ConnRef::common_updateEndPoint(), Avoid::ConnEnd::endpointType(), Avoid::VertInfList::getVertexByID(), Avoid::HyperedgeImprover::moveJunctionAlongCommonEdge(), Avoid::ConnRef::setEndpoint(), Avoid::ConnRef::setEndpoints(), Avoid::ConnRef::setSourceEndpoint(), Avoid::HyperedgeTreeNode::updateConnEnds(), Avoid::HyperedgeTreeEdge::updateConnEnds(), and Avoid::ConnRef::updateEndPoint().
|
static |
Definition at line 60 of file vertices.h.
Referenced by Inkscape::UI::Tools::ConnectorTool::_setSubsequentPoint(), Avoid::HyperedgeTreeEdge::addConns(), Avoid::ConnRef::common_updateEndPoint(), Avoid::ConnEnd::endpointType(), Avoid::VertInfList::getVertexByID(), Avoid::HyperedgeImprover::moveJunctionAlongCommonEdge(), Avoid::ConnRef::setDestEndpoint(), Avoid::ConnRef::setEndpoints(), Avoid::HyperedgeTreeNode::updateConnEnds(), and Avoid::HyperedgeTreeEdge::updateConnEnds().
unsigned short Avoid::VertID::vn |
Definition at line 55 of file vertices.h.
Referenced by db_print(), Avoid::ConnRef::generateCheckpointsPath(), Avoid::ConnRef::generatePath(), Avoid::ConnRef::generateStandardPath(), Avoid::VertInfList::getVertexByID(), operator!=(), operator+(), operator++(), operator-(), operator<(), operator=(), operator==(), print(), and Avoid::VertInf::VertInf().