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