A class that stores a 2D geometrical boundary.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void setPositionInVehicle(const GUIBaseVehicle::Seat &pos)
double getAngle() const
return the current angle of the container
bool setFunctionalColor(int activeScheme) const
sets the color according to the current scheme index and some vehicle function
void drawAction_drawAsPoly(const GUIVisualizationSettings &s) const
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
double getSpeed() const
the current speed of the container
void drawAction_drawAsImage(const GUIVisualizationSettings &s) const
Position getPosition() const
return the Network coordinate of the container
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GUIContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan)
Constructor.
GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window.
double getEdgePos() const
return the offset from the start of the current edge
FXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
virtual void drawGLAdditional(GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
Draws additionally triggered visualisations.
GUIBaseVehicle::Seat myPositionInVehicle
The position of a container while riding a vehicle.
double getColorValue(const GUIVisualizationSettings &s, int activeScheme) const
gets the color value according to the current scheme index
double getWaitingSeconds() const
the time this container spent waiting in seconds
std::map< GUISUMOAbstractView *, int > myAdditionalVisualizations
Enabled visualisations, per view.
~GUIContainer()
destructor
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void setColor(const GUIVisualizationSettings &s) const
sets the color according to the currente settings
A window containing a gl-object's parameter.
Stores the information about how to visualize structures.
A device which collects info on the vehicle trip (mainly on departure and arrival)
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.