 |
Eclipse SUMO - Simulation of Urban MObility
|
The car-following model and parameter.
bool isSelected() const
whether this vehicle is selected in the GUI
double getLeftSideOnEdge() const
return left vehicle side on current edge
A lane area vehicles can halt at.
A window containing a gl-object's parameter.
A MSVehicle extended by some values for usage within the gui.
void drawAction_drawVehicleBlueLight() const
Representation of a lane in the micro simulation.
std::string getStopInfo() const
retrieve information about the current stop state
void drawRouteHelper(const GUIVisualizationSettings &s, const MSRoute &r, bool future, const RGBColor &col) const
Draws the route.
double getRightSideOnEdge2() const
return right vehicle side on current edge (without argument)
void rerouteDRTStop(MSStoppingPlace *busStop)
handle route to accomodate to given stop
Structure representing possible vehicle parameter.
GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window.
double getManeuverDist() const
return the lane-change maneuver distance
std::string getTargetLaneID() const
void drawAction_drawVehicleBlinker(double length) const
Position getPosition(const double offset=0) const
Return current position (x/y, cartesian)
void drawAction_drawCarriageClass(const GUIVisualizationSettings &s, bool asImage) const
draws the given guiShape with distinct carriages/modules
void drawOutsideNetwork(bool add)
register vehicle for drawing while outside the network
double getAngle() const
Return current angle.
double getWidth() const
Get the width which vehicles of this class shall have when being drawn.
A MSVehicle extended by some values for usage within the gui.
double getLastLaneChangeOffset() const
Returns the time since the last lane change in seconds.
double getColorValue(const GUIVisualizationSettings &s, int activeScheme) const
gets the color value according to the current scheme index
double getAngle() const
Returns the vehicle's direction in radians.
A point in 2D or 3D with translation and scaling methods.
std::string getLaneID() const
return vehicle lane id
void selectBlockingFoes() const
adds the blocking foes to the current selection
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
const MSVehicleType & getVehicleType() const
Returns the vehicle's type definition.
int getRightSublaneOnEdge() const
return the righmost sublane on the edge occupied by the vehicle
void drawBestLanes() const
Draws the vehicle's best lanes.
MSLane * getPreviousLane(MSLane *current, int &furtherIndex) const
GUIVehicle(SUMOVehicleParameter *pars, const MSRoute *route, MSVehicleType *type, const double speedFactor)
Constructor.
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)
std::string getLCStateRight() const
return the lanechange state
int getLeftSublaneOnEdge() const
std::string getShadowLaneID() const
void drawAction_drawVehicleBrakeLight(double length, bool onlyOne=false) const
Stores the information about how to visualize structures.
Position getPosition(const double offset=0) const
Return current position (x/y, cartesian)
void drawAction_drawLinkItems(const GUIVisualizationSettings &s) const
std::string getLCStateLeft() const
Representation of a vehicle in the micro simulation.