Eclipse SUMO - Simulation of Urban MObility
GNEPathManager::PathDraw Class Reference

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...
 

Detailed Description

class used to mark path draw

Definition at line 280 of file GNEPathManager.h.

Constructor & Destructor Documentation

◆ PathDraw()

GNEPathManager::PathDraw::PathDraw ( )

constructor

Definition at line 500 of file GNEPathManager.cpp.

◆ ~PathDraw()

GNEPathManager::PathDraw::~PathDraw ( )

destructor

Definition at line 503 of file GNEPathManager.cpp.

Member Function Documentation

◆ clearPathDraw()

void GNEPathManager::PathDraw::clearPathDraw ( )

clear path draw

Definition at line 507 of file GNEPathManager.cpp.

Referenced by GNEViewNet::doPaintGL().

Here is the caller graph for this function:

◆ drawPathGeometry() [1/2]

bool GNEPathManager::PathDraw::drawPathGeometry ( const bool  dottedElement,
const GNELane fromLane,
const GNELane toLane,
SumoXMLTag  tag 
)

◆ drawPathGeometry() [2/2]

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().

Here is the caller graph for this function:

Field Documentation

◆ myLane2laneDrawedElements

std::map<const std::pair<const GNELane*, const GNELane*>, std::set<SumoXMLTag> > GNEPathManager::PathDraw::myLane2laneDrawedElements
private

map for saving tags drawn in junctions

Definition at line 303 of file GNEPathManager.h.

◆ myLaneDrawedElements

std::map<const GNELane*, std::set<SumoXMLTag> > GNEPathManager::PathDraw::myLaneDrawedElements
private

map for saving tags drawn in lanes

Definition at line 300 of file GNEPathManager.h.


The documentation for this class was generated from the following files: