Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GUIVehicle.cpp File Reference
#include <config.h>
#include <cmath>
#include <vector>
#include <string>
#include <bitset>
#include <utils/common/MsgHandler.h>
#include <utils/common/StringUtils.h>
#include <utils/common/StringTokenizer.h>
#include <utils/vehicle/SUMOVehicleParameter.h>
#include <utils/emissions/PollutantsInterface.h>
#include <utils/geom/GeomHelper.h>
#include <utils/gui/globjects/GLIncludes.h>
#include <utils/gui/windows/GUISUMOAbstractView.h>
#include <utils/gui/windows/GUIAppEnum.h>
#include <utils/gui/images/GUITexturesHelper.h>
#include <utils/gui/div/GUIParameterTableWindow.h>
#include <utils/gui/div/GUIGlobalSelection.h>
#include <utils/gui/div/GLHelper.h>
#include <utils/gui/div/GLObjectValuePassConnector.h>
#include <utils/gui/div/GUIBaseVehicleHelper.h>
#include <microsim/MSGlobals.h>
#include <microsim/MSVehicle.h>
#include <microsim/MSJunction.h>
#include <microsim/MSLane.h>
#include <microsim/MSLink.h>
#include <microsim/MSStop.h>
#include <microsim/MSParkingArea.h>
#include <microsim/MSTrainHelper.h>
#include <microsim/logging/CastingFunctionBinding.h>
#include <microsim/logging/FunctionBinding.h>
#include <microsim/lcmodels/MSAbstractLaneChangeModel.h>
#include <microsim/devices/MSDevice_Vehroutes.h>
#include <microsim/devices/MSDevice_Routing.h>
#include <microsim/devices/MSRoutingEngine.h>
#include <microsim/devices/MSDevice_Transportable.h>
#include <microsim/devices/MSDevice_BTreceiver.h>
#include <microsim/devices/MSDevice_ElecHybrid.h>
#include <microsim/devices/MSDevice_Battery.h>
#include <microsim/traffic_lights/MSDriveWay.h>
#include <gui/GUIApplicationWindow.h>
#include <gui/GUIGlobals.h>
#include "GUIVehicle.h"
#include "GUIPerson.h"
#include "GUIContainer.h"
#include "GUINet.h"
#include "GUIEdge.h"
#include "GUILane.h"
Include dependency graph for GUIVehicle.cpp:

Go to the source code of this file.

Macros

#define BLINKER_POS_BACK   .5
 
#define BLINKER_POS_FRONT   .5
 
#define LANECHANGEMODE_DEFAULT   1621
 
#define SPEEDMODE_DEFAULT   31
 

Functions

void drawAction_drawBlinker (double dir, double length)
 

Detailed Description

Author
Daniel Krajzewicz
Jakob Erdmann
Michael Behrisch
Date
Sept 2002

Definition in file GUIVehicle.cpp.

Macro Definition Documentation

◆ BLINKER_POS_BACK

#define BLINKER_POS_BACK   .5

Definition at line 479 of file GUIVehicle.cpp.

◆ BLINKER_POS_FRONT

#define BLINKER_POS_FRONT   .5

Definition at line 478 of file GUIVehicle.cpp.

◆ LANECHANGEMODE_DEFAULT

#define LANECHANGEMODE_DEFAULT   1621

Definition at line 73 of file GUIVehicle.cpp.

◆ SPEEDMODE_DEFAULT

#define SPEEDMODE_DEFAULT   31

Definition at line 72 of file GUIVehicle.cpp.

Function Documentation

◆ drawAction_drawBlinker()

void drawAction_drawBlinker ( double  dir,
double  length 
)
inline

Definition at line 482 of file GUIVehicle.cpp.

References BLINKER_POS_BACK, BLINKER_POS_FRONT, GLHelper::drawFilledCircle(), GLHelper::popMatrix(), and GLHelper::pushMatrix().

Referenced by GUIVehicle::drawAction_drawVehicleBlinker().

Here is the caller graph for this function: