 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef GUITriggeredRerouter_h
19 #define GUITriggeredRerouter_h
63 const std::string& aXMLFilename,
bool off,
65 const std::string& vTypes,
263 long onCmdClose(FXObject*, FXSelector,
void*);
std::vector< GUITriggeredRerouterEdge * > myEdgeVisualizations
A window containing a gl-object's parameter.
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.
long onCmdShiftProbs(FXObject *, FXSelector, void *)
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.
const MSEdge * getEdge() const
FXDataTarget myChosenTarget
void shiftProbs()
shit route probabilities
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.
const RerouterEdgeType myEdgeType
whether this edge instance visualizes a closed edge
long onUpdUserDef(FXObject *, FXSelector, void *)
MSEdge * myEdge
The edge for which this visualization applies.
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.
RerouterEdgeType getRerouterEdgeType() const
int myDistIndex
the index for this in edge in routeProbs
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.
GUITriggeredRerouterEdge(GUIEdge *edge, GUITriggeredRerouter *parent, RerouterEdgeType edgeType, int distIndex=-1)
Stores the information about how to visualize structures.
virtual ~GUITriggeredRerouterEdge()
std::vector< Position > PosCont
Definition of a positions container.
void onLeftBtnPress(void *data)
notify object about left click
long onCmdOverride(FXObject *, FXSelector, void *)