![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class used to mark path draw More...
#include <GNEPathManager.h>
Public Member Functions | |
| bool | checkDrawPathGeometry (const GUIVisualizationSettings &s, const GNELane *lane, const SumoXMLTag tag, const bool isPlan) |
| check if path element geometry must be drawn in the given lane | |
| bool | checkDrawPathGeometry (const GUIVisualizationSettings &s, const GNESegment *segment, const SumoXMLTag tag, const bool isPlan) |
| check if path element geometry must be drawn in the given junction | |
| void | clearPathDraw () |
| clear path draw | |
| PathDraw () | |
| constructor | |
| ~PathDraw () | |
| destructor | |
Private Attributes | |
| std::map< const std::pair< const GNELane *, const GNELane * >, std::set< SumoXMLTag > > | myLane2laneDrawedElements |
| map for saving tags drawn in junctions | |
| std::map< const GNELane *, std::set< SumoXMLTag > > | myLaneDrawedElements |
| map for saving tags drawn in lanes | |
class used to mark path draw
Definition at line 115 of file GNEPathManager.h.
| GNEPathManager::PathDraw::PathDraw | ( | ) |
constructor
Definition at line 356 of file GNEPathManager.cpp.
| GNEPathManager::PathDraw::~PathDraw | ( | ) |
destructor
Definition at line 359 of file GNEPathManager.cpp.
| bool GNEPathManager::PathDraw::checkDrawPathGeometry | ( | const GUIVisualizationSettings & | s, |
| const GNELane * | lane, | ||
| const SumoXMLTag | tag, | ||
| const bool | isPlan ) |
check if path element geometry must be drawn in the given lane
Definition at line 371 of file GNEPathManager.cpp.
References GUIVisualizationSettings::drawForViewObjectsHandler, and myLaneDrawedElements.
| bool GNEPathManager::PathDraw::checkDrawPathGeometry | ( | const GUIVisualizationSettings & | s, |
| const GNESegment * | segment, | ||
| const SumoXMLTag | tag, | ||
| const bool | isPlan ) |
check if path element geometry must be drawn in the given junction
Definition at line 397 of file GNEPathManager.cpp.
References GUIVisualizationSettings::drawForViewObjectsHandler, GNESegment::getNextLane(), GNESegment::getPreviousLane(), GNEPathManager::GNESegment, and myLane2laneDrawedElements.
| void GNEPathManager::PathDraw::clearPathDraw | ( | ) |
clear path draw
Definition at line 363 of file GNEPathManager.cpp.
References myLane2laneDrawedElements, and myLaneDrawedElements.
|
private |
map for saving tags drawn in junctions
Definition at line 138 of file GNEPathManager.h.
Referenced by checkDrawPathGeometry(), and clearPathDraw().
|
private |
map for saving tags drawn in lanes
Definition at line 135 of file GNEPathManager.h.
Referenced by checkDrawPathGeometry(), and clearPathDraw().