165 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.
int getRightSublaneOnEdge() const
return the righmost sublane on the edge occupied by the vehicle
void drawBestLanes() const
Draws the vehicle's best lanes.
Stores the information about how to visualize structures.
void drawAction_drawPersonsAndContainers(const GUIVisualizationSettings &s) const
double getRightSideOnEdge2() const
return right vehicle side on current edge (without argument)
void drawOutsideNetwork(bool add)
register vehicle for drawing while outside the network
Position getPosition(const double offset=0) const
Return current position (x/y, cartesian)
bool isSelected() const
whether this vehicle is selected in the GUI
double getAngle() const
Returns the vehicle's direction in radians.
The car-following model and parameter.
void drawRouteHelper(const MSRoute &r, double exaggeration) const
Draws the route.
std::string getStopInfo() const
retrieve information about the current stop state
double getColorValue(int activeScheme) const
gets the color value according to the current scheme index
A point in 2D or 3D with translation and scaling methods.
GUIVehicle(SUMOVehicleParameter *pars, const MSRoute *route, MSVehicleType *type, const double speedFactor)
Constructor.
MSLane * getPreviousLane(MSLane *current, int &furtherIndex) const
void drawAction_drawRailCarriages(const GUIVisualizationSettings &s, double defaultLength, double carriageGap, int firstPassengerCarriage, bool asImage) const
double getLastLaneChangeOffset() const
Returns the time since the last lane change in seconds.
A MSVehicle extended by some values for usage within the gui.
Position getPosition(const double offset=0) const
Return current position (x/y, cartesian)
int getNumPassengers() const
return the number of passengers
double getWidth() const
Get the width which vehicles of this class shall have when being drawn.
void drawAction_drawVehicleBlinker(double length) const
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.
int getLeftSublaneOnEdge() const
void drawAction_drawLinkItems(const GUIVisualizationSettings &s) const
const MSVehicleType & getVehicleType() const
Returns the vehicle's type definition.
double getLeftSideOnEdge() const
return left vehicle side on current edge
double getRightSideOnEdge(const MSLane *lane=0) const
Get the vehicle's lateral position on the edge of the given lane (or its current edge if lane == 0) ...
void drawAction_drawVehicleBrakeLight(double length, bool onlyOne=1) const
double getAngle() const
Return current angle.
Representation of a lane in the micro simulation.
A window containing a gl-object's parameter.
void drawAction_drawVehicleBlueLight() const
A MSVehicle extended by some values for usage within the gui.