![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A road/street connecting two junctions (netedit-version) More...
#include <GNEEdge.h>
Public Member Functions | ||||
void | clearGNEConnections () | |||
clear current connections More... | ||||
void | commitShapeChange (const PositionVector &oldShape, GNEUndoList *undoList) | |||
commit geometry changes in the attributes of an element after use of changeShapeGeometry(...) More... | ||||
void | copyTemplate (GNEEdge *tpl, GNEUndoList *undolist) | |||
copy edge attributes from tpl More... | ||||
void | decRef (const std::string &debugMsg="") | |||
Decrease reference. More... | ||||
void | deleteGeometryPoint (const Position &pos, bool allowUndo=true) | |||
delete the geometry point closest to the given pos More... | ||||
void | drawChildConnections (const GUIVisualizationSettings &s, const GUIGlObjectType GLTypeParent) const | |||
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const | |||
Draws additional, user-triggered visualisations. More... | ||||
void | drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const | |||
draw name of item More... | ||||
void | drawPartialPersonPlan (const GUIVisualizationSettings &s, const GNEDemandElement *personPlan, const GNEJunction *junction) const | |||
draw partial person plan More... | ||||
void | drawPartialRoute (const GUIVisualizationSettings &s, const GNEDemandElement *route, const GNEJunction *junction) const | |||
draw partial route More... | ||||
void | drawPartialTripFromTo (const GUIVisualizationSettings &s, const GNEDemandElement *tripOrFromTo, const GNEJunction *junction) const | |||
draw partial trip and Flow More... | ||||
void | editEndpoint (Position pos, GNEUndoList *undoList) | |||
makes pos the new geometry endpoint at the appropriate end, or remove current existent endpoint More... | ||||
std::string | generateChildID (SumoXMLTag childTag) | |||
gererate a new ID for an element child More... | ||||
const Position & | getChildPosition (const GNELane *lane) | |||
get child position calculated in ChildConnections More... | ||||
double | getChildRotation (const GNELane *lane) | |||
get child rotation calculated in ChildConnections More... | ||||
const std::vector< GNEConnection * > & | getGNEConnections () const | |||
returns a reference to the GNEConnection vector More... | ||||
std::vector< GNECrossing * > | getGNECrossings () | |||
get GNECrossings vinculated with this Edge More... | ||||
GNEJunction * | getGNEJunctionDestiny () const | |||
returns the destination-junction More... | ||||
GNEJunction * | getGNEJunctionSource () const | |||
returns the source-junction More... | ||||
FXIcon * | getIcon () const | |||
get FXIcon associated to this AC More... | ||||
const std::string | getID () const | |||
function to support debugging More... | ||||
GNELane * | getLaneByVClass (const SUMOVehicleClass vClass) const | |||
return the first lane that allow a vehicle of type vClass (or the first lane, if none was found) More... | ||||
GNELane * | getLaneByVClass (const SUMOVehicleClass vClass, bool &found) const | |||
return the first lane that allow a vehicle of type vClass (or the first lane, if none was found) More... | ||||
std::set< GUIGlID > | getLaneGlIDs () const | |||
returns GLIDs of all lanes More... | ||||
const std::vector< GNELane * > & | getLanes () const | |||
returns a reference to the lane vector More... | ||||
NBEdge * | getNBEdge () const | |||
returns the internal NBEdge More... | ||||
GNENet * | getNet () const | |||
get Net in which this element is placed More... | ||||
GNEEdge * | getOppositeEdge () const | |||
get opposite edge More... | ||||
int | getRouteProbeRelativePosition (GNERouteProbe *routeProbe) const | |||
obtain relative positions of RouteProbes More... | ||||
Position | getSplitPos (const Position &clickPos) | |||
const TagProperties & | getTagProperty () const | |||
get Tag Property assigned to this object More... | ||||
const std::string & | getTagStr () const | |||
get tag assigned to this object in string format More... | ||||
int | getVertexIndex (Position pos, bool createIfNoExist, bool snapToGrid) | |||
return index of a vertex of shape, or of a new vertex if position is over an shape's edge More... | ||||
int | getVertexIndex (const double offset, bool createIfNoExist, bool snapToGrid) | |||
return index of a vertex of shape, or of a new vertex if position is over an shape's edge More... | ||||
GNEEdge (NBEdge &nbe, GNENet *net, bool wasSplit=false, bool loaded=false) | ||||
Constructor. More... | ||||
bool | hasRestrictedLane (SUMOVehicleClass vclass) const | |||
check if edge has a restricted lane More... | ||||
void | incRef (const std::string &debugMsg="") | |||
Increarse reference. More... | ||||
void | moveEntireShape (const PositionVector &oldShape, const Position &offset) | |||
move entire shape without commiting change More... | ||||
int | moveVertexShape (const int index, const Position &oldPos, const Position &offset) | |||
change position of a vertex of shape without commiting change More... | ||||
template<> | ||||
int | parse (const std::string &string) | |||
template<> | ||||
double | parse (const std::string &string) | |||
template<> | ||||
SUMOTime | 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<> | ||||
PositionVector | parse (const std::string &string) | |||
template<> | ||||
SUMOVehicleShape | parse (const std::string &string) | |||
template<> | ||||
std::vector< std::string > | parse (const std::string &string) | |||
template<> | ||||
std::set< 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) | |||
void | remakeGNEConnections () | |||
remake connections More... | ||||
void | resetEndpoint (const Position &pos, GNEUndoList *undoList) | |||
restores the endpoint to the junction position at the appropriate end More... | ||||
GNEConnection * | retrieveGNEConnection (int fromLane, NBEdge *to, int toLane, bool createIfNoExist=true) | |||
get GNEConnection if exist, and if not create it if create is enabled More... | ||||
void | setGeometry (PositionVector geom, bool inner) | |||
update edge geometry and inform the lanes More... | ||||
void | setMicrosimID (const std::string &newID) | |||
override to also set lane ids More... | ||||
void | setResponsible (bool newVal) | |||
set responsibility for deleting internal strctures More... | ||||
void | smooth (GNEUndoList *undoList) | |||
make geometry smooth More... | ||||
void | smoothElevation (GNEUndoList *undoList) | |||
smooth elevation with regard to adjoining edges More... | ||||
PositionVector | smoothShape (const PositionVector &shape, bool forElevation) | |||
return smoothed shape More... | ||||
void | straightenElevation (GNEUndoList *undoList) | |||
interpolate z values linear between junctions More... | ||||
bool | unreferenced () | |||
check if object ins't referenced More... | ||||
virtual void | updateAdditionalParent () | |||
update parent after add or remove a child (can be reimplemented, for example used for statistics) More... | ||||
void | updateChildConnections () | |||
update child connections More... | ||||
virtual void | updateDemandElementParent () | |||
update parent after add or remove a child (can be reimplemented, for example used for statistics) More... | ||||
void | updateJunctionPosition (GNEJunction *junction, const Position &origPos) | |||
update edge geometry after junction move More... | ||||
bool | wasSplit () | |||
whether this edge was created from a split More... | ||||
~GNEEdge () | ||||
Destructor. More... | ||||
Functions related with geometry of element | ||||
update pre-computed geometry information | ||||
void | updateGeometry () | |||
update pre-computed geometry information More... | ||||
Position | getPositionInView () const | |||
Returns position of hierarchical element in view. More... | ||||
functions for edit start and end positions of shapes | ||||
return true if user clicked over ShapeStart | ||||
bool | clickedOverShapeStart (const Position &pos) | |||
bool | clickedOverShapeEnd (const Position &pos) | |||
return true if user clicked over ShapeEnd More... | ||||
void | moveShapeStart (const Position &oldPos, const Position &offset) | |||
move position of shape start without commiting change More... | ||||
void | moveShapeEnd (const Position &oldPos, const Position &offset) | |||
move position of shape end without commiting change More... | ||||
void | commitShapeStartChange (const Position &oldPos, GNEUndoList *undoList) | |||
commit position changing in shape start More... | ||||
void | commitShapeEndChange (const Position &oldPos, GNEUndoList *undoList) | |||
commit position changing in shape end 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) | ||||
void | startGeometryMoving () | |||
void | endGeometryMoving () | |||
begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree) More... | ||||
inherited from GUIGlObject | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own popup-menu. More... | ||||
Boundary | getCenteringBoundary () const | |||
Returns the boundary to which the view shall be centered in order to show the object. More... | ||||
const std::string | getOptionalName () const | |||
Returns the street name. More... | ||||
void | drawGL (const GUIVisualizationSettings &s) const | |||
Draws the object. More... | ||||
inherited from GNEAttributeCarrier | ||||
std::string | getAttribute (SumoXMLAttr key) const | |||
std::string | getAttributeForSelection (SumoXMLAttr key) const | |||
method for getting the attribute in the context of object selection More... | ||||
void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) | |||
bool | isValid (SumoXMLAttr key, const std::string &value) | |||
Function related with Generic Parameters | ||||
std::string | getGenericParametersStr () const | |||
return generic parameters in string format More... | ||||
std::vector< std::pair< std::string, std::string > > | getGenericParameters () const | |||
return generic parameters as vector of pairs format More... | ||||
void | setGenericParametersStr (const std::string &value) | |||
set generic parameters in string format More... | ||||
Functions related with geometry of element | ||||
get NetElementGeometry | ||||
const NetElementGeometry & | getGeometry () const | |||
inherited from GUIGlObject | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own parameter window. More... | ||||
inherited from GNEAttributeCarrier | ||||
void | selectAttributeCarrier (bool changeFlag=true) | |||
select attribute carrier using GUIGlobalSelection More... | ||||
void | unselectAttributeCarrier (bool changeFlag=true) | |||
unselect attribute carrier using GUIGlobalSelection More... | ||||
bool | isAttributeCarrierSelected () const | |||
check if attribute carrier is selected More... | ||||
bool | drawUsingSelectColor () const | |||
check if attribute carrier must be drawn using selecting color. More... | ||||
void | enableAttribute (SumoXMLAttr key, GNEUndoList *undoList) | |||
bool | isAttributeEnabled (SumoXMLAttr key) const | |||
std::string | getPopUpID () const | |||
get PopPup ID (Used in AC Hierarchy) More... | ||||
std::string | getHierarchyName () const | |||
get Hierarchy Name (Used in AC Hierarchy) More... | ||||
Atomar getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
virtual std::string | getParentName () const | |||
Returns the name of the parent object (if any) More... | ||||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. More... | ||||
interfaces to be implemented by derived classes | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) More... | ||||
virtual const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. More... | ||||
GUIGlObjectType | getType () const | |||
Returns the type of the object as coded in GUIGlObjectType. More... | ||||
virtual double | getColorValue (const GUIVisualizationSettings &, int) const | |||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
void | addParameterTable (GUIParameterTableWindow *w) | |||
void | removeParameterTable (GUIParameterTableWindow *w) | |||
Lets this object know a parameter window showing the object's values was closed. More... | ||||
members and functions related to edge parents | ||||
add edge parent | ||||
void | addEdgeParent (GNEEdge *edge) | |||
void | removeEdgeParent (GNEEdge *edge) | |||
remove edge parent More... | ||||
const std::vector< GNEEdge * > & | getEdgeParents () const | |||
get edge parents More... | ||||
members and functions related to lane parents | ||||
add lane parent | ||||
void | addLaneParent (GNELane *lane) | |||
void | removeLaneParent (GNELane *lane) | |||
remove lane parent More... | ||||
const std::vector< GNELane * > & | getLaneParents () const | |||
get lanes of VSS More... | ||||
members and functions related to shape parents | ||||
add shape parent | ||||
void | addShapeParent (GNEShape *shape) | |||
void | removeShapeParent (GNEShape *shape) | |||
remove shape parent More... | ||||
const std::vector< GNEShape * > & | getShapeParents () const | |||
get shapes of VSS More... | ||||
members and functions related to additional parents | ||||
add additional parent to this additional | ||||
void | addAdditionalParent (GNEAdditional *additional) | |||
void | removeAdditionalParent (GNEAdditional *additional) | |||
remove additional parent from this additional More... | ||||
const std::vector< GNEAdditional * > & | getAdditionalParents () const | |||
return vector of additionals that have as Parent this edge (For example, Calibrators) More... | ||||
members and functions related to demand element parents | ||||
add demand element parent to this demand element | ||||
void | addDemandElementParent (GNEDemandElement *demandElement) | |||
void | removeDemandElementParent (GNEDemandElement *demandElement) | |||
remove demand element parent from this demand element More... | ||||
const std::vector< GNEDemandElement * > & | getDemandElementParents () const | |||
return vector of demand elements that have as Parent this edge (For example, Calibrators) More... | ||||
members and functions related to edge children | ||||
add edge child | ||||
void | addEdgeChild (GNEEdge *edge) | |||
void | removeEdgeChild (GNEEdge *edge) | |||
remove edge child More... | ||||
const std::vector< GNEEdge * > & | getEdgeChildren () const | |||
get edge chidls More... | ||||
members and functions related to lane children | ||||
add lane child | ||||
void | addLaneChild (GNELane *lane) | |||
void | removeLaneChild (GNELane *lane) | |||
remove lane child More... | ||||
const std::vector< GNELane * > & | getLaneChildren () const | |||
get lanes of VSS More... | ||||
members and functions related to shape children | ||||
add shape child | ||||
void | addShapeChild (GNEShape *shape) | |||
void | removeShapeChild (GNEShape *shape) | |||
remove shape child More... | ||||
const std::vector< GNEShape * > & | getShapeChildren () const | |||
get shapes of VSS More... | ||||
members and functions related to additional children | ||||
add additional child to this additional | ||||
void | addAdditionalChild (GNEAdditional *additional) | |||
void | removeAdditionalChild (GNEAdditional *additional) | |||
remove additional child from this additional More... | ||||
const std::vector< GNEAdditional * > & | getAdditionalChildren () const | |||
return vector of additionals that have as Parent this edge (For example, Calibrators) More... | ||||
void | sortAdditionalChildren () | |||
sort children (used by Rerouters, VSS, TAZs...) More... | ||||
bool | checkAdditionalChildrenOverlapping () const | |||
check if children are overlapped (Used by Rerouters) More... | ||||
members and functions related to demand element children | ||||
add demand element child to this demand element | ||||
void | addDemandElementChild (GNEDemandElement *demandElement) | |||
void | removeDemandElementChild (GNEDemandElement *demandElement) | |||
remove demand element child from this demand element More... | ||||
const std::vector< GNEDemandElement * > & | getDemandElementChildren () const | |||
return vector of demand elements that have as Parent this edge (For example, Calibrators) More... | ||||
const std::set< GNEDemandElement * > & | getSortedDemandElementChildrenByType (SumoXMLTag tag) const | |||
return vector of demand elements that have as Parent this edge (For example, Calibrators) More... | ||||
void | sortDemandElementChildren () | |||
sort children (used by Rerouters, VSS, TAZs...) More... | ||||
bool | checkDemandElementChildrenOverlapping () const | |||
check if children are overlapped (Used by Rerouters) More... | ||||
GNEDemandElement * | getPreviousemandElement (const GNEDemandElement *demandElement) const | |||
get previous demand element to the given demand element More... | ||||
GNEDemandElement * | getNextDemandElement (const GNEDemandElement *demandElement) const | |||
get next demand element to the given demand element More... | ||||
Static Public Member Functions | |
static std::vector< SumoXMLTag > | allowedTags (bool onlyDrawables) |
get tags of all editable element types More... | |
static std::vector< SumoXMLTag > | allowedTagsByCategory (int tagPropertyCategory, bool onlyDrawables) |
get tags of all editable element types using TagProperty Type (TAGTYPE_NETELEMENT, TAGTYPE_ADDITIONAL, etc.) 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 GNEEdge & | getDummyEdge () |
Dummy edge to use when a reference must be supplied in the no-arguments constructor (FOX technicality) More... | |
static const TagProperties & | 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... | |
static bool | lanesConsecutives (const std::vector< GNELane *> &lanes) |
check if lanes are consecutives 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 Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static const double | INVALID_POSITION |
invalid double position More... | |
static const size_t | MAXNUMBEROFATTRIBUTES = 128 |
max number of attributes allowed for every tag More... | |
static const double | SNAP_RADIUS = SUMO_const_halfLaneWidth |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings 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... | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
void | changeEdgeChildren (GNEAdditional *elementChild, const std::string &newEdgeIDs) |
change edge children of an additional More... | |
void | changeLaneChildren (GNEAdditional *elementChild, const std::string &newEdgeIDs) |
change edge children of an additional More... | |
helper methods for building popup-menus | |
void | buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true) |
Builds the header. More... | |
void | buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to center to the object. More... | |
void | buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds entries which allow to copy the name / typed name into the clipboard. More... | |
void | buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to (de)select the object. More... | |
void | buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the parameter window. More... | |
void | buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the type parameter window. More... | |
void | buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More... | |
void | buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true) |
Builds an entry which allows to open the manipulator window. More... | |
members and functions relative to changing parents | |
void | changeEdgeParents (GNEShape *elementChild, const std::string &newEdgeIDs) |
change edge parents of a shape More... | |
void | changeEdgeParents (GNEAdditional *elementChild, const std::string &newEdgeIDs) |
change edge parents of an additional More... | |
void | changeEdgeParents (GNEDemandElement *elementChild, const std::string &newEdgeIDs) |
change edge parents of a demandElement More... | |
void | changeEdgeParents (GNEDemandElement *elementChild, const std::vector< GNEEdge *> &newEdges) |
change edge parents of a demandElement (GNEEdge version) More... | |
void | changeLaneParents (GNEShape *elementChild, const std::string &newLaneIDs) |
change edge parents of a shape More... | |
void | changeLaneParents (GNEAdditional *elementChild, const std::string &newLaneIDs) |
change edge parents of an additional More... | |
void | changeLaneParents (GNEDemandElement *elementChild, const std::string &newLaneIDs) |
change edge parents of a demandElement More... | |
void | changeAdditionalParent (GNEShape *shapeTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex) |
change additional parent of a shape More... | |
void | changeAdditionalParent (GNEAdditional *additionalTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex) |
change additional parent of an additional More... | |
void | changeAdditionalParent (GNEDemandElement *demandElementTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex) |
change additional parent of a demand element More... | |
void | changeDemandElementParent (GNEShape *shapeTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex) |
change first demand element parent of a shape More... | |
void | changeDemandElementParent (GNEAdditional *additionalTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex) |
change first demand element parent of an additional More... | |
void | changeDemandElementParent (GNEDemandElement *demandElementTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex) |
change first demand element parent of demandElement More... | |
Protected Attributes | |
bool | myAmResponsible |
whether we are responsible for deleting myNBNode More... | |
ChildConnections | myChildConnections |
variable ChildConnections More... | |
std::string | myConnectionStatus |
modification status of the connections More... | |
NetElementGeometry | myGeometry |
netElement geometry More... | |
ConnectionVector | myGNEConnections |
vector with the connections of this edge More... | |
GNEJunction * | myGNEJunctionDestiny |
pointer to GNEJunction destiny More... | |
GNEJunction * | myGNEJunctionSource |
pointer to GNEJunction source More... | |
LaneVector | myLanes |
vectgor with the lanes of this edge More... | |
Boundary | myMovingGeometryBoundary |
boundary used during moving of elements More... | |
PositionVector | myMovingShape |
variable used to save shape bevore moving (used to avoid inconsistences in GL Tree) More... | |
NBEdge & | myNBEdge |
the underlying NBEdge More... | |
GNENet * | myNet |
the net to inform about updates More... | |
ParentConnections | myParentConnections |
variable ParentConnections More... | |
bool | mySelected |
boolean to check if this AC is selected (instead of GUIGlObjectStorage) More... | |
const TagProperties & | myTagProperty |
the xml tag to which this attribute carrier corresponds More... | |
bool | myWasSplit |
whether this edge was created from a split More... | |
Static Protected Attributes | |
static TagProperties | dummyTagProperty |
dummy TagProperty used for reference some elements (for Example, dummyEdge) More... | |
Private Member Functions | |
void | addConnection (NBEdge::Connection nbCon, bool selectAfterCreation=false) |
adds a connection More... | |
void | addLane (GNELane *lane, const NBEdge::Lane &laneAttrs, bool recomputeConnections) |
increase number of lanes by one use the given attributes and restore the GNELane More... | |
void | drawEdgeName (const GUIVisualizationSettings &s) const |
draw edge name More... | |
void | drawGeometryPoints (const GUIVisualizationSettings &s) const |
draw geometry points More... | |
void | drawRerouterSymbol (const GUIVisualizationSettings &s, GNEAdditional *rerouter) const |
draw Rerouter symbols More... | |
GNEEdge (const GNEEdge &s)=delete | |
invalidated copy constructor More... | |
GNEEdge () | |
constructor for dummy edge More... | |
GNEEdge & | operator= (const GNEEdge &s)=delete |
invalidated assignment operator More... | |
void | removeConnection (NBEdge::Connection nbCon) |
removes a connection More... | |
void | removeEdgeFromCrossings (GNEJunction *junction, GNEUndoList *undoList) |
remove crossing of junction More... | |
void | removeLane (GNELane *lane, bool recomputeConnections) |
the number of lanes by one. argument is only used to increase robustness (assertions) More... | |
void | setAttribute (SumoXMLAttr key, const std::string &value) |
set attribute after validation More... | |
void | setNumLanes (int numLanes, GNEUndoList *undoList) |
changes the number of lanes. When reducing the number of lanes, higher-numbered lanes are removed first. When increasing the number of lanes, the last known attributes for a lane with this number are restored. If none are found the attributes for the leftmost lane are copied More... | |
void | setShapeEndPos (const Position &pos) |
change Shape EndPos More... | |
void | setShapeStartPos (const Position &pos) |
change Shape StartPos More... | |
Friends | |
class | GNEChange_Connection |
class | GNEChange_Lane |
Friend class. More... | |
A road/street connecting two junctions (netedit-version)
typedef std::vector<GNEConnection*> GNEEdge::ConnectionVector |
typedef std::vector<GNELane*> GNEEdge::LaneVector |
|
inherited |
struct with the tag Properties
Definition at line 66 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 301 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 281 of file GNEAttributeCarrier.h.
Constructor.
[in] | nbe | The represented edge |
[in] | net | The net to inform about gui updates |
[in] | loaded | Whether the edge was loaded from a file |
Definition at line 62 of file GNEEdge.cpp.
References NBEdge::getNumLanes(), myLanes, and myNBEdge.
GNEEdge::~GNEEdge | ( | ) |
Destructor.
Definition at line 89 of file GNEEdge.cpp.
References myAmResponsible, myGNEConnections, myLanes, myNBEdge, and WRITE_DEBUG.
|
privatedelete |
invalidated copy constructor
|
private |
|
inherited |
Definition at line 96 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myAdditionalChildren, GNEHierarchicalElementChildren::sortAdditionalChildren(), and GNEHierarchicalElementChildren::updateAdditionalParent().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignStep(), and GNEAdditionalHandler::builParkingAreaReroute().
|
inherited |
Definition at line 63 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, and GNEHierarchicalElementParents::myAdditionalParents.
|
private |
adds a connection
Definition at line 1755 of file GNEEdge.cpp.
References NBEdge::Connection::contPos, NBEdge::Connection::customShape, NBEdge::Connection::fromLane, GNEHierarchicalElementChildren::getAdditionalChildren(), GNEConnection::getLaneFrom(), GNEConnection::getLaneTo(), NBEdge::Connection::keepClear, NBEdge::L2L_USER, NBEdge::Connection::mayDefinitelyPass, myGNEConnections, myNBEdge, retrieveGNEConnection(), GNENetElement::selectAttributeCarrier(), NBEdge::setConnection(), NBEdge::Connection::speed, SUMO_TAG_E2DETECTOR_MULTILANE, NBEdge::Connection::toEdge, NBEdge::Connection::toLane, NBEdge::Connection::uncontrolled, GNEConnection::updateGeometry(), updateGeometry(), and NBEdge::Connection::visibility.
Referenced by GNEChange_Connection::redo(), and GNEChange_Connection::undo().
|
inherited |
Definition at line 257 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myDemandElementChildren, GNEHierarchicalElementChildren::mySortedDemandElementChildrenByType, and GNEHierarchicalElementChildren::sortDemandElementChildren().
Referenced by GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNERouteHandler::buildStop(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), and GNERouteHandler::closeRoute().
|
inherited |
Definition at line 92 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, and GNEHierarchicalElementParents::myDemandElementParents.
|
inherited |
Definition at line 351 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, and GNEHierarchicalElementChildren::myEdgeChildren.
|
inherited |
Definition at line 121 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myEdgeParents, SUMO_TAG_EDGE, and toString().
|
private |
increase number of lanes by one use the given attributes and restore the GNELane
Definition at line 1652 of file GNEEdge.cpp.
References GNENet::addGLObjectIntoGrid(), NBEdge::addLane(), NBEdge::Lane::endOffset, GNEJunction::getGNEEdges(), GNELane::getIndex(), NBEdge::getNumLanes(), GNEReferenceCounter::incRef(), GNENetElement::isAttributeCarrierSelected(), myGNEJunctionDestiny, myGNEJunctionSource, myLanes, myNBEdge, GNENetElement::myNet, NBEdge::Lane::permissions, NBEdge::Lane::preferred, remakeGNEConnections(), GNENet::removeGLObjectFromGrid(), GNENetElement::selectAttributeCarrier(), NBEdge::setEndOffset(), NBEdge::setLaneWidth(), NBEdge::setPermissions(), NBEdge::setPreferredVehicleClass(), NBEdge::setSpeed(), NBEdge::Lane::speed, updateGeometry(), and NBEdge::Lane::width.
Referenced by GNEChange_Lane::redo(), and GNEChange_Lane::undo().
|
inherited |
Definition at line 383 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myChildConnections, GNEHierarchicalElementChildren::myLaneChildren, and GNEHierarchicalElementChildren::ChildConnections::update().
|
inherited |
Definition at line 156 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myLaneParents, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 288 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inherited |
Definition at line 415 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myChildConnections, GNEHierarchicalElementChildren::myShapeChildren, and GNEHierarchicalElementChildren::ChildConnections::update().
|
inherited |
Definition at line 188 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myShapeParents, SUMO_TAG_EDGE, and toString().
|
staticinherited |
get tags of all editable element types
Definition at line 1214 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myTagProperties.
Referenced by GNEAttributeCarrier::allowedTagsByCategory().
|
staticinherited |
get tags of all editable element types using TagProperty Type (TAGTYPE_NETELEMENT, TAGTYPE_ADDITIONAL, etc.)
Definition at line 1231 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::TAGTYPE_ADDITIONAL, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, GNEAttributeCarrier::TAGTYPE_NETELEMENT, GNEAttributeCarrier::TAGTYPE_PERSON, GNEAttributeCarrier::TAGTYPE_PERSONPLAN, GNEAttributeCarrier::TAGTYPE_PERSONSTOP, GNEAttributeCarrier::TAGTYPE_PERSONTRIP, GNEAttributeCarrier::TAGTYPE_RIDE, GNEAttributeCarrier::TAGTYPE_ROUTE, GNEAttributeCarrier::TAGTYPE_SHAPE, GNEAttributeCarrier::TAGTYPE_STOP, GNEAttributeCarrier::TAGTYPE_TAZ, GNEAttributeCarrier::TAGTYPE_VEHICLE, and GNEAttributeCarrier::TAGTYPE_WALK.
Referenced by GNENet::computeAndUpdate(), GNENet::computeNetwork(), GNEFrameModuls::DemandElementSelector::DemandElementSelector(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNEHierarchicalElementChildren::GNEHierarchicalElementChildren(), GNENet::GNENet(), GNEFrameModuls::TagSelector::onCmdSelectTagType(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEFrameModuls::TagSelector::setCurrentTagType(), GNEFrameModuls::SelectorParent::showSelectorParentModul(), and GNEFrameModuls::TagSelector::TagSelector().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 326 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
Definition at line 217 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNERoute::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
Definition at line 226 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
Definition at line 208 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNERoute::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
Definition at line 267 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNERoute::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
Definition at line 236 of file GUIGlObject.cpp.
References GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, ICON_FLAG_MINUS, ICON_FLAG_PLUS, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 303 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GUIPointOfInterest::getPopUpMenu(), and GNEPOI::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
Definition at line 279 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
Definition at line 249 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNERoute::getPopUpMenu(), getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
Definition at line 258 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), and GUIBaseVehicle::getPopUpMenu().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 645 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::parse().
Referenced by GNERouteHandler::addWalk(), GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow(), GNECrossing::isValid(), GNEDetectorE2::isValid(), GNERoute::isValid(), GNETLSEditorFrame::onCmdPhaseEdit(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildVariableSpeedSign(), and GNERouteHandler::RouteParameter::setEdges().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 664 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::lanesConsecutives(), GNEAttributeCarrier::parse(), GNEAttributeCarrier::parseIDs(), and WRITE_WARNING.
|
protectedinherited |
change additional parent of a shape
exception | if this shape doesn't have previously a defined Additional parent |
exception | if shape with ID newAdditionalParentID doesn't exist |
Definition at line 480 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEShape::getNet(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myAdditionalParents, GNENet::retrieveAdditional(), toString(), and GNEShape::updateGeometry().
Referenced by GNEDetectorEntryExit::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEStop::setAttribute(), GNERide::setAttribute(), GNEWalk::setAttribute(), and GNEPersonTrip::setAttribute().
|
protectedinherited |
change additional parent of an additional
exception | if this additional doesn't have previously a defined Additional parent |
exception | if additional with ID newAdditionalParentID doesn't exist |
Definition at line 497 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myAdditionalParents, GNENet::retrieveAdditional(), toString(), and GNEAdditional::updateGeometry().
|
protectedinherited |
change additional parent of a demand element
exception | if this additional doesn't have previously a defined Additional parent |
exception | if additional with ID newAdditionalParentID doesn't exist |
Definition at line 514 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myAdditionalParents, GNENet::retrieveAdditional(), toString(), and GNEDemandElement::updateGeometry().
|
protectedinherited |
change first demand element parent of a shape
exception | if this demand element doesn't have previously a defined DemandElement parent |
exception | if demand element with ID newDemandElementParentID doesn't exist |
Definition at line 531 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEShape::getNet(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myDemandElementParents, GNENet::retrieveDemandElement(), toString(), and GNEShape::updateGeometry().
Referenced by GNEWalk::setAttribute(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().
|
protectedinherited |
change first demand element parent of an additional
exception | if this demand element doesn't have previously a defined DemandElement parent |
exception | if demand element with ID newDemandElementParentID doesn't exist |
Definition at line 548 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myDemandElementParents, GNENet::retrieveDemandElement(), toString(), and GNEAdditional::updateGeometry().
|
protectedinherited |
change first demand element parent of demandElement
exception | if this demand element doesn't have previously a defined DemandElement parent |
exception | if demand element with ID newDemandElementParentID doesn't exist |
Definition at line 565 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myDemandElementParents, GNENet::retrieveDemandElement(), toString(), and GNEDemandElement::updateGeometry().
|
protectedinherited |
change edge children of an additional
Definition at line 463 of file GNEHierarchicalElementChildren.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), GNEHierarchicalElementChildren::myChildConnections, GNEHierarchicalElementChildren::myEdgeChildren, and GNEHierarchicalElementChildren::ChildConnections::update().
Referenced by GNERerouter::setAttribute().
|
protectedinherited |
change edge parents of a shape
Definition at line 340 of file GNEHierarchicalElementParents.cpp.
References GNEShape::getNet(), and GNEHierarchicalElementParents::myEdgeParents.
Referenced by GNEVehicle::compute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNECalibrator::setAttribute(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), and GNERoute::setAttribute().
|
protectedinherited |
change edge parents of an additional
Definition at line 360 of file GNEHierarchicalElementParents.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalElementParents::myEdgeParents.
|
protectedinherited |
change edge parents of a demandElement
Definition at line 380 of file GNEHierarchicalElementParents.cpp.
References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalElementParents::myEdgeParents.
|
protectedinherited |
change edge parents of a demandElement (GNEEdge version)
Definition at line 400 of file GNEHierarchicalElementParents.cpp.
References GNEHierarchicalElementParents::myEdgeParents.
|
protectedinherited |
change edge children of an additional
Definition at line 480 of file GNEHierarchicalElementChildren.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), GNEHierarchicalElementChildren::myChildConnections, GNEHierarchicalElementChildren::myLaneChildren, and GNEHierarchicalElementChildren::ChildConnections::update().
Referenced by GNEVariableSpeedSign::setAttribute().
|
protectedinherited |
change edge parents of a shape
Definition at line 460 of file GNEHierarchicalElementParents.cpp.
References GNEShape::getNet(), and GNEHierarchicalElementParents::myLaneParents.
Referenced by GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEAccess::setAttribute(), GNECalibrator::setAttribute(), GNEDetectorE2::setAttribute(), GNEStop::setAttribute(), and GNEPOI::setAttribute().
|
protectedinherited |
change edge parents of an additional
Definition at line 420 of file GNEHierarchicalElementParents.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalElementParents::myLaneParents.
|
protectedinherited |
change edge parents of a demandElement
Definition at line 440 of file GNEHierarchicalElementParents.cpp.
References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalElementParents::myLaneParents.
|
inherited |
check if children are overlapped (Used by Rerouters)
Definition at line 216 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myAdditionalChildren, SUMO_ATTR_BEGIN, SUMO_ATTR_END, and SUMO_ATTR_TIME.
Referenced by GNERerouterDialog::onCmdAccept().
|
inherited |
check if children are overlapped (Used by Rerouters)
Definition at line 315 of file GNEHierarchicalElementChildren.cpp.
void GNEEdge::clearGNEConnections | ( | ) |
clear current connections
Definition at line 752 of file GNEEdge.cpp.
References myGNEConnections, and WRITE_DEBUG.
Referenced by setAttribute().
bool GNEEdge::clickedOverShapeEnd | ( | const Position & | pos | ) |
return true if user clicked over ShapeEnd
Definition at line 180 of file GNEEdge.cpp.
References NBEdge::getGeometry(), GNEJunction::getPositionInView(), myGNEJunctionDestiny, myNBEdge, and SNAP_RADIUS.
Referenced by GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues().
bool GNEEdge::clickedOverShapeStart | ( | const Position & | pos | ) |
Definition at line 170 of file GNEEdge.cpp.
References NBEdge::getGeometry(), GNEJunction::getPositionInView(), myGNEJunctionSource, myNBEdge, and SNAP_RADIUS.
Referenced by GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues().
void GNEEdge::commitShapeChange | ( | const PositionVector & | oldShape, |
GNEUndoList * | undoList | ||
) |
commit geometry changes in the attributes of an element after use of changeShapeGeometry(...)
[in] | oldShape | the old shape of polygon |
[in] | undoList | The undoList on which to register changes |
Definition at line 397 of file GNEEdge.cpp.
References GNEJunction::BUBBLE_RADIUS, endGeometryMoving(), GUIVisualizationSizeSettings::exaggeration, NBEdge::getGeometry(), NBEdge::getInnerGeometry(), GNEAttributeCarrier::getTagStr(), GNENet::getViewNet(), GUISUMOAbstractView::getVisualisationSettings(), GNEAttributeCarrier::GNEChange_Attribute, GUIVisualizationSettings::junctionSize, myNBEdge, GNENetElement::myNet, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), PositionVector::removeClosest(), PositionVector::removeDoublePoints(), setGeometry(), SNAP_RADIUS, SUMO_ATTR_SHAPE, toString(), updateGeometry(), and WRITE_WARNING.
Referenced by GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement().
void GNEEdge::commitShapeEndChange | ( | const Position & | oldPos, |
GNEUndoList * | undoList | ||
) |
commit position changing in shape end
Definition at line 237 of file GNEEdge.cpp.
References endGeometryMoving(), NBEdge::getGeometry(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_SHAPE_END, GNEAttributeCarrier::GNEChange_Attribute, myNBEdge, GNENetElement::myNet, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), setShapeEndPos(), and toString().
Referenced by GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement().
void GNEEdge::commitShapeStartChange | ( | const Position & | oldPos, |
GNEUndoList * | undoList | ||
) |
commit position changing in shape start
Definition at line 222 of file GNEEdge.cpp.
References endGeometryMoving(), NBEdge::getGeometry(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_SHAPE_START, GNEAttributeCarrier::GNEChange_Attribute, myNBEdge, GNENetElement::myNet, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), setShapeStartPos(), and toString().
Referenced by GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement().
void GNEEdge::copyTemplate | ( | GNEEdge * | tpl, |
GNEUndoList * | undolist | ||
) |
copy edge attributes from tpl
Definition at line 808 of file GNEEdge.cpp.
References getAttribute(), NBEdge::getEndOffset(), NBEdge::getLaneWidth(), NBEdge::getSpeed(), myLanes, myNBEdge, GNEUndoList::p_begin(), GNEUndoList::p_end(), setAttribute(), SUMO_ATTR_ALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_NUMLANES, SUMO_ATTR_PRIORITY, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, and toString().
Referenced by GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate().
|
inlineinherited |
Decrease reference.
Definition at line 53 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), removeConnection(), removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Children::~GNEChange_Children(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), GNENet::~GNENet(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
void GNEEdge::deleteGeometryPoint | ( | const Position & | pos, |
bool | allowUndo = true |
||
) |
delete the geometry point closest to the given pos
Definition at line 428 of file GNEEdge.cpp.
References NBEdge::getInnerGeometry(), GNEViewNet::getUndoList(), GNENet::getViewNet(), PositionVector::indexOfClosest(), myNBEdge, GNENetElement::myNet, GNEUndoList::p_begin(), GNEUndoList::p_end(), setAttribute(), setGeometry(), SUMO_ATTR_SHAPE, and toString().
Referenced by editEndpoint(), and GNEDeleteFrame::removeAttributeCarrier().
|
inherited |
Definition at line 90 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::ChildConnections::draw(), and GNEHierarchicalElementChildren::myChildConnections.
Referenced by GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), drawRerouterSymbol(), and GNELane::drawVSSSymbol().
|
private |
draw edge name
Definition at line 2134 of file GNEEdge.cpp.
References Position::add(), DEG2RAD, GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIVisualizationSettings::edgeName, GUIVisualizationSettings::edgeValue, GUIPropertySchemeStorage< T >::getActive(), GNELane::getColorValue(), GNENetElement::getGeometry(), GUIGlObject::getGlID(), NBEdge::getStreetName(), NBEdge::isBidiRail(), GUIVisualizationSettings::laneColorer, PositionVector::length(), Position::mul(), myLanes, myNBEdge, PositionVector::positionAtOffset(), PositionVector::rotationAtOffset(), PositionVector::rotationDegreeAtOffset(), GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), GNENetElement::NetElementGeometry::shape, GUIVisualizationTextSettings::show, GUIVisualizationSettings::spreadSuperposed, GUIVisualizationSettings::streetName, and toString().
Referenced by drawGL().
|
private |
draw geometry points
Definition at line 2041 of file GNEEdge.cpp.
References GUIVisualizationSettings::addSize, RGBColor::alpha(), RGBColor::changedBrightness(), GUIVisualizationTextSettings::color, GUIVisualizationSettings::colorSettings, GUIVisualizationSettings::detailSettings, Position::distanceSquaredTo2D(), GUIVisualizationSettings::drawDetail(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForSelecting, GLHelper::drawLine(), GLHelper::drawText(), GNENetElement::drawUsingSelectColor(), GUIVisualizationSettings::edgeValue, GNEViewNetHelper::NetworkViewOptions::editingElevation(), GUIVisualizationDetailSettings::geometryPointsText, GUIPropertySchemeStorage< T >::getActive(), GUIVisualizationSettings::getCircleResolution(), GNEViewNet::getEditModes(), GUIVisualizationSizeSettings::getExaggeration(), NBEdge::getGeometry(), GUIGlObject::getGlID(), NBEdge::getLanes(), GNEViewNet::getNetworkViewOptions(), GUISUMOAbstractView::getPositionInformation(), GNEJunction::getPositionInView(), GUIPropertySchemeStorage< T >::getSchemes(), GNENet::getViewNet(), GLO_JUNCTION, GLO_MAX, GNE_NMODE_MOVE, GUIVisualizationSettings::junctionColorer, GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneWidthExaggeration, MIN2(), myGNEJunctionDestiny, myGNEJunctionSource, myNBEdge, GNENetElement::myNet, GNEViewNetHelper::EditModes::networkEditMode, GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), GUIVisualizationColorSettings::selectedEdgeColor, GLHelper::setColor(), SNAP_RADIUS, toString(), RGBColor::WHITE, Position::x(), Position::y(), and Position::z().
Referenced by drawGL().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GNENetElement.
Definition at line 517 of file GNEEdge.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GUIVisualizationSettings::drawBoundaries, GLHelper::drawBoundary(), drawEdgeName(), GUIVisualizationSettings::drawForSelecting, drawGeometryPoints(), drawPartialPersonPlan(), drawPartialRoute(), drawPartialTripFromTo(), drawRerouterSymbol(), GLHelper::drawShapeDottedContourBetweenLanes(), GNEHierarchicalElementChildren::getAdditionalChildren(), GNEHierarchicalElementParents::getAdditionalParents(), getCenteringBoundary(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getDottedAC(), GNEViewNet::getEditModes(), GNEAttributeCarrier::getID(), NBEdge::getLaneWidth(), GNEViewNet::getNetworkViewOptions(), GNEHierarchicalElementChildren::getSortedDemandElementChildrenByType(), GNENet::getViewNet(), GLO_JUNCTION, GNE_SUPERMODE_DEMAND, NBEdge::isBidiRail(), myLanes, myNBEdge, GNENetElement::myNet, GUIVisualizationSettings::scale, GNEViewNetHelper::NetworkViewOptions::showDemandElements(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GUIVisualizationSettings::spreadSuperposed, SUMO_ATTR_FROM, SUMO_TAG_EMBEDDEDROUTE, SUMO_TAG_FLOW, SUMO_TAG_PERSONTRIP_BUSSTOP, SUMO_TAG_PERSONTRIP_FROMTO, SUMO_TAG_REROUTER, SUMO_TAG_RIDE_BUSSTOP, SUMO_TAG_RIDE_FROMTO, SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_WALK_BUSSTOP, SUMO_TAG_WALK_EDGES, SUMO_TAG_WALK_FROMTO, and SUMO_TAG_WALK_ROUTE.
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 187 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 355 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by drawEdgeName(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUIPerson::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEStop::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), drawPartialPersonPlan(), drawPartialRoute(), and drawPartialTripFromTo().
void GNEEdge::drawPartialPersonPlan | ( | const GUIVisualizationSettings & | s, |
const GNEDemandElement * | personPlan, | ||
const GNEJunction * | junction | ||
) | const |
draw partial person plan
Definition at line 1339 of file GNEEdge.cpp.
References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GUIVisualizationSettings::colorSettings, Position::distanceSquaredTo2D(), GLHelper::drawBoxLine(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForSelecting, GUIGlObject::drawName(), GLHelper::drawShapeDottedContourPartialShapes(), GNEDemandElement::drawUsingSelectColor(), GNEDemandElement::getAttribute(), GNEAttributeCarrier::getAttribute(), GNEDemandElement::getAttributeDouble(), getCenteringBoundary(), GUIVisualizationSettings::getCircleResolution(), GNEHierarchicalElementChildren::getDemandElementChildren(), GNEHierarchicalElementParents::getDemandElementParents(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getDottedAC(), GNEHierarchicalElementParents::getEdgeParents(), GUIVisualizationSizeSettings::getExaggeration(), GNENetElement::getGeometry(), GUIGlObject::getGlID(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), GUISUMOAbstractView::getPositionInformation(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNENet::getViewNet(), GLO_PERSONTRIP, GNE_ATTR_PARENT, GNEAttributeCarrier::TagProperties::hasAttribute(), GNEAttributeCarrier::TagProperties::isPersonPlan(), GNEAttributeCarrier::TagProperties::isPersonTrip(), GNEAttributeCarrier::TagProperties::isRide(), GNEAttributeCarrier::TagProperties::isWalk(), GUIVisualizationSettings::laneWidthExaggeration, MIN2(), GNENetElement::myNet, GUIVisualizationColorSettings::personTrip, GUIVisualizationWidthSettings::personTrip, PositionVector::positionAtOffset2D(), GUIVisualizationColorSettings::ride, GUIVisualizationWidthSettings::ride, GUIVisualizationSettings::scale, GUIVisualizationColorSettings::selectedPersonPlanColor, GLHelper::setColor(), GNENetElement::NetElementGeometry::shape, GNEViewNetHelper::DemandViewOptions::showAllPersonPlans(), SNAP_RADIUS, SUMO_ATTR_ARRIVALPOS, SUMO_TAG_PERSONSTOP_LANE, SUMO_TAG_WALK_ROUTE, SVC_PASSENGER, SVC_PEDESTRIAN, GUIVisualizationColorSettings::walk, GUIVisualizationWidthSettings::walk, GUIVisualizationSettings::widthSettings, Position::x(), and Position::y().
Referenced by drawGL(), and drawPartialRoute().
void GNEEdge::drawPartialRoute | ( | const GUIVisualizationSettings & | s, |
const GNEDemandElement * | route, | ||
const GNEJunction * | junction | ||
) | const |
draw partial route
Definition at line 1223 of file GNEEdge.cpp.
References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GNEDemandElement::DemandElementSegmentGeometry::begin(), GUIVisualizationSettings::colorSettings, GLHelper::drawBoxLine(), GUIVisualizationSettings::drawForSelecting, GUIGlObject::drawName(), drawPartialPersonPlan(), GLHelper::drawShapeDottedContourPartialShapes(), GNEDemandElement::drawUsingSelectColor(), GNEDemandElement::DemandElementSegmentGeometry::end(), getCenteringBoundary(), GNEDemandElement::getColor(), GNEHierarchicalElementChildren::getDemandElementChildren(), GNEHierarchicalElementParents::getDemandElementParents(), GNEDemandElement::getDemandElementSegmentGeometry(), GNEViewNet::getDottedAC(), GNEHierarchicalElementParents::getEdgeParents(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNENet::getViewNet(), GNENetElement::myNet, GUIVisualizationWidthSettings::route, GUIVisualizationSettings::scale, GUIVisualizationColorSettings::selectedRouteColor, GLHelper::setColor(), SUMO_TAG_EMBEDDEDROUTE, SUMO_TAG_WALK_ROUTE, and GUIVisualizationSettings::widthSettings.
Referenced by drawGL().
void GNEEdge::drawPartialTripFromTo | ( | const GUIVisualizationSettings & | s, |
const GNEDemandElement * | tripOrFromTo, | ||
const GNEJunction * | junction | ||
) | const |
draw partial trip and Flow
Definition at line 1296 of file GNEEdge.cpp.
References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GNEDemandElement::DemandElementSegmentGeometry::begin(), GUIVisualizationSettings::colorSettings, GLHelper::drawBoxLine(), GUIVisualizationSettings::drawForSelecting, GUIGlObject::drawName(), GNEDemandElement::drawUsingSelectColor(), GNEDemandElement::DemandElementSegmentGeometry::end(), getCenteringBoundary(), GNEDemandElement::getDemandElementSegmentGeometry(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getType(), GUIVisualizationSettings::scale, GUIVisualizationColorSettings::selectedVehicleColor, GLHelper::setColor(), GUIVisualizationWidthSettings::trip, GUIVisualizationColorSettings::vehicleTrips, and GUIVisualizationSettings::widthSettings.
Referenced by drawGL().
|
private |
draw Rerouter symbols
Definition at line 2173 of file GNEEdge.cpp.
References GUIVisualizationSettings::addSize, RGBColor::BLACK, GNEHierarchicalElementChildren::drawChildConnections(), GUIVisualizationSettings::drawForSelecting, GLHelper::drawShapeDottedContourRectangle(), GLHelper::drawText(), GNEAdditional::getAttribute(), GNEHierarchicalElementChildren::getChildPosition(), GNEHierarchicalElementChildren::getChildRotation(), GNEViewNet::getDottedAC(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIGlObject::getType(), GNENet::getViewNet(), myLanes, GNENetElement::myNet, GUIVisualizationSettings::scale, SUMO_ATTR_PROB, toString(), Position::x(), and Position::y().
Referenced by drawGL().
|
virtualinherited |
check if attribute carrier must be drawn using selecting color.
Implements GNEAttributeCarrier.
Definition at line 169 of file GNENetElement.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNEViewNet::getEditModes(), GNENet::getViewNet(), GNE_SUPERMODE_NETWORK, GNENetElement::myNet, and GNEAttributeCarrier::mySelected.
Referenced by drawGeometryPoints(), GNECrossing::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), GNELane::drawStartEndShapePoints(), GNEJunction::setColor(), and GNELane::setLaneColor().
void GNEEdge::editEndpoint | ( | Position | pos, |
GNEUndoList * | undoList | ||
) |
makes pos the new geometry endpoint at the appropriate end, or remove current existent endpoint
Definition at line 645 of file GNEEdge.cpp.
References deleteGeometryPoint(), Position::distanceTo2D(), NBEdge::getGeometry(), NBEdge::getInnerGeometry(), GNEJunction::getNBNode(), NBNode::getPosition(), GNEJunction::getPositionInView(), getVertexIndex(), GNENet::getViewNet(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::indexOfClosest(), GeomHelper::INVALID_OFFSET, GNEJunction::invalidateShape(), myGNEJunctionDestiny, myGNEJunctionSource, myNBEdge, GNENetElement::myNet, PositionVector::nearest_offset_to_point2D(), GNEUndoList::p_begin(), GNEUndoList::p_end(), PositionVector::positionAtOffset2D(), setAttribute(), SNAP_RADIUS, GUISUMOAbstractView::snapToActiveGrid(), and toString().
Referenced by GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues(), and GNEViewNet::onCmdEditEdgeEndpoint().
|
virtualinherited |
Implements GNEAttributeCarrier.
Definition at line 179 of file GNENetElement.cpp.
void GNEEdge::endGeometryMoving | ( | ) |
begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree)
Definition at line 279 of file GNEEdge.cpp.
References GNENet::addGLObjectIntoGrid(), GNEHierarchicalElementChildren::getAdditionalChildren(), GNEHierarchicalElementParents::getAdditionalParents(), GNEHierarchicalElementChildren::getDemandElementChildren(), GNEHierarchicalElementParents::getDemandElementParents(), Boundary::isInitialised(), myLanes, GNENetElement::myMovingGeometryBoundary, GNENetElement::myNet, GNENet::removeGLObjectFromGrid(), and Boundary::reset().
Referenced by commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), getVertexIndex(), and setAttribute().
|
virtual |
gererate a new ID for an element child
Implements GNENetElement.
Definition at line 115 of file GNEEdge.cpp.
|
inherited |
return vector of additionals that have as Parent this edge (For example, Calibrators)
Definition at line 132 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myAdditionalChildren.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), addConnection(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEDetectorE3::checkAdditionalChildRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNELane::drawGL(), drawGL(), GNELane::endGeometryMoving(), endGeometryMoving(), GNEAdditional::generateChildID(), GNETAZ::getAttribute(), getRouteProbeRelativePosition(), GNEVariableSpeedSignStep::GNEVariableSpeedSignStep(), GNEAdditionalHandler::myEndElement(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNECalibratorDialog::onCmdClickedRoute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNETAZFrame::TAZCurrent::refreshTAZEdges(), removeConnection(), GNENet::replaceIncomingEdge(), retrieveGNEConnection(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNELane::startGeometryMoving(), startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNETAZ::updateAdditionalParent(), GNECalibratorDialog::updateFlowTable(), GNELane::updateGeometry(), updateGeometry(), GNERerouterDialog::updateIntervalTable(), GNETAZFrame::TAZCommonStatistics::updateStatistics(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNEAdditional::writeAdditional().
|
inherited |
return vector of additionals that have as Parent this edge (For example, Calibrators)
Definition at line 86 of file GNEHierarchicalElementParents.cpp.
References GNEHierarchicalElementParents::myAdditionalParents.
Referenced by GNEPerson::calculatePersonPlanConnectionStop(), GNELane::drawGL(), drawGL(), GNELane::endGeometryMoving(), endGeometryMoving(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNERerouterInterval::getAttribute(), GNETAZSourceSink::getAttribute(), GNEAccess::getAttribute(), GNEStop::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEDestProbReroute::getCenteringBoundary(), GNERouteProbReroute::getCenteringBoundary(), GNEParkingAreaReroute::getCenteringBoundary(), GNEVariableSpeedSignStep::getCenteringBoundary(), GNECalibratorFlow::getCenteringBoundary(), GNERerouterInterval::getCenteringBoundary(), GNEStop::getCenteringBoundary(), GNEStop::getFromEdge(), GNEParkingAreaReroute::getHierarchyName(), GNEStop::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEClosingReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEParkingSpace::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNECalibratorFlow::getParentName(), GNETAZSourceSink::getParentName(), GNERerouterInterval::getParentName(), GNEAccess::getParentName(), GNEStop::getParentName(), GNEClosingReroute::getPositionInView(), GNEDestProbReroute::getPositionInView(), GNEClosingLaneReroute::getPositionInView(), GNERouteProbReroute::getPositionInView(), GNEParkingAreaReroute::getPositionInView(), GNECalibratorFlow::getPositionInView(), GNEVariableSpeedSignStep::getPositionInView(), GNETAZSourceSink::getPositionInView(), GNERerouterInterval::getPositionInView(), GNEStop::getToEdge(), GNEVariableSpeedSignStep::GNEVariableSpeedSignStep(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNETAZSourceSink::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNELane::startGeometryMoving(), startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNELane::updateGeometry(), updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEStop::updateGeometry(), GNEPerson::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), and GNEWalk::writeDemandElement().
|
virtual |
Implements GNENetElement.
Definition at line 858 of file GNEEdge.cpp.
References NBEdge::getDistance(), NBEdge::getEndOffset(), NBEdge::getFinalLength(), getGenericParametersStr(), NBEdge::getGeometry(), NBEdge::getInnerGeometry(), NBEdge::getLaneSpreadFunction(), NBEdge::getLaneWidth(), GUIGlObject::getMicrosimID(), NBEdge::getNumLanes(), NBEdge::getPermissions(), GNEJunction::getPositionInView(), NBEdge::getPriority(), NBEdge::getSpeed(), NBEdge::getStreetName(), GNEAttributeCarrier::getTagStr(), NBEdge::getTypeID(), getVehicleClassNames(), GNE_ATTR_BIDIR, GNE_ATTR_GENERIC, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_SELECTED, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, NBEdge::hasLaneSpecificEndOffset(), NBEdge::hasLaneSpecificPermissions(), NBEdge::hasLaneSpecificSpeed(), NBEdge::hasLaneSpecificWidth(), invertPermissions(), GNENetElement::isAttributeCarrierSelected(), NBEdge::isBidiRail(), myConnectionStatus, myGNEJunctionDestiny, myGNEJunctionSource, myNBEdge, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_DISTANCE, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_PRIORITY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, and toString().
Referenced by GNENet::addReversedEdge(), copyTemplate(), getAttributeForSelection(), GNENet::replaceIncomingEdge(), GNENet::replaceJunctionByGeometry(), GNENet::reverseEdge(), setAttribute(), and GNENet::splitEdge().
|
virtual |
method for getting the attribute in the context of object selection
Reimplemented from GNEAttributeCarrier.
Definition at line 931 of file GNEEdge.cpp.
References getAttribute(), getVehicleClassNames(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, and SVCAll.
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GNENetElement.
Definition at line 460 of file GNEEdge.cpp.
References Boundary::add(), NBEdge::getGeometry(), Boundary::grow(), Boundary::isInitialised(), myLanes, GNENetElement::myMovingGeometryBoundary, and myNBEdge.
Referenced by drawGL(), drawPartialPersonPlan(), drawPartialRoute(), drawPartialTripFromTo(), GNEClosingReroute::getCenteringBoundary(), GNENet::registerEdge(), and startGeometryMoving().
get child position calculated in ChildConnections
Definition at line 62 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myChildConnections, and GNEHierarchicalElementChildren::ChildConnections::symbolsPositionAndRotation.
Referenced by drawRerouterSymbol(), and GNELane::drawVSSSymbol().
|
inherited |
get child rotation calculated in ChildConnections
Definition at line 73 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myChildConnections, and GNEHierarchicalElementChildren::ChildConnections::symbolsPositionAndRotation.
Referenced by drawRerouterSymbol(), and GNELane::drawVSSSymbol().
|
inlinevirtualinherited |
Reimplemented in GNEJunction, GUILane, GUIPerson, GUIContainer, GNELane, GUIEdge, GUIJunctionWrapper, GUIVehicle, GUIBaseVehicle, and GUIMEVehicle.
Definition at line 148 of file GUIGlObject.h.
Referenced by GNEPerson::drawGL(), GNEPerson::setColor(), and GUISUMOAbstractView::showToolTipFor().
|
inherited |
return vector of demand elements that have as Parent this edge (For example, Calibrators)
Definition at line 297 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myDemandElementChildren.
Referenced by GNEStoppingPlace::commitGeometryMoving(), GNENet::deleteDemandElement(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), drawPartialPersonPlan(), drawPartialRoute(), GNELane::endGeometryMoving(), endGeometryMoving(), GNEAdditional::endGeometryMoving(), GNEDemandElement::generateChildID(), GNEPerson::getCenteringBoundary(), GNEPerson::getFromEdge(), GNEVehicle::getFromEdge(), GNEPerson::getPositionInView(), GNEPerson::getToEdge(), GNEVehicle::getToEdge(), GNEStoppingPlace::moveGeometry(), GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNERouteHandler::separateEmbeddedRoute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNELane::startGeometryMoving(), startGeometryMoving(), GNEAdditional::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEBusStop::updateGeometry(), GNELane::updateGeometry(), updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERoute::updateGeometry(), GNEPerson::updateGeometry(), GNEVehicle::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
|
inherited |
return vector of demand elements that have as Parent this edge (For example, Calibrators)
Definition at line 115 of file GNEHierarchicalElementParents.cpp.
References GNEHierarchicalElementParents::myDemandElementParents.
Referenced by GNEStop::commitGeometryMoving(), GNEVehicle::compute(), GNEFrameModuls::AttributeCarrierHierarchy::createPopUpMenu(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), drawPartialPersonPlan(), drawPartialRoute(), GNERouteHandler::embebbeRoute(), GNELane::endGeometryMoving(), endGeometryMoving(), GNEStop::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNERide::getColor(), GNEPersonTrip::getColor(), GNEWalk::getColor(), GNERide::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEWalk::getFromEdge(), GNEVehicle::getFromEdge(), GNEStop::getHierarchyName(), GNEWalk::getHierarchyName(), GNEStop::getParentName(), GNEVehicle::getParentName(), GNEStop::getPositionInView(), GNEWalk::getToEdge(), GNEVehicle::getToEdge(), GNEStop::getVClass(), GNERide::getVClass(), GNEPersonTrip::getVClass(), GNEWalk::getVClass(), GNEPerson::getVClass(), GNEVehicle::getVClass(), GNERide::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEVehicle::isValid(), GNEStop::moveGeometry(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemDown(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemUp(), GNEViewNet::onCmdToogleLockPerson(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERouteHandler::separateEmbeddedRoute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNELane::startGeometryMoving(), startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNELane::updateGeometry(), updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
|
static |
Dummy edge to use when a reference must be supplied in the no-arguments constructor (FOX technicality)
Definition at line 52 of file GNEEdge.cpp.
References GNEEdge().
|
inherited |
get edge chidls
Definition at line 377 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myEdgeChildren.
Referenced by GNERerouter::getAttribute(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().
|
inherited |
get edge parents
Definition at line 150 of file GNEHierarchicalElementParents.cpp.
References GNEHierarchicalElementParents::myEdgeParents.
Referenced by GNEVehicleFrame::addVehicle(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEVehicle::compute(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNECalibrator::drawGL(), GNEVehicle::drawGL(), drawPartialPersonPlan(), drawPartialRoute(), GNERouteProbe::getAttribute(), GNETAZSourceSink::getAttribute(), GNECalibrator::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNETAZSourceSink::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNEPersonTrip::getCenteringBoundary(), GNEWalk::getCenteringBoundary(), GNERoute::getCenteringBoundary(), GNEPerson::getCenteringBoundary(), GNERide::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNERoute::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNERide::getFromEdge(), GNEPersonTrip::getFromEdge(), GNEWalk::getFromEdge(), GNERoute::getFromEdge(), GNEVehicle::getFromEdge(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNERouteHandler::PersonPlansValues::getLastEdge(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNECalibrator::getParentName(), GNEVehicle::getParentName(), GNEVaporizer::getPositionInView(), GNERouteProbe::getPositionInView(), GNECalibrator::getPositionInView(), GNERide::getToEdge(), GNEPersonTrip::getToEdge(), GNEWalk::getToEdge(), GNERoute::getToEdge(), GNEVehicle::getToEdge(), GNERide::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNERoute::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNECalibrator::isValid(), GNERide::moveGeometry(), GNEPersonTrip::moveGeometry(), GNEWalk::moveGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToTrip(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNECalibrator::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), and GNEVehicle::writeDemandElement().
|
inherited |
Definition at line 138 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUILaneSpeedTrigger::openManipulator(), GUICalibrator::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
virtual |
return generic parameters as vector of pairs format
Implements GNENetElement.
Definition at line 1147 of file GNEEdge.cpp.
References Parameterised::getParametersMap(), and myNBEdge.
|
virtual |
return generic parameters in string format
Implements GNENetElement.
Definition at line 1132 of file GNEEdge.cpp.
References Parameterised::getParametersMap(), and myNBEdge.
Referenced by getAttribute().
|
inherited |
Definition at line 95 of file GNENetElement.cpp.
References GNENetElement::myGeometry.
Referenced by GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEVehicle::ConnectionGeometry::calculateConnectionShape(), GNEPerson::calculatePersonPlanConnectionArrivalPos(), GNEPerson::calculatePersonPlanConnectionBusStop(), GNEPerson::calculatePersonPlanConnectionStop(), GNEPerson::calculateSmoothPersonPlanConnection(), drawEdgeName(), drawPartialPersonPlan(), GNEFrameAttributesModuls::NeteditAttributes::getNeteditAttributesAndValues(), GNEAdditional::getPopUpMenu(), GNEDetector::getPositionInView(), GNEPerson::getPositionInView(), GNEVehicle::getPositionInView(), GNEViewNet::onCmdEditConnectionShape(), GNEViewNet::onCmdTransformPOI(), GNEPolygonFrame::processClick(), GNEAdditional::BlockIcon::setRotation(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEPerson::updateGeometry(), and GNEVehicle::updateGeometry().
|
inherited |
Returns the numerical id of the object.
Definition at line 150 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), drawEdgeName(), drawGeometryPoints(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEInternalLane::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GNECrossing::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNECalibrator::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), drawPartialPersonPlan(), drawPartialRoute(), drawRerouterSymbol(), GNELane::drawVSSSymbol(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNEVehicleType::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNEVehicleType::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
const std::vector< GNEConnection * > & GNEEdge::getGNEConnections | ( | ) | const |
returns a reference to the GNEConnection vector
Definition at line 846 of file GNEEdge.cpp.
References myGNEConnections.
Referenced by GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), and GNELane::getGNEOutcomingConnections().
std::vector< GNECrossing * > GNEEdge::getGNECrossings | ( | ) |
get GNECrossings vinculated with this Edge
Definition at line 791 of file GNEEdge.cpp.
References GNEJunction::getGNECrossings(), myGNEJunctionDestiny, and myGNEJunctionSource.
GNEJunction * GNEEdge::getGNEJunctionDestiny | ( | ) | const |
returns the destination-junction
Definition at line 505 of file GNEEdge.cpp.
References myGNEJunctionDestiny.
Referenced by GNENet::addReversedEdge(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNENet::deleteConnection(), GNENet::deleteEdge(), GNENet::deleteLane(), GNENet::deleteSingleEdge(), GNELane::drawGL(), GNELane::drawStartEndShapePoints(), GNEConnection::getBoundary(), GNEConnectorFrame::initTargets(), GNEDemandElement::isRouteValid(), GNENet::joinSelectedJunctions(), GNENet::mergeJunctions(), GNENet::registerEdge(), GNENet::replaceIncomingEdge(), GNENet::reverseEdge(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNENet::splitEdge(), and GNENet::splitJunction().
GNEJunction * GNEEdge::getGNEJunctionSource | ( | ) | const |
returns the source-junction
Definition at line 499 of file GNEEdge.cpp.
References myGNEJunctionSource.
Referenced by GNENet::addReversedEdge(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEConnectorFrame::buildConnection(), GNEPerson::calculateSmoothPersonPlanConnection(), GNENet::deleteEdge(), GNENet::deleteLane(), GNENet::deleteSingleEdge(), GNELane::drawStartEndShapePoints(), GNENet::duplicateLane(), GNELane::getGNEIncomingConnections(), GNENet::mergeJunctions(), GNENet::registerEdge(), GNENet::reverseEdge(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), and GNENet::splitJunction().
|
virtualinherited |
get Hierarchy Name (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 201 of file GNENetElement.cpp.
References GNENetElement::getAttribute(), GNENetElement::getPopUpID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::myTagProperty, SUMO_ATTR_FROM_LANE, SUMO_ATTR_INDEX, SUMO_ATTR_TO_LANE, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_LANE, and toString().
Referenced by GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents().
|
inherited |
get FXIcon associated to this AC
Definition at line 1177 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::TagProperties::getGUIIcon(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::myTagProperties, and GNEAttributeCarrier::myTagProperty.
Referenced by GNEFrameModuls::AttributeCarrierHierarchy::addListItem(), GNEFrameModuls::AttributeCarrierHierarchy::createPopUpMenu(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents().
|
virtualinherited |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 1187 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.
Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementParents::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEHierarchicalElementParents::addDemandElementParent(), GNEHierarchicalElementChildren::addEdgeChild(), GNEHierarchicalElementParents::addEdgeParent(), GNEJunction::addIncomingGNEEdge(), GNENet::additionalExist(), GNEHierarchicalElementChildren::addLaneChild(), GNEHierarchicalElementParents::addLaneParent(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNEHierarchicalElementChildren::addShapeChild(), GNEHierarchicalElementParents::addShapeParent(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEAdditionalHandler::buildAccess(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEConnectorFrame::buildConnection(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNEHierarchicalElementParents::changeAdditionalParent(), GNEHierarchicalElementParents::changeDemandElementParent(), GNENet::changeShapeID(), GNEVehicle::compute(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEJunction::drawGL(), drawGL(), GNEVehicleFrame::edgePathCreated(), GNEJunction::generateChildID(), GNEPoly::generateChildID(), GNEPOI::generateChildID(), GNEAdditional::generateChildID(), GNEDemandElement::generateChildID(), GNEAdditionalFrame::generateID(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNECalibratorFlow::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNELane::getColorValue(), GNEClosingReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEStopFrame::getStopParameter(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEJunction::invalidateShape(), GNEDemandElement::isRouteValid(), GNEAccess::isValid(), GNEPersonTrip::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNEPersonTypeFrame::PersonTypeEditor::onCmdDeletePersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdDeleteVehicleType(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdToogleLockPerson(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Children::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEFrameModuls::DemandElementSelector::refreshDemandElementSelector(), GNEPersonTypeFrame::PersonTypeSelector::refreshPersonTypeSelector(), GNEVehicleTypeFrame::VehicleTypeSelector::refreshVehicleTypeSelector(), GNEVehicleTypeFrame::VehicleTypeSelector::refreshVehicleTypeSelectorIDs(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEHierarchicalElementParents::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), removeConnection(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNEHierarchicalElementParents::removeDemandElementParent(), GNEHierarchicalElementChildren::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEHierarchicalElementParents::removeEdgeParent(), GNEJunction::removeIncomingGNEEdge(), removeLane(), GNEHierarchicalElementChildren::removeLaneChild(), GNEHierarchicalElementParents::removeLaneParent(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNEHierarchicalElementChildren::removeShapeChild(), GNEHierarchicalElementParents::removeShapeParent(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNETAZFrame::TAZCurrent::setTAZ(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEFrameModuls::DemandElementSelector::showDemandElementSelector(), smooth(), smoothElevation(), smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Children::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNERouteDialog::updateCalibratorRouteValues(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().
GNELane * GNEEdge::getLaneByVClass | ( | const SUMOVehicleClass | vClass | ) | const |
return the first lane that allow a vehicle of type vClass (or the first lane, if none was found)
Definition at line 1189 of file GNEEdge.cpp.
References NBEdge::getLanes(), myLanes, and myNBEdge.
Referenced by GNEPerson::calculateSmoothPersonPlanConnection().
GNELane * GNEEdge::getLaneByVClass | ( | const SUMOVehicleClass | vClass, |
bool & | found | ||
) | const |
return the first lane that allow a vehicle of type vClass (or the first lane, if none was found)
Definition at line 1204 of file GNEEdge.cpp.
References NBEdge::getLanes(), myLanes, and myNBEdge.
|
inherited |
get lanes of VSS
Definition at line 409 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myLaneChildren.
Referenced by GNEVariableSpeedSign::getAttribute(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().
std::set< GUIGlID > GNEEdge::getLaneGlIDs | ( | ) | const |
|
inherited |
get lanes of VSS
Definition at line 182 of file GNEHierarchicalElementParents.cpp.
References GNEHierarchicalElementParents::myLaneParents.
Referenced by GNERouteHandler::PersonPlansValues::calculateEdgePath(), GNEDetectorE2::checkE2MultilaneIntegrity(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNECalibrator::drawGL(), GNEStop::drawGL(), GNEStop::endGeometryMoving(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE1::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), GNEDetectorE1::getAdditionalProblem(), GNEStoppingPlace::getAdditionalProblem(), GNEDetectorEntryExit::getAdditionalProblem(), GNEDetectorE2::getAdditionalProblem(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEAccess::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNEDetectorE2::getAttribute(), GNEStop::getAttribute(), GNEPOI::getAttribute(), GNEStop::getAttributeDouble(), GNEStop::getDemandElementProblem(), GNEAccess::getEdge(), GNEStoppingPlace::getEndGeometryPositionOverLane(), GNEStop::getEndGeometryPositionOverLane(), GNEStoppingPlace::getEndPosition(), GNEStop::getFromEdge(), GNEAccess::getHierarchyName(), GNEDetector::getLane(), GNERouteHandler::PersonPlansValues::getLastEdge(), GNECalibrator::getParentName(), GNEStop::getParentName(), GNEStoppingPlace::getParentName(), GNEPOI::getPopUpMenu(), GNEAccess::getPositionInView(), GNECalibrator::getPositionInView(), GNEStop::getPositionInView(), GNEStoppingPlace::getPositionInView(), GNEStoppingPlace::getStartGeometryPositionOverLane(), GNEStop::getStartGeometryPositionOverLane(), GNEStop::getToEdge(), GNEAccess::isAccessPositionFixed(), GNEDetectorE1Instant::isAdditionalValid(), GNEDetectorE1::isAdditionalValid(), GNEStoppingPlace::isAdditionalValid(), GNEDetectorEntryExit::isAdditionalValid(), GNEDetectorE2::isAdditionalValid(), GNEStop::isDemandElementValid(), GNEBusStop::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNEAccess::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNEStop::isValid(), GNEPOI::isValid(), GNEAccess::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorEntryExit::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEStop::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEDetectorE2::moveGeometry(), GNEPOI::moveGeometry(), GNEPersonPlanFrame::personPlanCreated(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNEPOI::setAttribute(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEStop::startGeometryMoving(), GNEBusStop::updateGeometry(), GNEContainerStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEParkingArea::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), GNEStop::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEPOI::updateGeometry(), GNEPerson::updateGeometry(), and GNEPOI::writeShape().
const std::vector< GNELane * > & GNEEdge::getLanes | ( | ) | const |
returns a reference to the lane vector
Definition at line 840 of file GNEEdge.cpp.
References myLanes.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEPersonPlanFrame::PersonPlanCreator::addEdge(), GNERouteFrame::NonConsecutiveEdges::addEdge(), GNEFrameModuls::EdgePathCreator::addEdge(), GNENet::addRestrictedLane(), GNEViewNet::addRestrictedLane(), GNENet::deleteEdge(), GNEAdditional::getPopUpMenu(), GNEVehicle::getPositionInView(), GNETLSEditorFrame::handleMultiChange(), GNEConnectorFrame::initTargets(), GNEVehicle::isValid(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEChange_Edge::redo(), GNENet::removeRestrictedLane(), GNENet::renameEdge(), GNEJunction::replaceIncomingConnections(), GNENet::replaceIncomingEdge(), GNEFrameModuls::EdgePathCreator::restoreEdgeColor(), GNENet::restrictLane(), retrieveGNEConnection(), GNENet::retrieveLane(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNENet::splitEdge(), GNENet::splitJunction(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), and GNEChange_Edge::undo().
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 164 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), getAttribute(), GNEDemandElement::getDemandElementID(), GNEDialogACChooser::getObjectName(), GUIDialog_GLObjChooser::getObjectName(), GNEDetectorE3::getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEVehicleType::getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNERide::getParentName(), GNEPersonTrip::getParentName(), GNEPOI::getParentName(), GNEWalk::getParentName(), GNERoute::getParentName(), GNEPerson::getParentName(), GNETLSEditorFrame::handleMultiChange(), isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), removeConnection(), setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::RelativeToConnection::updateDescription(), and GNEConnection::updateID().
NBEdge * GNEEdge::getNBEdge | ( | ) | const |
returns the internal NBEdge
Definition at line 625 of file GNEEdge.cpp.
References myNBEdge.
Referenced by GNEFrameModuls::EdgePathCreator::addEdge(), GNENet::addRestrictedLane(), GNENet::addReversedEdge(), GNEDemandElement::RouteCalculator::areEdgesConsecutives(), GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNEVehicle::ConnectionGeometry::calculateConnectionShape(), GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues(), GNEPerson::calculateSmoothPersonPlanConnection(), GNENet::changeEdgeEndpoints(), GNECrossing::checkEdgeBelong(), GNENet::createEdge(), GNENet::deleteLane(), GNENet::deleteSingleEdge(), GNELane::drawArrows(), GNELane::drawAsRailway(), GNELane::drawAsWaterway(), GNELane::drawDirectionIndicators(), GNEConnection::drawGL(), GNELane::drawGL(), GNELane::drawLane2LaneConnections(), GNEViewNet::drawLaneCandidates(), GNELane::drawLinkNo(), GNELane::drawMarkings(), GNELane::drawStartEndShapePoints(), GNELane::drawTLSLinkNo(), GNENet::duplicateLane(), GNELane::getAttribute(), GNELane::getCenteringBoundary(), GNELane::getColorValue(), GNELane::getGenericParameters(), GNELane::getGenericParametersStr(), GNEDetector::getGeometryPositionOverLane(), GNELane::getLaneParametricLength(), GNEAdditionalHandler::getLanePos(), GNEConnectorFrame::getLaneStatus(), GNELane::getLengthGeometryFactor(), GNEConnection::getNBEdgeConnection(), GNELane::getPopUpMenu(), GNELane::getSpeed(), GNEConnectorFrame::initTargets(), GNENet::insertEdge(), GNELane::isRestricted(), GNEConnection::isValid(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNECreateEdgeFrame::processClick(), GNEChange_Connection::redo(), GNEJunction::removeConnectionsFrom(), GNEJunction::removeConnectionsTo(), GNEJunction::removeEdgeFromCrossings(), GNENet::renameEdge(), GNEJunction::replaceIncomingConnections(), GNENet::replaceIncomingEdge(), GNENet::replaceJunctionByGeometry(), GNENet::restrictLane(), GNENet::reverseEdge(), GNEConnection::setAttribute(), GNELane::setAttribute(), GNELane::setGenericParametersStr(), GNELane::setIndex(), setMicrosimID(), GNENet::splitEdge(), GNEChange_Connection::undo(), GNEConnection::updateGeometry(), GNELane::updateGeometry(), and GNEConnection::updateLinkState().
|
inherited |
get Net in which this element is placed
Definition at line 107 of file GNENetElement.cpp.
References GNENetElement::myNet.
Referenced by GNEConnection::setAttribute().
|
inherited |
get next demand element to the given demand element
Definition at line 336 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myDemandElementChildren.
GNEEdge * GNEEdge::getOppositeEdge | ( | ) | const |
get opposite edge
Definition at line 511 of file GNEEdge.cpp.
References myGNEJunctionDestiny, myGNEJunctionSource, GNENetElement::myNet, and GNENet::retrieveEdge().
Referenced by GNEViewNet::onCmdSplitEdgeBidi().
|
virtual |
Returns the street name.
Reimplemented from GUIGlObject.
Definition at line 479 of file GNEEdge.cpp.
References NBEdge::getStreetName(), and myNBEdge.
|
virtualinherited |
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 |
Implements GUIGlObject.
Definition at line 113 of file GNENetElement.cpp.
References GUIParameterTableWindow::closeBuilding(), GNENetElement::getAttribute(), GNEAttributeCarrier::TagProperties::getNumberOfAttributes(), GUIParameterTableWindow::mkItem(), and GNEAttributeCarrier::myTagProperty.
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPOI, GNEPersonTrip, GNERide, GNEPoly, GNEDetector, GNEStoppingPlace, GNEStop, GNETAZ, GNECalibrator, GNEVehicleType, GNELane, GUILane, GNERerouter, GNEAccess, GNEVariableSpeedSign, GNERerouterInterval, GNETAZSourceSink, GNECalibratorFlow, GNEVariableSpeedSignStep, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, and GNEVaporizer.
Definition at line 144 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
virtualinherited |
get PopPup ID (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 191 of file GNENetElement.cpp.
References GNENetElement::getAttribute(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::myTagProperty, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, and SUMO_TAG_CONNECTION.
Referenced by GNENetElement::getHierarchyName().
|
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 |
Implements GNENetElement.
Definition at line 484 of file GNEEdge.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GNEViewNet::buildSelectionACPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GNENet::getViewNet(), and GNENetElement::myNet.
|
virtual |
Returns position of hierarchical element in view.
Implements GNENetElement.
Definition at line 163 of file GNEEdge.cpp.
|
inherited |
get previous demand element to the given demand element
Definition at line 321 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myDemandElementChildren.
int GNEEdge::getRouteProbeRelativePosition | ( | GNERouteProbe * | routeProbe | ) | const |
obtain relative positions of RouteProbes
Definition at line 773 of file GNEEdge.cpp.
References GNEHierarchicalElementChildren::getAdditionalChildren(), GNEAttributeCarrier::TagProperties::getTag(), and GNEAttributeCarrier::getTagProperty().
|
inherited |
get shapes of VSS
Definition at line 445 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myShapeChildren.
Referenced by GNENet::deleteEdge(), GNENet::deleteLane(), GNELane::drawGL(), GNELane::endGeometryMoving(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNELane::startGeometryMoving(), and GNELane::updateGeometry().
|
inherited |
get shapes of VSS
Definition at line 214 of file GNEHierarchicalElementParents.cpp.
References GNEHierarchicalElementParents::myShapeParents.
Referenced by GNELane::endGeometryMoving(), GNELane::startGeometryMoving(), and GNELane::updateGeometry().
|
inherited |
return vector of demand elements that have as Parent this edge (For example, Calibrators)
Definition at line 303 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::mySortedDemandElementChildrenByType.
Referenced by drawGL(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().
Definition at line 631 of file GNEEdge.cpp.
References NBEdge::getGeometry(), PositionVector::indexOfClosest(), myNBEdge, PositionVector::nearest_offset_to_point2D(), PositionVector::positionAtOffset(), and SNAP_RADIUS.
Referenced by GNEViewNet::onCmdSplitEdge(), and GNEViewNet::onCmdSplitEdgeBidi().
|
staticinherited |
get Tag Properties
Definition at line 1196 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::dummyTagProperty, GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myTagProperties, SUMO_TAG_NOTHING, and toString().
Referenced by GNEDeleteFrame::ACsToDelete(), GNESelectorFrame::ACsToSelected(), GNESelectorFrame::clearCurrentSelection(), GNECrossingFrame::CrossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNECrossingFrame::CrossingParameters::onCmdHelp(), GNETAZFrame::TAZParameters::onCmdHelp(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNEPersonTypeFrame::PersonTypeEditor::onCmdResetPersonType(), GNEVehicleTypeFrame::VehicleTypeEditor::onCmdResetVehicleType(), GNERouteFrame::RouteModeSelector::onCmdSelectRouteMode(), GNEFrameModuls::TagSelector::onCmdSelectTag(), GNERouteFrame::RouteModeSelector::onCmdSelectVClass(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEAttributeCarrier::parseAttributeFromXML(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNERouteFrame::RouteModeSelector::setCurrentRouteMode(), GNEFrameModuls::TagSelector::setCurrentTag(), and GNETAZFrame::TAZCurrent::setTAZ().
|
inherited |
get Tag Property assigned to this object
Definition at line 1171 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEFrameModuls::EdgePathCreator::addEdge(), GNENet::additionalExist(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPersonOverRoute(), GNERouteHandler::buildStop(), GNEPerson::calculatePersonPlanConnectionStop(), GNEPerson::calculateSmoothPersonPlanConnection(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNEFrameModuls::AttributeCarrierHierarchy::createPopUpMenu(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEViewNet::doPaintGL(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEAdditional::BlockIcon::drawIcon(), drawPartialPersonPlan(), drawPartialRoute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEStop::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEPerson::getPositionInView(), getRouteProbeRelativePosition(), GNENet::getSelectedAttributeCarriers(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEInspectorFrame::OverlappedInspection::inspectOverlappedAttributeCarrier(), GNEInspectorFrame::inspectSingleElement(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdDeleteItem(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdToogleLockPerson(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseGenericParameter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEFrameAttributesModuls::GenericParametersEditor::refreshGenericParametersEditor(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNENet::retrieveShapes(), GNEViewNetHelper::EditShapes::saveEditedShape(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::setVariable(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelRow::setVariable(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNEHierarchicalElementChildren::sortAdditionalChildren(), GNEViewNetHelper::EditShapes::startEditCustomShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEPerson::updateGeometry(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::updateValue(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelRow::updateValue(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), and GNEChange_Shape::~GNEChange_Shape().
|
inherited |
get tag assigned to this object in string format
Definition at line 1165 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TagProperties::getTagStr(), and GNEAttributeCarrier::myTagProperty.
Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementParents::addAdditionalParent(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEHierarchicalElementParents::addDemandElementParent(), GNEHierarchicalElementChildren::addEdgeChild(), GNEHierarchicalElementParents::addEdgeParent(), GNEJunction::addIncomingGNEEdge(), GNEHierarchicalElementChildren::addLaneChild(), GNEHierarchicalElementParents::addLaneParent(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNEHierarchicalElementChildren::addShapeChild(), GNEHierarchicalElementParents::addShapeParent(), GNEStopFrame::addStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildStop(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEHierarchicalElementParents::changeAdditionalParent(), GNEDemandElement::changeDemandElementID(), GNEHierarchicalElementParents::changeDemandElementParent(), GNEAdditional::checkAdditionalChildRestriction(), GNEDemandElement::checkDemandElementChildRestriction(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNEPoly::commitShapeChange(), commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteShape(), GNEAdditional::fixAdditionalProblem(), GNEDemandElement::fixDemandElementProblem(), GNEChargingStation::getAttribute(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNERouteProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEDetectorE1::getAttribute(), GNECalibratorFlow::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNETAZSourceSink::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECrossing::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), GNEDetectorE2::getAttribute(), GNEVehicleType::getAttribute(), GNEConnection::getAttribute(), GNEStop::getAttribute(), GNELane::getAttribute(), GNEPoly::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEPOI::getAttribute(), GNEJunction::getAttribute(), GNERoute::getAttribute(), getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttributeDouble(), GNEStop::getAttributeDouble(), GNERide::getAttributeDouble(), GNEPersonTrip::getAttributeDouble(), GNEWalk::getAttributeDouble(), GNEDemandElement::getBegin(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNETAZSourceSink::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNEDetector::getHierarchyName(), GNEVehicleType::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNERoute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNETAZSourceSink::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNEDetector::getPopUpID(), GNEVehicleType::getPopUpID(), GNENetElement::getPopUpID(), GNEStop::getPopUpID(), GNEShape::getPopUpID(), GNERide::getPopUpID(), GNEPersonTrip::getPopUpID(), GNEWalk::getPopUpID(), GNERoute::getPopUpID(), GNEPerson::getPopUpID(), GNEVehicle::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNEDemandElement::isRouteValid(), GNEChargingStation::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEDetectorE1::isValid(), GNEVariableSpeedSignStep::isValid(), GNEDetectorEntryExit::isValid(), GNECalibratorFlow::isValid(), GNERerouterInterval::isValid(), GNETAZSourceSink::isValid(), GNEVariableSpeedSign::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNEDetectorE1Instant::isValid(), GNECrossing::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEDetectorE2::isValid(), GNEVehicleType::isValid(), GNEConnection::isValid(), GNEStop::isValid(), GNELane::isValid(), GNEPoly::isValid(), GNERide::isValid(), GNEPersonTrip::isValid(), GNEPOI::isValid(), GNEWalk::isValid(), GNEJunction::isValid(), GNERoute::isValid(), isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERouteDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemDown(), GNEFrameModuls::AttributeCarrierHierarchy::onCmdMoveItemUp(), GNEAdditional::openAdditionalDialog(), GNEDemandElement::openDemandElementDialog(), GNEVehicleType::overwriteVType(), GNEAdditionalHandler::parseGenericParameter(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Children::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_DemandElement::redoName(), GNEChange_EnableAttribute::redoName(), GNEChange_Children::redoName(), GNEChange_Attribute::redoName(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEHierarchicalElementParents::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), removeConnection(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNEHierarchicalElementParents::removeDemandElementParent(), GNEHierarchicalElementChildren::removeEdgeChild(), GNEHierarchicalElementParents::removeEdgeParent(), GNEJunction::removeIncomingGNEEdge(), removeLane(), GNEHierarchicalElementChildren::removeLaneChild(), GNEHierarchicalElementParents::removeLaneParent(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalElementChildren::removeShapeChild(), GNEHierarchicalElementParents::removeShapeParent(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEViewNetHelper::EditShapes::saveEditedShape(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNECrossing::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEDetectorE2::setAttribute(), GNEVehicleType::setAttribute(), GNEConnection::setAttribute(), GNEStop::setAttribute(), GNELane::setAttribute(), GNEPoly::setAttribute(), GNERide::setAttribute(), GNEPOI::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), GNEJunction::setAttribute(), GNERoute::setAttribute(), setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Children::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_DemandElement::undoName(), GNEChange_EnableAttribute::undoName(), GNEChange_Children::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 181 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GNECrossing::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GNEAdditional::BlockIcon::drawIcon(), GUIBaseVehicle::drawOnPos(), drawPartialPersonPlan(), drawPartialRoute(), drawPartialTripFromTo(), drawRerouterSymbol(), GNELane::drawVSSSymbol(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideFutureRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowDetectors(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFoes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFutureRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowPhases(), GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStopTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStopTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStopTrack(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLS2Off(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLSLogic(), GUIDialog_GLObjChooser::onCmdTrack(), GNENetElement::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIMEVehicle, GUIVehicle, GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 156 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
int GNEEdge::getVertexIndex | ( | Position | pos, |
bool | createIfNoExist, | ||
bool | snapToGrid | ||
) |
return index of a vertex of shape, or of a new vertex if position is over an shape's edge
pos | position of new/existent vertex |
createIfNoExist | enable or disable creation of new verte if there isn't another vertex in position |
snapToGrid | enable or disable snapToActiveGrid |
Definition at line 313 of file GNEEdge.cpp.
References endGeometryMoving(), NBEdge::getGeometry(), GNENet::getViewNet(), PositionVector::insertAtClosest(), GeomHelper::INVALID_OFFSET, myNBEdge, GNENetElement::myNet, PositionVector::nearest_offset_to_point2D(), PositionVector::positionAtOffset2D(), setGeometry(), SNAP_RADIUS, GUISUMOAbstractView::snapToActiveGrid(), and startGeometryMoving().
Referenced by GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues(), editEndpoint(), getVertexIndex(), GNEViewNet::processLeftButtonPressNetwork(), and GNEDeleteFrame::removeAttributeCarrier().
int GNEEdge::getVertexIndex | ( | const double | offset, |
bool | createIfNoExist, | ||
bool | snapToGrid | ||
) |
return index of a vertex of shape, or of a new vertex if position is over an shape's edge
offset | position over edge |
createIfNoExist | enable or disable creation of new verte if there isn't another vertex in position |
snapToGrid | enable or disable snapToActiveGrid |
Definition at line 353 of file GNEEdge.cpp.
References NBEdge::getGeometry(), getVertexIndex(), myNBEdge, and PositionVector::positionAtOffset2D().
bool GNEEdge::hasRestrictedLane | ( | SUMOVehicleClass | vclass | ) | const |
check if edge has a restricted lane
Definition at line 1872 of file GNEEdge.cpp.
References myLanes.
Referenced by GNELane::getPopUpMenu().
|
inlineinherited |
Increarse reference.
Definition at line 68 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEChange_Attribute::GNEChange_Attribute(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), remakeGNEConnections(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), and GNENet::setViewNet().
|
virtualinherited |
check if attribute carrier is selected
Implements GNEAttributeCarrier.
Definition at line 163 of file GNENetElement.cpp.
References GNEAttributeCarrier::mySelected.
Referenced by addLane(), GNENet::deleteConnection(), GNENet::deleteCrossing(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEJunction::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), GNECrossing::getAttribute(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), getAttribute(), GNELane::getColorValue(), GNEJunction::getColorValue(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNETLSEditorFrame::handleMultiChange(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdReverseEdge(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::processLeftButtonReleaseNetwork(), GNENet::registerEdge(), GNENet::registerJunction(), removeConnection(), and removeLane().
|
virtualinherited |
Implements GNEAttributeCarrier.
Definition at line 185 of file GNENetElement.cpp.
|
staticinherited |
check if given string can be parsed to a map/list of generic parameters
Definition at line 1354 of file GNEAttributeCarrier.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), and StringTokenizer::next().
Referenced by GNEBusStop::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNERouteProbReroute::isValid(), GNEDestProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDetectorE3::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEDetectorE1::isValid(), GNECalibratorFlow::isValid(), GNEDetectorEntryExit::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNETAZSourceSink::isValid(), GNEVariableSpeedSign::isValid(), GNERerouter::isValid(), GNEAccess::isValid(), GNEDetectorE1Instant::isValid(), GNECrossing::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEDetectorE2::isValid(), GNEVehicleType::isValid(), GNEConnection::isValid(), GNEStop::isValid(), GNELane::isValid(), GNEPoly::isValid(), GNERide::isValid(), GNEPersonTrip::isValid(), GNEPOI::isValid(), GNEWalk::isValid(), GNEJunction::isValid(), GNERoute::isValid(), isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), and GNEFrameAttributesModuls::GenericParametersEditor::onCmdSetGenericParameter().
|
virtual |
Implements GNENetElement.
Definition at line 1041 of file GNEEdge.cpp.
References canParseVehicleClasses(), NBEdge::getGeometry(), NBEdge::getLoadedLength(), GUIGlObject::getMicrosimID(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BIDIR, GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, StringBijection< T >::hasString(), GNEAttributeCarrier::isGenericParametersValid(), SUMOXMLDefinitions::isValidNetID(), SUMOXMLDefinitions::LaneSpreadFunctions, myGNEJunctionDestiny, myGNEJunctionSource, myNBEdge, GNENetElement::myNet, GNENet::retrieveEdge(), GNENet::retrieveJunction(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_DISTANCE, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_PRIORITY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, toString(), NBEdge::UNSPECIFIED_LOADED_LENGTH, and NBEdge::UNSPECIFIED_WIDTH.
|
staticinherited |
check if lanes are consecutives
Definition at line 1128 of file GNEAttributeCarrier.cpp.
Referenced by GNEAttributeCarrier::canParse(), GNEDetectorE2::isValid(), and GNEAdditionalHandler::parseAndBuildDetectorE2().
void GNEEdge::moveEntireShape | ( | const PositionVector & | oldShape, |
const Position & | offset | ||
) |
move entire shape without commiting change
[in] | oldShape | the old shape of polygon before moving |
[in] | offset | the offset of movement |
Definition at line 384 of file GNEEdge.cpp.
References PositionVector::add(), and setGeometry().
move position of shape end without commiting change
Definition at line 206 of file GNEEdge.cpp.
References Position::add(), NBEdge::getGeometry(), GNENet::getViewNet(), myNBEdge, GNENetElement::myNet, setShapeEndPos(), GUISUMOAbstractView::snapToActiveGrid(), updateGeometry(), and Position::z().
Referenced by GNEViewNetHelper::MoveSingleElementValues::moveSingleElement().
move position of shape start without commiting change
Definition at line 190 of file GNEEdge.cpp.
References Position::add(), NBEdge::getGeometry(), GNENet::getViewNet(), myNBEdge, GNENetElement::myNet, setShapeStartPos(), GUISUMOAbstractView::snapToActiveGrid(), updateGeometry(), and Position::z().
Referenced by GNEViewNetHelper::MoveSingleElementValues::moveSingleElement().
change position of a vertex of shape without commiting change
[in] | index | index of Vertex shape |
[in] | newPos | The new position of vertex |
Definition at line 359 of file GNEEdge.cpp.
References PositionVector::add(), NBEdge::getInnerGeometry(), GNENet::getViewNet(), myNBEdge, GNENetElement::myNet, setGeometry(), GUISUMOAbstractView::snapToActiveGrid(), and Position::z().
Referenced by GNEViewNetHelper::MoveSingleElementValues::moveSingleElement().
|
staticinherited |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by GNEAttributeCarrier::canParse(), GNEDetectorE2::isValid(), and GNERoute::isValid().
|
staticinherited |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
|
inherited |
Definition at line 923 of file GNEAttributeCarrier.cpp.
References StringUtils::toInt().
|
inherited |
Definition at line 929 of file GNEAttributeCarrier.cpp.
References StringUtils::toDouble().
|
inherited |
Definition at line 935 of file GNEAttributeCarrier.cpp.
References string2time().
|
inherited |
Definition at line 946 of file GNEAttributeCarrier.cpp.
References StringUtils::toBool().
|
inherited |
Definition at line 952 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 958 of file GNEAttributeCarrier.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
|
inherited |
Definition at line 970 of file GNEAttributeCarrier.cpp.
References RGBColor::parseColor().
|
inherited |
Definition at line 976 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 992 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 1010 of file GNEAttributeCarrier.cpp.
References SumoVehicleShapeStrings, and SVS_UNKNOWN.
|
inherited |
Definition at line 1020 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
|
inherited |
Definition at line 1026 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
|
inherited |
Definition at line 1037 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 1048 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 1059 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 1070 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 1088 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 689 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::checkParsedAttribute(), SUMOSAXAttributes::get(), GNEAttributeCarrier::getTagProperties(), GNE_ATTR_BLOCK_MOVEMENT, SUMOSAXAttributes::hasAttribute(), GNEAttributeCarrier::parseMaskedPositionAttribute(), SUMO_ATTR_LAT, SUMO_ATTR_LON, SUMO_ATTR_POSITION, toString(), and WRITE_WARNING.
|
staticinherited |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by GNEAttributeCarrier::canParse(), GNEVariableSpeedSign::getAttribute(), GNERerouter::getAttribute(), GNEDetectorE2::getAttribute(), GNERoute::getAttribute(), GNENet::joinRoutes(), GNEWalk::writeDemandElement(), and GNERoute::writeDemandElement().
|
inherited |
Definition at line 1106 of file GNEAttributeCarrier.cpp.
References joinToString().
|
inherited |
Definition at line 1117 of file GNEAttributeCarrier.cpp.
References joinToString().
void GNEEdge::remakeGNEConnections | ( | ) |
remake connections
Definition at line 713 of file GNEEdge.cpp.
References NBEdge::getConnections(), GNEReferenceCounter::incRef(), GNEConnection::markConnectionGeometryDeprecated(), myGNEConnections, myNBEdge, retrieveGNEConnection(), GNEConnection::updateLinkState(), and WRITE_DEBUG.
Referenced by addLane(), and removeLane().
|
inherited |
remove additional child from this additional
Definition at line 114 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myAdditionalChildren, GNEHierarchicalElementChildren::sortAdditionalChildren(), and GNEHierarchicalElementChildren::updateAdditionalParent().
|
inherited |
remove additional parent from this additional
Definition at line 74 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, and GNEHierarchicalElementParents::myAdditionalParents.
|
private |
removes a connection
Definition at line 1791 of file GNEEdge.cpp.
References GNEReferenceCounter::decRef(), NBEdge::Connection::fromLane, GNEHierarchicalElementChildren::getAdditionalChildren(), GNEAttributeCarrier::getID(), GNEConnection::getLaneFrom(), GNEConnection::getLaneTo(), GUIGlObject::getMicrosimID(), GNEAttributeCarrier::getTagStr(), NBEdge::getTurnDestination(), GNENetElement::isAttributeCarrierSelected(), myGNEConnections, myNBEdge, GNENetElement::myNet, GNENet::removeExplicitTurnaround(), NBEdge::removeFromConnections(), retrieveGNEConnection(), SUMO_TAG_E2DETECTOR_MULTILANE, NBEdge::Connection::toEdge, NBEdge::Connection::toLane, GNEReferenceCounter::unreferenced(), GNENetElement::unselectAttributeCarrier(), updateGeometry(), and WRITE_DEBUG.
Referenced by GNEChange_Connection::redo(), and GNEChange_Connection::undo().
|
inherited |
remove demand element child from this demand element
Definition at line 275 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myDemandElementChildren, GNEHierarchicalElementChildren::mySortedDemandElementChildrenByType, and GNEHierarchicalElementChildren::sortDemandElementChildren().
|
inherited |
remove demand element parent from this demand element
Definition at line 103 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, and GNEHierarchicalElementParents::myDemandElementParents.
|
inherited |
remove edge child
Definition at line 362 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myChildConnections, GNEHierarchicalElementChildren::myEdgeChildren, and GNEHierarchicalElementChildren::ChildConnections::update().
|
private |
remove crossing of junction
Definition at line 1883 of file GNEEdge.cpp.
References GNENet::deleteCrossing(), GNEJunction::getGNECrossings(), and GNENetElement::myNet.
Referenced by setAttribute().
|
inherited |
remove edge parent
Definition at line 134 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myEdgeParents, SUMO_TAG_EDGE, and toString().
|
private |
the number of lanes by one. argument is only used to increase robustness (assertions)
Definition at line 1705 of file GNEEdge.cpp.
References GNENet::addGLObjectIntoGrid(), GNEReferenceCounter::decRef(), NBEdge::deleteLane(), GNEJunction::getGNEEdges(), GNEAttributeCarrier::getID(), GNELane::getIndex(), GNEAttributeCarrier::getTagStr(), GNENetElement::isAttributeCarrierSelected(), myGNEJunctionDestiny, myGNEJunctionSource, myLanes, myNBEdge, GNENetElement::myNet, remakeGNEConnections(), GNENet::removeGLObjectFromGrid(), SUMO_TAG_LANE, toString(), GNEReferenceCounter::unreferenced(), GNENetElement::unselectAttributeCarrier(), updateGeometry(), and WRITE_DEBUG.
Referenced by GNEChange_Lane::redo(), and GNEChange_Lane::undo().
|
inherited |
remove lane child
Definition at line 396 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myChildConnections, GNEHierarchicalElementChildren::myLaneChildren, and GNEHierarchicalElementChildren::ChildConnections::update().
|
inherited |
remove lane parent
Definition at line 169 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myLaneParents, SUMO_TAG_EDGE, and toString().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 294 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inherited |
remove shape child
Definition at line 430 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myChildConnections, GNEHierarchicalElementChildren::myShapeChildren, and GNEHierarchicalElementChildren::ChildConnections::update().
|
inherited |
remove shape parent
Definition at line 201 of file GNEHierarchicalElementParents.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myShapeParents, SUMO_TAG_EDGE, and toString().
void GNEEdge::resetEndpoint | ( | const Position & | pos, |
GNEUndoList * | undoList | ||
) |
restores the endpoint to the junction position at the appropriate end
Definition at line 689 of file GNEEdge.cpp.
References Position::distanceTo2D(), GNEJunction::getNBNode(), NBNode::getPosition(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEJunction::invalidateShape(), myGNEJunctionDestiny, myGNEJunctionSource, setAttribute(), and toString().
Referenced by GNEViewNet::onCmdResetEdgeEndpoint().
GNEConnection * GNEEdge::retrieveGNEConnection | ( | int | fromLane, |
NBEdge * | to, | ||
int | toLane, | ||
bool | createIfNoExist = true |
||
) |
get GNEConnection if exist, and if not create it if create is enabled
Definition at line 1831 of file GNEEdge.cpp.
References GNEHierarchicalElementChildren::getAdditionalChildren(), GNEAttributeCarrier::getID(), NBEdge::getID(), GNEConnection::getLaneFrom(), getLanes(), GNEConnection::getLaneTo(), GNEAttributeCarrier::getTagStr(), myGNEConnections, myLanes, GNENetElement::myNet, GNENet::retrieveEdge(), SUMO_TAG_E2DETECTOR_MULTILANE, and WRITE_DEBUG.
Referenced by addConnection(), GNEConnectorFrame::buildConnection(), remakeGNEConnections(), and removeConnection().
|
virtualinherited |
select attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 132 of file GNENetElement.cpp.
References GNESelectorFrame::LockGLObjectTypes::addedLockedObject(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GUIGlObject::getType(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNENetElement::myNet, GNEAttributeCarrier::mySelected, and GUISelectedStorage::select().
Referenced by addConnection(), addLane(), GNEViewNet::processLeftButtonReleaseNetwork(), GNEChange_Crossing::redo(), GNENet::registerEdge(), GNENet::registerJunction(), GNECrossing::setAttribute(), GNEConnection::setAttribute(), GNELane::setAttribute(), GNEJunction::setAttribute(), setAttribute(), and GNEChange_Crossing::undo().
|
virtual |
Implements GNENetElement.
Definition at line 940 of file GNEEdge.cpp.
References getAttribute(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getPosition(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BIDIR, GNE_ATTR_GENERIC, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_SELECTED, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::GNEChange_Attribute, GNEJunction::invalidateShape(), myGNEJunctionDestiny, myGNEJunctionSource, myLanes, GNENetElement::myNet, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), removeEdgeFromCrossings(), OptionsCont::resetWritable(), GNENet::retrieveJunction(), OptionsCont::set(), GNEJunction::setLogicValid(), setNumLanes(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_DISTANCE, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_PRIORITY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, toString(), and GNEJunction::updateGeometry().
Referenced by GNENet::addReversedEdge(), copyTemplate(), deleteGeometryPoint(), editEndpoint(), GNEViewNet::onCmdStraightenEdges(), GNENet::replaceJunctionByGeometry(), resetEndpoint(), GNENet::reverseEdge(), smooth(), smoothElevation(), GNENet::splitEdge(), GNENet::splitJunction(), and straightenElevation().
|
privatevirtual |
set attribute after validation
Implements GNENetElement.
Definition at line 1505 of file GNEEdge.cpp.
References GNEJunction::addIncomingGNEEdge(), GNEJunction::addOutgoingGNEEdge(), GNENet::changeEdgeEndpoints(), clearGNEConnections(), NBEdge::declareConnectionsAsLoaded(), endGeometryMoving(), GNEAttributeCarrier::FEATURE_GUESSED, NBEdge::getFromNode(), Named::getID(), GNEAttributeCarrier::getID(), GUIGlObject::getMicrosimID(), GNEJunction::getPositionInView(), GNEAttributeCarrier::getTagStr(), NBEdge::getToNode(), GNE_ATTR_BIDIR, GNE_ATTR_GENERIC, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_SELECTED, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, NBEdge::invalidateConnections(), SUMOXMLDefinitions::LaneSpreadFunctions, myConnectionStatus, myGNEJunctionDestiny, myGNEJunctionSource, myNBEdge, GNENetElement::myNet, NBEdge::myPriority, NBEdge::myType, GNEJunction::removeIncomingGNEEdge(), GNEJunction::removeOutgoingGNEEdge(), GNENet::renameEdge(), GNENet::retrieveJunction(), GNENetElement::selectAttributeCarrier(), NBEdge::setDistance(), NBEdge::setEndOffset(), setGenericParametersStr(), setGeometry(), NBEdge::setLaneSpreadFunction(), NBEdge::setLaneWidth(), NBEdge::setLoadedLength(), setShapeEndPos(), setShapeStartPos(), NBEdge::setSpeed(), NBEdge::setStreetName(), startGeometryMoving(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_DISTANCE, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_PRIORITY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, toString(), GNENetElement::unselectAttributeCarrier(), and WRITE_DEBUG.
|
virtual |
set generic parameters in string format
Implements GNENetElement.
Definition at line 1158 of file GNEEdge.cpp.
References Parameterised::clearParameter(), StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), myNBEdge, StringTokenizer::next(), and Parameterised::setParameter().
Referenced by setAttribute().
void GNEEdge::setGeometry | ( | PositionVector | geom, |
bool | inner | ||
) |
update edge geometry and inform the lanes
[in] | geom | The new geometry |
[in] | inner | Whether geom is only the inner points |
Definition at line 703 of file GNEEdge.cpp.
References GNEJunction::invalidateShape(), myGNEJunctionDestiny, myGNEJunctionSource, myNBEdge, NBEdge::setGeometry(), and updateGeometry().
Referenced by commitShapeChange(), deleteGeometryPoint(), getVertexIndex(), moveEntireShape(), moveVertexShape(), setAttribute(), setShapeEndPos(), setShapeStartPos(), and updateJunctionPosition().
|
virtual |
override to also set lane ids
Reimplemented from GUIGlObject.
Definition at line 1863 of file GNEEdge.cpp.
References getNBEdge(), myLanes, and GUIGlObject::setMicrosimID().
Referenced by GNENet::renameEdge().
|
private |
changes the number of lanes. When reducing the number of lanes, higher-numbered lanes are removed first. When increasing the number of lanes, the last known attributes for a lane with this number are restored. If none are found the attributes for the leftmost lane are copied
Definition at line 1632 of file GNEEdge.cpp.
References NBEdge::getLaneStruct(), GNEChange_Lane, myGNEJunctionDestiny, myGNEJunctionSource, myLanes, myNBEdge, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEJunction::setLogicValid(), SUMO_TAG_LANE, and toString().
Referenced by setAttribute().
void GNEEdge::setResponsible | ( | bool | newVal | ) |
set responsibility for deleting internal strctures
Definition at line 1183 of file GNEEdge.cpp.
References myAmResponsible.
Referenced by GNENet::deleteSingleEdge(), and GNENet::registerEdge().
|
private |
change Shape EndPos
Definition at line 2030 of file GNEEdge.cpp.
References NBEdge::getGeometry(), myNBEdge, PositionVector::push_back_noDoublePos(), and setGeometry().
Referenced by commitShapeEndChange(), moveShapeEnd(), and setAttribute().
|
private |
change Shape StartPos
Definition at line 2019 of file GNEEdge.cpp.
References NBEdge::getGeometry(), myNBEdge, PositionVector::push_front_noDoublePos(), and setGeometry().
Referenced by commitShapeStartChange(), moveShapeStart(), and setAttribute().
void GNEEdge::smooth | ( | GNEUndoList * | undoList | ) |
make geometry smooth
Definition at line 1977 of file GNEEdge.cpp.
References NBEdge::getGeometry(), GNEAttributeCarrier::getID(), myNBEdge, setAttribute(), smoothShape(), SUMO_ATTR_SHAPE, toString(), and WRITE_WARNING.
Referenced by GNEViewNet::onCmdSmoothEdges().
void GNEEdge::smoothElevation | ( | GNEUndoList * | undoList | ) |
smooth elevation with regard to adjoining edges
Definition at line 1989 of file GNEEdge.cpp.
References NBEdge::getGeometry(), GNEAttributeCarrier::getID(), OptionsCont::getOptions(), PositionVector::length2D(), myNBEdge, PositionVector::positionAtOffset2D(), PositionVector::resample(), setAttribute(), smoothShape(), SUMO_ATTR_SHAPE, toString(), WRITE_WARNING, and Position::z().
Referenced by GNEViewNet::onCmdSmoothEdgesElevation().
PositionVector GNEEdge::smoothShape | ( | const PositionVector & | shape, |
bool | forElevation | ||
) |
return smoothed shape
Definition at line 1904 of file GNEEdge.cpp.
References PositionVector::bezier(), NBNode::bezierControlPoints(), DEBUGCOND, DEG2RAD, PositionVector::EMPTY, NBNode::geometryLike(), OptionsCont::getFloat(), NBEdge::getFromNode(), GNEAttributeCarrier::getID(), NBNode::getIncomingEdges(), OptionsCont::getInt(), OptionsCont::getOptions(), NBNode::getOutgoingEdges(), NBEdge::getToNode(), NBEdge::isTurningDirectionAt(), PositionVector::length2D(), MAX2(), MIN2(), myNBEdge, PositionVector::positionAtOffset2D(), and Position::z().
Referenced by smooth(), and smoothElevation().
|
inherited |
sort children (used by Rerouters, VSS, TAZs...)
Definition at line 138 of file GNEHierarchicalElementChildren.cpp.
References GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEHierarchicalElementChildren::myAC, GNEHierarchicalElementChildren::myAdditionalChildren, SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_TIME, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E3DETECTOR, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, and SUMO_TAG_TAZSOURCE.
Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), GNEVariableSpeedSignDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterDialog::onCmdSortIntervals(), GNEVariableSpeedSignDialog::onCmdSortSteps(), and GNEHierarchicalElementChildren::removeAdditionalChild().
|
inherited |
sort children (used by Rerouters, VSS, TAZs...)
Definition at line 309 of file GNEHierarchicalElementChildren.cpp.
Referenced by GNEHierarchicalElementChildren::addDemandElementChild(), and GNEHierarchicalElementChildren::removeDemandElementChild().
void GNEEdge::startGeometryMoving | ( | ) |
Definition at line 252 of file GNEEdge.cpp.
References GNEHierarchicalElementChildren::getAdditionalChildren(), GNEHierarchicalElementParents::getAdditionalParents(), getCenteringBoundary(), GNEHierarchicalElementChildren::getDemandElementChildren(), GNEHierarchicalElementParents::getDemandElementParents(), myLanes, and GNENetElement::myMovingGeometryBoundary.
Referenced by GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues(), getVertexIndex(), and setAttribute().
void GNEEdge::straightenElevation | ( | GNEUndoList * | undoList | ) |
interpolate z values linear between junctions
Definition at line 1894 of file GNEEdge.cpp.
References NBEdge::getFromNode(), NBEdge::getGeometry(), NBNode::getPosition(), NBEdge::getToNode(), PositionVector::interpolateZ(), myNBEdge, setAttribute(), SUMO_ATTR_SHAPE, toString(), and Position::z().
Referenced by GNEViewNet::onCmdStraightenEdgesElevation().
|
inlineinherited |
check if object ins't referenced
Definition at line 79 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by removeConnection(), removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
virtualinherited |
unselect attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 148 of file GNENetElement.cpp.
References GUISelectedStorage::deselect(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GUIGlObject::getType(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNENetElement::myNet, GNEAttributeCarrier::mySelected, and GNESelectorFrame::LockGLObjectTypes::removeLockedObject().
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEViewNet::processLeftButtonReleaseNetwork(), removeConnection(), removeLane(), GNECrossing::setAttribute(), GNEConnection::setAttribute(), GNELane::setAttribute(), GNEJunction::setAttribute(), and setAttribute().
|
virtualinherited |
update parent after add or remove a child (can be reimplemented, for example used for statistics)
Reimplemented in GNETAZ, and GNEDetectorE3.
Definition at line 451 of file GNEHierarchicalElementChildren.cpp.
Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), and GNEHierarchicalElementChildren::removeAdditionalChild().
|
inherited |
update child connections
Definition at line 84 of file GNEHierarchicalElementChildren.cpp.
References GNEHierarchicalElementChildren::myChildConnections, and GNEHierarchicalElementChildren::ChildConnections::update().
|
virtualinherited |
update parent after add or remove a child (can be reimplemented, for example used for statistics)
Definition at line 457 of file GNEHierarchicalElementChildren.cpp.
|
virtual |
update pre-computed geometry information
Implements GNENetElement.
Definition at line 122 of file GNEEdge.cpp.
References GNEHierarchicalElementChildren::getAdditionalChildren(), GNEHierarchicalElementParents::getAdditionalParents(), GNEHierarchicalElementChildren::getDemandElementChildren(), GNEHierarchicalElementParents::getDemandElementParents(), Boundary::isInitialised(), myGNEConnections, myLanes, and GNENetElement::myMovingGeometryBoundary.
Referenced by addConnection(), addLane(), commitShapeChange(), GNEJunction::moveJunctionGeometry(), moveShapeEnd(), moveShapeStart(), removeConnection(), removeLane(), and setGeometry().
void GNEEdge::updateJunctionPosition | ( | GNEJunction * | junction, |
const Position & | origPos | ||
) |
update edge geometry after junction move
Definition at line 446 of file GNEEdge.cpp.
References PositionVector::add(), NBEdge::getGeometry(), GNEJunction::getNBNode(), NBNode::getPosition(), myGNEJunctionSource, myNBEdge, and setGeometry().
bool GNEEdge::wasSplit | ( | ) |
whether this edge was created from a split
Definition at line 852 of file GNEEdge.cpp.
References myWasSplit.
Referenced by GNENet::splitEdge().
|
friend |
|
friend |
|
staticprotectedinherited |
dummy TagProperty used for reference some elements (for Example, dummyEdge)
Definition at line 798 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::getTagProperties().
|
staticinherited |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 593 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 587 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::setAttribute(), and setAttribute().
|
staticinherited |
Definition at line 584 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been manually modified (implies approval)
Definition at line 590 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().
|
staticinherited |
Definition at line 70 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processGet(), and GUIViewTraffic::stopTrack().
|
staticinherited |
invalid double position
Definition at line 600 of file GNEAttributeCarrier.h.
Referenced by GNEAdditionalHandler::parseAndBuildPOI().
|
staticinherited |
max number of attributes allowed for every tag
Definition at line 597 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::TagProperties::addAttribute(), GNEFrameAttributesModuls::AttributesCreator::AttributesCreator(), and GNEFrameAttributesModuls::AttributesEditor::AttributesEditor().
|
protected |
whether we are responsible for deleting myNBNode
Definition at line 344 of file GNEEdge.h.
Referenced by setResponsible(), and ~GNEEdge().
|
protectedinherited |
variable ChildConnections
Definition at line 238 of file GNEHierarchicalElementChildren.h.
Referenced by GNEHierarchicalElementChildren::addLaneChild(), GNEHierarchicalElementChildren::addShapeChild(), GNEHierarchicalElementChildren::changeEdgeChildren(), GNEHierarchicalElementChildren::changeLaneChildren(), GNEHierarchicalElementChildren::drawChildConnections(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEHierarchicalElementChildren::getChildPosition(), GNEHierarchicalElementChildren::getChildRotation(), GNEHierarchicalElementChildren::removeEdgeChild(), GNEHierarchicalElementChildren::removeLaneChild(), GNEHierarchicalElementChildren::removeShapeChild(), GNEDetectorE3::updateAdditionalParent(), GNEHierarchicalElementChildren::updateChildConnections(), GNEDetectorE3::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), and GNERerouter::updateGeometry().
|
protected |
modification status of the connections
Definition at line 350 of file GNEEdge.h.
Referenced by getAttribute(), and setAttribute().
|
protectedinherited |
netElement geometry
Definition at line 199 of file GNENetElement.h.
Referenced by GNELane::drawArrows(), GNELane::drawDirectionIndicators(), GNECrossing::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), GNELane::drawLane2LaneConnections(), GNELane::drawLinkNo(), GNELane::drawMarkings(), GNELane::drawTLSLinkNo(), GNEConnection::getBoundary(), GNELane::getColorValue(), GNENetElement::getGeometry(), GNELane::getLaneShapeLength(), GNELane::getPopUpMenu(), GNEConnection::getShape(), GNELane::setFunctionalColor(), GNELane::setMultiColor(), GNEConnection::updateGeometry(), GNECrossing::updateGeometry(), and GNELane::updateGeometry().
|
protected |
vector with the connections of this edge
Definition at line 341 of file GNEEdge.h.
Referenced by addConnection(), clearGNEConnections(), getGNEConnections(), remakeGNEConnections(), removeConnection(), retrieveGNEConnection(), updateGeometry(), and ~GNEEdge().
|
protected |
pointer to GNEJunction destiny
Definition at line 335 of file GNEEdge.h.
Referenced by addLane(), clickedOverShapeEnd(), drawGeometryPoints(), editEndpoint(), getAttribute(), getGNECrossings(), getGNEJunctionDestiny(), getOppositeEdge(), isValid(), removeLane(), resetEndpoint(), setAttribute(), setGeometry(), and setNumLanes().
|
protected |
pointer to GNEJunction source
Definition at line 332 of file GNEEdge.h.
Referenced by addLane(), clickedOverShapeStart(), drawGeometryPoints(), editEndpoint(), getAttribute(), getGNECrossings(), getGNEJunctionSource(), getOppositeEdge(), isValid(), removeLane(), resetEndpoint(), setAttribute(), setGeometry(), setNumLanes(), and updateJunctionPosition().
|
protected |
vectgor with the lanes of this edge
Definition at line 338 of file GNEEdge.h.
Referenced by addLane(), copyTemplate(), drawEdgeName(), drawGL(), drawRerouterSymbol(), endGeometryMoving(), getCenteringBoundary(), getLaneByVClass(), getLaneGlIDs(), getLanes(), GNEEdge(), hasRestrictedLane(), removeLane(), retrieveGNEConnection(), setAttribute(), setMicrosimID(), setNumLanes(), startGeometryMoving(), updateGeometry(), and ~GNEEdge().
|
protectedinherited |
boundary used during moving of elements
Definition at line 202 of file GNENetElement.h.
Referenced by GNEJunction::drawGL(), endGeometryMoving(), GNEJunction::endGeometryMoving(), GNEJunction::getCenteringBoundary(), getCenteringBoundary(), GNENetElement::GNENetElement(), startGeometryMoving(), GNEJunction::startGeometryMoving(), and updateGeometry().
|
protected |
|
protected |
the underlying NBEdge
Definition at line 326 of file GNEEdge.h.
Referenced by addConnection(), addLane(), clickedOverShapeEnd(), clickedOverShapeStart(), commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), copyTemplate(), deleteGeometryPoint(), drawEdgeName(), drawGeometryPoints(), drawGL(), editEndpoint(), getAttribute(), getCenteringBoundary(), getGenericParameters(), getGenericParametersStr(), getLaneByVClass(), getNBEdge(), getOptionalName(), getSplitPos(), getVertexIndex(), GNEEdge(), isValid(), moveShapeEnd(), moveShapeStart(), moveVertexShape(), remakeGNEConnections(), removeConnection(), removeLane(), setAttribute(), setGenericParametersStr(), setGeometry(), setNumLanes(), setShapeEndPos(), setShapeStartPos(), smooth(), smoothElevation(), smoothShape(), straightenElevation(), updateJunctionPosition(), and ~GNEEdge().
|
protectedinherited |
the net to inform about updates
Definition at line 196 of file GNENetElement.h.
Referenced by addLane(), GNEJunction::addTrafficLight(), GNEJunction::commitGeometryMoving(), commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), deleteGeometryPoint(), drawGeometryPoints(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), drawGL(), drawPartialPersonPlan(), drawPartialRoute(), drawRerouterSymbol(), GNENetElement::drawUsingSelectColor(), GNELane::drawVSSSymbol(), editEndpoint(), endGeometryMoving(), GNEJunction::endGeometryMoving(), GNEJunction::generateChildID(), GNEJunction::getColorValue(), GNENetElement::getNet(), getOppositeEdge(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), getPopUpMenu(), getVertexIndex(), GNENetElement::GNENetElement(), GNEJunction::invalidateShape(), GNEJunction::invalidateTLS(), GNECrossing::isValid(), GNEJunction::isValid(), isValid(), GNEJunction::markAsModified(), GNEJunction::moveGeometry(), GNEJunction::moveJunctionGeometry(), moveShapeEnd(), moveShapeStart(), moveVertexShape(), GNELane::onDefault(), GNEJunction::rebuildGNECrossings(), removeConnection(), GNEJunction::removeConnectionsFrom(), GNEJunction::removeConnectionsTo(), GNEJunction::removeEdgeFromCrossings(), removeEdgeFromCrossings(), removeLane(), GNEJunction::removeTLSConnections(), GNEJunction::removeTrafficLight(), GNEJunction::replaceIncomingConnections(), retrieveGNEConnection(), GNENetElement::selectAttributeCarrier(), GNECrossing::setAttribute(), GNEConnection::setAttribute(), GNELane::setAttribute(), GNEJunction::setAttribute(), setAttribute(), GNELane::setLaneColor(), GNEJunction::setLogicValid(), GNENetElement::unselectAttributeCarrier(), and GNELane::updateGeometry().
|
protectedinherited |
variable ParentConnections
Definition at line 233 of file GNEHierarchicalElementParents.h.
|
protectedinherited |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 795 of file GNEAttributeCarrier.h.
Referenced by GNEShape::draw(), GNENetElement::drawUsingSelectColor(), GNEShape::drawUsingSelectColor(), GNEAdditional::drawUsingSelectColor(), GNEDemandElement::drawUsingSelectColor(), GNENetElement::isAttributeCarrierSelected(), GNEShape::isAttributeCarrierSelected(), GNEAdditional::isAttributeCarrierSelected(), GNEDemandElement::isAttributeCarrierSelected(), GNEVehicleType::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().
|
protectedinherited |
the xml tag to which this attribute carrier corresponds
Definition at line 792 of file GNEAttributeCarrier.h.
Referenced by GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNEDetectorEntryExit::drawGL(), GNEDetectorE2::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEAdditional::endGeometryMoving(), GNEVehicleType::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEPerson::getBegin(), GNEVehicle::getBegin(), GNEStop::getColor(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNENetElement::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAttributeCarrier::getIcon(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEDemandElement::getParameterWindow(), GNEVehicle::getParentName(), GNENetElement::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEStop::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEPersonTrip::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEVehicleType::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEAdditional::setDefaultValues(), GNEAdditional::startGeometryMoving(), GNEAdditional::writeAdditional(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().
|
protected |
whether this edge was created from a split
Definition at line 347 of file GNEEdge.h.
Referenced by wasSplit().
|
static |
Definition at line 281 of file GNEEdge.h.
Referenced by clickedOverShapeEnd(), clickedOverShapeStart(), commitShapeChange(), drawGeometryPoints(), drawPartialPersonPlan(), GNELane::drawStartEndShapePoints(), editEndpoint(), getSplitPos(), and getVertexIndex().
|
staticinherited |
associates object types with strings
Definition at line 69 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().