GNERerouter & operator=(const GNERerouter &)
Invalidated assignment operator.
~GNERerouter()
Destructor.
Stores the information about how to visualize structures.
const std::string & getParentName() const
Returns the name of the parent object (if any)
void removeEdgeChild(GNEEdge *edge)
remove edge child
bool myOff
attribute to enable or disable inactive initially
std::string getAttribute(SumoXMLAttr key) const
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void moveAdditionalGeometry(SUMOReal offsetx, SUMOReal offsety)
change the position of the rerouter geometry
GNERerouter(const std::string &id, GNEViewNet *viewNet, Position pos, std::vector< GNEEdge * > edges, const std::string &filename, SUMOReal probability, bool off)
Constructor.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their conrrespond attribute are valids
void setRerouterIntervals(const std::vector< GNERerouterInterval > &rerouterIntervals)
set rerouter intervals
std::string myFilename
filename of rerouter
A point in 2D or 3D with translation and scaling methods.
const std::vector< GNERerouterInterval > & getRerouterIntervals() const
get rerouter intervals
void writeAdditional(OutputDevice &device) const
writte additional element into a xml file
A road/street connecting two junctions (netedit-version)
std::vector< GNEEdge * > myEdges
edges of Rerouter
void commmitAdditionalGeometryMoved(SUMOReal oldPosx, SUMOReal oldPosy, GNEUndoList *undoList)
updated geometry changes in the attributes of additional
An Element which don't belongs to GNENet but has influency in the simulation.
void addEdgeChild(GNEEdge *edge)
add edge child
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
void updateGeometry()
update pre-computed geometry information
Position getPositionInView() const
Returns position of Rerouter in view.
Static storage of an output device and its base (abstract) implementation.
SUMOReal myProbability
probability of rerouter
std::vector< GNERerouterInterval > myRerouterIntervals
set with the GNERerouterInterval
void openAdditionalDialog()
open GNERerouterDialog