69const std::vector<GNELaneTemplate*>&
@ SUMO_TAG_EDGE
begin/end of the description of an edge
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
Position getCommonAttributePosition(SumoXMLAttr key) const
double getAttributeDouble(SumoXMLAttr key) const override
PositionVector getAttributePositionVector(SumoXMLAttr key) const override
std::string getAttribute(SumoXMLAttr key) const override
bool checkDrawFromContour() const override
check if draw from contour (green)
bool isAttributeEnabled(SumoXMLAttr key) const
~GNEEdgeTemplate()
Destructor.
GNEEdgeTemplate(const GNEEdge *edge)
Constructor.
bool checkDrawSelectContour() const override
check if draw select contour (blue)
const GNEEdge * myEdge
pointer to original edge
bool checkDrawToContour() const override
check if draw from contour (magenta)
bool checkDrawDeleteContour() const override
check if draw delete contour (pink/white)
Parameterised * getParameters() override
get parameters associated with this edgeTemplate
void setAttribute(SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) override
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
PositionVector getAttributePositionVector(SumoXMLAttr key) const
bool isValid(SumoXMLAttr key, const std::string &value) override
const std::vector< GNELaneTemplate * > & getLaneTemplates() const
get vector with the lane templates of this edge
bool checkDrawDeleteContourSmall() const override
check if draw delete contour small (pink/white)
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
GNEHierarchicalElement * getHierarchicalElement()
get GNEHierarchicalElement associated with this AttributeCarrier
bool checkDrawRelatedContour() const override
check if draw related contour (cyan)
bool checkDrawOverContour() const override
check if draw over contour (orange)
bool checkDrawMoveContour() const override
check if draw move contour (red)
std::string getAttribute(SumoXMLAttr key) const override
GNEMoveElement * getMoveElement() const override
methods to retrieve the elements linked to this edgeTemplate
void updateGeometry() override
update pre-computed geometry information
Position getAttributePosition(SumoXMLAttr key) const override
GUIGlObject * getGUIGlObject() override
get GUIGlObject associated with this AttributeCarrier
double getAttributeDouble(SumoXMLAttr key) const override
void updateLaneTemplates()
update lane templates
std::vector< GNELaneTemplate * > myLaneTemplates
vector with the lane templates of this edge
const GNEHierarchicalContainerChildren< GNELane * > & getChildLanes() const
get child lanes
std::string getPopUpID() const override
get PopPup ID (Used in AC Hierarchy)
std::string getHierarchyName() const override
get Hierarchy Name (Used in AC Hierarchy)
An upper class for objects with additional parameters.
A point in 2D or 3D with translation and scaling methods.