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, SumoXMLTag tag) |
check if path element geometry must be drawn in the given lane | |
bool | checkDrawPathGeometry (const GUIVisualizationSettings &s, const Segment *segment, SumoXMLTag tag) |
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 267 of file GNEPathManager.h.
GNEPathManager::PathDraw::PathDraw | ( | ) |
constructor
Definition at line 553 of file GNEPathManager.cpp.
GNEPathManager::PathDraw::~PathDraw | ( | ) |
destructor
Definition at line 556 of file GNEPathManager.cpp.
bool GNEPathManager::PathDraw::checkDrawPathGeometry | ( | const GUIVisualizationSettings & | s, |
const GNELane * | lane, | ||
SumoXMLTag | tag | ||
) |
check if path element geometry must be drawn in the given lane
Definition at line 568 of file GNEPathManager.cpp.
References GUIVisualizationSettings::drawForViewObjectsHandler.
Referenced by GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), and GNEDemandElementPlan::drawPlanLanePartial().
bool GNEPathManager::PathDraw::checkDrawPathGeometry | ( | const GUIVisualizationSettings & | s, |
const Segment * | segment, | ||
SumoXMLTag | tag | ||
) |
check if path element geometry must be drawn in the given junction
Definition at line 593 of file GNEPathManager.cpp.
References GUIVisualizationSettings::drawForViewObjectsHandler, GNEPathManager::Segment::getNextLane(), and GNEPathManager::Segment::getPreviousLane().
void GNEPathManager::PathDraw::clearPathDraw | ( | ) |
clear path draw
Definition at line 560 of file GNEPathManager.cpp.
Referenced by GNEViewNet::doPaintGL().
|
private |
map for saving tags drawn in junctions
Definition at line 290 of file GNEPathManager.h.
|
private |
map for saving tags drawn in lanes
Definition at line 287 of file GNEPathManager.h.