21 #ifndef GUIContainer_h
22 #define GUIContainer_h
170 std::map<GUISUMOAbstractView*, int>
dummy;
virtual void drawGLAdditional(GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
Draws additionally triggered visualisations.
void drawAction_drawAsImage(const GUIVisualizationSettings &s) const
Stores the information about how to visualize structures.
SUMOReal getAngle() const
return the current angle of the container
MFXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.
SUMOReal getColorValue(size_t activeScheme) const
gets the color value according to the current scheme index
A class that stores a 2D geometrical boundary.
bool setFunctionalColor(size_t activeScheme) const
sets the color according to the current scheme index and some vehicle function
The car-following model and parameter.
SUMOReal getSpeed() const
the current speed of the container
std::map< GUISUMOAbstractView *, int > myAdditionalVisualizations
Enabled visualisations, per view.
void setColor(const GUIVisualizationSettings &s) const
sets the color according to the currente settings
A point in 2D or 3D with translation and scaling methods.
Position getPosition() const
return the Network coordinate of the container
SUMOReal getEdgePos() const
return the offset from the start of the current edge
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
std::vector< MSContainerStage * > MSContainerPlan
the structure holding the plan of a container
void setPositionInVehicle(const Position &pos)
Structure representing possible vehicle parameter.
Position myPositionInVehicle
The position of a container while riding a vehicle.
void drawAction_drawAsPoly(const GUIVisualizationSettings &s) const
A device which collects info on the vehicle trip (mainly on departure and arrival) ...
GUIContainer(const SUMOVehicleParameter *pars, const MSVehicleType *vtype, MSContainer::MSContainerPlan *plan)
Constructor.
SUMOReal getWaitingSeconds() const
the time this container spent waiting in seconds
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
~GUIContainer()
destructor
A window containing a gl-object's parameter.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.