59 const std::vector<GNEJunction*>& junctionParents,
60 const std::vector<GNEEdge*>& edgeParents,
61 const std::vector<GNELane*>& laneParents,
62 const std::vector<GNEAdditional*>& additionalParents,
63 const std::vector<GNEShape*>& shapeParents,
64 const std::vector<GNETAZElement*>& TAZElementParents,
65 const std::vector<GNEDemandElement*>& demandElementParents,
66 const std::vector<GNEGenericData*>& genericDataParents);
77 const std::string&
getID()
const;
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
An Element which don't belongs to GNENet but has influency in the simulation.
An Element which don't belongs to GNENet but has influency in the simulation.
A NBNetBuilder extended by visualisation and editing capabilities.
GNENetworkElement(const GNENetworkElement &)=delete
Invalidated copy constructor.
virtual bool isAttributeEnabled(SumoXMLAttr key) const =0
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
virtual void drawGL(const GUIVisualizationSettings &s) const =0
Draws the object.
virtual std::string getAttribute(SumoXMLAttr key) const =0
virtual double getExaggeration(const GUIVisualizationSettings &s) const =0
return exaggeration asociated with this GLObject
GNENetworkElement & operator=(const GNENetworkElement &)=delete
Invalidated assignment operator.
void setShapeEdited(const bool value)
set shape edited
void toogleAttribute(SumoXMLAttr key, const bool value, const int previousParameters)
method for enable or disable the attribute and nothing else (used in GNEChange_EnableAttribute)
virtual GNEMoveOperation * getMoveOperation()=0
get move operation
bool myShapeEdited
flag to check if element shape is being edited
GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own parameter window.
GNENetworkElement(GNENet *net, const std::string &id, GUIGlObjectType type, SumoXMLTag tag, const std::vector< GNEJunction * > &junctionParents, const std::vector< GNEEdge * > &edgeParents, const std::vector< GNELane * > &laneParents, const std::vector< GNEAdditional * > &additionalParents, const std::vector< GNEShape * > &shapeParents, const std::vector< GNETAZElement * > &TAZElementParents, const std::vector< GNEDemandElement * > &demandElementParents, const std::vector< GNEGenericData * > &genericDataParents)
Constructor.
virtual bool isValid(SumoXMLAttr key, const std::string &value)=0
virtual Position getPositionInView() const =0
Returns position of hierarchical element in view.
virtual void updateGeometry()=0
update pre-computed geometry information
virtual const std::map< std::string, std::string > & getACParametersMap() const =0
get parameters map
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
bool isShapeEdited() const
check if shape is being edited
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
virtual ~GNENetworkElement()
Destructor.
virtual void updateCenteringBoundary(const bool updateGrid)=0
update centering boundary (implies change in RTREE)
virtual void setAttribute(SumoXMLAttr key, const std::string &value)=0
set attribute after validation
virtual void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0
const std::string & getID() const
get ID
GUIGlObject * getGUIGlObject()
get GUIGlObject associated with this AttributeCarrier
virtual GUIGLObjectPopupMenu * getPopUpMenu(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own popup-menu.
Boundary myBoundary
object boundary
A window containing a gl-object's parameter.
Stores the information about how to visualize structures.
A point in 2D or 3D with translation and scaling methods.