23 #ifndef GUIMEVehicle_h 24 #define GUIMEVehicle_h
A vehicle from the mesoscopic point of view.
Position getPosition(const SUMOReal offset=0) const
Return current position (x/y, cartesian)
Position myPos
the position for drawing
Stores the information about how to visualize structures.
void drawRouteHelper(const MSRoute &r, SUMOReal exaggeration) const
Draws the route.
void setPositionAndAngle(const Position &pos, SUMOReal angle)
set position and angle for drawing
GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window.
The car-following model and parameter.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
A point in 2D or 3D with translation and scaling methods.
~GUIMEVehicle()
destructor
SUMOReal myAngle
the angle for drawing
A MSVehicle extended by some values for usage within the gui.
void setSegment(MESegment *s, size_t idx=0)
Sets the current segment the vehicle is at together with its que.
SUMOReal getAngle() const
Returns the vehicle's direction in degrees.
bool drawAction_drawCarriageClass(const GUIVisualizationSettings &s, SUMOVehicleShape guiShape, bool asImage) const
draws the given guiShape if it has distinc carriages/modules and eturns true if so ...
std::string getStopInfo() const
retrieve information about the current stop state
SUMOReal getLastLaneChangeOffset() const
Returns the time since the last lane change in seconds.
Structure representing possible vehicle parameter.
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
void selectBlockingFoes() const
adds the blocking foes to the current selection
A MSVehicle extended by some values for usage within the gui.
SUMOReal getColorValue(size_t activeScheme) const
gets the color value according to the current scheme index
A single mesoscopic segment (cell)
virtual void setSegment(MESegment *s, size_t idx=0)
Sets the current segment the vehicle is at together with its que.
GUIMEVehicle(SUMOVehicleParameter *pars, const MSRoute *route, const MSVehicleType *type, const SUMOReal speedFactor)
Constructor.
A window containing a gl-object's parameter.
static const Position INVALID