22 #ifndef GUILaneSpeedTrigger_h 23 #define GUILaneSpeedTrigger_h 64 const std::vector<MSLane*>& destLanes,
65 const std::string& file);
140 MID_USER_DEF = FXDialogBox::ID_LAST,
154 long onCmdOverride(FXObject*, FXSelector,
void*);
155 long onCmdClose(FXObject*, FXSelector,
void*);
156 long onCmdUserDef(FXObject*, FXSelector,
void*);
157 long onUpdUserDef(FXObject*, FXSelector,
void*);
158 long onCmdPreDef(FXObject*, FXSelector,
void*);
159 long onUpdPreDef(FXObject*, FXSelector,
void*);
160 long onCmdChangeOption(FXObject*, FXSelector,
void*);
std::vector< SUMOReal > RotCont
Definition of a rotation container.
PosCont myFGPositions
The positions in full-geometry mode.
Stores the information about how to visualize structures.
FXDataTarget mySpeedTarget
std::vector< Position > PosCont
Definition of a positions container.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
GUIManip_LaneSpeedTrigger()
A class that stores a 2D geometrical boundary.
Changes the speed allowed on a set of lanes.
GUILaneSpeedTrigger(const std::string &id, const std::vector< MSLane *> &destLanes, const std::string &file)
Constructor.
Boundary myBoundary
The boundary of this rerouter.
FXComboBox * myPredefinedValues
FXDataTarget myChosenTarget
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
FXRealSpinDial * myUserDefinedSpeed
std::string myLastValueString
Storage for speed string to avoid recomputation.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
RotCont myFGRotations
The rotations in full-geometry mode.
bool myShowAsKMH
The information whether the speed shall be shown in m/s or km/h.
GUIManipulator * openManipulator(GUIMainWindow &app, GUISUMOAbstractView &parent)
Changes the speed allowed on a set of lanes (gui version)
GUILaneSpeedTrigger * myObject
A window containing a gl-object's parameter.
SUMOReal myLastValue
Storage for last value to avoid string recomputation.