A class that stores a 2D geometrical boundary.
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 getDestinationEdgeID() const
get destination edge ID
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 getGUIAngle() const
return the angle of the person (only for drawing centering and tracking)
bool isJammed() const
whether the person is jammed as defined by the current pedestrian model
GUIBaseVehicle::Seat myPositionInVehicle
The position of a person while riding a vehicle.
std::map< GUISUMOAbstractView *, int > myAdditionalVisualizations
Enabled visualisations, per view.
VisualisationFeatures
Additional visualisation feature ids.
@ VO_SHOW_WALKINGAREA_PATH
show the current walkingarea path
@ VO_SHOW_ROUTE
show persons's current route
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
void removeActiveAddVisualisation(GUISUMOAbstractView *const parent, int which)
Adds the named visualisation feature to the given view.
double getSpeed() const
the current speed of the person
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
double getNaviDegree() const
return the current angle of the person
virtual void drawGLAdditional(GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
Draws additionally triggered visualisations.
GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window.
GUIPerson(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan, const double speedFactor)
Constructor.
std::string getEdgeID() const
get edge ID
bool hasActiveAddVisualisation(GUISUMOAbstractView *const parent, int which) const
Returns whether the named feature is enabled in the given view.
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.
bool proceed(MSNet *net, SUMOTime time, const bool vehicleArrived=false)
Position getPosition() const
return the Network coordinate of the person
void setPositionInVehicle(const GUIBaseVehicle::Seat &pos)
bool isSelected() const
whether this person is selected in the GUI
FXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
std::string getFromEdgeID() const
ger from edge ID
double getStageArrivalPos() const
get stage arrival position
double getWaitingSeconds() const
the time this person spent waiting in seconds
double getColorValue(const GUIVisualizationSettings &s, int activeScheme) const
gets the color value according to the current scheme index
double getEdgePos() const
Return the position on the edge.
void addActiveAddVisualisation(GUISUMOAbstractView *const parent, int which)
Adds the named visualisation feature to the given view.
Stores the information about how to visualize structures.
A device which collects info on the vehicle trip (mainly on departure and arrival)
The simulated network and simulation perfomer.
std::vector< MSStage * > MSTransportablePlan
the structure holding the plan of a transportable
The car-following model and parameter.
A point in 2D or 3D with translation and scaling methods.
Structure representing possible vehicle parameter.