![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A road/street connecting two junctions (netedit-version) More...
#include <GNEEdge.h>
Public Member Functions | ||||
void | addPathElement (GNEDemandElement *pathElementChild) | |||
add path element (Only used by GNEHierarchicalParentElements::changeRouteEdges) More... | ||||
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... | ||||
std::string | getAlternativeValueForDisabledAttributes (SumoXMLAttr key) const | |||
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 * | getLaneByAllowedVClass (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 * | getLaneByDisallowedVClass (const SUMOVehicleClass vClass) const | |||
return the first lane that disallow 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... | ||||
std::string | getNewListOfParents (const GNENetElement *currentElement, const GNENetElement *newNextElement) const | |||
if use edge/parent lanes as a list of consecutive elements, obtain a list of IDs of elements after insert a new element 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 (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... | ||||
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... | ||||
GNEEdge (GNENet *net, NBEdge *nbe, 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 | invalidatePathChildElementss () | |||
invalidate path element childs 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... | ||||
virtual void | onLeftBtnPress (void *) | |||
notify object about left click More... | ||||
template<> | ||||
int | parse (const std::string &string) | |||
template<> | ||||
std::vector< GNEEdge * > | 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... | ||||
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) | |||
remove additional user-griggered visualisations More... | ||||
void | removePathElement (GNEDemandElement *pathElementChild) | |||
remove path element (Only used by GNEHierarchicalParentElements::changeRouteEdges) 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... | ||||
void | updateChildConnections () | |||
update child connections More... | ||||
void | updateJunctionPosition (GNEJunction *junction, const Position &origPos) | |||
update edge geometry after junction move More... | ||||
virtual void | updateParentAdditional () | |||
update parent after add or remove a child (can be reimplemented, for example used for statistics) More... | ||||
virtual void | updateParentDemandElement () | |||
update parent after add or remove a child (can be reimplemented, for example used for statistics) 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) | |||
bool | isAttributeEnabled (SumoXMLAttr key) 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) | |||
void | disableAttribute (SumoXMLAttr key, GNEUndoList *undoList) | |||
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 void | removedPopupMenu () | |||
notify object about popup menu removal More... | ||||
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 parent edges | ||||
add parent edge | ||||
void | addParentEdge (GNEEdge *edge) | |||
void | removeParentEdge (GNEEdge *edge) | |||
remove parent edge More... | ||||
const std::vector< GNEEdge * > & | getParentEdges () const | |||
get parent edges More... | ||||
std::vector< GNEEdge * > | getMiddleParentEdges () const | |||
get middle (via) parent edges More... | ||||
const std::vector< GNEEdge * > & | getPathEdges () const | |||
get path edges More... | ||||
members and functions related to parent lanes | ||||
add parent lane | ||||
void | addParentLane (GNELane *lane) | |||
void | removeParentLane (GNELane *lane) | |||
remove parent lane More... | ||||
const std::vector< GNELane * > & | getParentLanes () const | |||
get parent lanes More... | ||||
members and functions related to parent shapes | ||||
add parent shape | ||||
void | addParentShape (GNEShape *shape) | |||
void | removeParentShape (GNEShape *shape) | |||
remove parent shape More... | ||||
const std::vector< GNEShape * > & | getParentShapes () const | |||
get parent shapes More... | ||||
members and functions related to parent additionals | ||||
add parent additional | ||||
void | addParentAdditional (GNEAdditional *additional) | |||
void | removeParentAdditional (GNEAdditional *additional) | |||
remove parent additional More... | ||||
const std::vector< GNEAdditional * > & | getParentAdditionals () const | |||
get parent additionals More... | ||||
members and functions related to parent demand elements | ||||
add parent demand element | ||||
void | addParentDemandElement (GNEDemandElement *demandElement) | |||
void | removeParentDemandElement (GNEDemandElement *demandElement) | |||
remove parent demand element More... | ||||
const std::vector< GNEDemandElement * > & | getParentDemandElements () const | |||
get parent demand elements More... | ||||
members and functions related to child edges | ||||
add child edge | ||||
void | addChildEdge (GNEEdge *edge) | |||
void | removeChildEdge (GNEEdge *edge) | |||
remove child edge More... | ||||
const std::vector< GNEEdge * > & | getChildEdges () const | |||
get child edges More... | ||||
members and functions related to child lanes | ||||
add child lane | ||||
void | addChildLane (GNELane *lane) | |||
void | removeChildLane (GNELane *lane) | |||
remove child lane More... | ||||
const std::vector< GNELane * > & | getChildLanes () const | |||
get child lanes More... | ||||
members and functions related to child shapes | ||||
add child shape | ||||
void | addChildShape (GNEShape *shape) | |||
void | removeChildShape (GNEShape *shape) | |||
remove child shape More... | ||||
const std::vector< GNEShape * > & | getChildShapes () const | |||
get child shapes More... | ||||
members and functions related to child additionals | ||||
add child additional | ||||
void | addChildAdditional (GNEAdditional *additional) | |||
void | removeChildAdditional (GNEAdditional *additional) | |||
remove child additional More... | ||||
const std::vector< GNEAdditional * > & | getChildAdditionals () const | |||
return child additionals More... | ||||
void | sortChildAdditionals () | |||
sort child additionals (used by Rerouters, VSS, TAZs...) More... | ||||
bool | checkChildAdditionalsOverlapping () const | |||
check if children are overlapped (Used by Rerouters) More... | ||||
members and functions related to child demand elements | ||||
add child demand element | ||||
void | addChildDemandElement (GNEDemandElement *demandElement) | |||
void | removeChildDemandElement (GNEDemandElement *demandElement) | |||
remove child demand element More... | ||||
const std::vector< GNEDemandElement * > & | getChildDemandElements () const | |||
return child demand elements More... | ||||
const std::set< GNEDemandElement * > & | getChildDemandElementsSortedByType (SumoXMLTag tag) const | |||
return child demand elements sorted by type More... | ||||
void | sortChildDemandElements () | |||
sort child demand elements More... | ||||
bool | checkChildDemandElementsOverlapping () const | |||
check if childs demand elements are overlapped More... | ||||
GNEDemandElement * | getPreviousChildDemandElement (const GNEDemandElement *demandElement) const | |||
get previous child demand element to the given demand element More... | ||||
GNEDemandElement * | getNextChildDemandElement (const GNEDemandElement *demandElement) const | |||
get next child 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 | 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 | changeChildEdges (GNEAdditional *elementChild, const std::string &newEdgeIDs) |
change child edges of an additional More... | |
void | changeChildLanes (GNEAdditional *elementChild, const std::string &newEdgeIDs) |
change child edges 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 | replaceParentEdges (GNEShape *elementChild, const std::string &newEdgeIDs) |
replace the parent edges of a shape More... | |
void | replaceParentEdges (GNEAdditional *elementChild, const std::string &newEdgeIDs) |
replace the parent edges of an additional More... | |
void | replaceParentEdges (GNEDemandElement *elementChild, const std::string &newEdgeIDs) |
replace the parent edges of a demandElement More... | |
void | replaceParentEdges (GNEDemandElement *elementChild, const std::vector< GNEEdge * > &newEdges) |
replace the parent edges of a demandElement (GNEEdge version) More... | |
void | replaceFirstParentEdge (GNEDemandElement *elementChild, GNEEdge *newFirstEdge) |
replace the first parent edge (used by demand elements) More... | |
void | replaceMiddleParentEdges (GNEDemandElement *elementChild, const std::vector< GNEEdge * > &newMiddleEdges, const bool updateChildReferences) |
replace middle (via) parent edges More... | |
void | replaceLastParentEdge (GNEDemandElement *elementChild, GNEEdge *newLastEdge) |
replace the last parent edge (used by demand elements) More... | |
void | replacePathEdges (GNEDemandElement *elementChild, const std::vector< GNEEdge * > &routeEdges) |
replace edge route Parents More... | |
void | replaceParentLanes (GNEShape *elementChild, const std::string &newLaneIDs) |
replace the parent edges of a shape More... | |
void | replaceParentLanes (GNEAdditional *elementChild, const std::string &newLaneIDs) |
replace the parent edges of an additional More... | |
void | replaceParentLanes (GNEDemandElement *elementChild, const std::string &newLaneIDs) |
replace the parent edges of a demandElement More... | |
void | replaceParentAdditional (GNEShape *shapeTobeChanged, const std::string &newParentAdditionalID, int additionalParentIndex) |
replace the parent additional of a shape More... | |
void | replaceParentAdditional (GNEAdditional *additionalTobeChanged, const std::string &newParentAdditionalID, int additionalParentIndex) |
replace the parent additional of an additional More... | |
void | replaceParentAdditional (GNEDemandElement *demandElementTobeChanged, const std::string &newParentAdditionalID, int additionalParentIndex) |
replace the parent additional of a demand element More... | |
void | replaceParentDemandElement (GNEShape *shapeTobeChanged, const std::string &newParentDemandElementID, int demandElementParentIndex) |
replace the parent demand element of a shape More... | |
void | replaceParentDemandElement (GNEAdditional *additionalTobeChanged, const std::string &newParentDemandElementID, int demandElementParentIndex) |
replace the parent demand element of an additional More... | |
void | replaceParentDemandElement (GNEDemandElement *demandElementTobeChanged, const std::string &newParentDemandElementID, int demandElementParentIndex) |
change first parent demand element 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... | |
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... | |
GNEGeometry::ParentConnections | myParentConnections |
variable ParentConnections More... | |
std::vector< GNEDemandElement * > | myPathElementChilds |
vector with references to path element childs 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... | |
std::string | createFullName () const |
create full name 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 () | |
constructor for dummy edge More... | |
GNEEdge (const GNEEdge &s)=delete | |
invalidated copy constructor 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) |
@briefdecrease 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 | setEnabledAttribute (const int enabledAttributes) |
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute) 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... | |
Static Private Member Functions | |
static bool | checkParsedAttribute (const TagProperties &tagProperties, const AttributeProperties &attrProperties, const SumoXMLAttr attribute, std::string &defaultValue, std::string &parsedAttribute, std::string &warningMessage) |
parse and check attribute (note: This function is only to improve legilibility) More... | |
static void | fillAdditionals () |
fill Additionals More... | |
static void | fillAttributeCarriers () |
fill Attribute Carriers More... | |
static void | fillCarFollowingModelAttributes (SumoXMLTag currentTag) |
fill Car Following Model of Vehicle/Person Types More... | |
static void | fillCommonFlowAttributes (SumoXMLTag currentTag) |
fill common flow attributes (used by flows, routeFlows and personFlows) More... | |
static void | fillCommonPersonAttributes (SumoXMLTag currentTag) |
fill common person attributes (used by person and personFlows) More... | |
static void | fillCommonStopAttributes (SumoXMLTag currentTag) |
fill stop person attributes (used by stops and personStps) More... | |
static void | fillCommonVehicleAttributes (SumoXMLTag currentTag) |
fill common vehicle attributes (used by vehicles, trips, routeFlows and flows) More... | |
static void | fillDemandElements () |
fill Demand Elements More... | |
static void | fillJunctionModelAttributes (SumoXMLTag currentTag) |
fill Junction Model Attributes of Vehicle/Person Types More... | |
static void | fillLaneChangingModelAttributes (SumoXMLTag currentTag) |
fill Junction Model Attributes of Vehicle/Person Types More... | |
static void | fillNetElements () |
fill Net Elements More... | |
static void | fillPersonElements () |
fill Person Elements More... | |
static void | fillPersonStopElements () |
fill PersonStop elements More... | |
static void | fillShapes () |
fill Shapes More... | |
static void | fillStopElements () |
fill Stop elements More... | |
static void | fillVehicleElements () |
fill vehicle elements More... | |
static bool | parseMaskedPositionAttribute (const SUMOSAXAttributes &attrs, const std::string &objectID, const TagProperties &tagProperties, const AttributeProperties &attrProperties, std::string &parsedAttribute, std::string &warningMessage) |
parse and check masked (note: This function is only to improve legilibility) More... | |
Private Attributes | |
GNEAttributeCarrier * | myAC |
pointer to AC (needed to avoid diamond problem) More... | |
std::vector< GNEAdditional * > | myChildAdditionals |
vector with the child additional More... | |
std::vector< GNEDemandElement * > | myChildDemandElements |
vector with the demand elements children More... | |
std::vector< GNEEdge * > | myChildEdges |
vector with the child edges of this element More... | |
std::vector< GNELane * > | myChildLanes |
vector with the child lanes of this element More... | |
std::vector< GNEShape * > | myChildShapes |
vector with the child lanes of this element More... | |
int | myCount |
reference counter More... | |
std::string | myFullName |
full name of GL Object More... | |
GUIGlID | myGlID |
The numerical id of the object. More... | |
const GUIGlObjectType | myGLObjectType |
The type of the object. More... | |
std::string | myMicrosimID |
ID of GL object. More... | |
std::set< GUIParameterTableWindow * > | myParamWindows |
Parameter table windows which refer to this object. More... | |
std::vector< GNEAdditional * > | myParentAdditionals |
list of parent additionals of this element More... | |
std::vector< GNEDemandElement * > | myParentDemandElements |
list of demand elements parents of this element More... | |
std::vector< GNEEdge * > | myParentEdges |
list of parent edges of this element More... | |
std::vector< GNELane * > | myParentLanes |
list of parent lanes of this element More... | |
std::vector< GNEShape * > | myParentShapes |
list of parent shapes of this element More... | |
std::vector< GNEEdge * > | myRouteEdges |
list of edges used in Flow/Trips/PersonTrips More... | |
std::map< SumoXMLTag, std::set< GNEDemandElement * > > | mySortedChildDemandElementsByType |
vector with the demand elements children sorted by type and filtered (to avoid duplicated More... | |
bool | myUpdateGeometry |
@brif flag to enable/disable update geomtetry of lanes (used mainly by setNumLanes) More... | |
Static Private Attributes | |
static StringBijection< GUIGlObjectType >::Entry | GUIGlObjectTypeNamesInitializer [] |
LinkStates (Currently unused) More... | |
static std::map< SumoXMLTag, TagProperties > | myTagProperties |
map with the tags properties 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 293 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 273 of file GNEAttributeCarrier.h.
Constructor.
[in] | net | The net to inform about gui updates |
[in] | nbe | The represented edge |
[in] | loaded | Whether the edge was loaded from a file |
Definition at line 55 of file GNEEdge.cpp.
References NBEdge::getNumLanes(), myLanes, and myNBEdge.
GNEEdge::~GNEEdge | ( | ) |
Destructor.
Definition at line 79 of file GNEEdge.cpp.
References myAmResponsible, myGNEConnections, myLanes, myNBEdge, and WRITE_DEBUG.
|
privatedelete |
invalidated copy constructor
|
private |
constructor for dummy edge
|
inherited |
Definition at line 95 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildAdditionals, GNEHierarchicalChildElements::sortChildAdditionals(), and GNEHierarchicalChildElements::updateParentAdditional().
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 256 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildDemandElements, GNEHierarchicalChildElements::mySortedChildDemandElementsByType, and GNEHierarchicalChildElements::sortChildDemandElements().
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 350 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, and GNEHierarchicalChildElements::myChildEdges.
|
inherited |
Definition at line 382 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildConnections, GNEHierarchicalChildElements::myChildLanes, and GNEHierarchicalChildElements::ChildConnections::update().
|
inherited |
Definition at line 414 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildConnections, GNEHierarchicalChildElements::myChildShapes, and GNEHierarchicalChildElements::ChildConnections::update().
|
private |
adds a connection
Definition at line 1777 of file GNEEdge.cpp.
References NBEdge::Connection::contPos, NBEdge::Connection::customShape, NBEdge::Connection::fromLane, GNEHierarchicalChildElements::getChildAdditionals(), 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().
|
private |
increase number of lanes by one use the given attributes and restore the GNELane
Definition at line 1666 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, myUpdateGeometry, 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 287 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inherited |
Definition at line 62 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, and GNEHierarchicalParentElements::myParentAdditionals.
|
inherited |
Definition at line 91 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, and GNEHierarchicalParentElements::myParentDemandElements.
|
inherited |
Definition at line 152 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentEdges, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 209 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentLanes, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 241 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentShapes, SUMO_TAG_EDGE, and toString().
void GNEEdge::addPathElement | ( | GNEDemandElement * | pathElementChild | ) |
add path element (Only used by GNEHierarchicalParentElements::changeRouteEdges)
Definition at line 1476 of file GNEEdge.cpp.
References myPathElementChilds.
|
staticinherited |
get tags of all editable element types
Definition at line 1316 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 1333 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(), GNEHierarchicalChildElements::GNEHierarchicalChildElements(), 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 325 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.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 216 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNENet::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 225 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
Builds the header.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 207 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNENet::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::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.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 266 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNENet::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 235 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(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), and GUIPolygon::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 302 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GNEPOI::getPopUpMenu(), and GUIPointOfInterest::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 278 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.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 248 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILane::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 257 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), and GUIPerson::getPopUpMenu().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 636 of file GNEAttributeCarrier.h.
Referenced by GNERouteHandler::addWalk(), GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow(), GNEDetectorE2::isValid(), GNERoute::isValid(), GNEWalk::isValid(), GNECrossing::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 657 of file GNEAttributeCarrier.h.
References WRITE_WARNING.
|
protectedinherited |
change child edges of an additional
Definition at line 462 of file GNEHierarchicalChildElements.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), GNEHierarchicalChildElements::myChildConnections, GNEHierarchicalChildElements::myChildEdges, and GNEHierarchicalChildElements::ChildConnections::update().
Referenced by GNERerouter::setAttribute().
|
protectedinherited |
change child edges of an additional
Definition at line 479 of file GNEHierarchicalChildElements.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), GNEHierarchicalChildElements::myChildConnections, GNEHierarchicalChildElements::myChildLanes, and GNEHierarchicalChildElements::ChildConnections::update().
Referenced by GNEVariableSpeedSign::setAttribute().
|
inherited |
check if children are overlapped (Used by Rerouters)
Definition at line 215 of file GNEHierarchicalChildElements.cpp.
References GNEAdditional::getAttributeDouble(), GNEHierarchicalChildElements::myChildAdditionals, SUMO_ATTR_BEGIN, SUMO_ATTR_END, and SUMO_ATTR_TIME.
Referenced by GNERerouterDialog::onCmdAccept().
|
inherited |
check if childs demand elements are overlapped
Definition at line 314 of file GNEHierarchicalChildElements.cpp.
|
staticprivateinherited |
parse and check attribute (note: This function is only to improve legilibility)
Definition at line 4498 of file GNEAttributeCarrier.cpp.
References canParseVehicleClasses(), GNEAttributeCarrier::AttributeProperties::getDefaultValue(), GNEAttributeCarrier::AttributeProperties::getDescription(), GNEAttributeCarrier::AttributeProperties::getDiscreteValues(), GNEAttributeCarrier::AttributeProperties::getMaximumRange(), GNEAttributeCarrier::AttributeProperties::getMinimumRange(), GNEAttributeCarrier::TagProperties::getTagStr(), GNEAttributeCarrier::AttributeProperties::hasAttrRange(), GNEAttributeCarrier::AttributeProperties::isBool(), GNEAttributeCarrier::AttributeProperties::isColor(), GNEAttributeCarrier::TagProperties::isDemandElement(), GNEAttributeCarrier::TagProperties::isDetector(), GNEAttributeCarrier::AttributeProperties::isDiscrete(), GNEAttributeCarrier::AttributeProperties::isFilename(), GNEAttributeCarrier::AttributeProperties::isFloat(), GNEAttributeCarrier::AttributeProperties::isInt(), GNEAttributeCarrier::AttributeProperties::isList(), GNEAttributeCarrier::AttributeProperties::isOptional(), GNEAttributeCarrier::AttributeProperties::isposition(), GNEAttributeCarrier::AttributeProperties::isPositive(), GNEAttributeCarrier::AttributeProperties::isProbability(), GNEAttributeCarrier::AttributeProperties::isSUMOTime(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidVehicleID(), GNEAttributeCarrier::AttributeProperties::isVClass(), SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VTYPES, toString(), WRITE_DEBUG, and WRITE_WARNING.
Referenced by GNEAttributeCarrier::parseAttributeFromXML().
void GNEEdge::clearGNEConnections | ( | ) |
clear current connections
Definition at line 783 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 168 of file GNEEdge.cpp.
References NBEdge::getGeometry(), GNEJunction::getPositionInView(), myGNEJunctionDestiny, myNBEdge, and SNAP_RADIUS.
bool GNEEdge::clickedOverShapeStart | ( | const Position & | pos | ) |
Definition at line 158 of file GNEEdge.cpp.
References NBEdge::getGeometry(), GNEJunction::getPositionInView(), myGNEJunctionSource, myNBEdge, and SNAP_RADIUS.
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 385 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.
void GNEEdge::commitShapeEndChange | ( | const Position & | oldPos, |
GNEUndoList * | undoList | ||
) |
commit position changing in shape end
Definition at line 225 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().
void GNEEdge::commitShapeStartChange | ( | const Position & | oldPos, |
GNEUndoList * | undoList | ||
) |
commit position changing in shape start
Definition at line 210 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().
void GNEEdge::copyTemplate | ( | GNEEdge * | tpl, |
GNEUndoList * | undolist | ||
) |
copy edge attributes from tpl
Definition at line 839 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().
|
privateinherited |
create full name
Definition at line 348 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
inlineinherited |
Decrease reference.
Definition at line 52 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), removeConnection(), removeLane(), 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(), and GNENet::~GNENet().
void GNEEdge::deleteGeometryPoint | ( | const Position & | pos, |
bool | allowUndo = true |
||
) |
delete the geometry point closest to the given pos
Definition at line 416 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().
|
virtualinherited |
Implements GNEAttributeCarrier.
Definition at line 136 of file GNENetElement.cpp.
|
inherited |
Definition at line 89 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::ChildConnections::draw(), and GNEHierarchicalChildElements::myChildConnections.
Referenced by GNEDetectorE3::drawGL(), GNERerouter::drawGL(), GNEVariableSpeedSign::drawGL(), drawRerouterSymbol(), and GNELane::drawVSSSymbol().
|
private |
draw edge name
Definition at line 2156 of file GNEEdge.cpp.
References Position::add(), RGBColor::alpha(), DEG2RAD, GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIVisualizationSettings::edgeName, GUIVisualizationSettings::edgeParam, GUIVisualizationSettings::edgeValue, GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), GNELane::getColorValue(), GUIGlObject::getGlID(), GNELane::getIndex(), GNELane::getLaneShape(), NBEdge::getLaneStruct(), getNBEdge(), Parameterised::getParameter(), GUIPropertySchemeStorage< T >::getScheme(), NBEdge::getStreetName(), NBEdge::isBidiRail(), GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneParam, PositionVector::length(), Position::mul(), myLanes, myNBEdge, PositionVector::positionAtOffset(), PositionVector::rotationAtOffset(), PositionVector::rotationDegreeAtOffset(), GUIVisualizationSettings::scale, GUIVisualizationTextSettings::scaledSize(), GUIVisualizationTextSettings::show, GUIVisualizationSettings::spreadSuperposed, GUIVisualizationSettings::streetName, and toString().
Referenced by drawGL().
|
private |
draw geometry points
Definition at line 2063 of file GNEEdge.cpp.
References GUIVisualizationSettings::addSize, RGBColor::alpha(), RGBColor::changedBrightness(), GUIVisualizationTextSettings::color, GUIVisualizationSettings::colorSettings, GUIVisualizationSettings::detailSettings, Position::distanceSquaredTo2D(), GUIVisualizationSettings::drawDetail(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForRectangleSelection, 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 505 of file GNEEdge.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GUIVisualizationSettings::drawBoundaries, GLHelper::drawBoundary(), drawEdgeName(), GUIVisualizationSettings::drawForRectangleSelection, drawGeometryPoints(), drawPartialPersonPlan(), drawPartialRoute(), drawPartialTripFromTo(), drawRerouterSymbol(), GLHelper::drawShapeDottedContourBetweenLanes(), getCenteringBoundary(), GNEHierarchicalChildElements::getChildAdditionals(), GNEHierarchicalChildElements::getChildDemandElementsSortedByType(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getDottedAC(), GNEViewNet::getEditModes(), GNEAttributeCarrier::getID(), NBEdge::getLaneWidth(), GNEViewNet::getNetworkViewOptions(), GNEHierarchicalParentElements::getParentAdditionals(), GNENet::getViewNet(), GLO_JUNCTION, GNE_SUPERMODE_DEMAND, NBEdge::isBidiRail(), myLanes, myNBEdge, GNENetElement::myNet, myPathElementChilds, 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 GUIPerson, GUIContainer, and GUIBaseVehicle.
Definition at line 186 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 354 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by drawEdgeName(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIEdge::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), drawPartialPersonPlan(), drawPartialRoute(), and drawPartialTripFromTo().
void GNEEdge::drawPartialPersonPlan | ( | const GUIVisualizationSettings & | s, |
const GNEDemandElement * | personPlan, | ||
const GNEJunction * | junction | ||
) | const |
draw partial person plan
Definition at line 1327 of file GNEEdge.cpp.
References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GUIVisualizationSettings::colorSettings, Position::distanceSquaredTo2D(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForRectangleSelection, GUIGlObject::drawName(), GNEGeometry::drawSegmentGeometry(), GNEDemandElement::drawUsingSelectColor(), GNEDemandElement::getAttribute(), GNEAttributeCarrier::getAttribute(), getCenteringBoundary(), GNEHierarchicalChildElements::getChildDemandElements(), GUIVisualizationSettings::getCircleResolution(), GNEDemandElement::getDemandElementSegmentGeometry(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getDottedAC(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GNEGeometry::SegmentGeometry::getLastPosition(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), GNEHierarchicalParentElements::getParentAdditionals(), GNEHierarchicalParentElements::getParentDemandElements(), GNEHierarchicalParentElements::getParentEdges(), GNEHierarchicalParentElements::getParentLanes(), GUISUMOAbstractView::getPositionInformation(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNENet::getViewNet(), GLO_PERSONTRIP, GNE_ATTR_PARENT, GNEAttributeCarrier::TagProperties::hasAttribute(), Position::INVALID, GNEAttributeCarrier::TagProperties::isPersonPlan(), GNEAttributeCarrier::TagProperties::isPersonStop(), GNEAttributeCarrier::TagProperties::isPersonTrip(), GNEAttributeCarrier::TagProperties::isRide(), GNEAttributeCarrier::TagProperties::isWalk(), GUIVisualizationSettings::laneWidthExaggeration, MIN2(), GNENetElement::myNet, GUIVisualizationColorSettings::personTrip, GUIVisualizationWidthSettings::personTrip, GUIVisualizationColorSettings::ride, GUIVisualizationWidthSettings::ride, GUIVisualizationSettings::scale, GUIVisualizationColorSettings::selectedPersonPlanColor, GLHelper::setColor(), GNEViewNetHelper::DemandViewOptions::showAllPersonPlans(), SNAP_RADIUS, SUMO_ATTR_ARRIVALPOS, SUMO_TAG_PERSONSTOP_LANE, SUMO_TAG_WALK_ROUTE, 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 1213 of file GNEEdge.cpp.
References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GUIVisualizationSettings::colorSettings, GUIVisualizationSettings::drawForRectangleSelection, GUIGlObject::drawName(), drawPartialPersonPlan(), GNEGeometry::drawSegmentGeometry(), GLHelper::drawShapeDottedContourAroundShape(), GNEDemandElement::drawUsingSelectColor(), getCenteringBoundary(), GNEHierarchicalChildElements::getChildDemandElements(), GNEDemandElement::getColor(), GNEDemandElement::getDemandElementSegmentGeometry(), GNEViewNet::getDottedAC(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GNEHierarchicalParentElements::getParentDemandElements(), GNEHierarchicalParentElements::getParentEdges(), 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 1286 of file GNEEdge.cpp.
References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GUIVisualizationSettings::colorSettings, GUIVisualizationSettings::drawForRectangleSelection, GUIGlObject::drawName(), GNEGeometry::drawSegmentGeometry(), GNEDemandElement::drawUsingSelectColor(), getCenteringBoundary(), GNEDemandElement::getDemandElementSegmentGeometry(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getType(), GNENet::getViewNet(), GNENetElement::myNet, GUIVisualizationSettings::scale, GUIVisualizationColorSettings::selectedVehicleColor, GLHelper::setColor(), GUIVisualizationWidthSettings::trip, GUIVisualizationColorSettings::vehicleTrips, and GUIVisualizationSettings::widthSettings.
Referenced by drawGL().
|
private |
draw Rerouter symbols
Definition at line 2210 of file GNEEdge.cpp.
References GUIVisualizationSettings::addSize, RGBColor::BLACK, GUIVisualizationSettings::drawAdditionals(), GNEHierarchicalChildElements::drawChildConnections(), GUIVisualizationSettings::drawForRectangleSelection, GLHelper::drawShapeDottedContourRectangle(), GLHelper::drawText(), GNEAdditional::getAttribute(), GNEHierarchicalChildElements::getChildPosition(), GNEHierarchicalChildElements::getChildRotation(), GNEViewNet::getDottedAC(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), GUIGlObject::getType(), GNENet::getViewNet(), myLanes, GNENetElement::myNet, 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 120 of file GNENetElement.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNEViewNet::getEditModes(), GNENet::getViewNet(), GNE_SUPERMODE_NETWORK, GNENetElement::myNet, and GNEAttributeCarrier::mySelected.
Referenced by drawGeometryPoints(), GNEConnection::drawGL(), GNECrossing::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 651 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 GNEViewNet::onCmdEditEdgeEndpoint().
|
virtualinherited |
Implements GNEAttributeCarrier.
Definition at line 130 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 267 of file GNEEdge.cpp.
References GNENet::addGLObjectIntoGrid(), GNEHierarchicalChildElements::getChildAdditionals(), GNEHierarchicalChildElements::getChildDemandElements(), GNEHierarchicalParentElements::getParentAdditionals(), GNEHierarchicalParentElements::getParentDemandElements(), Boundary::isInitialised(), myLanes, GNENetElement::myMovingGeometryBoundary, GNENetElement::myNet, GNENet::removeGLObjectFromGrid(), and Boundary::reset().
Referenced by commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), getVertexIndex(), and setAttribute().
|
staticprivateinherited |
fill Additionals
Definition at line 1870 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_ACTIVATABLE, GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_PROBABILITY, GNEAttributeCarrier::ATTRPROPERTY_RANGE, GNEAttributeCarrier::ATTRPROPERTY_SECUENCIAL, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SUMOTIME, GNEAttributeCarrier::ATTRPROPERTY_SYNONYM, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, GNEAttributeCarrier::ATTRPROPERTY_VCLASSES, DEFAULT_VTYPE_ID, GNEAttributeCarrier::fillCommonVehicleAttributes(), ICON_ACCESS, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONTAINERSTOP, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_FLOW, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_TAZ, ICON_TAZEDGE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::AttributeProperties::setRange(), GNEAttributeCarrier::AttributeProperties::setSynonym(), SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_BEGIN, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONT, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_END, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LANE, SUMO_ATTR_LANES, SUMO_ATTR_LENGTH, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_OFF, SUMO_ATTR_ONROAD, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_POSITION, SUMO_ATTR_PROB, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TIME, SUMO_ATTR_TYPE, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WEIGHT, SUMO_ATTR_WIDTH, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E2DETECTOR_MULTILANE, SUMO_TAG_E3DETECTOR, SUMO_TAG_FLOW_CALIBRATOR, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, GNEAttributeCarrier::TAGPROPERTY_AUTOMATICSORTING, GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT, GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE, GNEAttributeCarrier::TAGPROPERTY_CENTERAFTERCREATION, GNEAttributeCarrier::TAGPROPERTY_DIALOG, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_MASKSTARTENDPOS, GNEAttributeCarrier::TAGPROPERTY_MASKXYZPOSITION, GNEAttributeCarrier::TAGPROPERTY_MINIMUMCHILDREN, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_REPARENT, GNEAttributeCarrier::TAGPROPERTY_RTREE, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGPROPERTY_WRITECHILDRENSEPARATE, GNEAttributeCarrier::TAGTYPE_ADDITIONAL, GNEAttributeCarrier::TAGTYPE_DETECTOR, GNEAttributeCarrier::TAGTYPE_STOPPINGPLACE, GNEAttributeCarrier::TAGTYPE_TAZ, and toString().
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
staticprivateinherited |
fill Attribute Carriers
Definition at line 1460 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAdditionals(), GNEAttributeCarrier::fillDemandElements(), GNEAttributeCarrier::fillNetElements(), GNEAttributeCarrier::fillPersonElements(), GNEAttributeCarrier::fillPersonStopElements(), GNEAttributeCarrier::fillShapes(), GNEAttributeCarrier::fillStopElements(), GNEAttributeCarrier::fillVehicleElements(), and GNEAttributeCarrier::myTagProperties.
Referenced by GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::allowedTagsByCategory(), GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTagProperties().
|
staticprivateinherited |
fill Car Following Model of Vehicle/Person Types
Definition at line 4059 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_EXTENDED, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_RANGE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::AttributeProperties::setDiscreteValues(), GNEAttributeCarrier::AttributeProperties::setRange(), SUMO_ATTR_ACCEL, SUMO_ATTR_APPARENTDECEL, SUMO_ATTR_CF_IDM_DELTA, SUMO_ATTR_CF_IDM_STEPPING, SUMO_ATTR_CF_IDMM_ADAPT_FACTOR, SUMO_ATTR_CF_IDMM_ADAPT_TIME, SUMO_ATTR_CF_KERNER_PHI, SUMO_ATTR_CF_PWAGNER2009_APPROB, SUMO_ATTR_CF_PWAGNER2009_TAULAST, SUMO_ATTR_CF_WIEDEMANN_ESTIMATION, SUMO_ATTR_CF_WIEDEMANN_SECURITY, SUMO_ATTR_COLLISION_MINGAP_FACTOR, SUMO_ATTR_DECEL, SUMO_ATTR_EMERGENCYDECEL, SUMO_ATTR_K, SUMO_ATTR_SIGMA, SUMO_ATTR_TAU, SUMO_ATTR_TMP1, SUMO_ATTR_TMP2, SUMO_ATTR_TMP3, SUMO_ATTR_TMP4, SUMO_ATTR_TMP5, SUMO_ATTR_TRAIN_TYPE, and SUMOXMLDefinitions::TrainTypes.
Referenced by GNEAttributeCarrier::fillDemandElements().
|
staticprivateinherited |
fill common flow attributes (used by flows, routeFlows and personFlows)
Definition at line 4016 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FLOWDEFINITION, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SUMOTIME, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_ATTR_VEHSPERHOUR, and toString().
Referenced by GNEAttributeCarrier::fillPersonElements(), and GNEAttributeCarrier::fillVehicleElements().
|
staticprivateinherited |
fill common person attributes (used by person and personFlows)
Definition at line 4396 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_COMPLEX, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, DEFAULT_VTYPE_ID, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_COLOR, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_ID, SUMO_ATTR_TYPE, and toString().
Referenced by GNEAttributeCarrier::fillPersonElements().
|
staticprivateinherited |
fill stop person attributes (used by stops and personStps)
Attribute currently disabled. It will be implemented in #6011 attrProperty = AttributeProperties(SUMO_ATTR_TRIP_ID, ATTRPROPERTY_STRING | ATTRPROPERTY_DEFAULTVALUESTATIC | ATTRPROPERTY_OPTIONAL, "Value used for trips that uses this stop"); myTagProperties[currentTag].addAttribute(attrProperty);
Definition at line 4426 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_ACTIVATABLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SUMOTIME, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_ACTTYPE, SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_DURATION, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_EXTENSION, SUMO_ATTR_INDEX, SUMO_ATTR_PARKING, SUMO_ATTR_TRIGGERED, and SUMO_ATTR_UNTIL.
Referenced by GNEAttributeCarrier::fillPersonStopElements(), and GNEAttributeCarrier::fillStopElements().
|
staticprivateinherited |
fill common vehicle attributes (used by vehicles, trips, routeFlows and flows)
Definition at line 3938 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_COMPLEX, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_LINE, SUMO_ATTR_PERSON_NUMBER, and toString().
Referenced by GNEAttributeCarrier::fillAdditionals(), and GNEAttributeCarrier::fillVehicleElements().
|
staticprivateinherited |
fill Demand Elements
Definition at line 3144 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUEMUTABLE, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_EXTENDED, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SUMOTIME, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, DEFAULT_VEH_PROB, GNEAttributeCarrier::fillCarFollowingModelAttributes(), GNEAttributeCarrier::fillJunctionModelAttributes(), GNEAttributeCarrier::fillLaneChangingModelAttributes(), PollutantsInterface::getAllClassesStr(), OptionsCont::getOptions(), ICON_PTYPE, ICON_ROUTE, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LateralAlignments, GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::AttributeProperties::setDiscreteValues(), SUMO_ATTR_ACTIONSTEPLENGTH, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CARRIAGE_GAP, SUMO_ATTR_CARRIAGE_LENGTH, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_EDGES, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LENGTH, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_LOCOMOTIVE_LENGTH, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_OSGFILE, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PROB, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_VCLASS, SUMO_ATTR_WIDTH, SUMO_TAG_EMBEDDEDROUTE, SUMO_TAG_NOTHING, SUMO_TAG_PTYPE, SUMO_TAG_ROUTE, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, SVC_PEDESTRIAN, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, GNEAttributeCarrier::TAGTYPE_ROUTE, GNEAttributeCarrier::TAGTYPE_VTYPE, and toString().
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
staticprivateinherited |
fill Junction Model Attributes of Vehicle/Person Types
Definition at line 4207 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_EXTENDED, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_JM_CROSSING_GAP, SUMO_ATTR_JM_DRIVE_AFTER_RED_TIME, SUMO_ATTR_JM_DRIVE_AFTER_YELLOW_TIME, SUMO_ATTR_JM_DRIVE_RED_SPEED, SUMO_ATTR_JM_IGNORE_FOE_PROB, SUMO_ATTR_JM_IGNORE_FOE_SPEED, SUMO_ATTR_JM_IGNORE_KEEPCLEAR_TIME, SUMO_ATTR_JM_SIGMA_MINOR, and SUMO_ATTR_JM_TIMEGAP_MINOR.
Referenced by GNEAttributeCarrier::fillDemandElements().
|
staticprivateinherited |
fill Junction Model Attributes of Vehicle/Person Types
Definition at line 4273 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_EXTENDED, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_LCA_ACCEL_LAT, SUMO_ATTR_LCA_ASSERTIVE, SUMO_ATTR_LCA_COOPERATIVE_PARAM, SUMO_ATTR_LCA_IMPATIENCE, SUMO_ATTR_LCA_KEEPRIGHT_PARAM, SUMO_ATTR_LCA_LOOKAHEADLEFT, SUMO_ATTR_LCA_MAXSPEEDLATFACTOR, SUMO_ATTR_LCA_MAXSPEEDLATSTANDING, SUMO_ATTR_LCA_OPPOSITE_PARAM, SUMO_ATTR_LCA_OVERTAKE_RIGHT, SUMO_ATTR_LCA_PUSHY, SUMO_ATTR_LCA_PUSHYGAP, SUMO_ATTR_LCA_SPEEDGAIN_PARAM, SUMO_ATTR_LCA_SPEEDGAINRIGHT, SUMO_ATTR_LCA_STRATEGIC_PARAM, SUMO_ATTR_LCA_SUBLANE_PARAM, SUMO_ATTR_LCA_TIME_TO_IMPATIENCE, and SUMO_ATTR_LCA_TURN_ALIGNMENT_DISTANCE.
Referenced by GNEAttributeCarrier::fillDemandElements().
|
staticprivateinherited |
fill Net Elements
Definition at line 1478 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, GNEAttributeCarrier::ATTRPROPERTY_VCLASSES, FRINGE_TYPE_DEFAULT, SUMOXMLDefinitions::FringeTypeValues, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_CONNECTION, ICON_CROSSING, ICON_EDGE, ICON_JUNCTION, ICON_LANE, SUMOXMLDefinitions::LaneSpreadFunctions, GNEAttributeCarrier::myTagProperties, NODETYPE_DEAD_END, NODETYPE_DEAD_END_DEPRECATED, NODETYPE_INTERNAL, NODETYPE_NOJUNCTION, SUMOXMLDefinitions::NodeTypes, RIGHT_OF_WAY_DEFAULT, SUMOXMLDefinitions::RightOfWayValues, GNEAttributeCarrier::AttributeProperties::setDiscreteValues(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DIR, SUMO_ATTR_DISALLOW, SUMO_ATTR_DISTANCE, SUMO_ATTR_EDGES, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FRINGE, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_PASS, SUMO_ATTR_POSITION, SUMO_ATTR_PRIORITY, SUMO_ATTR_RADIUS, SUMO_ATTR_RIGHT_OF_WAY, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STATE, SUMO_ATTR_TLID, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VISIBILITY_DISTANCE, SUMO_ATTR_WIDTH, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SumoVehicleClassStrings, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGTYPE_NETELEMENT, TLTYPE_ACTUATED, TLTYPE_DELAYBASED, TLTYPE_STATIC, toString(), NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
staticprivateinherited |
fill Person Elements
Definition at line 3673 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_COMPLEX, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::fillCommonFlowAttributes(), GNEAttributeCarrier::fillCommonPersonAttributes(), ICON_PERSON, ICON_PERSONFLOW, ICON_PERSONTRIP_BUSSTOP, ICON_PERSONTRIP_FROMTO, ICON_RIDE_BUSSTOP, ICON_RIDE_FROMTO, ICON_WALK_BUSSTOP, ICON_WALK_EDGES, ICON_WALK_FROMTO, ICON_WALK_ROUTE, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_DEPART, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_VIA, SUMO_ATTR_VTYPES, SUMO_TAG_BUS_STOP, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_PERSONTRIP_BUSSTOP, SUMO_TAG_PERSONTRIP_FROMTO, SUMO_TAG_RIDE_BUSSTOP, SUMO_TAG_RIDE_FROMTO, SUMO_TAG_WALK_BUSSTOP, SUMO_TAG_WALK_EDGES, SUMO_TAG_WALK_FROMTO, SUMO_TAG_WALK_ROUTE, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SORTINGCHILDREN, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, GNEAttributeCarrier::TAGTYPE_PERSON, GNEAttributeCarrier::TAGTYPE_PERSONPLAN, GNEAttributeCarrier::TAGTYPE_PERSONTRIP, GNEAttributeCarrier::TAGTYPE_RIDE, GNEAttributeCarrier::TAGTYPE_WALK, and toString().
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
staticprivateinherited |
fill PersonStop elements
Definition at line 3888 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::fillCommonStopAttributes(), ICON_STOPELEMENT, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_BUS_STOP, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_STARTPOS, SUMO_TAG_PERSONSTOP_BUSSTOP, SUMO_TAG_PERSONSTOP_LANE, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_MASKSTARTENDPOS, GNEAttributeCarrier::TAGPROPERTY_NOPARAMETERS, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SORTINGCHILDREN, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, and GNEAttributeCarrier::TAGTYPE_PERSONSTOP.
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
staticprivateinherited |
fill Shapes
Definition at line 2936 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_RELATIVEPATH, Shape::DEFAULT_TYPE, ICON_LOCATEPOI, ICON_LOCATEPOLY, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LANE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT, GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE, GNEAttributeCarrier::TAGPROPERTY_CLOSESHAPE, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_GEOPOSITION, GNEAttributeCarrier::TAGPROPERTY_GEOSHAPE, GNEAttributeCarrier::TAGPROPERTY_MASKXYZPOSITION, GNEAttributeCarrier::TAGPROPERTY_RTREE, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGTYPE_SHAPE, and toString().
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
staticprivateinherited |
fill Stop elements
Definition at line 3582 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_ACTIVATABLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::fillCommonStopAttributes(), ICON_STOPELEMENT, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_BUS_STOP, SUMO_ATTR_CHARGING_STATION, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_STARTPOS, SUMO_TAG_STOP_BUSSTOP, SUMO_TAG_STOP_CHARGINGSTATION, SUMO_TAG_STOP_CONTAINERSTOP, SUMO_TAG_STOP_LANE, SUMO_TAG_STOP_PARKINGAREA, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_MASKSTARTENDPOS, GNEAttributeCarrier::TAGPROPERTY_NOPARAMETERS, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, and GNEAttributeCarrier::TAGTYPE_STOP.
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
staticprivateinherited |
fill vehicle elements
Definition at line 3433 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_COMPLEX, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, DEFAULT_VTYPE_ID, GNEAttributeCarrier::fillCommonFlowAttributes(), GNEAttributeCarrier::fillCommonVehicleAttributes(), ICON_FLOW, ICON_ROUTEFLOW, ICON_TRIP, ICON_VEHICLE, GNEAttributeCarrier::myTagProperties, SUMO_ATTR_DEPART, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_ATTR_VIA, SUMO_TAG_FLOW, SUMO_TAG_NOTHING, SUMO_TAG_ROUTEFLOW, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGTYPE_DEMANDELEMENT, GNEAttributeCarrier::TAGTYPE_VEHICLE, and toString().
Referenced by GNEAttributeCarrier::fillAttributeCarriers().
|
virtual |
gererate a new ID for an element child
Implements GNENetElement.
Definition at line 105 of file GNEEdge.cpp.
|
inherited |
Definition at line 1167 of file GNEAttributeCarrier.cpp.
References FALLTHROUGH, GNEAttributeCarrier::getAttribute(), GNEAttributeCarrier::TagProperties::getAttributeProperties(), GNEAttributeCarrier::TagProperties::hasAttribute(), GNEAttributeCarrier::isAttributeEnabled(), GNEAttributeCarrier::AttributeProperties::isFlowDefinition(), GNEAttributeCarrier::myTagProperty, SUMO_ATTR_DIR, SUMO_ATTR_END, SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_ATTR_STATE, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, and SUMO_ATTR_VEHSPERHOUR.
|
virtual |
Implements GNENetElement.
Definition at line 892 of file GNEEdge.cpp.
References NBEdge::getDistance(), NBEdge::getEndOffset(), NBEdge::getFinalLength(), NBEdge::getGeometry(), NBEdge::getInnerGeometry(), NBEdge::getLaneSpreadFunction(), NBEdge::getLaneWidth(), GUIGlObject::getMicrosimID(), NBEdge::getNumLanes(), Parameterised::getParametersStr(), NBEdge::getPermissions(), GNEJunction::getPositionInView(), NBEdge::getPriority(), NBEdge::getSpeed(), NBEdge::getStreetName(), GNEAttributeCarrier::getTagStr(), NBEdge::getTypeID(), getVehicleClassNames(), GNE_ATTR_BIDIR, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_PARAMETERS, 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 965 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 448 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().
|
inherited |
return child additionals
Definition at line 131 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildAdditionals.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), addConnection(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEDetectorE3::checkChildAdditionalRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), drawGL(), GNELane::drawGL(), endGeometryMoving(), GNELane::endGeometryMoving(), GNEAdditional::generateChildID(), GNETAZ::getAttribute(), getRouteProbeRelativePosition(), GNEVariableSpeedSignStep::isValid(), GNEAdditionalHandler::myEndElement(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNECalibratorDialog::onCmdClickedRoute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEVariableSpeedSignDialog::onCmdEditStep(), removeConnection(), GNENet::replaceIncomingEdge(), retrieveGNEConnection(), GNEBusStop::setAttribute(), GNEDetectorE3::setAttribute(), GNEParkingArea::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNENet::splitEdge(), startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNECalibratorDialog::updateFlowTable(), updateGeometry(), GNELane::updateGeometry(), GNERerouterDialog::updateIntervalTable(), GNETAZ::updateParentAdditional(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNEAdditional::writeAdditional().
|
inherited |
return child demand elements
Definition at line 296 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildDemandElements.
Referenced by GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNELane::drawGL(), drawPartialPersonPlan(), drawPartialRoute(), GNEAdditional::endGeometryMoving(), endGeometryMoving(), GNELane::endGeometryMoving(), GNEDemandElement::generateChildID(), GNEPerson::getCenteringBoundary(), GNEPerson::getFromEdge(), GNEVehicle::getFromEdge(), GNEPerson::getPositionInView(), GNEPerson::getToEdge(), GNEVehicle::getToEdge(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNERouteHandler::separateEmbeddedRoute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNENet::splitEdge(), GNEAdditional::startGeometryMoving(), startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEBusStop::updateGeometry(), GNEPerson::updateGeometry(), GNEPersonTrip::updateGeometry(), GNERide::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNEVehicleType::updateGeometry(), GNEWalk::updateGeometry(), updateGeometry(), GNELane::updateGeometry(), GNEPerson::updatePartialGeometry(), GNEPersonTrip::updatePartialGeometry(), GNERide::updatePartialGeometry(), GNERoute::updatePartialGeometry(), GNEVehicle::updatePartialGeometry(), GNEVehicleType::updatePartialGeometry(), GNEWalk::updatePartialGeometry(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), and GNEWalk::writeDemandElement().
|
inherited |
return child demand elements sorted by type
Definition at line 302 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::mySortedChildDemandElementsByType.
Referenced by drawGL(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().
|
inherited |
get child edges
Definition at line 376 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildEdges.
Referenced by GNERerouter::getAttribute(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().
|
inherited |
get child lanes
Definition at line 408 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildLanes.
Referenced by GNEVariableSpeedSign::getAttribute(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().
get child position calculated in ChildConnections
Definition at line 61 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildConnections, and GNEHierarchicalChildElements::ChildConnections::symbolsPositionAndRotation.
Referenced by drawRerouterSymbol(), and GNELane::drawVSSSymbol().
|
inherited |
get child rotation calculated in ChildConnections
Definition at line 72 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildConnections, and GNEHierarchicalChildElements::ChildConnections::symbolsPositionAndRotation.
Referenced by drawRerouterSymbol(), and GNELane::drawVSSSymbol().
|
inherited |
get child shapes
Definition at line 444 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildShapes.
Referenced by GNENet::deleteEdge(), GNENet::deleteLane(), GNELane::drawGL(), GNELane::endGeometryMoving(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNELane::startGeometryMoving(), and GNELane::updateGeometry().
|
inlinevirtualinherited |
Reimplemented in GUIBaseVehicle, GNELane, GNEJunction, GUIMEVehicle, GUIVehicle, GUIPerson, GUILane, GUIJunctionWrapper, GUIEdge, and GUIContainer.
Definition at line 150 of file GUIGlObject.h.
Referenced by GNEPerson::drawGL(), GNEPerson::setColor(), and GUISUMOAbstractView::showToolTipFor().
|
static |
Dummy edge to use when a reference must be supplied in the no-arguments constructor (FOX technicality)
|
inherited |
Definition at line 137 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObjectStorage::remove(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
Returns the numerical id of the object.
Definition at line 149 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), drawEdgeName(), drawGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIEdge::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), drawPartialPersonPlan(), drawPartialRoute(), drawRerouterSymbol(), GNELane::drawVSSSymbol(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertPersonIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUIVehicle::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIViewTraffic::onCmdShowReachability(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::onCmdTrack(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_GUI::processSet(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNEAdditional::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEVehicleType::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNEAdditional::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNENetElement::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 880 of file GNEEdge.cpp.
References myGNEConnections.
Referenced by GNEAdditionalFrame::SelectorParentLanes::addSelectedLane(), and GNELane::getGNEOutcomingConnections().
std::vector< GNECrossing * > GNEEdge::getGNECrossings | ( | ) |
get GNECrossings vinculated with this Edge
Definition at line 822 of file GNEEdge.cpp.
References GNEJunction::getGNECrossings(), myGNEJunctionDestiny, and myGNEJunctionSource.
GNEJunction * GNEEdge::getGNEJunctionDestiny | ( | ) | const |
returns the destination-junction
Definition at line 493 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 487 of file GNEEdge.cpp.
References myGNEJunctionSource.
Referenced by GNENet::addReversedEdge(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEConnectorFrame::buildConnection(), 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 152 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 1279 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::TagProperties::getGUIIcon(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::myTagProperties, and GNEAttributeCarrier::myTagProperty.
Referenced by GNEFrameModuls::AttributeCarrierHierarchy::addListItem(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents().
|
virtualinherited |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 1289 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.
Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::addChildEdge(), GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNECrossingFrame::addCrossing(), GNEJunction::addIncomingGNEEdge(), GNENet::additionalExist(), GNEJunction::addOutgoingGNEEdge(), GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::addParentShape(), GNENet::addPOI(), GNEPolygonFrame::addPOILane(), GNENet::addReversedEdge(), 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(), GNENet::changeShapeID(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), drawGL(), GNEJunction::drawJunctionChilds(), GNEVehicleFrame::edgePathCreated(), GNEAdditional::generateChildID(), GNEPOI::generateChildID(), GNEPoly::generateChildID(), GNEDemandElement::generateChildID(), GNEJunction::generateChildID(), GNEAdditionalFrame::generateID(), GNECalibratorFlow::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEConnection::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEHierarchicalParentElements::getNewListOfParents(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNEDetectorE3::getPopUpID(), GNERerouter::getPopUpID(), GNEShape::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNETAZ::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNENetElement::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(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdToogleLockPerson(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Children::redo(), GNEChange_Connection::redo(), GNEChange_Crossing::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), removeConnection(), GNEJunction::removeEdgeFromCrossings(), GNEJunction::removeIncomingGNEEdge(), removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNENet::removeShape(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), GNENet::retrieveEdge(), retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), smooth(), smoothElevation(), smoothShape(), GNENet::splitEdge(), GNEAccess::splitEdgeGeometry(), GNECalibrator::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNENet::splitJunction(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Children::undo(), GNEChange_Connection::undo(), GNEChange_Crossing::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_Shape::undo(), GNEChange_TLS::undo(), GNENet::updateAdditionalID(), GNERouteDialog::updateCalibratorRouteValues(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEWalk::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::getLaneByAllowedVClass | ( | 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 1183 of file GNEEdge.cpp.
References NBEdge::getLanes(), myLanes, and myNBEdge.
GNELane * GNEEdge::getLaneByDisallowedVClass | ( | const SUMOVehicleClass | vClass | ) | const |
return the first lane that disallow a vehicle of type vClass (or the first lane, if none was found)
Definition at line 1198 of file GNEEdge.cpp.
References NBEdge::getLanes(), myLanes, and myNBEdge.
std::set< GUIGlID > GNEEdge::getLaneGlIDs | ( | ) | const |
const std::vector< GNELane * > & GNEEdge::getLanes | ( | ) | const |
returns a reference to the lane vector
Definition at line 874 of file GNEEdge.cpp.
References myLanes.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEFrameModuls::EdgePathCreator::addEdge(), GNEPersonPlanFrame::PersonPlanCreator::addEdge(), GNERouteFrame::NonConsecutiveEdges::addEdge(), GNEViewNet::addRestrictedLane(), GNENet::addRestrictedLane(), GNERouteHandler::buildFlow(), GNERouteHandler::buildTrip(), 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 163 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(), getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEDemandElement::getDemandElementID(), GUIDialog_GLObjChooser::getObjectName(), GNEDialogACChooser::getObjectName(), GNEDetector::getParentName(), GNEDetectorE3::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNEVariableSpeedSign::getParentName(), GNEPerson::getParentName(), GNEPersonTrip::getParentName(), GNERide::getParentName(), GNERoute::getParentName(), GNEVehicleType::getParentName(), GNEWalk::getParentName(), GNELane::getParentName(), GNETLSEditorFrame::handleMultiChange(), isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), removeConnection(), setAttribute(), GNENet::splitEdge(), and GNEConnection::updateID().
|
inherited |
get middle (via) parent edges
Definition at line 187 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentEdges.
Referenced by GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNEWalk::getAttribute(), GNERouteHandler::transformToFlow(), and GNERouteHandler::transformToTrip().
NBEdge * GNEEdge::getNBEdge | ( | ) | const |
returns the internal NBEdge
Definition at line 631 of file GNEEdge.cpp.
References myNBEdge.
Referenced by GNEFrameModuls::EdgePathCreator::addEdge(), GNENet::addRestrictedLane(), GNENet::addReversedEdge(), GNEDemandElement::RouteCalculator::areEdgesConsecutives(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNENet::changeEdgeEndpoints(), GNEConnection::changeTLIndex(), GNECrossing::checkEdgeBelong(), GNENet::createEdge(), GNENet::deleteLane(), GNENet::deleteSingleEdge(), GNELane::drawArrows(), GNELane::drawAsRailway(), GNELane::drawAsWaterway(), GNELane::drawDirectionIndicators(), drawEdgeName(), GNEConnection::drawGL(), GNELane::drawGL(), GNELane::drawLane2LaneConnections(), GNEViewNet::drawLaneCandidates(), GNELane::drawLinkNo(), GNELane::drawMarkings(), GNELane::drawStartEndShapePoints(), GNELane::drawTLSLinkNo(), GNENet::duplicateLane(), GNELane::getAttribute(), GNELane::getCenteringBoundary(), GNELane::getColorValue(), GNEDetector::getGeometryPositionOverLane(), GNELane::getLaneParametricLength(), GNEAdditionalHandler::getLanePos(), GNELane::getLaneShape(), GNEConnectorFrame::getLaneStatus(), GNELane::getLengthGeometryFactor(), GNEConnection::getNBEdgeConnection(), GNELane::getPopUpMenu(), GNELane::getSpeed(), GNEConnectorFrame::initTargets(), GNENet::insertEdge(), GNEConnection::isAttributeEnabled(), 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(), GNELane::setAttribute(), 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 58 of file GNENetElement.cpp.
References GNENetElement::myNet.
Referenced by GNETAZFrame::TAZCurrent::addTAZChild(), GNEConnection::changeTLIndex(), GNEInspectorFrame::TemplateEditor::onCmdCopyTemplate(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEInspectorFrame::TemplateEditor::onCmdSetTemplate(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents().
|
inherited |
if use edge/parent lanes as a list of consecutive elements, obtain a list of IDs of elements after insert a new element
Definition at line 120 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEHierarchicalParentElements::myParentEdges, GNEHierarchicalParentElements::myParentLanes, SUMO_TAG_EDGE, SUMO_TAG_LANE, and toString().
Referenced by GNEDetector::splitEdgeGeometry(), GNERoute::splitEdgeGeometry(), and GNEWalk::splitEdgeGeometry().
|
inherited |
get next child demand element to the given demand element
Definition at line 335 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildDemandElements.
GNEEdge * GNEEdge::getOppositeEdge | ( | ) | const |
get opposite edge
Definition at line 499 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 467 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 64 of file GNENetElement.cpp.
References GUIParameterTableWindow::closeBuilding(), GNENetElement::getAttribute(), GNEAttributeCarrier::TagProperties::getNumberOfAttributes(), GUIParameterTableWindow::mkItem(), and GNEAttributeCarrier::myTagProperty.
|
inherited |
get parent additionals
Definition at line 85 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentAdditionals.
Referenced by GNEDemandElement::calculatePersonPlanLaneStartEndPos(), GNEDemandElement::calculatePersonPlanPositionStartEndPos(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEWalk::computePath(), drawGL(), GNELane::drawGL(), drawPartialPersonPlan(), endGeometryMoving(), GNELane::endGeometryMoving(), GNEAccess::getAttribute(), GNECalibratorFlow::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZSourceSink::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNEStop::getAttribute(), GNEWalk::getAttribute(), GNECalibratorFlow::getCenteringBoundary(), GNEDestProbReroute::getCenteringBoundary(), GNEParkingAreaReroute::getCenteringBoundary(), GNERerouterInterval::getCenteringBoundary(), GNERouteProbReroute::getCenteringBoundary(), GNEVariableSpeedSignStep::getCenteringBoundary(), GNEStop::getCenteringBoundary(), GNEStop::getFromEdge(), GNEParkingAreaReroute::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNERide::getHierarchyName(), GNEStop::getHierarchyName(), GNEWalk::getHierarchyName(), GNEDemandElement::getLastAllowedVehicleLane(), GNEAccess::getParentName(), GNECalibratorFlow::getParentName(), GNEClosingLaneReroute::getParentName(), GNEClosingReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEParkingSpace::getParentName(), GNERerouterInterval::getParentName(), GNERouteProbReroute::getParentName(), GNETAZSourceSink::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNEStop::getParentName(), GNECalibratorFlow::getPositionInView(), GNEClosingLaneReroute::getPositionInView(), GNEClosingReroute::getPositionInView(), GNEDestProbReroute::getPositionInView(), GNEParkingAreaReroute::getPositionInView(), GNERerouterInterval::getPositionInView(), GNERouteProbReroute::getPositionInView(), GNETAZSourceSink::getPositionInView(), GNEVariableSpeedSignStep::getPositionInView(), GNEStop::getToEdge(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEWalk::invalidatePath(), GNEAccess::isValid(), GNEVariableSpeedSignStep::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNETAZSourceSink::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEDetectorEntryExit::updateGeometry(), GNEStop::updateGeometry(), updateGeometry(), GNELane::updateGeometry(), GNEStop::updatePartialGeometry(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), and GNEWalk::writeDemandElement().
|
inherited |
get parent demand elements
Definition at line 114 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentDemandElements.
Referenced by GNEDemandElement::calculatePersonPlanLaneStartEndPos(), GNEDemandElement::calculatePersonPlanPositionStartEndPos(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEVehicle::computePath(), GNEWalk::computePath(), GNENet::deleteDemandElement(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), drawPartialPersonPlan(), drawPartialRoute(), GNERouteHandler::embebbeRoute(), endGeometryMoving(), GNELane::endGeometryMoving(), GNEPerson::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEWalk::getAttribute(), GNEPersonTrip::getColor(), GNERide::getColor(), GNEWalk::getColor(), GNEPersonTrip::getDemandElementProblem(), GNERide::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEDemandElement::getFirstAllowedVehicleLane(), GNEPersonTrip::getFromEdge(), GNERide::getFromEdge(), GNEVehicle::getFromEdge(), GNEWalk::getFromEdge(), GNEStop::getHierarchyName(), GNEWalk::getHierarchyName(), GNEDemandElement::getLastAllowedVehicleLane(), GNEStop::getParentName(), GNEVehicle::getParentName(), GNEStop::getPositionInView(), GNEPersonTrip::getToEdge(), GNERide::getToEdge(), GNEVehicle::getToEdge(), GNEWalk::getToEdge(), GNEPerson::getVClass(), GNEPersonTrip::getVClass(), GNERide::getVClass(), GNEStop::getVClass(), GNEVehicle::getVClass(), GNEWalk::getVClass(), GNEPersonTrip::isDemandElementValid(), GNERide::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isValid(), GNEViewNet::onCmdToogleLockPerson(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERouteHandler::separateEmbeddedRoute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEBusStop::updateGeometry(), GNEStop::updateGeometry(), GNEWalk::updateGeometry(), updateGeometry(), GNELane::updateGeometry(), GNEStop::updatePartialGeometry(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNEVehicle::writeDemandElement(), and GNEWalk::writeDemandElement().
|
inherited |
get parent edges
Definition at line 181 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentEdges.
Referenced by GNEVehicleFrame::addVehicle(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEVehicle::computePath(), GNEWalk::computePath(), GNECalibrator::drawCalibratorSymbol(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEVehicle::drawGL(), drawPartialPersonPlan(), drawPartialRoute(), GNECalibrator::getAttribute(), GNERouteProbe::getAttribute(), GNETAZSourceSink::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNEWalk::getAttribute(), GNETAZSourceSink::getCenteringBoundary(), GNEPersonTrip::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNERoute::getCenteringBoundary(), GNEWalk::getCenteringBoundary(), GNEPersonTrip::getDemandElementProblem(), GNERide::getDemandElementProblem(), GNERoute::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEDemandElement::getFirstAllowedVehicleLane(), GNEPersonTrip::getFromEdge(), GNERide::getFromEdge(), GNERoute::getFromEdge(), GNEVehicle::getFromEdge(), GNEWalk::getFromEdge(), GNEPerson::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNERide::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEWalk::getHierarchyName(), GNEDemandElement::getLastAllowedVehicleLane(), GNERouteHandler::PersonPlansValues::getLastEdge(), GNECalibrator::getParentName(), GNERouteProbe::getParentName(), GNEVaporizer::getParentName(), GNEVehicle::getParentName(), GNECalibrator::getPositionInView(), GNERouteProbe::getPositionInView(), GNEVaporizer::getPositionInView(), GNEPersonTrip::getToEdge(), GNERide::getToEdge(), GNERoute::getToEdge(), GNEVehicle::getToEdge(), GNEWalk::getToEdge(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEVehicle::invalidatePath(), GNEWalk::invalidatePath(), GNEPersonTrip::isDemandElementValid(), GNERide::isDemandElementValid(), GNERoute::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNECalibrator::isValid(), GNEPersonTrip::moveGeometry(), GNERide::moveGeometry(), GNEWalk::moveGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToTrip(), GNECalibrator::updateGeometry(), GNERouteProbe::updateGeometry(), GNEVaporizer::updateGeometry(), GNEPersonTrip::updateGeometry(), GNERide::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNEWalk::updateGeometry(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), and GNEWalk::writeDemandElement().
|
inherited |
get parent lanes
Definition at line 235 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentLanes.
Referenced by GNEDetectorE2::checkE2MultilaneIntegrity(), GNEPOI::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEWalk::computePath(), GNECalibrator::drawCalibratorSymbol(), GNEStop::drawGL(), drawPartialPersonPlan(), GNEStop::enableAttribute(), GNEStop::endGeometryMoving(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorE1::getAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), GNEDetectorE2::getAdditionalProblem(), GNEDetectorEntryExit::getAdditionalProblem(), GNEStoppingPlace::getAdditionalProblem(), GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEPOI::getAttribute(), GNEStop::getAttribute(), GNEStop::getAttributeDouble(), GNEDetector::getCenteringBoundary(), GNEStop::getDemandElementProblem(), GNEAccess::getEdge(), GNEStoppingPlace::getEndGeometryPositionOverLane(), GNEStop::getEndGeometryPositionOverLane(), GNEStoppingPlace::getEndPosition(), GNEStop::getFromEdge(), GNEAccess::getHierarchyName(), GNEDetector::getLane(), GNECalibrator::getParentName(), GNEStoppingPlace::getParentName(), GNEStop::getParentName(), GNEPOI::getPopUpMenu(), GNEAccess::getPositionInView(), GNECalibrator::getPositionInView(), GNEStoppingPlace::getPositionInView(), GNEStop::getPositionInView(), GNEStoppingPlace::getStartGeometryPositionOverLane(), GNEStop::getStartGeometryPositionOverLane(), GNEStop::getToEdge(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEWalk::invalidatePath(), GNEAccess::isAccessPositionFixed(), GNEDetectorE1::isAdditionalValid(), GNEDetectorE1Instant::isAdditionalValid(), GNEDetectorE2::isAdditionalValid(), GNEDetectorEntryExit::isAdditionalValid(), GNEStoppingPlace::isAdditionalValid(), GNEStop::isDemandElementValid(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEPOI::isValid(), GNEStop::isValid(), GNEAccess::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEDetectorE2::moveGeometry(), GNEDetectorEntryExit::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEStop::moveGeometry(), GNEPOI::moveGeometry(), GNEPersonPlanFrame::personPlanCreated(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNEPOI::setAttribute(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEStoppingPlace::splitEdgeGeometry(), GNEStop::startGeometryMoving(), GNEAccess::updateGeometry(), GNEBusStop::updateGeometry(), GNECalibrator::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEParkingArea::updateGeometry(), GNEPOI::updateGeometry(), GNEStop::updateGeometry(), GNEStop::updatePartialGeometry(), and GNEPOI::writeShape().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNELane, GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPerson, GNEVariableSpeedSignStep, GNEVariableSpeedSign, GNEVaporizer, GNETAZSourceSink, GNETAZ, GNEStoppingPlace, GNERouteProbReroute, GNERouteProbe, GNERerouterInterval, GNERerouter, GNEPoly, GNEPOI, GNEParkingSpace, GNEParkingAreaReroute, GNEDetectorE3, GNEDetector, GNEDestProbReroute, GNEClosingReroute, GNEClosingLaneReroute, GNECalibratorFlow, GNECalibrator, GNEAccess, and GUILane.
Definition at line 143 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
inherited |
get parent shapes
Definition at line 267 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentShapes.
Referenced by GNELane::endGeometryMoving(), GNELane::startGeometryMoving(), and GNELane::updateGeometry().
|
inherited |
get path edges
Definition at line 203 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myRouteEdges.
Referenced by GNEPersonTrip::updateGeometry(), GNERide::updateGeometry(), GNEVehicle::updateGeometry(), and GNEWalk::updateGeometry().
|
virtualinherited |
get PopPup ID (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 142 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 472 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 151 of file GNEEdge.cpp.
|
inherited |
get previous child demand element to the given demand element
Definition at line 320 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildDemandElements.
int GNEEdge::getRouteProbeRelativePosition | ( | GNERouteProbe * | routeProbe | ) | const |
obtain relative positions of RouteProbes
Definition at line 804 of file GNEEdge.cpp.
References GNEHierarchicalChildElements::getChildAdditionals(), GNEAttributeCarrier::TagProperties::getTag(), and GNEAttributeCarrier::getTagProperty().
Definition at line 637 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 1298 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 1273 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNENet::additionalExist(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPersonOverRoute(), GNERouteHandler::buildStop(), GNEGeometry::calculateEdgeGeometricPath(), GNEDemandElement::calculatePersonPlanLaneStartEndPos(), GNEDemandElement::calculatePersonPlanPositionStartEndPos(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEViewNet::doPaintGL(), GNEPerson::drawGL(), GNEStop::drawGL(), drawPartialPersonPlan(), drawPartialRoute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEPerson::getHierarchyName(), GNEStop::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEHierarchicalParentElements::getNewListOfParents(), GNEPerson::getPositionInView(), getRouteProbeRelativePosition(), GNENet::getSelectedAttributeCarriers(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdToogleLockPerson(), GNEAdditionalHandler::parseParameter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_Attribute::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNENet::retrieveShapes(), GNEInspectorFrame::selectedOverlappedElement(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameAttributesModuls::ParametersEditor::showParametersEditor(), GNEHierarchicalChildElements::sortChildAdditionals(), GNECalibrator::splitEdgeGeometry(), GNEDetector::splitEdgeGeometry(), GNEStoppingPlace::splitEdgeGeometry(), GNERoute::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEViewNetHelper::EditShapes::startEditCustomShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Attribute::undo(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEStop::updateGeometry(), GNEStop::updatePartialGeometry(), 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 1267 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TagProperties::getTagStr(), and GNEAttributeCarrier::myTagProperty.
Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::addChildEdge(), GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNEJunction::addIncomingGNEEdge(), GNEJunction::addOutgoingGNEEdge(), GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::addParentShape(), GNENet::addPOI(), 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(), GNEDemandElement::changeDemandElementID(), GNEAdditional::checkChildAdditionalRestriction(), GNEDemandElement::checkChildDemandElementRestriction(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEPOI::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNETAZ::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEPoly::commitShapeChange(), GNETAZ::commitShapeChange(), commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteShape(), GNEAdditional::fixAdditionalProblem(), GNEDemandElement::fixDemandElementProblem(), GNEAccess::getAttribute(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE2::getAttribute(), GNEDetectorE3::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPOI::getAttribute(), GNEPoly::getAttribute(), GNERerouter::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEPerson::getAttribute(), GNEPersonTrip::getAttribute(), GNERide::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEWalk::getAttribute(), GNEConnection::getAttribute(), GNECrossing::getAttribute(), getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEAccess::getAttributeDouble(), GNECalibrator::getAttributeDouble(), GNECalibratorFlow::getAttributeDouble(), GNEClosingLaneReroute::getAttributeDouble(), GNEClosingReroute::getAttributeDouble(), GNEDestProbReroute::getAttributeDouble(), GNEDetector::getAttributeDouble(), GNEDetectorE3::getAttributeDouble(), GNEParkingAreaReroute::getAttributeDouble(), GNEParkingSpace::getAttributeDouble(), GNERerouter::getAttributeDouble(), GNERerouterInterval::getAttributeDouble(), GNERouteProbe::getAttributeDouble(), GNERouteProbReroute::getAttributeDouble(), GNEStoppingPlace::getAttributeDouble(), GNETAZ::getAttributeDouble(), GNETAZSourceSink::getAttributeDouble(), GNEVaporizer::getAttributeDouble(), GNEVariableSpeedSign::getAttributeDouble(), GNEVariableSpeedSignStep::getAttributeDouble(), GNEPerson::getAttributeDouble(), GNEPersonTrip::getAttributeDouble(), GNERide::getAttributeDouble(), GNEStop::getAttributeDouble(), GNEVehicleType::getAttributeDouble(), GNEWalk::getAttributeDouble(), GNEDemandElement::getBegin(), GNEAccess::getHierarchyName(), GNECalibrator::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEDetector::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNERerouter::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEShape::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNETAZ::getHierarchyName(), GNETAZSourceSink::getHierarchyName(), GNEVaporizer::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNEPerson::getHierarchyName(), GNERoute::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVehicleType::getHierarchyName(), GNENetElement::getHierarchyName(), GNEAccess::getPopUpID(), GNECalibrator::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEDetector::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNERerouter::getPopUpID(), GNERerouterInterval::getPopUpID(), GNERouteProbe::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEShape::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNETAZ::getPopUpID(), GNETAZSourceSink::getPopUpID(), GNEVaporizer::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNEPerson::getPopUpID(), GNEPersonTrip::getPopUpID(), GNERide::getPopUpID(), GNERoute::getPopUpID(), GNEStop::getPopUpID(), GNEVehicle::getPopUpID(), GNEVehicleType::getPopUpID(), GNEWalk::getPopUpID(), GNENetElement::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNEDemandElement::isRouteValid(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE2::isValid(), GNEDetectorE3::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNERerouter::isValid(), GNERerouterInterval::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNEPerson::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNERoute::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNEConnection::isValid(), GNECrossing::isValid(), isValid(), GNEJunction::isValid(), GNELane::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNERouteDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEAdditional::openAdditionalDialog(), GNEDemandElement::openDemandElementDialog(), GNEVehicleType::overwriteVType(), GNEAdditionalHandler::parseParameter(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Children::redo(), GNEChange_Crossing::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEChange_Children::redoName(), GNEChange_DemandElement::redoName(), GNEChange_EnableAttribute::redoName(), GNEChange_Shape::redoName(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalChildElements::removeChildAdditional(), GNEHierarchicalChildElements::removeChildDemandElement(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), removeConnection(), GNEJunction::removeIncomingGNEEdge(), removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEPerson::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNERoute::setAttribute(), GNEStop::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEWalk::setAttribute(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Children::undo(), GNEChange_Crossing::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_Shape::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNEChange_Children::undoName(), GNEChange_DemandElement::undoName(), GNEChange_EnableAttribute::undoName(), GNEChange_Shape::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 180 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNECalibrator::drawCalibratorSymbol(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), drawPartialPersonPlan(), drawPartialRoute(), drawPartialTripFromTo(), drawRerouterSymbol(), GNEJunction::drawTLSIcon(), GNELane::drawVSSSymbol(), GNEViewNet::getAttributeCarriersInBoundary(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_GLObjChooser::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), GNEPerson::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNEPerson::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), and GNENetElement::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 GUIBaseVehicle, GUIMEVehicle, GUIVehicle, GUIPerson, and GUIContainer.
Definition at line 155 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
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 341 of file GNEEdge.cpp.
References NBEdge::getGeometry(), getVertexIndex(), myNBEdge, and PositionVector::positionAtOffset2D().
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 301 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(), editEndpoint(), getVertexIndex(), GNEViewNet::processLeftButtonPressNetwork(), and GNEDeleteFrame::removeAttributeCarrier().
bool GNEEdge::hasRestrictedLane | ( | SUMOVehicleClass | vclass | ) | const |
check if edge has a restricted lane
Definition at line 1894 of file GNEEdge.cpp.
References myLanes.
Referenced by GNELane::getPopUpMenu().
|
inlineinherited |
Increarse reference.
Definition at line 67 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().
void GNEEdge::invalidatePathChildElementss | ( | ) |
invalidate path element childs
Definition at line 1495 of file GNEEdge.cpp.
References myPathElementChilds.
Referenced by GNENet::deleteEdge().
|
virtualinherited |
check if attribute carrier is selected
Implements GNEAttributeCarrier.
Definition at line 114 of file GNENetElement.cpp.
References GNEAttributeCarrier::mySelected.
Referenced by addLane(), GNENet::deleteConnection(), GNENet::deleteCrossing(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEConnection::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEConnection::getAttribute(), GNECrossing::getAttribute(), getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEJunction::getColorValue(), GNELane::getColorValue(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNETLSEditorFrame::handleMultiChange(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdResetLength(), GNEViewNet::onCmdReverseEdge(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::processLeftButtonReleaseNetwork(), GNENet::registerEdge(), GNENet::registerJunction(), removeConnection(), and removeLane().
|
virtual |
|
virtual |
Implements GNENetElement.
Definition at line 1075 of file GNEEdge.cpp.
References Parameterised::areParametersValid(), canParseVehicleClasses(), NBEdge::getGeometry(), NBEdge::getLoadedLength(), GUIGlObject::getMicrosimID(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BIDIR, GNE_ATTR_PARAMETERS, GNE_ATTR_SELECTED, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, StringBijection< T >::hasString(), 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 1136 of file GNEAttributeCarrier.cpp.
Referenced by 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 372 of file GNEEdge.cpp.
References PositionVector::add(), and setGeometry().
move position of shape end without commiting change
Definition at line 194 of file GNEEdge.cpp.
References Position::add(), NBEdge::getGeometry(), GNENet::getViewNet(), myNBEdge, GNENetElement::myNet, setShapeEndPos(), GUISUMOAbstractView::snapToActiveGrid(), updateGeometry(), and Position::z().
move position of shape start without commiting change
Definition at line 178 of file GNEEdge.cpp.
References Position::add(), NBEdge::getGeometry(), GNENet::getViewNet(), myNBEdge, GNENetElement::myNet, setShapeStartPos(), GUISUMOAbstractView::snapToActiveGrid(), updateGeometry(), and Position::z().
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 347 of file GNEEdge.cpp.
References PositionVector::add(), NBEdge::getInnerGeometry(), GNENet::getViewNet(), myNBEdge, GNENetElement::myNet, setGeometry(), GUISUMOAbstractView::snapToActiveGrid(), and Position::z().
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 165 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
|
inherited |
Definition at line 931 of file GNEAttributeCarrier.cpp.
References StringUtils::toInt().
|
staticinherited |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by GNEDetectorE2::isValid(), GNERoute::isValid(), GNEWalk::isValid(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNEVehicle::setAttribute(), and GNEWalk::setAttribute().
|
inherited |
Definition at line 1078 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
|
staticinherited |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
|
inlinestaticinherited |
Parse attribute from XML and show warnings if there are problems parsing it.
Definition at line 682 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.
|
inherited |
Definition at line 1114 of file GNEAttributeCarrier.cpp.
References joinToString().
|
inherited |
Definition at line 1125 of file GNEAttributeCarrier.cpp.
References joinToString().
|
staticinherited |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by GNEDetectorE2::getAttribute(), GNERerouter::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNERoute::getAttribute(), GNEWalk::getAttribute(), GNENet::joinRoutes(), GNERoute::writeDemandElement(), and GNEWalk::writeDemandElement().
|
staticprivateinherited |
parse and check masked (note: This function is only to improve legilibility)
Definition at line 4676 of file GNEAttributeCarrier.cpp.
References SUMOSAXAttributes::get(), GNEAttributeCarrier::AttributeProperties::getDescription(), GNEAttributeCarrier::TagProperties::getTagStr(), SUMOSAXAttributes::hasAttribute(), SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, toString(), and WRITE_WARNING.
Referenced by GNEAttributeCarrier::parseAttributeFromXML().
void GNEEdge::remakeGNEConnections | ( | ) |
remake connections
Definition at line 744 of file GNEEdge.cpp.
References NBEdge::getConnections(), GNEReferenceCounter::incRef(), GNEConnection::markConnectionGeometryDeprecated(), myGNEConnections, myNBEdge, retrieveGNEConnection(), GNEConnection::updateLinkState(), and WRITE_DEBUG.
Referenced by addLane(), and removeLane().
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIPerson, and GUIBaseVehicle.
Definition at line 162 of file GUIGlObject.h.
|
inherited |
remove child additional
Definition at line 113 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildAdditionals, GNEHierarchicalChildElements::sortChildAdditionals(), and GNEHierarchicalChildElements::updateParentAdditional().
|
inherited |
remove child demand element
Definition at line 274 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildDemandElements, GNEHierarchicalChildElements::mySortedChildDemandElementsByType, and GNEHierarchicalChildElements::sortChildDemandElements().
|
inherited |
remove child edge
Definition at line 361 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildConnections, GNEHierarchicalChildElements::myChildEdges, and GNEHierarchicalChildElements::ChildConnections::update().
|
inherited |
remove child lane
Definition at line 395 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildConnections, GNEHierarchicalChildElements::myChildLanes, and GNEHierarchicalChildElements::ChildConnections::update().
|
inherited |
remove child shape
Definition at line 429 of file GNEHierarchicalChildElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildConnections, GNEHierarchicalChildElements::myChildShapes, and GNEHierarchicalChildElements::ChildConnections::update().
|
private |
removes a connection
Definition at line 1813 of file GNEEdge.cpp.
References GNEReferenceCounter::decRef(), NBEdge::Connection::fromLane, GNEHierarchicalChildElements::getChildAdditionals(), 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().
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 111 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().
|
private |
remove crossing of junction
Definition at line 1905 of file GNEEdge.cpp.
References GNENet::deleteCrossing(), GNEJunction::getGNECrossings(), and GNENetElement::myNet.
Referenced by setAttribute().
|
private |
@briefdecrease the number of lanes by one. argument is only used to increase robustness (assertions)
Definition at line 1723 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, myUpdateGeometry, 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 |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 293 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
inherited |
remove parent additional
Definition at line 73 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, and GNEHierarchicalParentElements::myParentAdditionals.
|
inherited |
remove parent demand element
Definition at line 102 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, and GNEHierarchicalParentElements::myParentDemandElements.
|
inherited |
remove parent edge
Definition at line 165 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentEdges, SUMO_TAG_EDGE, and toString().
|
inherited |
remove parent lane
Definition at line 222 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentLanes, SUMO_TAG_EDGE, and toString().
|
inherited |
remove parent shape
Definition at line 254 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentShapes, SUMO_TAG_EDGE, and toString().
void GNEEdge::removePathElement | ( | GNEDemandElement * | pathElementChild | ) |
remove path element (Only used by GNEHierarchicalParentElements::changeRouteEdges)
Definition at line 1485 of file GNEEdge.cpp.
References myPathElementChilds.
|
protectedinherited |
replace the first parent edge (used by demand elements)
Definition at line 356 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentEdges.
Referenced by GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNEVehicle::setAttribute(), and GNEWalk::setAttribute().
|
protectedinherited |
replace the last parent edge (used by demand elements)
Definition at line 397 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentEdges.
Referenced by GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNEVehicle::setAttribute(), and GNEWalk::setAttribute().
|
protectedinherited |
replace middle (via) parent edges
Definition at line 372 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentEdges, and GNEHierarchicalParentElements::replaceParentEdges().
Referenced by GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNEVehicle::setAttribute(), and GNEWalk::setAttribute().
|
protectedinherited |
replace the parent additional of an additional
exception | if this additional doesn't have previously a defined Additional parent |
exception | if additional with ID newParentAdditionalID doesn't exist |
Definition at line 506 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentAdditionals, GNENet::retrieveAdditional(), toString(), and GNEAdditional::updateGeometry().
|
protectedinherited |
replace the parent additional of a demand element
exception | if this additional doesn't have previously a defined Additional parent |
exception | if additional with ID newParentAdditionalID doesn't exist |
Definition at line 523 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentAdditionals, GNENet::retrieveAdditional(), toString(), and GNEDemandElement::updateGeometry().
|
protectedinherited |
replace the parent additional of a shape
exception | if this shape doesn't have previously a defined Additional parent |
exception | if shape with ID newParentAdditionalID doesn't exist |
Definition at line 489 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEShape::getNet(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentAdditionals, GNENet::retrieveAdditional(), toString(), and GNEShape::updateGeometry().
Referenced by GNEDetectorEntryExit::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNEStop::setAttribute(), and GNEWalk::setAttribute().
|
protectedinherited |
replace the parent demand element of an additional
exception | if this demand element doesn't have previously a defined DemandElement parent |
exception | if demand element with ID newParentDemandElementID doesn't exist |
Definition at line 557 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentDemandElements, GNENet::retrieveDemandElement(), toString(), and GNEAdditional::updateGeometry().
|
protectedinherited |
change first parent demand element of demandElement
exception | if this demand element doesn't have previously a defined DemandElement parent |
exception | if demand element with ID newParentDemandElementID doesn't exist |
Definition at line 574 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentDemandElements, GNENet::retrieveDemandElement(), toString(), and GNEDemandElement::updateGeometry().
|
protectedinherited |
replace the parent demand element of a shape
exception | if this demand element doesn't have previously a defined DemandElement parent |
exception | if demand element with ID newParentDemandElementID doesn't exist |
Definition at line 540 of file GNEHierarchicalParentElements.cpp.
References GNEAttributeCarrier::getID(), GNEShape::getNet(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalParentElements::myAC, GNEHierarchicalParentElements::myParentDemandElements, GNENet::retrieveDemandElement(), toString(), and GNEShape::updateGeometry().
Referenced by GNEPerson::setAttribute(), GNEVehicle::setAttribute(), and GNEWalk::setAttribute().
|
protectedinherited |
replace the parent edges of an additional
Definition at line 296 of file GNEHierarchicalParentElements.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalParentElements::myParentEdges.
|
protectedinherited |
replace the parent edges of a demandElement
Definition at line 316 of file GNEHierarchicalParentElements.cpp.
References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalParentElements::myParentEdges.
|
protectedinherited |
replace the parent edges of a demandElement (GNEEdge version)
Definition at line 336 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myParentEdges.
|
protectedinherited |
replace the parent edges of a shape
Definition at line 276 of file GNEHierarchicalParentElements.cpp.
References GNEShape::getNet(), and GNEHierarchicalParentElements::myParentEdges.
Referenced by GNEHierarchicalParentElements::replaceMiddleParentEdges(), GNECalibrator::setAttribute(), GNERouteProbe::setAttribute(), GNEVaporizer::setAttribute(), GNERoute::setAttribute(), and GNEWalk::setAttribute().
|
protectedinherited |
replace the parent edges of an additional
Definition at line 429 of file GNEHierarchicalParentElements.cpp.
References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalParentElements::myParentLanes.
|
protectedinherited |
replace the parent edges of a demandElement
Definition at line 449 of file GNEHierarchicalParentElements.cpp.
References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalParentElements::myParentLanes.
|
protectedinherited |
replace the parent edges of a shape
Definition at line 469 of file GNEHierarchicalParentElements.cpp.
References GNEShape::getNet(), and GNEHierarchicalParentElements::myParentLanes.
Referenced by GNEAccess::setAttribute(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEParkingArea::setAttribute(), GNEPOI::setAttribute(), and GNEStop::setAttribute().
|
protectedinherited |
replace edge route Parents
Definition at line 414 of file GNEHierarchicalParentElements.cpp.
References GNEHierarchicalParentElements::myRouteEdges.
Referenced by GNEPersonTrip::computePath(), GNERide::computePath(), GNEVehicle::computePath(), GNEWalk::computePath(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEVehicle::invalidatePath(), and GNEWalk::invalidatePath().
void GNEEdge::resetEndpoint | ( | const Position & | pos, |
GNEUndoList * | undoList | ||
) |
restores the endpoint to the junction position at the appropriate end
Definition at line 695 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 1853 of file GNEEdge.cpp.
References GNEHierarchicalChildElements::getChildAdditionals(), NBEdge::getID(), GNEAttributeCarrier::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 83 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(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), and GNEChange_Crossing::undo().
|
privatevirtual |
set attribute after validation
Implements GNENetElement.
Definition at line 1508 of file GNEEdge.cpp.
References GNEJunction::addIncomingGNEEdge(), GNEJunction::addOutgoingGNEEdge(), GNENet::changeEdgeEndpoints(), clearGNEConnections(), NBEdge::declareConnectionsAsLoaded(), endGeometryMoving(), GNEAttributeCarrier::FEATURE_GUESSED, NBEdge::getFromNode(), GNEAttributeCarrier::getID(), Named::getID(), GUIGlObject::getMicrosimID(), GNEJunction::getPositionInView(), GNEAttributeCarrier::getTagStr(), NBEdge::getToNode(), GNE_ATTR_BIDIR, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_PARAMETERS, 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(), setGeometry(), NBEdge::setLaneSpreadFunction(), NBEdge::setLaneWidth(), NBEdge::setLoadedLength(), Parameterised::setParametersStr(), 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 |
Implements GNENetElement.
Definition at line 974 of file GNEEdge.cpp.
References getAttribute(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getPosition(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BIDIR, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_PARAMETERS, 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::onCmdResetLength(), GNEViewNet::onCmdStraightenEdges(), GNENet::replaceJunctionByGeometry(), resetEndpoint(), GNENet::reverseEdge(), smooth(), smoothElevation(), GNENet::splitEdge(), GNENet::splitJunction(), and straightenElevation().
|
privatevirtualinherited |
method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)
Implements GNEAttributeCarrier.
Definition at line 166 of file GNENetElement.cpp.
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 709 of file GNEEdge.cpp.
References OptionsCont::getBool(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), OptionsCont::getOptions(), GNEJunction::invalidateShape(), NBEdge::mirrorX(), PositionVector::mirrorX(), 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 1885 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 1635 of file GNEEdge.cpp.
References GNENet::addGLObjectIntoGrid(), NBEdge::getLaneStruct(), GNEChange_Lane, myGNEJunctionDestiny, myGNEJunctionSource, myLanes, myNBEdge, GNENetElement::myNet, myUpdateGeometry, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::removeGLObjectFromGrid(), GNEJunction::setLogicValid(), SUMO_TAG_LANE, toString(), and updateGeometry().
Referenced by setAttribute().
void GNEEdge::setResponsible | ( | bool | newVal | ) |
set responsibility for deleting internal strctures
Definition at line 1177 of file GNEEdge.cpp.
References myAmResponsible.
Referenced by GNENet::deleteSingleEdge(), and GNENet::registerEdge().
|
private |
change Shape EndPos
Definition at line 2052 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 2041 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 1999 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 2011 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 1926 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 child additionals (used by Rerouters, VSS, TAZs...)
Definition at line 137 of file GNEHierarchicalChildElements.cpp.
References GNEAdditional::getAttributeDouble(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEHierarchicalChildElements::myAC, GNEHierarchicalChildElements::myChildAdditionals, 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 GNEHierarchicalChildElements::addChildAdditional(), GNEVariableSpeedSignDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterDialog::onCmdSortIntervals(), GNEVariableSpeedSignDialog::onCmdSortSteps(), and GNEHierarchicalChildElements::removeChildAdditional().
|
inherited |
sort child demand elements
Definition at line 308 of file GNEHierarchicalChildElements.cpp.
Referenced by GNEHierarchicalChildElements::addChildDemandElement(), and GNEHierarchicalChildElements::removeChildDemandElement().
void GNEEdge::startGeometryMoving | ( | ) |
Definition at line 240 of file GNEEdge.cpp.
References getCenteringBoundary(), GNEHierarchicalChildElements::getChildAdditionals(), GNEHierarchicalChildElements::getChildDemandElements(), GNEHierarchicalParentElements::getParentAdditionals(), GNEHierarchicalParentElements::getParentDemandElements(), myLanes, and GNENetElement::myMovingGeometryBoundary.
Referenced by GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), getVertexIndex(), and setAttribute().
void GNEEdge::straightenElevation | ( | GNEUndoList * | undoList | ) |
interpolate z values linear between junctions
Definition at line 1916 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 78 of file GNEReferenceCounter.h.
References GNEReferenceCounter::myCount.
Referenced by removeConnection(), removeLane(), 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().
|
virtualinherited |
unselect attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 99 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(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), setAttribute(), GNEJunction::setAttribute(), and GNELane::setAttribute().
|
inherited |
update child connections
Definition at line 83 of file GNEHierarchicalChildElements.cpp.
References GNEHierarchicalChildElements::myChildConnections, and GNEHierarchicalChildElements::ChildConnections::update().
|
virtual |
update pre-computed geometry information
Implements GNENetElement.
Definition at line 112 of file GNEEdge.cpp.
References GNEHierarchicalChildElements::getChildAdditionals(), GNEHierarchicalChildElements::getChildDemandElements(), GNEHierarchicalParentElements::getParentAdditionals(), GNEHierarchicalParentElements::getParentDemandElements(), Boundary::isInitialised(), myGNEConnections, myLanes, GNENetElement::myMovingGeometryBoundary, myPathElementChilds, and myUpdateGeometry.
Referenced by addConnection(), addLane(), commitShapeChange(), moveShapeEnd(), moveShapeStart(), removeConnection(), removeLane(), setGeometry(), and setNumLanes().
void GNEEdge::updateJunctionPosition | ( | GNEJunction * | junction, |
const Position & | origPos | ||
) |
update edge geometry after junction move
Definition at line 434 of file GNEEdge.cpp.
References PositionVector::add(), NBEdge::getGeometry(), GNEJunction::getNBNode(), NBNode::getPosition(), myGNEJunctionSource, myNBEdge, and setGeometry().
Referenced by GNEJunction::moveJunctionGeometry().
|
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 450 of file GNEHierarchicalChildElements.cpp.
Referenced by GNEHierarchicalChildElements::addChildAdditional(), and GNEHierarchicalChildElements::removeChildAdditional().
|
virtualinherited |
update parent after add or remove a child (can be reimplemented, for example used for statistics)
Definition at line 456 of file GNEHierarchicalChildElements.cpp.
bool GNEEdge::wasSplit | ( | ) |
whether this edge was created from a split
Definition at line 886 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 791 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::getTagProperties().
|
staticinherited |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 601 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 595 of file GNEAttributeCarrier.h.
Referenced by setAttribute(), and GNEJunction::setAttribute().
|
staticinherited |
Definition at line 592 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been manually modified (implies approval)
Definition at line 598 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().
|
staticprivateinherited |
LinkStates (Currently unused)
vector for TypeNames Initializer
Definition at line 277 of file GUIGlObject.h.
|
staticinherited |
Definition at line 69 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processGet(), and GUIViewTraffic::stopTrack().
|
staticinherited |
invalid double position
Definition at line 608 of file GNEAttributeCarrier.h.
Referenced by GNEAdditionalHandler::parseAndBuildPOI().
|
staticinherited |
max number of attributes allowed for every tag
Definition at line 605 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::TagProperties::addAttribute(), GNEFrameAttributesModuls::AttributesCreator::AttributesCreator(), and GNEFrameAttributesModuls::AttributesEditor::AttributesEditor().
|
privateinherited |
pointer to AC (needed to avoid diamond problem)
Definition at line 255 of file GNEHierarchicalParentElements.h.
Referenced by GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::addParentShape(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNEHierarchicalParentElements::replaceParentAdditional(), and GNEHierarchicalParentElements::replaceParentDemandElement().
|
protected |
whether we are responsible for deleting myNBNode
Definition at line 343 of file GNEEdge.h.
Referenced by setResponsible(), and ~GNEEdge().
|
privateinherited |
vector with the child additional
Definition at line 250 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::addChildAdditional(), GNEHierarchicalChildElements::checkChildAdditionalsOverlapping(), GNEHierarchicalChildElements::getChildAdditionals(), GNEHierarchicalChildElements::removeChildAdditional(), and GNEHierarchicalChildElements::sortChildAdditionals().
|
protectedinherited |
variable ChildConnections
Definition at line 237 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::addChildShape(), GNEHierarchicalChildElements::changeChildEdges(), GNEHierarchicalChildElements::changeChildLanes(), GNEHierarchicalChildElements::drawChildConnections(), GNEDetectorE3::drawGL(), GNERerouter::drawGL(), GNEVariableSpeedSign::drawGL(), GNEHierarchicalChildElements::getChildPosition(), GNEHierarchicalChildElements::getChildRotation(), GNEHierarchicalChildElements::removeChildEdge(), GNEHierarchicalChildElements::removeChildLane(), GNEHierarchicalChildElements::removeChildShape(), GNEHierarchicalChildElements::updateChildConnections(), GNEDetectorE3::updateGeometry(), GNERerouter::updateGeometry(), GNEVariableSpeedSign::updateGeometry(), and GNEDetectorE3::updateParentAdditional().
|
privateinherited |
vector with the demand elements children
Definition at line 253 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::getChildDemandElements(), GNEHierarchicalChildElements::getNextChildDemandElement(), GNEHierarchicalChildElements::getPreviousChildDemandElement(), GNEChange_Children::redo(), GNEHierarchicalChildElements::removeChildDemandElement(), and GNEChange_Children::undo().
|
privateinherited |
vector with the child edges of this element
Definition at line 241 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::addChildEdge(), GNEHierarchicalChildElements::changeChildEdges(), GNEHierarchicalChildElements::getChildEdges(), and GNEHierarchicalChildElements::removeChildEdge().
|
privateinherited |
vector with the child lanes of this element
Definition at line 244 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::addChildLane(), GNEHierarchicalChildElements::changeChildLanes(), GNEHierarchicalChildElements::getChildLanes(), and GNEHierarchicalChildElements::removeChildLane().
|
privateinherited |
vector with the child lanes of this element
Definition at line 247 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::addChildShape(), GNEHierarchicalChildElements::getChildShapes(), and GNEHierarchicalChildElements::removeChildShape().
|
protected |
modification status of the connections
Definition at line 349 of file GNEEdge.h.
Referenced by getAttribute(), and setAttribute().
|
privateinherited |
reference counter
Definition at line 88 of file GNEReferenceCounter.h.
Referenced by GNEReferenceCounter::decRef(), GNEReferenceCounter::incRef(), GNEReferenceCounter::unreferenced(), and GNEReferenceCounter::~GNEReferenceCounter().
|
privateinherited |
full name of GL Object
Definition at line 260 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The numerical id of the object.
Definition at line 251 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID(), and GUIGlObject::GUIGlObject().
|
privateinherited |
The type of the object.
Definition at line 254 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
protected |
vector with the connections of this edge
Definition at line 340 of file GNEEdge.h.
Referenced by addConnection(), clearGNEConnections(), getGNEConnections(), remakeGNEConnections(), removeConnection(), retrieveGNEConnection(), updateGeometry(), and ~GNEEdge().
|
protected |
pointer to GNEJunction destiny
Definition at line 334 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 331 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 337 of file GNEEdge.h.
Referenced by addLane(), copyTemplate(), drawEdgeName(), drawGL(), drawRerouterSymbol(), endGeometryMoving(), getCenteringBoundary(), getLaneByAllowedVClass(), getLaneByDisallowedVClass(), getLaneGlIDs(), getLanes(), GNEEdge(), hasRestrictedLane(), removeLane(), retrieveGNEConnection(), setAttribute(), setMicrosimID(), setNumLanes(), startGeometryMoving(), updateGeometry(), and ~GNEEdge().
|
privateinherited |
ID of GL object.
Definition at line 257 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
protectedinherited |
boundary used during moving of elements
Definition at line 169 of file GNENetElement.h.
Referenced by GNEJunction::drawGL(), endGeometryMoving(), GNEJunction::endGeometryMoving(), getCenteringBoundary(), GNEJunction::getCenteringBoundary(), startGeometryMoving(), GNEJunction::startGeometryMoving(), and updateGeometry().
|
protected |
|
protected |
the underlying NBEdge
Definition at line 325 of file GNEEdge.h.
Referenced by addConnection(), addLane(), clickedOverShapeEnd(), clickedOverShapeStart(), commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), copyTemplate(), deleteGeometryPoint(), drawEdgeName(), drawGeometryPoints(), drawGL(), editEndpoint(), getAttribute(), getCenteringBoundary(), getLaneByAllowedVClass(), getLaneByDisallowedVClass(), getNBEdge(), getOptionalName(), getSplitPos(), getVertexIndex(), GNEEdge(), isValid(), moveShapeEnd(), moveShapeStart(), moveVertexShape(), remakeGNEConnections(), removeConnection(), removeLane(), setAttribute(), setGeometry(), setNumLanes(), setShapeEndPos(), setShapeStartPos(), smooth(), smoothElevation(), smoothShape(), straightenElevation(), updateJunctionPosition(), and ~GNEEdge().
|
protectedinherited |
the net to inform about updates
Definition at line 166 of file GNENetElement.h.
Referenced by addLane(), GNEJunction::addTrafficLight(), GNEJunction::commitGeometryMoving(), commitShapeChange(), commitShapeEndChange(), commitShapeStartChange(), deleteGeometryPoint(), drawGeometryPoints(), GNEConnection::drawGL(), GNECrossing::drawGL(), drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEJunction::drawJunctionChilds(), GNELane::drawMarkings(), GNELane::drawPartialE2DetectorPlan(), drawPartialPersonPlan(), drawPartialRoute(), drawPartialTripFromTo(), drawRerouterSymbol(), GNEJunction::drawTLSIcon(), GNENetElement::drawUsingSelectColor(), GNELane::drawVSSSymbol(), editEndpoint(), endGeometryMoving(), GNEJunction::endGeometryMoving(), GNEJunction::generateChildID(), GNEJunction::getColorValue(), GNENetElement::getNet(), getOppositeEdge(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), getVertexIndex(), GNEJunction::invalidateShape(), GNEJunction::invalidateTLS(), GNECrossing::isValid(), isValid(), GNEJunction::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(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNELane::setLaneColor(), GNEJunction::setLogicValid(), setNumLanes(), GNENetElement::unselectAttributeCarrier(), and GNELane::updateGeometry().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 263 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
privateinherited |
list of parent additionals of this element
Definition at line 249 of file GNEHierarchicalParentElements.h.
Referenced by GNEHierarchicalParentElements::addParentAdditional(), GNEHierarchicalParentElements::getParentAdditionals(), GNEHierarchicalParentElements::removeParentAdditional(), and GNEHierarchicalParentElements::replaceParentAdditional().
|
protectedinherited |
variable ParentConnections
Definition at line 233 of file GNEHierarchicalParentElements.h.
|
privateinherited |
list of demand elements parents of this element
Definition at line 252 of file GNEHierarchicalParentElements.h.
Referenced by GNEHierarchicalParentElements::addParentDemandElement(), GNEHierarchicalParentElements::getParentDemandElements(), GNEHierarchicalParentElements::removeParentDemandElement(), and GNEHierarchicalParentElements::replaceParentDemandElement().
|
privateinherited |
list of parent edges of this element
Definition at line 237 of file GNEHierarchicalParentElements.h.
Referenced by GNEHierarchicalParentElements::addParentEdge(), GNEHierarchicalParentElements::getMiddleParentEdges(), GNEHierarchicalParentElements::getNewListOfParents(), GNEHierarchicalParentElements::getParentEdges(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::replaceFirstParentEdge(), GNEHierarchicalParentElements::replaceLastParentEdge(), GNEHierarchicalParentElements::replaceMiddleParentEdges(), and GNEHierarchicalParentElements::replaceParentEdges().
|
privateinherited |
list of parent lanes of this element
Definition at line 243 of file GNEHierarchicalParentElements.h.
Referenced by GNEHierarchicalParentElements::addParentLane(), GNEHierarchicalParentElements::getNewListOfParents(), GNEHierarchicalParentElements::getParentLanes(), GNEHierarchicalParentElements::removeParentLane(), and GNEHierarchicalParentElements::replaceParentLanes().
|
privateinherited |
list of parent shapes of this element
Definition at line 246 of file GNEHierarchicalParentElements.h.
Referenced by GNEHierarchicalParentElements::addParentShape(), GNEHierarchicalParentElements::getParentShapes(), and GNEHierarchicalParentElements::removeParentShape().
|
protected |
vector with references to path element childs
Definition at line 352 of file GNEEdge.h.
Referenced by addPathElement(), drawGL(), invalidatePathChildElementss(), removePathElement(), and updateGeometry().
|
privateinherited |
list of edges used in Flow/Trips/PersonTrips
Definition at line 240 of file GNEHierarchicalParentElements.h.
Referenced by GNEHierarchicalParentElements::getPathEdges(), and GNEHierarchicalParentElements::replacePathEdges().
|
protectedinherited |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 788 of file GNEAttributeCarrier.h.
Referenced by GNEShape::draw(), GNEAdditional::drawUsingSelectColor(), GNEShape::drawUsingSelectColor(), GNEDemandElement::drawUsingSelectColor(), GNENetElement::drawUsingSelectColor(), GNEAdditional::isAttributeCarrierSelected(), GNEShape::isAttributeCarrierSelected(), GNEDemandElement::isAttributeCarrierSelected(), GNENetElement::isAttributeCarrierSelected(), GNEAdditional::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEVehicleType::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), and GNENetElement::unselectAttributeCarrier().
|
privateinherited |
vector with the demand elements children sorted by type and filtered (to avoid duplicated
Definition at line 256 of file GNEHierarchicalChildElements.h.
Referenced by GNEHierarchicalChildElements::addChildDemandElement(), GNEHierarchicalChildElements::getChildDemandElementsSortedByType(), GNEHierarchicalChildElements::GNEHierarchicalChildElements(), and GNEHierarchicalChildElements::removeChildDemandElement().
|
staticprivateinherited |
map with the tags properties
Definition at line 857 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::allowedTagsByCategory(), GNEAttributeCarrier::fillAdditionals(), GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::fillCarFollowingModelAttributes(), GNEAttributeCarrier::fillCommonFlowAttributes(), GNEAttributeCarrier::fillCommonPersonAttributes(), GNEAttributeCarrier::fillCommonStopAttributes(), GNEAttributeCarrier::fillCommonVehicleAttributes(), GNEAttributeCarrier::fillDemandElements(), GNEAttributeCarrier::fillJunctionModelAttributes(), GNEAttributeCarrier::fillLaneChangingModelAttributes(), GNEAttributeCarrier::fillNetElements(), GNEAttributeCarrier::fillPersonElements(), GNEAttributeCarrier::fillPersonStopElements(), GNEAttributeCarrier::fillShapes(), GNEAttributeCarrier::fillStopElements(), GNEAttributeCarrier::fillVehicleElements(), GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTagProperties().
|
protectedinherited |
the xml tag to which this attribute carrier corresponds
Definition at line 785 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::TagProperties::canBeReparent(), GNEAttributeCarrier::TagProperties::canBeSortedManually(), GNEAttributeCarrier::TagProperties::canBlockMovement(), GNEAttributeCarrier::TagProperties::canBlockShape(), GNEAttributeCarrier::TagProperties::canCenterCameraAfterCreation(), GNEAttributeCarrier::TagProperties::canCloseShape(), GNEAttributeCarrier::TagProperties::canMaskStartEndPos(), GNEAttributeCarrier::TagProperties::canMaskXYZPositions(), GNEAttributeCarrier::TagProperties::canWriteChildrenSeparate(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEVehicle::computePath(), GNEWalk::computePath(), GNEDetectorE2::drawGL(), GNEDetectorEntryExit::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEStop::enableAttribute(), GNEAdditional::endGeometryMoving(), GNEAttributeCarrier::getAlternativeValueForDisabledAttributes(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttribute(), GNEPerson::getBegin(), GNEVehicle::getBegin(), GNEStop::getColor(), GNEVehicle::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEDemandElement::getFirstAllowedVehicleLane(), GNEPerson::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNERide::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEWalk::getHierarchyName(), GNENetElement::getHierarchyName(), GNEAttributeCarrier::getIcon(), GNEDemandElement::getLastAllowedVehicleLane(), GNEAdditional::getParameterWindow(), GNEDemandElement::getParameterWindow(), GNENetElement::getParameterWindow(), GNEVehicle::getParentName(), GNENetElement::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::TagProperties::hasDialog(), GNEAttributeCarrier::TagProperties::hasGEOPosition(), GNEAttributeCarrier::TagProperties::hasGEOShape(), GNEAttributeCarrier::TagProperties::hasMinimumNumberOfChildren(), GNEAttributeCarrier::TagProperties::hasParameters(), GNEAttributeCarrier::TagProperties::hasParent(), GNEAttributeCarrier::TagProperties::hasTagSynonym(), GNEPersonTrip::invalidatePath(), GNERide::invalidatePath(), GNEVehicle::invalidatePath(), GNEWalk::invalidatePath(), GNEStop::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEAttributeCarrier::TagProperties::isDrawable(), GNEAttributeCarrier::TagProperties::isPlacedInRTree(), GNEAttributeCarrier::TagProperties::isSelectable(), GNEPersonTrip::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEAdditional::setDefaultValues(), GNEDetector::splitEdgeGeometry(), GNEWalk::splitEdgeGeometry(), GNEAdditional::startGeometryMoving(), GNEWalk::updateGeometry(), GNEAdditional::writeAdditional(), GNEPerson::writeDemandElement(), GNERoute::writeDemandElement(), GNEVehicle::writeDemandElement(), and GNEWalk::writeDemandElement().
|
private |
@brif flag to enable/disable update geomtetry of lanes (used mainly by setNumLanes)
Definition at line 356 of file GNEEdge.h.
Referenced by addLane(), removeLane(), setNumLanes(), and updateGeometry().
|
protected |
whether this edge was created from a split
Definition at line 346 of file GNEEdge.h.
Referenced by wasSplit().
|
static |
Definition at line 273 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 68 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().