![]() |
Eclipse SUMO - Simulation of Urban MObility
|
class used to mark path draw More...
#include <GNEPathManager.h>
Public Member Functions | |
void | clearPathDraw () |
clear path draw More... | |
bool | drawPathGeometry (const bool dottedElement, const GNELane *fromLane, const GNELane *toLane, SumoXMLTag tag) |
check if path element geometry must be drawn in the given junction More... | |
bool | drawPathGeometry (const bool dottedElement, const GNELane *lane, SumoXMLTag tag) |
check if path element geometry must be drawn in the given lane More... | |
PathDraw () | |
constructor More... | |
~PathDraw () | |
destructor More... | |
Private Attributes | |
std::map< const std::pair< const GNELane *, const GNELane * >, std::set< SumoXMLTag > > | myLane2laneDrawedElements |
map for saving tags drawn in junctions More... | |
std::map< const GNELane *, std::set< SumoXMLTag > > | myLaneDrawedElements |
map for saving tags drawn in lanes More... | |
class used to mark path draw
Definition at line 280 of file GNEPathManager.h.
GNEPathManager::PathDraw::PathDraw | ( | ) |
constructor
Definition at line 500 of file GNEPathManager.cpp.
GNEPathManager::PathDraw::~PathDraw | ( | ) |
destructor
Definition at line 503 of file GNEPathManager.cpp.
void GNEPathManager::PathDraw::clearPathDraw | ( | ) |
clear path draw
Definition at line 507 of file GNEPathManager.cpp.
Referenced by GNEViewNet::doPaintGL().
bool GNEPathManager::PathDraw::drawPathGeometry | ( | const bool | dottedElement, |
const GNELane * | fromLane, | ||
const GNELane * | toLane, | ||
SumoXMLTag | tag | ||
) |
check if path element geometry must be drawn in the given junction
Definition at line 543 of file GNEPathManager.cpp.
References GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, GNEAttributeCarrier::getNet(), GNENet::getViewNet(), and GUISUMOAbstractView::getVisualisationSettings().
bool GNEPathManager::PathDraw::drawPathGeometry | ( | const bool | dottedElement, |
const GNELane * | lane, | ||
SumoXMLTag | tag | ||
) |
check if path element geometry must be drawn in the given lane
Definition at line 515 of file GNEPathManager.cpp.
References GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, GNEAttributeCarrier::getNet(), GNENet::getViewNet(), and GUISUMOAbstractView::getVisualisationSettings().
Referenced by GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), and GNEDemandElement::drawPersonPlanPartial().
|
private |
map for saving tags drawn in junctions
Definition at line 303 of file GNEPathManager.h.
|
private |
map for saving tags drawn in lanes
Definition at line 300 of file GNEPathManager.h.