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