22 #ifndef GUITriggeredRerouter_h 23 #define GUITriggeredRerouter_h 72 const std::string& aXMLFilename,
bool off,
219 long onCmdOpenManip(FXObject*, FXSelector,
void*);
231 MID_USER_DEF = FXDialogBox::ID_LAST,
245 long onCmdOverride(FXObject*, FXSelector,
void*);
246 long onCmdClose(FXObject*, FXSelector,
void*);
247 long onCmdUserDef(FXObject*, FXSelector,
void*);
248 long onUpdUserDef(FXObject*, FXSelector,
void*);
249 long onCmdChangeOption(FXObject*, FXSelector,
void*);
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
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.
GUITriggeredRerouter(const std::string &id, const MSEdgeVector &edges, double prob, const std::string &aXMLFilename, bool off, SUMORTree &rtree)
Constructor.
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.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
A class that stores a 2D geometrical boundary.
std::vector< double > RotCont
Definition of a rotation container.
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.
GUIManip_TriggeredRerouter()
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
const bool myAmClosedEdge
whether this edge instance visualizes a closed edge
virtual ~GUITriggeredRerouterEdge()
GUITriggeredRerouter * myObject
Boundary myBoundary
The boundary of this rerouter.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
RotCont myFGRotations
The rotations in full-geometry mode.
FXRealSpinDial * myUsageProbabilityDial
Reroutes vehicles passing an edge.
FXDataTarget myUsageProbabilityTarget
double myUsageProbability
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.
PosCont myFGPositions
The positions in full-geometry mode.