21 #ifndef GUIContainer_h
22 #define GUIContainer_h
170 std::map<GUISUMOAbstractView*, int>
dummy;
SUMOReal getColorValue(int activeScheme) const
gets the color value according to the current scheme index
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.
A class that stores a 2D geometrical boundary.
The car-following model and parameter.
SUMOReal getSpeed() const
the current speed of the container
std::map< GUISUMOAbstractView *, int > myAdditionalVisualizations
Enabled visualisations, per view.
GUIContainer(const SUMOVehicleParameter *pars, const MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan)
Constructor.
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
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
bool setFunctionalColor(int activeScheme) const
sets the color according to the current scheme index and some vehicle function
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
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) ...
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.