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