SumoXMLTag
Numbers representing SUMO-XML - element names.
GUIIcon
An enumeration of icons used by the gui applications.
virtual const std::string & getParentName() const =0
Returns the name of the parent object.
GNEShape & operator=(const GNEShape &)=delete
Invalidated assignment operator.
Stores the information about how to visualize structures.
GNEShape(GNENet *net, SumoXMLTag tag, GUIIcon icon, bool movementBlocked, bool shapeBlocked)
Constructor.
A NBNetBuilder extended by visualisation and editing capabilities.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
bool isMovementBlocked() const
return true if movement is blocked
GNENet * myNet
the net to inform about updates
virtual void writeShape(OutputDevice &device)=0
writte shape element into a xml file
A class that stores a 2D geometrical boundary.
virtual std::string getAttribute(SumoXMLAttr key) const =0
This functions has to be implemented in allGNEAttributeCarrier.
void drawLockIcon(const Position &pos, double layer, double size=0.5) const
draw lock icon
bool myBlockShape
flag for block shape
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
bool myBlockMovement
flag to block movement
virtual Boundary getCenteringBoundary() const =0
Returns the boundary to which the view shall be centered in order to show the object.
A point in 2D or 3D with translation and scaling methods.
void setShapeVisible(bool visible)
set flag to enable or disable if shape is visible
GNENet * getNet() const
get Net in which this element is placed
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
virtual GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own parameter window.
virtual Position getPositionInView() const =0
Returns position of additional in view.
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
bool myShapeVisible
flag for visible shape
bool isShapeBlocked() const
return true if shape is blocked
Static storage of an output device and its base (abstract) implementation.
bool isShapeVisible() const
check if shape is visible (Was added into view using insertPolygon/POIInView)
virtual GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own popup-menu.
A window containing a gl-object's parameter.