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