59 bool off,
bool optional,
SUMOTime timeThreshold,
60 const std::string& vTypes,
const Position& pos,
const double radius,
252 long onCmdClose(FXObject*, FXSelector,
void*);
std::vector< MSEdge * > MSEdgeVector
A class that stores a 2D geometrical boundary.
A road/street connecting two junctions (gui-version)
A window containing a gl-object's parameter.
long onUpdUserDef(FXObject *, FXSelector, void *)
virtual ~GUIManip_TriggeredRerouter()
Destructor.
FXRealSpinner * myUsageProbabilityDial
GUIManip_TriggeredRerouter()
long onCmdClose(FXObject *, FXSelector, void *)
long onCmdChangeOption(FXObject *, FXSelector, void *)
FXDataTarget myChosenTarget
GUITriggeredRerouter * myObject
long onCmdShiftProbs(FXObject *, FXSelector, void *)
long onCmdUserDef(FXObject *, FXSelector, void *)
FXDataTarget myUsageProbabilityTarget
double myUsageProbability
std::vector< Position > PosCont
Definition of a positions container.
const MSEdge * getEdge() const
void onLeftBtnPress(void *data) override
notify object about left click
Boundary myBoundary
The boundary of this rerouter.
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
MSEdge * myEdge
The edge for which this visualization applies.
const RerouterEdgeType myEdgeType
whether this edge instance visualizes a closed edge
virtual ~GUITriggeredRerouterEdge()
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
std::vector< double > myHalfWidths
The sign half-widths.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own parameter window.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
int myDistIndex
the index for this in edge in routeProbs
std::vector< double > RotCont
Definition of a rotation container.
PosCont myFGPositions
The positions in full-geometry mode.
GUITriggeredRerouter * myParent
The parent rerouter to which this edge instance belongs.
RerouterEdgeType getRerouterEdgeType() const
RotCont myFGRotations
The rotations in full-geometry mode.
Reroutes vehicles passing an edge One rerouter can be active on multiple edges. To reduce drawing loa...
double getExaggeration(const GUIVisualizationSettings &s) const override
return exaggeration associated with this GLObject
Boundary getCenteringBoundary() const override
Returns the boundary to which the view shall be centered in order to show the object.
std::vector< GUITriggeredRerouterEdge * > myEdgeVisualizations
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own popup-menu.
void shiftProbs()
shift route probabilities
void myEndElement(int element) override
Called when a closing tag occurs.
GUIManipulator * openManipulator(GUIMainWindow &app, GUISUMOAbstractView &parent)
void drawGL(const GUIVisualizationSettings &s) const override
Draws the object.
~GUITriggeredRerouter()
Destructor.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own parameter window.
Boundary myBoundary
The boundary of this rerouter.
Stores the information about how to visualize structures.
A road/street connecting two junctions.
Reroutes traffic objects passing an edge.
A point in 2D or 3D with translation and scaling methods.
static const Position INVALID
used to indicate that a position is valid
A RT-tree for efficient storing of SUMO's GL-objects.