19 #ifndef GNEStoppingPlace_h 20 #define GNEStoppingPlace_h SumoXMLTag
Numbers representing SUMO-XML - element names.
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
bool areStoppingPlacesPositionsFixed() const
check if Position of stoppingPlace are fixed
GUIIcon
An enumeration of icons used by the gui applications.
GNEStoppingPlace(const std::string &id, GNEViewNet *viewNet, SumoXMLTag tag, GUIIcon icon, GNELane *lane, double startPos, double endPos, const std::string &name, bool friendlyPosition)
Constructor.
Stores the information about how to visualize structures.
Position getPositionInView() const
Returns position of additional in view.
double getAbsoluteEndPosition() const
get absolute end Position
virtual void writeAdditional(OutputDevice &device) const =0
writte additional element into a xml file
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
bool myFriendlyPosition
Flag for friendly position.
void moveGeometry(const Position &oldPos, const Position &offset)
change the position of the element geometry without saving in undoList
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 ...
GNELane * getLane() const
get Lane
A point in 2D or 3D with translation and scaling methods.
virtual std::string getAttribute(SumoXMLAttr key) const =0
This functions has to be implemented in all GNEAttributeCarriers.
GNELane * myLane
The lane in which this lane is placed.
const std::string & getParentName() const
Returns the name of the parent object (if any)
~GNEStoppingPlace()
Destructor.
std::string myName
name of stoppingPlace
An Element which don't belongs to GNENet but has influency in the simulation.
double myEndPosRelative
The relative [0,1] end position this stopping place is located at.
double myStartPosRelative
The relative [0,1] start position this stopping place is located at.
virtual void updateGeometry()=0
update pre-computed geometry information
void setStoppingPlaceGeometry()
set geometry common to all stopping places
Static storage of an output device and its base (abstract) implementation.
Position mySignPos
The position of the sign.
double getAbsoluteStartPosition() const
get absolute start Position
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.
void setPosition(const Position &pos)=delete
Invalidate set new position in the view.