36 const std::vector<GNEJunction*>& junctionParents,
37 const std::vector<GNEEdge*>& edgeParents,
38 const std::vector<GNELane*>& laneParents,
39 const std::vector<GNEAdditional*>& additionalParents,
40 const std::vector<GNEShape*>& shapeParents,
41 const std::vector<GNETAZElement*>& TAZElementParents,
42 const std::vector<GNEDemandElement*>& demandElementParents,
43 const std::vector<GNEGenericData*>& genericDataParents) :
45 GNEHierarchicalElement(net, tag, junctionParents, edgeParents, laneParents, additionalParents, shapeParents, TAZElementParents, demandElementParents, genericDataParents) {
SumoXMLTag
Numbers representing SUMO-XML - element names.
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
A class that stores a 2D geometrical boundary.
static T parse(const std::string &string)
parses a value of type T from string (used for basic types: int, double, bool, etc....
const std::string & getTagStr() const
get tag assigned to this object in string format
GNENet * getNet() const
get pointer to net
const std::vector< GNELane * > & getParentLanes() const
get parent lanes
void replaceParentElements(T *elementChild, const U &newParents)
replace parent elements
A NBNetBuilder extended by visualisation and editing capabilities.
std::string getHierarchyName() const
get Hierarchy Name (Used in AC Hierarchy)
void disableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
void enableAttribute(SumoXMLAttr key, GNEUndoList *undoList)
Boundary myBoundary
object boundary
std::string getPopUpID() const
get PopPup ID (Used in AC Hierarchy)
void shiftLaneIndex()
shift lane index
Boundary getCenteringBoundary() const
Returns the boundary to which the view shall be centered in order to show the object.
GNEShape(const std::string &id, GNENet *net, 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.
void toogleAttribute(SumoXMLAttr key, const bool value, const int previousParameters)
method for enable or disable the attribute and nothing else (used in GNEChange_EnableAttribute)
GUIGlObject * getGUIGlObject()
get GUIGlObject associated with this AttributeCarrier
const std::string & getID() const
get ID (all shapes have one)
bool isAttributeComputed(SumoXMLAttr key) const
void replaceShapeParentLanes(const std::string &value)
replace shape parent lanes
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.