SumoXMLTag
Numbers representing SUMO-XML - element names.
virtual const std::string & getParentName() const =0
Returns the name of the parent object.
GUIIcon
An enumeration of icons used by the gui applications.
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.
virtual std::string getAttribute(SumoXMLAttr key) const =0
This functions has to be implemented in all GNEAttributeCarriers.
A NBNetBuilder extended by visualisation and editing capabilities.
virtual Position getPositionInView() const =0
Returns position of additional in view.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
virtual Boundary getCenteringBoundary() const =0
Returns the boundary to which the view shall be centered in order to show the object.
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.
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
A point in 2D or 3D with translation and scaling methods.
bool isMovementBlocked() const
return true if movement is blocked
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
virtual void updateGeometry()=0
update pre-computed geometry information
virtual GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own parameter window.
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
GNENet * getNet() const
get Net in which this element is placed
virtual GUIGlID getGlID() const =0
Returns the numerical id of the object.
Static storage of an output device and its base (abstract) implementation.
virtual GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own popup-menu.
bool isShapeBlocked() const
return true if shape is blocked
A window containing a gl-object's parameter.