SumoXMLTag
Numbers representing SUMO-XML - element names.
A NBNetBuilder extended by visualisation and editing capabilities.
bool checkDrawingBoundarySelection() const
GNENetworkElement(const GNENetworkElement &)=delete
Invalidated copy constructor.
void closeShapeEdited(GNEUndoList *undoList)
close shape edited
virtual bool isNetworkElementValid() const
check if current network element is valid to be written into XML (by default true,...
void setFirstGeometryPointShapeEdited(const int index, GNEUndoList *undoList)
set first geometry point shape edited
void openShapeEdited(GNEUndoList *undoList)
open shape edited
GUIGlObject * getGUIGlObject() override
get GUIGlObject associated with this AttributeCarrier
GNEContour myNetworkElementContour
network element contour
GNENetworkElement & operator=(const GNENetworkElement &)=delete
Invalidated assignment operator.
GNEHierarchicalElement * getHierarchicalElement() override
get GNEHierarchicalElement associated with this AttributeCarrier
bool isGLObjectLocked() const override
check if element is locked
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent) override
Returns an own parameter window.
void setShapeEdited(const bool value)
set shape edited
int getGeometryPointUnderCursorShapeEdited() const
get index geometry point under cursor of shape edited
bool myShapeEdited
flag to check if element shape is being edited
void simplifyShapeEdited(GNEUndoList *undoList)
simplify shape edited
void straigthenShapeEdited(GNEUndoList *undoList)
straighten shape edited
GUIGLObjectPopupMenu * getShapeEditedPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent, const PositionVector &shape)
get shape edited popup menu
void markAsFrontElement() override
mark element as front element
void deleteGeometryPointShapeEdited(const int index, GNEUndoList *undoList)
delete geometry point shape edited
void resetShapeEdited(GNEUndoList *undoList)
reset shape edited
void selectGLObject() override
select element
virtual const std::string getOptionalName() const override
Returns the name of the object (default "")
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
void setNetworkElementID(const std::string &newID)
set network element id
bool isShapeEdited() const
check if shape is being edited
int getVertexIndex(const PositionVector &shape, const Position &pos)
return index of a vertex of shape, or of a new vertex if position is over an shape's edge
virtual ~GNENetworkElement()
Destructor.
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
virtual std::string getNetworkElementProblem() const
return a string with the current network element problem (by default empty, can be reimplemented in c...
A window containing a gl-object's parameter.
A point in 2D or 3D with translation and scaling methods.