71 GNEPOI(
GNENet* net,
const std::string&
id,
const std::string& type,
const RGBColor& color,
double layer,
double angle,
72 const std::string& imgFile,
const Position& pos,
double width,
double height,
bool movementBlocked);
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.
GNEPOI(GNENet *net, const std::string &id, const std::string &type, const RGBColor &color, double layer, double angle, const std::string &imgFile, const Position &pos, double width, double height, bool movementBlocked)
Constructor.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
std::string getAttribute(SumoXMLAttr key) const
method for getting the Attribute of an XML key
A class that stores a 2D geometrical boundary.
void moveGeometry(const Position &newPosition)
change the position of the element geometry without saving in undoList
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(...)
static methods for processing the coordinates conversion for the current net
double myPositionOverLane
position over lane
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.
GNELane * myLane
lane in which this POI can be placed
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
const std::string & getParentName() const
Returns the name of the parent object.
const std::string getID() const
function to support debugging
Position getPositionInView() const
Returns position of additional in view.
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.