20 #ifndef GNEStoppingPlace_h 21 #define GNEStoppingPlace_h SumoXMLTag
Numbers representing SUMO-XML - element names.
void setPosition(const Position &pos)
Invalidate set new position in the view.
GUIIcon
An enumeration of icons used by the gui applications.
void setEndPosition(double endPos)
Set a new End position in StoppingPlace.
Stores the information about how to visualize structures.
GNEStoppingPlace(const std::string &id, GNEViewNet *viewNet, SumoXMLTag tag, GUIIcon icon, GNELane *lane, double startPos, double endPos)
Constructor.
Position getPositionInView() const
Returns position of StoppingPlace in view.
RGBColor myTextColorSelected
Text color selected (Default blue)
virtual void writeAdditional(OutputDevice &device) const =0
writte additional element into a xml file
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.
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
method for setting the attribute and letting the object perform additional changes ...
void setStartPosition(double startPos)
Set a new Start position in StoppingPlace.
double myEndPos
The end position this stopping place is located at.
double getEndPosition() const
Returns the End position of the stoppingPlace.
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)
const std::string & getParentName() const
Returns the name of the parent object (if any)
void moveAdditionalGeometry(double offsetx, double offsety)
change the position of the StoppingPlace geometry
~GNEStoppingPlace()
Destructor.
double getStartPosition() const
Returns the Start position of the stoppingPlace.
An Element which don't belongs to GNENet but has influency in the simulation.
virtual void updateGeometry()=0
update pre-computed geometry information
double myStartPos
The start position this stopping place is located at.
Static storage of an output device and its base (abstract) implementation.
void commmitAdditionalGeometryMoved(double oldPosx, double oldPosy, GNEUndoList *undoList)
updated geometry changes in the attributes of additional
Position mySignPos
The position of the sign.
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
method for checking if the key and their conrrespond attribute are valids
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
RGBColor mySignColorSelected
sign selected color (Default blue)