 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GNERouteProbReroute_h
17 #define GNERouteProbReroute_h
An Element which don't belongs to GNENet but has influency in the simulation.
std::string getParentName() const
Returns the name of the parent object.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
std::string getAttribute(SumoXMLAttr key) const
~GNERouteProbReroute()
destructor
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
double getAttributeDouble(SumoXMLAttr key) const
void updateGeometry()
update pre-computed geometry information
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
A road/street connecting two junctions (netedit-version)
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GNERouteProbReroute(GNERerouterIntervalDialog *rerouterIntervalDialog)
constructor (Used in GNERerouterIntervalDialog)
A class that stores a 2D geometrical boundary.
bool isAttributeEnabled(SumoXMLAttr key) const
A point in 2D or 3D with translation and scaling methods.
GNERouteProbReroute(const GNERouteProbReroute &)=delete
Invalidated copy constructor.
GNERouteProbReroute & operator=(const GNERouteProbReroute &)=delete
Invalidated assignment operator.
Position getPositionInView() const
Returns position of additional in view.
double myProbability
probability with which a vehicle will use the given edge as destination
Stores the information about how to visualize structures.
std::string myNewRouteId
id of new route
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void commitGeometryMoving(GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
void splitEdgeGeometry(const double splitPosition, const GNENetElement *originalElement, const GNENetElement *newElement, GNEUndoList *undoList)
split geometry
Dialog for edit rerouter intervals.
void moveGeometry(const Position &offset)
change the position of the element geometry without saving in undoList