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