![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Representation of an openDrive "link". More...
#include <NIImporter_OpenDrive.h>
Public Member Functions | |
int | getPriority (OpenDriveXMLTag dir) const |
Returns the edge's priority, regarding the direction. More... | |
OpenDriveEdge (const std::string &idArg, const std::string &streetNameArg, const std::string &junctionArg, double lengthArg) | |
Data Fields | |
std::set< Connection > | connections |
std::vector< OpenDriveElevation > | elevations |
NBNode * | from |
PositionVector | geom |
std::vector< OpenDriveGeometry > | geometries |
std::string | id |
The id of the edge. More... | |
bool | isInner |
std::string | junction |
The id of the junction the edge belongs to. More... | |
std::vector< double > | laneOffsets |
std::vector< OpenDriveLaneSection > | laneSections |
double | length |
The length of the edge. More... | |
std::vector< OpenDriveLink > | links |
std::vector< OpenDriveObject > | objects |
std::vector< OpenDriveLaneOffset > | offsets |
std::vector< OpenDriveSignal > | signals |
std::string | streetName |
The road name of the edge. More... | |
NBNode * | to |
Representation of an openDrive "link".
Definition at line 441 of file NIImporter_OpenDrive.h.
|
inline |
Definition at line 442 of file NIImporter_OpenDrive.h.
int NIImporter_OpenDrive::OpenDriveEdge::getPriority | ( | OpenDriveXMLTag | dir | ) | const |
Returns the edge's priority, regarding the direction.
The priority is determined by evaluating the signs located at the road
[in] | dir | The direction which priority shall be returned |
Definition at line 1738 of file NIImporter_OpenDrive.cpp.
References NIImporter_OpenDrive::OPENDRIVE_TAG_LEFT, and NIImporter_OpenDrive::OPENDRIVE_TAG_RIGHT.
Referenced by NIImporter_OpenDrive::loadNetwork().
std::set<Connection> NIImporter_OpenDrive::OpenDriveEdge::connections |
Definition at line 480 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::myEndElement(), NIImporter_OpenDrive::myStartElement(), and NIImporter_OpenDrive::setEdgeLinks2().
std::vector<OpenDriveElevation> NIImporter_OpenDrive::OpenDriveEdge::elevations |
Definition at line 472 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::computeShapes(), NIImporter_OpenDrive::hasNonLinearElevation(), and NIImporter_OpenDrive::myStartElement().
NBNode* NIImporter_OpenDrive::OpenDriveEdge::from |
Definition at line 474 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setNodeSecure().
PositionVector NIImporter_OpenDrive::OpenDriveEdge::geom |
Definition at line 476 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::loadNetwork().
std::vector<OpenDriveGeometry> NIImporter_OpenDrive::OpenDriveEdge::geometries |
Definition at line 471 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::addGeometryShape(), NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::myStartElement().
std::string NIImporter_OpenDrive::OpenDriveEdge::id |
The id of the edge.
Definition at line 463 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::addGeometryShape(), NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::computeShapes(), NIImporter_OpenDrive::geomFromSpiral(), NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myEndElement(), NIImporter_OpenDrive::myStartElement(), NIImporter_OpenDrive::revisitLaneSections(), NIImporter_OpenDrive::sanitizeWidths(), NIImporter_OpenDrive::setEdgeLinks2(), NIImporter_OpenDrive::setLaneAttributes(), NIImporter_OpenDrive::setNodeSecure(), and NIImporter_OpenDrive::splitMinWidths().
bool NIImporter_OpenDrive::OpenDriveEdge::isInner |
Definition at line 482 of file NIImporter_OpenDrive.h.
Referenced by OpenDriveEdge(), and NIImporter_OpenDrive::revisitLaneSections().
std::string NIImporter_OpenDrive::OpenDriveEdge::junction |
The id of the junction the edge belongs to.
Definition at line 467 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myStartElement(), and OpenDriveEdge().
std::vector<double> NIImporter_OpenDrive::OpenDriveEdge::laneOffsets |
Definition at line 477 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::loadNetwork().
std::vector<OpenDriveLaneSection> NIImporter_OpenDrive::OpenDriveEdge::laneSections |
Definition at line 478 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::laneSectionsConnected(), NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myEndElement(), NIImporter_OpenDrive::myStartElement(), NIImporter_OpenDrive::revisitLaneSections(), NIImporter_OpenDrive::sanitizeWidths(), NIImporter_OpenDrive::setEdgeLinks2(), and NIImporter_OpenDrive::splitMinWidths().
double NIImporter_OpenDrive::OpenDriveEdge::length |
The length of the edge.
Definition at line 469 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myStartElement(), and NIImporter_OpenDrive::splitMinWidths().
std::vector<OpenDriveLink> NIImporter_OpenDrive::OpenDriveEdge::links |
Definition at line 470 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::addLink(), NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setEdgeLinks2().
std::vector<OpenDriveObject> NIImporter_OpenDrive::OpenDriveEdge::objects |
Definition at line 481 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::myStartElement().
std::vector<OpenDriveLaneOffset> NIImporter_OpenDrive::OpenDriveEdge::offsets |
Definition at line 473 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::myStartElement().
std::vector<OpenDriveSignal> NIImporter_OpenDrive::OpenDriveEdge::signals |
Definition at line 479 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::myStartElement().
std::string NIImporter_OpenDrive::OpenDriveEdge::streetName |
The road name of the edge.
Definition at line 465 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork().
NBNode* NIImporter_OpenDrive::OpenDriveEdge::to |
Definition at line 475 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setNodeSecure().