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