20 #ifndef GNEStoppingPlace_h 21 #define GNEStoppingPlace_h bool areStoppingPlacesPositionsFixed() const
check if Position of stoppingPlace are fixed
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(...)
void setPosition(const Position &pos)
Invalidate set new position in the view.
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.
double getAbsoluteStartPosition() const
get absolute start Position
Stores the information about how to visualize structures.
void moveGeometry(const Position &newPosition)
change the position of the element geometry without saving in undoList
A NBNetBuilder extended by visualisation and editing capabilities.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
bool myFriendlyPosition
Flag for friendly position.
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 ...
A point in 2D or 3D with translation and scaling methods.
~GNEStoppingPlace()
Destructor.
std::string myName
name of stoppingPlace
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
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.
virtual std::string getAttribute(SumoXMLAttr key) const =0
This functions has to be implemented in allGNEAttributeCarrier.
const std::string & getParentName() const
Returns the name of the parent object (if any)
double getAbsoluteEndPosition() const
get absolute end Position
Position mySignPos
The position of the sign.
virtual void writeAdditional(OutputDevice &device, bool volatileOptionsEnabled) const =0
writte additional element into a xml file
Position getPositionInView() const
Returns position of additional in view.
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
method for checking if the key and their conrrespond attribute are valids