 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
66 double layer,
double angle,
const std::string& imgFile,
bool relativePath,
double width,
double height,
bool movementBlocked);
85 double layer,
double angle,
const std::string& imgFile,
bool relativePath,
GNELane* lane,
double posOverLane,
86 double posLat,
double width,
double height,
bool movementBlocked);
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNEPOI & operator=(const GNEPOI &)=delete
Invalidated assignment operator.
A window containing a gl-object's parameter.
const std::string getID() const
function to support debugging
bool isAttributeEnabled(SumoXMLAttr key) const
Static storage of an output device and its base (abstract) implementation.
void endGeometryMoving()
begin movement (used when user click over edge to start a movement, to avoid problems with problems w...
A NBNetBuilder extended by visualisation and editing capabilities.
GNEPOI(const GNEPOI &)=delete
Invalidated copy constructor.
void commitGeometryMoving(const Position &oldPos, GNEUndoList *undoList)
commit geometry changes in the attributes of an element after use of moveGeometry(....
void moveGeometry(const Position &oldPos, const Position &offset)
change the position of the element geometry without saving in undoList
bool isValid(SumoXMLAttr key, const std::string &value)
method for checking if the key and their correspond attribute are valids
SumoXMLTag
Numbers representing SUMO-XML - element names.
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
method for setting the attribute and letting the object perform additional changes
const GUIGlObject * getGUIGlObject() const
get GUIGlObject associated to this GNEShape
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.
Position myOriginalViewPosition
position used for move POILanes
A class that stores a 2D geometrical boundary.
A point in 2D or 3D with translation and scaling methods.
void updateGeometry()
update pre-computed geometry information
void writeShape(OutputDevice &device)
writte shape element into a xml file
std::string getAttribute(SumoXMLAttr key) const
method for getting the Attribute of an XML key
std::string getParentName() const
Returns the name of the parent object.
Stores the information about how to visualize structures.
Position myGEOPosition
Position of POI in GEO coordinates (Only used by POIs that aren't placed over lanes)
void startGeometryMoving()
Position getPositionInView() const
Returns position of additional in view.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
void drawGL(const GUIVisualizationSettings &s) const
Draws the object.
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
GUIGlID getGlID() const
Returns the numerical id of the object.
std::string generateChildID(SumoXMLTag childTag)
gererate a new ID for an element child