67 double layer,
double angle,
const std::string& imgFile,
bool relativePath,
double width,
double height,
bool movementBlocked);
86 double layer,
double angle,
const std::string& imgFile,
bool relativePath,
GNELane* lane,
double posOverLane,
87 double posLat,
double width,
double height,
bool movementBlocked);
void startGeometryMoving()
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.
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, bool relativePath, double width, double height, bool movementBlocked)
Constructor.
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.
GNELane * getLane() const
get GNELane
Position myOriginalViewPosition
position used for move POILanes
A class that stores a 2D geometrical boundary.
void mouseOverObject(const GUIVisualizationSettings &s) const
method for check if mouse is over objects
std::string getGenericParametersStr() const
return generic parameters in string format
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.
std::string getParentName() const
Returns the name of the parent object.
const std::string getID() const
function to support debugging
void updateGeometry(bool updateGrid)
update pre-computed geometry information
void setGenericParametersStr(const std::string &value)
set generic parameters in string format
Position myGEOPosition
Position of POI in GEO coordinates (Only used by POIs that aren't placed over lanes) ...
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
std::vector< std::pair< std::string, std::string > > getGenericParameters() const
return generic parameters as vector of pairs format
Static storage of an output device and its base (abstract) implementation.
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNELane * myGNELane
GNElane in which this POILane is placed (Only used by POIs placed over lanes)
A window containing a gl-object's parameter.
void endGeometryMoving()
begin movement (used when user click over edge to start a movement, to avoid problems with problems w...