69 void draw(
const Position& pos,
double layer,
double size = 0.5)
const;
void draw(const Position &pos, double layer, double size=0.5) const
draw lock icon
SumoXMLTag
Numbers representing SUMO-XML - element names.
virtual void startGeometryMoving()=0
GNEShape & operator=(const GNEShape &)=delete
Invalidated assignment operator.
Boundary myMovingGeometryBoundary
boundary used during moving of elements
Stores the information about how to visualize structures.
virtual std::string getAttribute(SumoXMLAttr key) const =0
bool isAttributeCarrierSelected() const
check if attribute carrier is selected
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.
GNEShape(GNENet *net, SumoXMLTag tag, bool movementBlocked)
Constructor.
virtual Boundary getCenteringBoundary() const =0
Returns the boundary to which the view shall be centered in order to show the object.
virtual void setGenericParametersStr(const std::string &value)=0
set generic parameters in string format
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 selectAttributeCarrier(bool changeFlag=true)
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
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.
virtual void mouseOverObject(const GUIVisualizationSettings &s) const =0
method for check if mouse is over objects
bool isMovementBlocked() const
return true if movement is blocked
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 std::string getGenericParametersStr() const =0
return generic parameters in string format
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
virtual std::vector< std::pair< std::string, std::string > > getGenericParameters() const =0
return generic parameters as vector of pairs format
virtual void endGeometryMoving()=0
begin movement (used when user click over edge to start a movement, to avoid problems with problems w...
virtual void updateGeometry(bool updateGrid)=0
update pre-computed geometry information
GNENet * getNet() const
get Net in which this element is placed
void unselectAttributeCarrier(bool changeFlag=true)
unselect attribute carrier using GUIGlobalSelection
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.
A window containing a gl-object's parameter.