![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEShape.h>


Public Member Functions | |
| void | decRef (const std::string &debugMsg="") |
| Decrease reference. More... | |
| void | drawLockIcon (const Position &pos, double layer, double size=0.5) const |
| draw lock icon More... | |
| virtual std::string | getAttributeForSelection (SumoXMLAttr key) const |
| method for getting the attribute in the context of object selection More... | |
| virtual GUIGlID | getGlID () const =0 |
| Returns the numerical id of the object. More... | |
| FXIcon * | getIcon () const |
| get FXIcon associated to this AC More... | |
| const std::string | getID () const |
| function to support debugging More... | |
| GNENet * | getNet () const |
| get Net in which this element is placed More... | |
| virtual Position | getPositionInView () const =0 |
| Returns position of additional in view. More... | |
| SumoXMLTag | getTag () const |
| get XML Tag assigned to this object More... | |
| GNEShape (GNENet *net, SumoXMLTag tag, bool movementBlocked, bool shapeBlocked) | |
| Constructor. More... | |
| void | incRef (const std::string &debugMsg="") |
| Increarse reference. More... | |
| bool | isMovementBlocked () const |
| return true if movement is blocked More... | |
| bool | isShapeBlocked () const |
| return true if shape is blocked More... | |
| template<> | |
| int | parse (const std::string &string) |
| template<> | |
| double | parse (const std::string &string) |
| template<> | |
| bool | parse (const std::string &string) |
| template<> | |
| std::string | parse (const std::string &string) |
| template<> | |
| SUMOVehicleClass | parse (const std::string &string) |
| template<> | |
| RGBColor | parse (const std::string &string) |
| template<> | |
| Position | parse (const std::string &string) |
| template<> | |
| SUMOVehicleShape | parse (const std::string &string) |
| template<> | |
| std::vector< std::string > | parse (const std::string &string) |
| template<> | |
| std::vector< int > | parse (const std::string &string) |
| template<> | |
| std::vector< double > | parse (const std::string &string) |
| template<> | |
| std::vector< bool > | parse (const std::string &string) |
| template<> | |
| std::vector< GNEEdge * > | parse (GNENet *net, const std::string &value) |
| template<> | |
| std::vector< GNELane * > | parse (GNENet *net, const std::string &value) |
| template<> | |
| std::string | parseIDs (const std::vector< GNEEdge *> &ACs) |
| template<> | |
| std::string | parseIDs (const std::vector< GNELane *> &ACs) |
| bool | unreferenced () |
| check if object ins't referenced More... | |
| virtual void | updateGeometry (bool updateGrid)=0 |
| update pre-computed geometry information More... | |
| virtual void | writeShape (OutputDevice &device)=0 |
| writte shape element into a xml file More... | |
| ~GNEShape () | |
| Destructor. More... | |
functions for edit geometry | |
begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree) | |
| virtual void | startGeometryMoving ()=0 |
| virtual void | endGeometryMoving ()=0 |
| begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree) More... | |
inherited from GUIPolygon/GUIPointOfInterest | |
| virtual GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)=0 |
| Returns an own popup-menu. More... | |
| virtual GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)=0 |
| Returns an own parameter window. More... | |
| virtual Boundary | getCenteringBoundary () const =0 |
| Returns the boundary to which the view shall be centered in order to show the object. More... | |
| virtual void | drawGL (const GUIVisualizationSettings &s) const =0 |
| Draws the object. More... | |
inherited from GNEAttributeCarrier | |
select attribute carrier using GUIGlobalSelection | |
| void | selectAttributeCarrier (bool changeFlag=true) |
| void | unselectAttributeCarrier (bool changeFlag=true) |
| unselect attribute carrier using GUIGlobalSelection More... | |
| bool | isAttributeCarrierSelected () const |
| check if attribute carrier is selected More... | |
| virtual std::string | getAttribute (SumoXMLAttr key) const =0 |
| virtual void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)=0 |
| virtual bool | isValid (SumoXMLAttr key, const std::string &value)=0 |
| std::string | getPopUpID () const |
| get PopPup ID (Used in AC Hierarchy) More... | |
| std::string | getHierarchyName () const |
| get Hierarchy Name (Used in AC Hierarchy) More... | |
This functions related with generic parameters has to be implemented in all GNEAttributeCarriers | |
| virtual bool | addGenericParameter (const std::string &key, const std::string &value)=0 |
| add generic parameter More... | |
| virtual bool | removeGenericParameter (const std::string &key)=0 |
| remove generic parameter More... | |
| virtual bool | updateGenericParameter (const std::string &oldKey, const std::string &newKey)=0 |
| update generic parameter More... | |
| virtual bool | updateGenericParameterValue (const std::string &key, const std::string &newValue)=0 |
| update value generic parameter More... | |
| virtual std::string | getGenericParametersStr () const =0 |
| return generic parameters in string format More... | |
| virtual std::vector< std::pair< std::string, std::string > > | getGenericParameters () const =0 |
| return generic parameters as vector of pairs format More... | |
| virtual void | setGenericParametersStr (const std::string &value)=0 |
| set generic parameters in string format More... | |
Static Public Member Functions | |
| static std::vector< SumoXMLTag > | allowedAdditionalTags (bool onlyDrawables) |
| get all editable for tag additional elements More... | |
| static std::vector< SumoXMLTag > | allowedNetElementsTags (bool onlyDrawables) |
| get all editable for tag net elements More... | |
| static std::vector< SumoXMLTag > | allowedShapeTags (bool onlyDrawables) |
| get all editable for tag shape elements More... | |
| static std::vector< SumoXMLTag > | allowedTags (bool onlyDrawables) |
| get all editable for tag elements of all types More... | |
| template<typename T > | |
| static bool | canParse (const std::string &string) |
| true if a value of type T can be parsed from string More... | |
| template<typename T > | |
| static bool | canParse (GNENet *net, const std::string &value, bool report) |
| true if a value of type T can be parsed from string More... | |
| static int | getCircleResolution (const GUIVisualizationSettings &settings) |
| function to calculate circle resolution for all circles drawn in drawGL(...) functions More... | |
| static int | getHigherNumberOfAttributes () |
| return the number of attributes of the tag with the most highter number of attributes More... | |
| static const TagValues & | getTagProperties (SumoXMLTag tag) |
| get Tag Properties More... | |
| static bool | isGenericParametersValid (const std::string &value) |
| check if given string can be parsed to a map/list of generic parameters More... | |
| template<typename T > | |
| static T | parse (const std::string &string) |
| parses a value of type T from string (used for basic types: int, double, bool, etc.) More... | |
| template<typename T > | |
| static T | parse (GNENet *net, const std::string &value) |
| parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More... | |
| template<typename T > | |
| static T | parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort) |
| Parse attribute from XML and show warnings if there are problems parsing it. More... | |
| template<typename T > | |
| static std::string | parseIDs (const std::vector< T > &ACs) |
| parses a list of specific Attribute Carriers into a string of IDs More... | |
| static bool | parseStringToANDBool (const std::string &string) |
| parse a string of booleans (1 0 1 1....) using AND operation More... | |
Static Public Attributes | |
| static const double | INVALID_POSITION = -1000000 |
| default value for invalid positions (used by POIs and Polygons) More... | |
Certain attributes and ACs (for example, connections) can be either loaded or guessed. The following static variables are used to remark it. | |
feature is still unchanged after being loaded (implies approval) | |
| static const std::string | FEATURE_LOADED = "loaded" |
| static const std::string | FEATURE_GUESSED = "guessed" |
| feature has been reguessed (may still be unchanged be we can't tell (yet) More... | |
| static const std::string | FEATURE_MODIFIED = "modified" |
| feature has been manually modified (implies approval) More... | |
| static const std::string | FEATURE_APPROVED = "approved" |
| feature has been approved but not changed (i.e. after being reguessed) More... | |
Static Protected Member Functions | |
| static void | fillAttributeCarriers () |
| fill Attribute Carriers More... | |
Protected Attributes | |
| bool | myBlockMovement |
| flag to block movement More... | |
| bool | myBlockShape |
| flag for block shape More... | |
| Boundary | myMovingGeometryBoundary |
| boundary used during moving of elements More... | |
| GNENet * | myNet |
| the net to inform about updates More... | |
| bool | mySelected |
| boolean to check if this AC is selected (instead of GUIGlObjectStorage) More... | |
| const SumoXMLTag | myTag |
| the xml tag to which this attribute carrier corresponds More... | |
Static Protected Attributes | |
| static std::map< SumoXMLTag, TagValues > | myAllowedTags |
| map with the tags values More... | |
Private Member Functions | |
| GNEShape (const GNEShape &)=delete | |
| Invalidated copy constructor. More... | |
| virtual void | mouseOverObject (const GUIVisualizationSettings &s) const =0 |
| method for check if mouse is over objects More... | |
| GNEShape & | operator= (const GNEShape &)=delete |
| Invalidated assignment operator. More... | |
| virtual void | setAttribute (SumoXMLAttr key, const std::string &value)=0 |
| set attribute after validation More... | |
Definition at line 49 of file GNEShape.h.
|
inherited |
struct with the tag Properties
Definition at line 68 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 202 of file GNEAttributeCarrier.h.
| GNEShape::GNEShape | ( | GNENet * | net, |
| SumoXMLTag | tag, | ||
| bool | movementBlocked, | ||
| bool | shapeBlocked | ||
| ) |
Constructor.
| [in] | net | The net to inform about gui updates |
| [in] | tag | sumo xml tag of the element |
| [in] | movementBlocked | if movement of POI is blocked |
| [in] | shapeBlocked | if shape of POI is blocked |
Definition at line 39 of file GNEShape.cpp.
| GNEShape::~GNEShape | ( | ) |
Destructor.
Definition at line 47 of file GNEShape.cpp.
|
privatedelete |
Invalidated copy constructor.
|
pure virtual |
|
staticinherited |
get all editable for tag additional elements
Definition at line 856 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNEAdditionalFrame::AdditionalSelector::AdditionalSelector(), GNENet::computeEverything(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNENet::GNENet(), GNEAdditionalFrame::AdditionalSelector::onCmdselectAttributeCarrier(), and GNESelectorFrame::MatchAttribute::onCmdSelMBTag().
|
staticinherited |
get all editable for tag net elements
Definition at line 839 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNESelectorFrame::MatchAttribute::enableMatchAttribute(), and GNESelectorFrame::MatchAttribute::onCmdSelMBTag().
|
staticinherited |
get all editable for tag shape elements
Definition at line 873 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNEPolygonFrame::ShapeSelector::onCmdselectAttributeCarrier(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), and GNEPolygonFrame::ShapeSelector::ShapeSelector().
|
staticinherited |
get all editable for tag elements of all types
Definition at line 822 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 480 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::parse().
Referenced by GNECrossing::isValid(), GNECalibratorRoute::isValid(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildRerouter(), and GNEAdditionalHandler::parseAndBuildVariableSpeedSign().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 499 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::parse(), GNEAttributeCarrier::parseIDs(), GNEAttributeCarrier::parseStringToANDBool(), and WRITE_WARNING.
|
inlineinherited |
Decrease reference.
Definition at line 55 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), GNENet::~GNENet(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
pure virtual |
Draws the object.
| [in] | s | The settings for the current view (may influence drawing) |
| void GNEShape::drawLockIcon | ( | const Position & | pos, |
| double | layer, | ||
| double | size = 0.5 |
||
| ) | const |
draw lock icon
Definition at line 69 of file GNEShape.cpp.
References GUITexturesHelper::drawTexturedBox(), GUITextureSubSys::getTexture(), GNENet::getViewNet(), GNETEXTURE_EMPTY, GNETEXTURE_EMPTYSELECTED, GNETEXTURE_LOCK, GNETEXTURE_LOCKSELECTED, myBlockMovement, myNet, GNEAttributeCarrier::mySelected, GNEViewNet::showLockIcon(), Position::x(), and Position::y().
Referenced by GNEPOI::drawGL().
|
pure virtual |
|
staticprotectedinherited |
fill Attribute Carriers
Definition at line 949 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_COMBINABLE, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUE, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_NONEDITABLE, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_PROBABILITY, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SYNONYM, GNEAttributeCarrier::ATTRPROPERTY_TIME, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_RELATIVEPATH, Shape::DEFAULT_TYPE, DEFAULT_VTYPE_ID, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_ACCESS, ICON_BUSSTOP, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONNECTION, ICON_CONTAINERSTOP, ICON_CROSSING, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_EDGE, ICON_FLOW, ICON_JUNCTION, ICON_LANE, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTE, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LaneSpreadFunctions, SUMOXMLDefinitions::LateralAlignments, GNEAttributeCarrier::myAllowedTags, NODETYPE_DEAD_END_DEPRECATED, SUMOXMLDefinitions::NodeTypes, SUMO_ATTR_ACCEL, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_BEGIN, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONT, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DECEL, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_END, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FILL, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_INDEX, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LANE, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LANES, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LAYER, SUMO_ATTR_LENGTH, SUMO_ATTR_LINE, SUMO_ATTR_LINES, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_OFF, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PASS, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_PRIORITY, SUMO_ATTR_PROB, SUMO_ATTR_RADIUS, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_REROUTE, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SIGMA, SUMO_ATTR_SPEED, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STARTPOS, SUMO_ATTR_TAU, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VCLASS, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBILITY_DISTANCE, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONNECTION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_CROSSING, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_EDGE, SUMO_TAG_FLOW, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, GNEAttributeCarrier::TAGPROPERTY_ADDITIONAL, GNEAttributeCarrier::TAGPROPERTY_AUTOMATICSORTING, GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT, GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE, GNEAttributeCarrier::TAGPROPERTY_CLOSESHAPE, GNEAttributeCarrier::TAGPROPERTY_DETECTOR, GNEAttributeCarrier::TAGPROPERTY_DIALOG, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_GEOPOSITION, GNEAttributeCarrier::TAGPROPERTY_GEOSHAPE, GNEAttributeCarrier::TAGPROPERTY_MINIMUMCHILDS, GNEAttributeCarrier::TAGPROPERTY_NETELEMENT, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_REPARENT, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SHAPE, GNEAttributeCarrier::TAGPROPERTY_STOPPINGPLACE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGPROPERTY_WRITECHILDSSEPARATE, toString(), SUMOXMLDefinitions::TrafficLightTypes, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.
Referenced by GNEAttributeCarrier::allowedAdditionalTags(), GNEAttributeCarrier::allowedNetElementsTags(), GNEAttributeCarrier::allowedShapeTags(), GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::getHigherNumberOfAttributes(), GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTagProperties().
|
pure virtual |
Implements GNEAttributeCarrier.
Implemented in GNEPOI, and GNEPoly.
Referenced by GNENet::insertShape(), and GNENet::removeShape().
|
virtualinherited |
method for getting the attribute in the context of object selection
Reimplemented in GNEEdge, and GNELane.
Definition at line 776 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute().
|
pure virtual |
|
staticinherited |
function to calculate circle resolution for all circles drawn in drawGL(...) functions
Definition at line 935 of file GNEAttributeCarrier.cpp.
References GUIVisualizationSettings::drawForSelecting, and GUIVisualizationSettings::scale.
Referenced by GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEJunction::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), and GNEAttributeCarrier::parseAttributeFromXML().
|
pure virtual |
return generic parameters as vector of pairs format
Implements GNEAttributeCarrier.
|
pure virtual |
return generic parameters in string format
Implements GNEAttributeCarrier.
|
pure virtual |
Returns the numerical id of the object.
Implemented in GNEPOI, and GNEPoly.
Referenced by selectAttributeCarrier(), and unselectAttributeCarrier().
|
virtual |
get Hierarchy Name (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 142 of file GNEShape.cpp.
References GNEAttributeCarrier::getTag(), and toString().
|
staticinherited |
return the number of attributes of the tag with the most highter number of attributes
Definition at line 890 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), MAX2(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNEAdditionalFrame::AdditionalAttributes::AdditionalAttributes(), GNEInspectorFrame::AttributesEditor::AttributesEditor(), and GNEPolygonFrame::ShapeAttributes::ShapeAttributes().
|
inherited |
get FXIcon associated to this AC
Definition at line 788 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::myAllowedTags, and GNEAttributeCarrier::myTag.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), GNEFrame::ACHierarchy::createPopUpMenu(), GNEAdditional::getPopUpMenu(), and GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
virtualinherited |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 798 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.
Referenced by GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNELane::addShapeChild(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalHandler::buildRerouterInterval(), GNENet::changeShapeID(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::generateAdditionalChildID(), GNEAdditionalFrame::generateID(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNERouteProbe::getAttribute(), GNEDestProbReroute::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouterInterval::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEClosingReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNEAccess::getParentName(), GNECalibratorFlow::getParentName(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), getPopUpID(), GNEAdditionalHandler::getPosition(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), GNEAdditional::isRouteValid(), GNEAccess::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::crossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildCalibratorFlow(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildCalibratorVehicleType(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorE3(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEAdditionalHandler::parseAndBuildParkingSpace(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildRerouterClosingLaneReroute(), GNEAdditionalHandler::parseAndBuildRerouterClosingReroute(), GNEAdditionalHandler::parseAndBuildRerouterDestProbReroute(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEAdditionalHandler::parseAndBuildRerouterParkingAreaReroute(), GNEAdditionalHandler::parseAndBuildRerouterRouteProbReroute(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEAdditionalHandler::parseAndBuildVariableSpeedSign(), GNEAdditionalHandler::parseAndBuildVariableSpeedSignStep(), GNEPolygonFrame::processClick(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Shape::redo(), GNEChange_Junction::redo(), GNEChange_TLS::redo(), GNEChange_Connection::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeOfAdditionalParents(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNELane::removeLaneOfAdditionalParents(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Connection::undo(), GNEChange_Additional::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), GNEAdditional::writeAdditional(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().
| GNENet * GNEShape::getNet | ( | ) | const |
get Net in which this element is placed
Definition at line 51 of file GNEShape.cpp.
References myNet.
|
pure virtual |
Returns an own parameter window.
| [in] | app | The application needed to build the parameter window |
| [in] | parent | The parent window needed to build the parameter window |
|
virtual |
get PopPup ID (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 136 of file GNEShape.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), and toString().
|
pure virtual |
Returns an own popup-menu.
| [in] | app | The application needed to build the popup-menu |
| [in] | parent | The parent window needed to build the popup-menu |
|
pure virtual |
|
inherited |
get XML Tag assigned to this object
Definition at line 782 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTag.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNELane::addShapeChild(), GNEViewNet::beginMoveSelection(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditional::checkAdditionalChildRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNEDetectorE3::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetector::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNENet::deleteShape(), GNEAdditional::drawLockIcon(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEDetectorE3::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNECrossing::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouter::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNEPOI::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNECalibratorRoute::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibratorVehicleType::getHierarchyName(), GNECalibrator::getHierarchyName(), GNEDetector::getHierarchyName(), GNENetElement::getHierarchyName(), getHierarchyName(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNERerouterInterval::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEParkingSpace::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), getPopUpID(), GNEAdditional::getPopUpMenu(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional::GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectElement(), GNEAdditional::isRouteValid(), GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNECrossing::isValid(), GNERerouterInterval::isValid(), GNERouteProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEVariableSpeedSign::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibratorVehicleType::isValid(), GNECalibrator::isValid(), GNEConnection::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNEJunction::isValid(), GNEEdge::isValid(), GNEAdditional::isValidAdditionalID(), GNECalibratorFlowDialog::onCmdAccept(), GNECalibratorVehicleTypeDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEAdditional::openAdditionalDialog(), GNEAdditionalHandler::parseGenericParameter(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEAdditionalFrame::removeAdditional(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedElements::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::retrieveShapes(), GNEChargingStation::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE2::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEDetectorE3::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNECrossing::setAttribute(), GNERerouterInterval::setAttribute(), GNEClosingReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNECalibratorFlow::setAttribute(), GNEParkingSpace::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNECalibrator::setAttribute(), GNEConnection::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), GNEAdditional::setDefaultValues(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditional::sortAdditionalChilds(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().
|
staticinherited |
get Tag Properties
Definition at line 807 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myAllowedTags, and toString().
Referenced by GNEAdditionalFrame::addAdditional(), GNEAdditional::addAdditionalChild(), GNEAdditionalFrame::AdditionalAttributes::addAttribute(), GNEPolygonFrame::ShapeAttributes::addAttribute(), GNEAdditionalFrame::AdditionalAttributes::areValuesValid(), GNEPolygonFrame::ShapeAttributes::areValuesValid(), GNEAdditional::checkAdditionalChildsOverlapping(), GNENet::computeAndUpdate(), GNENet::deleteAdditional(), GNEAdditional::drawLockIcon(), GNECrossingFrame::crossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEAdditional::getPopUpMenu(), GNEAdditionalFrame::AdditionalAttributeSingle::getValue(), GNEPolygonFrame::ShapeAttributeSingle::getValue(), GNEAdditional::GNEAdditional(), GNEChange_Additional::GNEChange_Additional(), GNEDialog_AllowDisallow::GNEDialog_AllowDisallow(), GNESelectorFrame::handleIDs(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNEAdditionalFrame::AdditionalAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetColorAttribute(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEFrame::openHelpAttributesDialog(), GNEAttributeCarrier::parseAttributeFromXML(), GNEViewNet::SelectingArea::processSelection(), GNEInspectorFrame::AttributesEditor::refreshAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor(), GNEAdditional::removeAdditionalChild(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::replaceInListAttribute(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNEAdditionalFrame::AdditionalSelector::setCurrentAdditional(), GNEPolygonFrame::ShapeSelector::setCurrentShape(), GNEAdditional::setDefaultValues(), GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::AttributesEditor::showAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::AdditionalAttributeSingle::showParameter(), GNEPolygonFrame::ShapeAttributeSingle::showParameter(), GNEAdditionalFrame::AdditionalAttributes::showWarningMessage(), GNEPolygonFrame::ShapeAttributes::showWarningMessage(), GNEAdditional::sortAdditionalChilds(), GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor(), and GNEAdditional::writeAdditional().
|
inlineinherited |
Increarse reference.
Definition at line 70 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by GNEEdge::addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE2(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNENet::computeEverything(), GNEChange_Attribute::GNEChange_Attribute(), GNENet::GNENet(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().
|
virtual |
check if attribute carrier is selected
Implements GNEAttributeCarrier.
Definition at line 130 of file GNEShape.cpp.
References GNEAttributeCarrier::mySelected.
Referenced by GNEPoly::drawGL(), GNEPoly::getAttribute(), GNEPOI::getAttribute(), GNENet::insertShape(), GNENet::removeShape(), and GNENet::retrieveShapes().
|
staticinherited |
check if given string can be parsed to a map/list of generic parameters
Definition at line 905 of file GNEAttributeCarrier.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), and StringTokenizer::next().
Referenced by GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEContainerStop::isValid(), GNEBusStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDetectorE3::isValid(), GNECrossing::isValid(), GNEDestProbReroute::isValid(), GNERerouterInterval::isValid(), GNERouteProbReroute::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEParkingAreaReroute::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouter::isValid(), GNEAccess::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibratorVehicleType::isValid(), GNECalibrator::isValid(), GNEConnection::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), GNEJunction::isValid(), GNEEdge::isValid(), and GNEFrame::GenericParametersEditor::onCmdSetGenericParameter().
| bool GNEShape::isMovementBlocked | ( | ) | const |
return true if movement is blocked
Definition at line 57 of file GNEShape.cpp.
References myBlockMovement.
Referenced by GNEViewNet::onLeftBtnPress().
| bool GNEShape::isShapeBlocked | ( | ) | const |
return true if shape is blocked
Definition at line 63 of file GNEShape.cpp.
References myBlockShape.
Referenced by GNEViewNet::onLeftBtnPress(), and GNEViewNet::onMouseMove().
|
pure virtual |
Implements GNEAttributeCarrier.
|
privatepure virtual |
method for check if mouse is over objects
Implements GNEAttributeCarrier.
Implemented in GNEPoly, and GNEPOI.
Definition at line 148 of file GNEShape.cpp.
|
staticinherited |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by GNEAttributeCarrier::canParse(), and GNECalibratorRoute::isValid().
|
staticinherited |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
|
inherited |
Definition at line 589 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2int().
|
inherited |
Definition at line 595 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2double().
|
inherited |
Definition at line 601 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2Bool().
|
inherited |
Definition at line 607 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 613 of file GNEAttributeCarrier.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
|
inherited |
Definition at line 625 of file GNEAttributeCarrier.cpp.
References RGBColor::parseColor().
|
inherited |
Definition at line 631 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 647 of file GNEAttributeCarrier.cpp.
References SumoVehicleShapeStrings, and SVS_UNKNOWN.
|
inherited |
Definition at line 657 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
|
inherited |
Definition at line 663 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 674 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 685 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 696 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 714 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveLane(), SUMO_ATTR_LANES, SUMO_TAG_LANE, and toString().
|
inlinestaticinherited |
Parse attribute from XML and show warnings if there are problems parsing it.
Definition at line 527 of file GNEAttributeCarrier.h.
References canParseVehicleClasses(), SUMOSAXAttributes::get(), GNEAttributeCarrier::getCircleResolution(), GNEAttributeCarrier::getTagProperties(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidNetID(), SUMO_ATTR_EDGES, SUMO_ATTR_GUISHAPE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VCLASS, toString(), and WRITE_WARNING.
|
staticinherited |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by GNEAttributeCarrier::canParse(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSign::getAttribute(), and GNERerouter::getAttribute().
|
inherited |
Definition at line 732 of file GNEAttributeCarrier.cpp.
References joinToString().
|
inherited |
Definition at line 743 of file GNEAttributeCarrier.cpp.
References joinToString().
|
staticinherited |
parse a string of booleans (1 0 1 1....) using AND operation
Definition at line 754 of file GNEAttributeCarrier.cpp.
Referenced by GNEAttributeCarrier::canParse(), and GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute().
|
pure virtual |
|
virtual |
Implements GNEAttributeCarrier.
Definition at line 104 of file GNEShape.cpp.
References getGlID(), gSelected, myNet, GNEAttributeCarrier::mySelected, and GUISelectedStorage::select().
Referenced by GNENet::insertShape(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().
|
pure virtual |
Implements GNEAttributeCarrier.
|
privatepure virtual |
|
pure virtual |
set generic parameters in string format
Implements GNEAttributeCarrier.
|
inlineinherited |
check if object ins't referenced
Definition at line 81 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
virtual |
unselect attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 117 of file GNEShape.cpp.
References GUISelectedStorage::deselect(), getGlID(), gSelected, myNet, and GNEAttributeCarrier::mySelected.
Referenced by GNENet::removeShape(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().
|
pure virtual |
|
pure virtual |
|
pure virtual |
update pre-computed geometry information
Implemented in GNEPOI, and GNEPoly.
Referenced by GNELane::addShapeChild().
|
pure virtual |
|
staticinherited |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 416 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 410 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::setAttribute(), and GNEEdge::setAttribute().
|
staticinherited |
Definition at line 407 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been manually modified (implies approval)
Definition at line 413 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::onCmdClearSelectedConnections().
|
staticinherited |
default value for invalid positions (used by POIs and Polygons)
Definition at line 523 of file GNEAttributeCarrier.h.
|
staticprotectedinherited |
map with the tags values
Definition at line 757 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::allowedAdditionalTags(), GNEAttributeCarrier::allowedNetElementsTags(), GNEAttributeCarrier::allowedShapeTags(), GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::getHigherNumberOfAttributes(), GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTagProperties().
|
protected |
flag to block movement
Definition at line 202 of file GNEShape.h.
Referenced by GNEPOI::commitGeometryMoving(), GNEPoly::commitShapeChange(), GNEPoly::drawGL(), drawLockIcon(), GNEPoly::getAttribute(), GNEPOI::getAttribute(), isMovementBlocked(), GNEPoly::moveEntireShape(), GNEPOI::moveGeometry(), GNEPoly::moveVertexShape(), GNEPOI::setAttribute(), and GNEPoly::setAttribute().
|
protected |
flag for block shape
Definition at line 205 of file GNEShape.h.
Referenced by GNEPoly::drawGL(), GNEPoly::getAttribute(), isShapeBlocked(), GNEPoly::moveEntireShape(), GNEPoly::moveVertexShape(), and GNEPoly::setAttribute().
|
protected |
boundary used during moving of elements
Definition at line 199 of file GNEShape.h.
Referenced by GNEPOI::endGeometryMoving(), GNEPOI::getCenteringBoundary(), and GNEPOI::startGeometryMoving().
|
protected |
the net to inform about updates
Definition at line 196 of file GNEShape.h.
Referenced by GNEPoly::changeFirstGeometryPoint(), GNEPoly::closePolygon(), GNEPoly::deleteGeometryPoint(), GNEPoly::drawGL(), GNEPOI::drawGL(), drawLockIcon(), GNEPOI::endGeometryMoving(), getNet(), GNEPoly::getParentName(), GNEPOI::getParentName(), GNEPoly::getPopUpMenu(), GNEPoly::isValid(), GNEPOI::isValid(), GNEPoly::mouseOverObject(), GNEPoly::openPolygon(), selectAttributeCarrier(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNEPoly::simplifyShape(), unselectAttributeCarrier(), and GNEPOI::updateGeometry().
|
protectedinherited |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 742 of file GNEAttributeCarrier.h.
Referenced by GNEAccess::drawGL(), drawLockIcon(), GNEAdditional::drawLockIcon(), GNENetElement::isAttributeCarrierSelected(), isAttributeCarrierSelected(), GNEAdditional::isAttributeCarrierSelected(), GNENetElement::selectAttributeCarrier(), selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), unselectAttributeCarrier(), and GNEAdditional::unselectAttributeCarrier().
|
protectedinherited |
the xml tag to which this attribute carrier corresponds
Definition at line 754 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTag().