 |
Eclipse SUMO - Simulation of Urban MObility
|
The car-following model and parameter.
std::string getStageIndexDescription() const
get stage index description
Position getGUIPosition() const
return the Network coordinate of the person (only for drawing centering and tracking)
double getSpeed() const
the current speed of the person
A window containing a gl-object's parameter.
void setColor(const GUIVisualizationSettings &s) const
sets the color according to the currente settings
void drawAction_drawWalkingareaPath(const GUIVisualizationSettings &s) const
draw walking area path
std::string getEdgeID() const
get edge ID
void setPositionInVehicle(const Position &pos)
bool isSelected() const
whether this person is selected in the GUI
Structure representing possible vehicle parameter.
FXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
std::string getDestinationEdgeID() const
get destination edge ID
GUIPerson(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, const double speedFactor)
Constructor.
double getColorValue(const GUIVisualizationSettings &s, int activeScheme) const
gets the color value according to the current scheme index
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
VisualisationFeatures
Additional visualisation feature ids.
bool hasActiveAddVisualisation(GUISUMOAbstractView *const parent, int which) const
Returns whether the named feature is enabled in the given view.
A class that stores a 2D geometrical boundary.
#define FOX_CONSTRUCTOR(classname)
std::string getFromEdgeID() const
ger from edge ID
void addActiveAddVisualisation(GUISUMOAbstractView *const parent, int which)
Adds the named visualisation feature to the given view.
A point in 2D or 3D with translation and scaling methods.
double getWaitingSeconds() const
the time this person spent waiting in seconds
Position getPosition() const
return the Network coordinate of the person
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
@ VO_SHOW_WALKINGAREA_PATH
show the current walkingarea path
void removeActiveAddVisualisation(GUISUMOAbstractView *const parent, int which)
Adds the named visualisation feature to the given view.
A device which collects info on the vehicle trip (mainly on departure and arrival)
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
bool setFunctionalColor(int activeScheme) const
sets the color according to the current scheme index and some vehicle function
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
@ VO_SHOW_ROUTE
show persons's current route
GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window.
virtual void drawGLAdditional(GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
Draws additionally triggered visualisations.
Position myPositionInVehicle
The position of a person while riding a vehicle.
Stores the information about how to visualize structures.
double getNaviDegree() const
return the current angle of the person
std::map< GUISUMOAbstractView *, int > myAdditionalVisualizations
Enabled visualisations, per view.
double getEdgePos() const
Return the position on the edge.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
double getStageArrivalPos() const
get stage arrival position