 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
20 #ifndef GUIMEVehicle_h
21 #define GUIMEVehicle_h
The car-following model and parameter.
A vehicle from the mesoscopic point of view.
A window containing a gl-object's parameter.
A MSVehicle extended by some values for usage within the gui.
int getSegmentIndex() const
void selectBlockingFoes() const
adds the blocking foes to the current selection
~GUIMEVehicle()
destructor
Position getPosition(const double offset=0) const
Return current position (x/y, cartesian)
A MSVehicle extended by some values for usage within the gui.
Structure representing possible vehicle parameter.
double getAngle() const
Return current angle.
double getAngle() const
Returns the vehicle's direction in degrees.
std::string getEdgeID() const
A point in 2D or 3D with translation and scaling methods.
void drawAction_drawCarriageClass(const GUIVisualizationSettings &s, bool asImage) const
draws the given guiShape with distinct carriages/modules
Position getPosition(const double offset=0) const
Return current position (x/y, cartesian)
GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window.
double getLastLaneChangeOffset() const
Returns the time since the last lane change in seconds.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
std::string getStopInfo() const
retrieve information about the current stop state
Stores the information about how to visualize structures.
double getColorValue(const GUIVisualizationSettings &s, int activeScheme) const
gets the color value according to the current scheme index
GUIMEVehicle(SUMOVehicleParameter *pars, const MSRoute *route, MSVehicleType *type, const double speedFactor)
Constructor.
void drawRouteHelper(const GUIVisualizationSettings &s, const MSRoute &r, bool future) const
Draws the route.