149 int firstPassengerCarriage,
bool asImage)
const;
bool drawAction_drawCarriageClass(const GUIVisualizationSettings &s, SUMOVehicleShape guiShape, bool asImage) const
draws the given guiShape if it has distinct carriages/modules and returns true if so ...
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
Representation of a vehicle in the micro simulation.
Position getPosition(const SUMOReal offset=0) const
Return current position (x/y, cartesian)
int getNumPassengers() const
return the number of passengers
Stores the information about how to visualize structures.
MSLane * getPreviousLane(MSLane *current, int &furtherIndex) const
void drawAction_drawVehicleBrakeLight(SUMOReal length, bool onlyOne=1) const
SUMOReal getLastLaneChangeOffset() const
Returns the time since the last lane change in seconds.
void drawOutsideNetwork(bool add)
register vehicle for drawing while outside the network
void drawBestLanes() const
Draws the vehicle's best lanes.
std::string getStopInfo() const
retrieve information about the current stop state
The car-following model and parameter.
SUMOReal getColorValue(int activeScheme) const
gets the color value according to the current scheme index
void drawAction_drawVehicleBlinker(SUMOReal length) const
GUIVehicle(SUMOVehicleParameter *pars, const MSRoute *route, const MSVehicleType *type, const SUMOReal speedFactor)
Constructor.
A point in 2D or 3D with translation and scaling methods.
A MSVehicle extended by some values for usage within the gui.
void drawAction_drawRailCarriages(const GUIVisualizationSettings &s, SUMOReal defaultLength, SUMOReal carriageGap, int firstPassengerCarriage, bool asImage) const
void drawAction_drawLinkItems(const GUIVisualizationSettings &s) const
void selectBlockingFoes() const
adds the blocking foes to the current selection
GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window.
SUMOReal getAngle() const
Return current angle.
Structure representing possible vehicle parameter.
SUMOReal getAngle() const
Returns the vehicle's direction in radians.
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
void computeSeats(const Position &front, const Position &back, int &requiredSeats) const
add seats to mySeatPositions and update requiredSeats
Position getPosition(const SUMOReal offset=0) const
Return current position (x/y, cartesian)
void drawRouteHelper(const MSRoute &r, SUMOReal exaggeration) const
Draws the route.
void drawAction_drawVehicleBlueLight() const
Representation of a lane in the micro simulation.
void drawAction_drawPersonsAndContainers(const GUIVisualizationSettings &s) const
A window containing a gl-object's parameter.
A MSVehicle extended by some values for usage within the gui.