 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
19 #ifndef GUITriggeredRerouter_h
20 #define GUITriggeredRerouter_h
64 const std::string& aXMLFilename,
bool off,
66 const std::string& vTypes,
240 long onCmdClose(FXObject*, FXSelector,
void*);
std::vector< GUITriggeredRerouterEdge * > myEdgeVisualizations
A window containing a gl-object's parameter.
GUITriggeredRerouterEdge(GUIEdge *edge, GUITriggeredRerouter *parent, bool closed)
PosCont myFGPositions
The positions in full-geometry mode.
GUIManip_TriggeredRerouter()
double myUsageProbability
FXRealSpinner * myUsageProbabilityDial
Boundary myBoundary
The boundary of this rerouter.
long onCmdChangeOption(FXObject *, FXSelector, void *)
Reroutes vehicles passing an edge.
Reroutes vehicles passing an edge One rerouter can be active on multiple edges. To reduce drawing loa...
long onCmdClose(FXObject *, FXSelector, void *)
A RT-tree for efficient storing of SUMO's GL-objects.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
FXDataTarget myChosenTarget
long onCmdUserDef(FXObject *, FXSelector, void *)
A class that stores a 2D geometrical boundary.
std::vector< double > RotCont
Definition of a rotation container.
GUITriggeredRerouter * myParent
The parent rerouter to which this edge instance belongs.
virtual ~GUIManip_TriggeredRerouter()
Destructor.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
~GUITriggeredRerouter()
Destructor.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
A road/street connecting two junctions.
RotCont myFGRotations
The rotations in full-geometry mode.
GUIManipulator * openManipulator(GUIMainWindow &app, GUISUMOAbstractView &parent)
GUITriggeredRerouter * myObject
FXDataTarget myUsageProbabilityTarget
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
long onUpdUserDef(FXObject *, FXSelector, void *)
MSEdge * myEdge
The edge for which this visualization applies.
const bool myAmClosedEdge
whether this edge instance visualizes a closed edge
A road/street connecting two junctions (gui-version)
GUITriggeredRerouter(const std::string &id, const MSEdgeVector &edges, double prob, const std::string &aXMLFilename, bool off, SUMOTime timeThreshold, const std::string &vTypes, SUMORTree &rtree)
Constructor.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void myEndElement(int element)
Called when a closing tag occurs.
std::vector< MSEdge * > MSEdgeVector
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
Boundary myBoundary
The boundary of this rerouter.
Stores the information about how to visualize structures.
virtual ~GUITriggeredRerouterEdge()
std::vector< Position > PosCont
Definition of a positions container.
long onCmdOverride(FXObject *, FXSelector, void *)