![]() |
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 508 of file NIImporter_OpenDrive.h.
|
inline |
Definition at line 509 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 2231 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 547 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myEndElement(), NIImporter_OpenDrive::myStartElement(), and NIImporter_OpenDrive::setEdgeLinks2().
std::vector<OpenDriveElevation> NIImporter_OpenDrive::OpenDriveEdge::elevations |
Definition at line 539 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 541 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setNodeSecure().
PositionVector NIImporter_OpenDrive::OpenDriveEdge::geom |
Definition at line 543 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::buildConnectionsToOuter(), NIImporter_OpenDrive::computeShapes(), NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::writeRoadObjects().
std::vector<OpenDriveGeometry> NIImporter_OpenDrive::OpenDriveEdge::geometries |
Definition at line 538 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 530 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(), and NIImporter_OpenDrive::splitMinWidths().
bool NIImporter_OpenDrive::OpenDriveEdge::isInner |
Definition at line 549 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 534 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 544 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 545 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 536 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 537 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 548 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::myStartElement(), and NIImporter_OpenDrive::writeRoadObjects().
std::vector<OpenDriveLaneOffset> NIImporter_OpenDrive::OpenDriveEdge::offsets |
Definition at line 540 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::computeShapes(), and NIImporter_OpenDrive::myStartElement().
std::vector<OpenDriveSignal> NIImporter_OpenDrive::OpenDriveEdge::signals |
Definition at line 546 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenDrive::myEndElement(), and NIImporter_OpenDrive::myStartElement().
std::string NIImporter_OpenDrive::OpenDriveEdge::streetName |
The road name of the edge.
Definition at line 532 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork().
NBNode* NIImporter_OpenDrive::OpenDriveEdge::to |
Definition at line 542 of file NIImporter_OpenDrive.h.
Referenced by NIImporter_OpenDrive::loadNetwork(), and NIImporter_OpenDrive::setNodeSecure().