91 const std::vector<GNEPathElements::PathElement>&
getPath()
const;
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
An Element which don't belongs to GNENet but has influency in the simulation.
An Element which don't belongs to GNENet but has influency in the simulation.
A road/street connecting two junctions (netedit-version)
An Element which don't belongs to GNENet but has influency in the simulation.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
GNELane * myNextLane
nextLane
GNEJunction * getJunction() const
get junction
PathElement()
default constructor
GNELane * getNextLane() const
get next lane
void updateNextLane(GNELane *lane)
update nextLane
GNELane * getLane() const
get lane
An special type of Attribute carrier that owns hierarchical elements.
void calculatePathLanes(SUMOVehicleClass vClass, const bool allowedVClass, GNELane *fromLane, GNELane *toLane, const std::vector< GNEEdge * > &viaEdges)
calculate path lanes (Dijkstra)
GNEGenericData * myGenericData
pointer to generic data
void updatePathElements()
update path element
void calculateGenericDataLanePath(const std::vector< GNEEdge * > &edges)
calculate consecutive path lanes (used by genericdatas)
GNEAdditional * myAdditionalElement
pointer to additional element
GNEPathElements(const GNEPathElements &)=delete
Invalidated copy constructor.
void removeElements()
remove elements
void drawJunctionPathChildren(const GUIVisualizationSettings &s, const GNEJunction *junction, const double offset) const
draw junction path child
void calculateConsecutivePathLanes(SUMOVehicleClass vClass, const bool allowedVClass, const std::vector< GNEEdge * > &edges)
calculate consecutive path lanes (used by routes)
GNEPathElements()
default constructor
const std::vector< GNEPathElements::PathElement > & getPath() const
get path edges
void drawLanePathChildren(const GUIVisualizationSettings &s, const GNELane *lane, const double offset) const
draw lane path child
GNEPathElements & operator=(const GNEPathElements &)=delete
Invalidated assignment operator.
~GNEPathElements()
Destructor.
void addElements()
add elements
GNEDemandElement * myDemandElement
pointer to demand element
void resetPathLanes(SUMOVehicleClass vClass, const bool allowedVClass, GNELane *fromLane, GNELane *toLane, const std::vector< GNEEdge * > &viaEdges)
reset path lanes
const std::vector< GNEEdge * > calculateFromViaToEdges(GNELane *fromLane, GNELane *toLane, const std::vector< GNEEdge * > &viaEdges)
calculate from-via-to edges
std::vector< PathElement > myPathElements
vector of edges used in paths
Stores the information about how to visualize structures.