20 #ifndef GNEStoppingPlace_h
21 #define GNEStoppingPlace_h
SumoXMLTag
Numbers representing SUMO-XML - element names.
SUMOReal getStartPosition() const
Returns the Start position of the stoppingPlace.
void commmitAdditionalGeometryMoved(SUMOReal oldPosx, SUMOReal oldPosy, GNEUndoList *undoList)
updated geometry changes in the attributes of additional
void setStartPosition(SUMOReal startPos)
Set a new Start position in StoppingPlace.
void setPosition(const Position &pos)
Invalidate set new position in the view.
Stores the information about how to visualize structures.
RGBColor myTextColorSelected
Text color selected (Default blue)
A NBNetBuilder extended by visualisation and editing capabilities.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
SUMOReal myEndPos
The end position this stopping place is located at.
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
method for setting the attribute and letting the object perform additional changes ...
A point in 2D or 3D with translation and scaling methods.
virtual std::string getAttribute(SumoXMLAttr key) const =0
RGBColor mySignColor
sign color (Default yellow)
RGBColor myTextColor
Text color (Default cyan)
SUMOReal myStartPos
The start position this stopping place is located at.
~GNEStoppingPlace()
Destructor.
void moveAdditionalGeometry(SUMOReal offsetx, SUMOReal offsety)
change the position of the StoppingPlace geometry
void setEndPosition(SUMOReal endPos)
Set a new End position in StoppingPlace.
GNEStoppingPlace(const std::string &id, GNEViewNet *viewNet, SumoXMLTag tag, GNELane *lane, SUMOReal startPos, SUMOReal endPos, bool blocked=false)
Constructor.
virtual void writeAdditional(OutputDevice &device, const std::string ¤tDirectory)=0
writte additional element into a xml file
An Element which don't belongs to GNENet but has influency in the simulation.
virtual void updateGeometry()=0
update pre-computed geometry information
Static storage of an output device and its base (abstract) implementation.
const std::string & getParentName() const
Returns the name of the parent object (if any)
Position mySignPos
The position of the sign.
Position getPositionInView() const
Returns position of StoppingPlace in view.
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
method for checking if the key and their conrrespond attribute are valids
SUMOReal getEndPosition() const
Returns the End position of the stoppingPlace.
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
RGBColor mySignColorSelected
sign selected color (Default blue)