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
GUIContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportable::MSTransportablePlan *plan)
Constructor.
Stores the information about how to visualize structures.
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.
std::map< GUISUMOAbstractView *, int > myAdditionalVisualizations
Enabled visualisations, per view.
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
double getEdgePos() const
return the offset from the start of the current edge
double getAngle() const
return the current angle of the container
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
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.
double getColorValue(int activeScheme) const
gets the color value according to the current scheme index
void drawAction_drawAsPoly(const GUIVisualizationSettings &s) const
double getSpeed() const
the current speed of the container
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.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
~GUIContainer()
destructor
double getWaitingSeconds() const
the time this container spent waiting in seconds
A window containing a gl-object's parameter.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.