19 #ifndef GUITriggeredRerouter_h 20 #define GUITriggeredRerouter_h 64 const std::string& aXMLFilename,
bool off,
66 const std::string& vTypes,
213 long onCmdOpenManip(FXObject*, FXSelector,
void*);
225 MID_USER_DEF = FXDialogBox::ID_LAST,
239 long onCmdOverride(FXObject*, FXSelector,
void*);
240 long onCmdClose(FXObject*, FXSelector,
void*);
241 long onCmdUserDef(FXObject*, FXSelector,
void*);
242 long onUpdUserDef(FXObject*, FXSelector,
void*);
243 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...
FXRealSpinner * myUsageProbabilityDial
FXDataTarget myChosenTarget
std::vector< GUITriggeredRerouterEdge * > myEdgeVisualizations
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.
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.
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.
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.