68 double layer,
double angle,
const std::string& imgFile,
double width,
double height,
bool movementBlocked);
GNEPOI(GNENet *net, const std::string &id, const std::string &type, const RGBColor &color, const Position &pos, bool geo, double layer, double angle, const std::string &imgFile, double width, double height, bool movementBlocked)
Constructor.
const std::string & getParentName() const
Returns the name of the parent object.
Position getPositionInView() const
Returns position of additional in view.
void moveGeometry(const Position &oldPos, const Position &offset)
change the position of the element geometry without saving in undoList
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
GUIGlID getGlID() const
Returns the numerical id of the object.
Stores the information about how to visualize structures.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes ...
GNEPOI & operator=(const GNEPOI &)=delete
Invalidated assignment operator.
GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own popup-menu.
A NBNetBuilder extended by visualisation and editing capabilities.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their correspond attribute are valids
A point in 2D or 3D with translation and scaling methods.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
const std::string getID() const
function to support debugging
const std::string & getType() const
Returns the (abstract) type of the Shape.
Position myGEOPosition
Position of POI in GEO coordinates.
void updateGeometry()
update pre-computed geometry information
std::string getAttribute(SumoXMLAttr key) const
method for getting the Attribute of an XML key
void writeShape(OutputDevice &device)
writte shape element into a xml file
Static storage of an output device and its base (abstract) implementation.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
A window containing a gl-object's parameter.