Eclipse SUMO - Simulation of Urban MObility
GNEPOI Class Reference

#include <GNEPOI.h>

Inheritance diagram for GNEPOI:
Collaboration diagram for GNEPOI:

Public Types

enum  AttrProperty {
  ATTRPROPERTY_INT = 1 << 0, ATTRPROPERTY_FLOAT = 1 << 1, ATTRPROPERTY_SUMOTIME = 1 << 2, ATTRPROPERTY_BOOL = 1 << 3,
  ATTRPROPERTY_STRING = 1 << 4, ATTRPROPERTY_POSITION = 1 << 5, ATTRPROPERTY_COLOR = 1 << 6, ATTRPROPERTY_VCLASS = 1 << 7,
  ATTRPROPERTY_POSITIVE = 1 << 8, ATTRPROPERTY_UNIQUE = 1 << 9, ATTRPROPERTY_FILENAME = 1 << 10, ATTRPROPERTY_DISCRETE = 1 << 11,
  ATTRPROPERTY_PROBABILITY = 1 << 12, ATTRPROPERTY_ANGLE = 1 << 13, ATTRPROPERTY_LIST = 1 << 14, ATTRPROPERTY_SECUENCIAL = 1 << 15,
  ATTRPROPERTY_OPTIONAL = 1 << 16, ATTRPROPERTY_DEFAULTVALUESTATIC = 1 << 17, ATTRPROPERTY_DEFAULTVALUEMUTABLE = 1 << 18, ATTRPROPERTY_VCLASSES = 1 << 19,
  ATTRPROPERTY_SYNONYM = 1 << 20, ATTRPROPERTY_RANGE = 1 << 21, ATTRPROPERTY_EXTENDED = 1 << 22, ATTRPROPERTY_UPDATEGEOMETRY = 1 << 23,
  ATTRPROPERTY_ACTIVATABLE = 1 << 24, ATTRPROPERTY_COMPLEX = 1 << 25, ATTRPROPERTY_FLOWDEFINITION = 1 << 26
}
 struct with the tag Properties More...
 
enum  TAGProperty {
  TAGPROPERTY_DRAWABLE = 1 << 0, TAGPROPERTY_BLOCKMOVEMENT = 1 << 1, TAGPROPERTY_BLOCKSHAPE = 1 << 2, TAGPROPERTY_CLOSESHAPE = 1 << 3,
  TAGPROPERTY_GEOPOSITION = 1 << 4, TAGPROPERTY_GEOSHAPE = 1 << 5, TAGPROPERTY_DIALOG = 1 << 6, TAGPROPERTY_PARENT = 1 << 7,
  TAGPROPERTY_MINIMUMCHILDREN = 1 << 8, TAGPROPERTY_REPARENT = 1 << 9, TAGPROPERTY_SYNONYM = 1 << 10, TAGPROPERTY_AUTOMATICSORTING = 1 << 11,
  TAGPROPERTY_SELECTABLE = 1 << 12, TAGPROPERTY_MASKSTARTENDPOS = 1 << 13, TAGPROPERTY_MASKXYZPOSITION = 1 << 14, TAGPROPERTY_WRITECHILDRENSEPARATE = 1 << 15,
  TAGPROPERTY_NOPARAMETERS = 1 << 16, TAGPROPERTY_RTREE = 1 << 17, TAGPROPERTY_SORTINGCHILDREN = 1 << 18, TAGPROPERTY_CENTERAFTERCREATION = 1 << 19
}
 
enum  TagType {
  TAGTYPE_NETELEMENT = 1 << 0, TAGTYPE_ADDITIONAL = 1 << 1, TAGTYPE_SHAPE = 1 << 2, TAGTYPE_DEMANDELEMENT = 1 << 3,
  TAGTYPE_TAZ = 1 << 4, TAGTYPE_STOPPINGPLACE = 1 << 5, TAGTYPE_DETECTOR = 1 << 6, TAGTYPE_VTYPE = 1 << 7,
  TAGTYPE_VEHICLE = 1 << 8, TAGTYPE_ROUTE = 1 << 9, TAGTYPE_STOP = 1 << 10, TAGTYPE_PERSON = 1 << 11,
  TAGTYPE_PERSONPLAN = 1 << 12, TAGTYPE_PERSONTRIP = 1 << 13, TAGTYPE_WALK = 1 << 14, TAGTYPE_RIDE = 1 << 15,
  TAGTYPE_PERSONSTOP = 1 << 16
}
 

Public Member Functions

void add (const Position &pos)
 Adds the given position to this one. More...
 
void add (double dx, double dy)
 Adds the given position to this one. More...
 
void add (double dx, double dy, double dz)
 Adds the given position to this one. More...
 
void addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
bool almostSame (const Position &p2, double maxDiv=POSITION_EPS) const
 check if two position is almost the sme as other More...
 
double angleTo2D (const Position &other) const
 returns the angle in the plane of the vector pointing from here to the other position More...
 
void clearParameter ()
 Clears the parameter map. More...
 
Position crossProduct (const Position &pos)
 returns the cross product between this point and the second one More...
 
void decRef (const std::string &debugMsg="")
 Decrease reference. More...
 
double distanceSquaredTo (const Position &p2) const
 returns the square of the distance to another position More...
 
double distanceSquaredTo2D (const Position &p2) const
 returns the square of the distance to another position (Only using x and y positions) More...
 
double distanceTo (const Position &p2) const
 returns the euclidean distance in 3 dimension More...
 
double distanceTo2D (const Position &p2) const
 returns the euclidean distance in the x-y-plane More...
 
double dotProduct (const Position &pos)
 returns the dot product (scalar product) between this point and the second one More...
 
void draw (const Position &pos, double layer, double size=0.5) const
 draw lock icon 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...
 
std::string generateChildID (SumoXMLTag childTag)
 gererate a new ID for an element child More...
 
std::string getAlternativeValueForDisabledAttributes (SumoXMLAttr key) const
 
virtual std::string getAttributeForSelection (SumoXMLAttr key) const
 method for getting the attribute in the context of object selection More...
 
const PositiongetChildPosition (const GNELane *lane)
 get child position calculated in ChildConnections More...
 
double getChildRotation (const GNELane *lane)
 get child rotation calculated in ChildConnections More...
 
double getDouble (const std::string &key, const double defaultValue) const
 Returns the value for a given key converted to a double. More...
 
FXIcon * getIcon () const
 get FXIcon associated to this AC More...
 
const std::string getID () const
 function to support debugging More...
 
const std::string & getID () const
 Returns the id. More...
 
GNENetgetNet () 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...
 
const std::string getParameter (const std::string &key, const std::string &defaultValue="") const
 Returns the value for a given key. More...
 
const std::map< std::string, std::string > & getParametersMap () const
 Returns the inner key/value map. More...
 
std::string getParametersStr () const
 Returns the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN". More...
 
const TagPropertiesgetTagProperty () const
 get Tag Property assigned to this object More...
 
const std::string & getTagStr () const
 get tag assigned to this object in string format More...
 
 GNEPOI (GNENet *net, const std::string &id, const std::string &type, const RGBColor &color, const Position &pos, bool geo, double layer, double angle, const std::string &imgFile, bool relativePath, double width, double height, bool movementBlocked)
 Constructor. More...
 
 GNEPOI (GNENet *net, const std::string &id, const std::string &type, const RGBColor &color, double layer, double angle, const std::string &imgFile, bool relativePath, GNELane *lane, double posOverLane, double posLat, double width, double height, bool movementBlocked)
 Constructor. More...
 
void incRef (const std::string &debugMsg="")
 Increarse reference. More...
 
bool isMovementBlocked () const
 return true if movement is blocked More...
 
bool isNAN () const
 check if position is NAN More...
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known. More...
 
void mul (double mx, double my)
 Multiplies position with the given values. More...
 
void mul (double mx, double my, double mz)
 Multiplies position with the given values. More...
 
void mul (double val)
 Multiplies both positions with the given value. More...
 
void norm2d ()
 
virtual void onLeftBtnPress (void *)
 notify object about left click More...
 
bool operator!= (const Position &p2) const
 difference operator More...
 
Position operator* (double scalar) const
 keep the direction but modify the length of the (location) vector to length * scalar More...
 
Position operator+ (const Position &p2) const
 add operator More...
 
Position operator+ (double offset) const
 keep the direction but modify the length of the (location) vector to length + scalar More...
 
Position operator- (const Position &p2) const
 sub operator More...
 
bool operator< (const Position &p2) const
 lexicographical sorting for use in maps and sets More...
 
bool operator== (const Position &p2) const
 comparation operator 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)
 
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations More...
 
Position rotateAround2D (double rad, const Position &origin)
 rotate this position by rad around origin and return the result More...
 
void set (const Position &pos)
 set position with another position More...
 
void set (double x, double y)
 set positions x and y More...
 
void set (double x, double y, double z)
 set positions x, y and z More...
 
void setID (const std::string &newID)
 resets the id More...
 
void setParameter (const std::string &key, const std::string &value)
 Sets a parameter. More...
 
void setParameters (const Parameterised &params)
 set the inner key/value map in map<string, string> format More...
 
void setParametersMap (const std::map< std::string, std::string > &paramsMap)
 set the inner key/value map in map<string, string> format More...
 
void setParametersStr (const std::string &paramsString)
 set the inner key/value map in string format "key1=value1|key2=value2|...|keyN=valueN" More...
 
void setx (double x)
 set position x More...
 
void sety (double y)
 set position y More...
 
void setz (double z)
 set position z More...
 
void sub (const Position &pos)
 Substracts the given position from this one. More...
 
void sub (double dx, double dy)
 Substracts the given position from this one. More...
 
void sub (double dx, double dy, double dz)
 Substracts the given position from this one. More...
 
void swapXY ()
 swap position X and Y More...
 
bool unreferenced ()
 check if object ins't referenced More...
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
void updateChildConnections ()
 update child connections More...
 
void updateParameters (const std::map< std::string, std::string > &mapArg)
 Adds or updates all given parameters from the map. 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...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
void writeXML (OutputDevice &out, const bool geo=false, const double zOffset=0., const std::string laneID="", const double pos=0., const double posLat=0.)
 
double x () const
 Returns the x-position. More...
 
double y () const
 Returns the y-position. More...
 
double z () const
 Returns the z-position. More...
 
 ~GNEPOI ()
 Destructor. More...
 
functions for edit geometry

begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree)

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...
 
void moveGeometry (const Position &oldPos, const Position &offset)
 change the position of the element geometry without saving in undoList More...
 
void commitGeometryMoving (const Position &oldPos, GNEUndoList *undoList)
 commit geometry changes in the attributes of an element after use of moveGeometry(...) More...
 
inherited from GNEShape

update pre-computed geometry information

void updateGeometry ()
 update pre-computed geometry information More...
 
Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
void writeShape (OutputDevice &device)
 writte shape element into a xml file More...
 
Position getPositionInView () const
 Returns position of additional in view. More...
 
GUIGlID getGlID () const
 Returns the numerical id of the object. More...
 
inherited from GUIGlObject
std::string getParentName () const
 Returns the name of the parent object. More...
 
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 
inherited from GNEAttributeCarrier
std::string getAttribute (SumoXMLAttr key) const
 method for getting the Attribute of an XML key More...
 
void setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
 method for setting the attribute and letting the object perform additional changes More...
 
bool isValid (SumoXMLAttr key, const std::string &value)
 method for checking if the key and their correspond attribute are valids More...
 
bool isAttributeEnabled (SumoXMLAttr key) const
 
Getter
double getWidth () const
 Returns the image width of the POI. More...
 
double getHeight () const
 Returns the image height of the POI. More...
 
Position getCenter () const
 Returns the image center of the POI. More...
 
Setter
void setWidth (double width)
 set the image width of the POI More...
 
void setHeight (double height)
 set the image height of the POI More...
 
Getter
const std::string & getShapeType () const
 Returns the (abstract) type of the Shape. More...
 
const RGBColorgetShapeColor () const
 Returns the color of the Shape. More...
 
double getShapeLayer () const
 Returns the layer of the Shape. More...
 
double getShapeNaviDegree () const
 Returns the angle of the Shape in navigational degrees. More...
 
const std::string & getShapeImgFile () const
 Returns the imgFile of the Shape. More...
 
bool getShapeRelativePath () const
 Returns the relativePath of the Shape. More...
 
Setter
void setShapeType (const std::string &type)
 Sets a new type. More...
 
void setShapeColor (const RGBColor &col)
 Sets a new color. More...
 
void setShapeAlpha (unsigned char alpha)
 Sets a new alpha value. More...
 
void setShapeLayer (const double layer)
 Sets a new layer. More...
 
virtual void setShapeNaviDegree (const double angle)
 Sets a new angle in navigational degrees. More...
 
void setShapeImgFile (const std::string &imgFile)
 Sets a new imgFile. More...
 
void setShapeRelativePath (bool relativePath)
 Sets a new relativePath value. More...
 
Atomar getter methods

Returns the full name appearing in the tool tip

Returns
This object's typed id
const std::string & getFullName () const
 
interfaces to be implemented by derived classes
virtual void removedPopupMenu ()
 notify object about popup menu removal More...
 
virtual GUIParameterTableWindowgetTypeParameterWindow (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...
 
virtual const std::string getOptionalName () const
 Returns the name of the object (default "") More...
 
virtual void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object. 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

Parameters
[in]wThe opened parameter window
void addParameterTable (GUIParameterTableWindow *w)
 
void removeParameterTable (GUIParameterTableWindow *w)
 Lets this object know a parameter window showing the object's values was closed. More...
 
inherited from GNEAttributeCarrier

select attribute carrier using GUIGlobalSelection

void selectAttributeCarrier (bool changeFlag=true)
 
void unselectAttributeCarrier (bool changeFlag=true)
 unselect attribute carrier using GUIGlobalSelection More...
 
bool isAttributeCarrierSelected () const
 check if attribute carrier is selected More...
 
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...
 
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...
 
GNEDemandElementgetPreviousChildDemandElement (const GNEDemandElement *demandElement) const
 get previous child demand element to the given demand element More...
 
GNEDemandElementgetNextChildDemandElement (const GNEDemandElement *demandElement) const
 get next child demand element to the given demand element More...
 

Static Public Member Functions

static std::vector< SumoXMLTagallowedTags (bool onlyDrawables)
 get tags of all editable element types More...
 
static std::vector< SumoXMLTagallowedTagsByCategory (int tagPropertyCategory, bool onlyDrawables)
 get tags of all editable element types using TagProperty Type (TAGTYPE_NETELEMENT, TAGTYPE_ADDITIONAL, etc.) More...
 
static bool areParametersValid (const std::string &value, bool report=false)
 check if given string can be parsed to a parameters map "key1=value1|key2=value2|...|keyN=valueN" 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 void clearDictionary ()
 Clears the dictionary (the objects will not be deleted) More...
 
static GUIGlObject_AbstractAddget (const std::string &name)
 Returns a named object. More...
 
static std::vector< GUIGlIDgetIDList (GUIGlObjectType typeFilter)
 Returns the list of gl-ids of all additional objects that match the given type. More...
 
template<class T >
static std::string getIDSecure (const T *obj, const std::string &fallBack="NULL")
 get an identifier for Named-like object which may be Null More...
 
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList ()
 Returns the list of all additional objects. More...
 
static const TagPropertiesgetTagProperties (SumoXMLTag tag)
 get Tag Properties More...
 
static const PositioninvalidPosition ()
 reference to invalid position (needed if INVALID is taken by macro-definition) 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 void remove (GUIGlObject_AbstractAdd *o)
 Removes an object. More...
 

Static Public Attributes

static const Position INVALID
 used to indicate that a position is valid More...
 
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 StringBijection< GUIGlObjectTypeTypeNames
 associates object types with strings More...
 
static const std::string DEFAULT_TYPE = ""
 
static const double DEFAULT_LAYER = 128
 
static const double DEFAULT_LINEWIDTH = 1
 
static const double DEFAULT_LAYER_POI = (double)GLO_POI
 
static const double DEFAULT_ANGLE = 0
 
static const std::string DEFAULT_IMG_FILE = ""
 
static const bool DEFAULT_RELATIVEPATH = false
 
static const double DEFAULT_IMG_WIDTH = 1
 
static const double DEFAULT_IMG_HEIGHT = 1
 
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 myBlockMovement
 flag to block movement More...
 
ChildConnections myChildConnections
 variable ChildConnections More...
 
bool myGeo
 flag to check if POI was loaded as GEO Position (main used by netedit) More...
 
Position myGEOPosition
 Position of POI in GEO coordinates (Only used by POIs that aren't placed over lanes) More...
 
double myHalfImgHeight
 The half height of the image when rendering this POI. More...
 
double myHalfImgWidth
 The half width of the image when rendering this POI. More...
 
std::string myID
 The name of the object. More...
 
std::string myLane
 ID of lane in which this POI is placed (main used by netedit) More...
 
Boundary myMovingGeometryBoundary
 boundary used during moving of elements More...
 
GNENetmyNet
 the net to inform about updates More...
 
GNEGeometry::ParentConnections myParentConnections
 variable ParentConnections More...
 
double myPosLat
 latereal position over lane in which this POI is placed (main used by netedit) More...
 
double myPosOverLane
 position over lane in which this POI is placed (main used by netedit) More...
 
bool mySelected
 boolean to check if this AC is selected (instead of GUIGlObjectStorage) More...
 
const TagPropertiesmyTagProperty
 the xml tag to which this attribute carrier corresponds More...
 

Static Protected Attributes

static TagProperties dummyTagProperty
 dummy TagProperty used for reference some elements (for Example, dummyEdge) More...
 
static std::vector< GUIGlObject_AbstractAdd * > myObjectList
 The list of all addtional objects currently loaded. More...
 
static std::map< std::string, GUIGlObject_AbstractAdd * > myObjects
 Map from names of loaded additional objects to the objects themselves. More...
 

Private Member Functions

std::string createFullName () const
 create full name More...
 
const GUIGlObjectgetGUIGlObject () const
 get GUIGlObject associated to this GNEShape More...
 
 GNEPOI (const GNEPOI &)=delete
 Invalidated copy constructor. More...
 
GNEPOIoperator= (const GNEPOI &)=delete
 Invalidated assignment operator. 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...
 

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 isParameterValid (const std::string &value, bool report)
 check if given string can be parsed to a parameter of type "key=value" 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

GNEAttributeCarriermyAC
 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...
 
RGBColor myColor
 The color of the Shape. 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 myImgFile
 The img file (include path) More...
 
double myLayer
 The layer of the Shape. More...
 
std::map< std::string, std::string > myMap
 The key->value map. More...
 
std::string myMicrosimID
 ID of GL object. More...
 
double myNaviDegreeAngle
 The angle of the Shape. More...
 
Position myOriginalViewPosition
 position used for move POILanes 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...
 
bool myRelativePath
 Enable or disable save imgFile as relative path. 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...
 
std::string myType
 The type of the Shape. More...
 
double myX
 The x-position. More...
 
double myY
 The y-position. More...
 
double myZ
 The z-position. More...
 

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 LinkStates (Currently unused) More...
 
static std::map< SumoXMLTag, TagPropertiesmyTagProperties
 map with the tags properties More...
 

inherited from GUIGlObject

static std::vector< PositionmyPOIVertices
 after every iteration of drawgl, position of vertices that make the circle are saved here. It used to drawn a dotted contour in Netedit) More...
 
void setColor (const GUIVisualizationSettings &s, bool forceSelectionColor) const
 set color More...
 
bool checkDraw (const GUIVisualizationSettings &s) const
 check if POI can be drawn More...
 
void drawInnerPOI (const GUIVisualizationSettings &s, bool forceSelectionColor) const
 draw inner POI (before pushName() ) More...
 

Detailed Description

In the case the represented junction's shape is empty, the boundary is computed using the junction's position to which an offset of 1m to each side is added.

Definition at line 44 of file GNEPOI.h.

Member Enumeration Documentation

◆ AttrProperty

struct with the tag Properties

Enumerator
ATTRPROPERTY_INT 
ATTRPROPERTY_FLOAT 
ATTRPROPERTY_SUMOTIME 
ATTRPROPERTY_BOOL 
ATTRPROPERTY_STRING 
ATTRPROPERTY_POSITION 
ATTRPROPERTY_COLOR 
ATTRPROPERTY_VCLASS 
ATTRPROPERTY_POSITIVE 
ATTRPROPERTY_UNIQUE 
ATTRPROPERTY_FILENAME 
ATTRPROPERTY_DISCRETE 
ATTRPROPERTY_PROBABILITY 
ATTRPROPERTY_ANGLE 
ATTRPROPERTY_LIST 
ATTRPROPERTY_SECUENCIAL 
ATTRPROPERTY_OPTIONAL 
ATTRPROPERTY_DEFAULTVALUESTATIC 
ATTRPROPERTY_DEFAULTVALUEMUTABLE 
ATTRPROPERTY_VCLASSES 
ATTRPROPERTY_SYNONYM 
ATTRPROPERTY_RANGE 
ATTRPROPERTY_EXTENDED 
ATTRPROPERTY_UPDATEGEOMETRY 
ATTRPROPERTY_ACTIVATABLE 
ATTRPROPERTY_COMPLEX 
ATTRPROPERTY_FLOWDEFINITION 

Definition at line 66 of file GNEAttributeCarrier.h.

◆ TAGProperty

Enumerator
TAGPROPERTY_DRAWABLE 
TAGPROPERTY_BLOCKMOVEMENT 
TAGPROPERTY_BLOCKSHAPE 
TAGPROPERTY_CLOSESHAPE 
TAGPROPERTY_GEOPOSITION 
TAGPROPERTY_GEOSHAPE 
TAGPROPERTY_DIALOG 
TAGPROPERTY_PARENT 
TAGPROPERTY_MINIMUMCHILDREN 
TAGPROPERTY_REPARENT 
TAGPROPERTY_SYNONYM 
TAGPROPERTY_AUTOMATICSORTING 
TAGPROPERTY_SELECTABLE 
TAGPROPERTY_MASKSTARTENDPOS 
TAGPROPERTY_MASKXYZPOSITION 
TAGPROPERTY_WRITECHILDRENSEPARATE 
TAGPROPERTY_NOPARAMETERS 
TAGPROPERTY_RTREE 
TAGPROPERTY_SORTINGCHILDREN 
TAGPROPERTY_CENTERAFTERCREATION 

Definition at line 293 of file GNEAttributeCarrier.h.

◆ TagType

Enumerator
TAGTYPE_NETELEMENT 
TAGTYPE_ADDITIONAL 
TAGTYPE_SHAPE 
TAGTYPE_DEMANDELEMENT 
TAGTYPE_TAZ 
TAGTYPE_STOPPINGPLACE 
TAGTYPE_DETECTOR 
TAGTYPE_VTYPE 
TAGTYPE_VEHICLE 
TAGTYPE_ROUTE 
TAGTYPE_STOP 
TAGTYPE_PERSON 
TAGTYPE_PERSONPLAN 
TAGTYPE_PERSONTRIP 
TAGTYPE_WALK 
TAGTYPE_RIDE 
TAGTYPE_PERSONSTOP 

Definition at line 273 of file GNEAttributeCarrier.h.

Constructor & Destructor Documentation

◆ GNEPOI() [1/3]

GNEPOI::GNEPOI ( GNENet net,
const std::string &  id,
const std::string &  type,
const RGBColor color,
const Position pos,
bool  geo,
double  layer,
double  angle,
const std::string &  imgFile,
bool  relativePath,
double  width,
double  height,
bool  movementBlocked 
)

Constructor.

Parameters
[in]netnet in which this polygon is placed
[in]idThe name of the POI
[in]typeThe (abstract) type of the POI
[in]colorThe color of the POI
[in]posThe position of the POI
[in[geo use GEO coordinates (lon/lat)
[in]layerThe layer of the POI
[in]angleThe rotation of the POI
[in]imgFileThe raster image of the shape
[in]relativePathset image file as relative path
[in]widthThe width of the POI image
[in]heightThe height of the POI image
[in]movementBlockedif movement of POI is blocked

Definition at line 44 of file GNEPOI.cpp.

◆ GNEPOI() [2/3]

GNEPOI::GNEPOI ( GNENet net,
const std::string &  id,
const std::string &  type,
const RGBColor color,
double  layer,
double  angle,
const std::string &  imgFile,
bool  relativePath,
GNELane lane,
double  posOverLane,
double  posLat,
double  width,
double  height,
bool  movementBlocked 
)

Constructor.

Parameters
[in]netnet in which this polygon is placed
[in]idThe name of the POI
[in]typeThe (abstract) type of the POI
[in]colorThe color of the POI
[in]layerThe layer of the POI
[in]angleThe rotation of the POI
[in]imgFileThe raster image of the shape
[in]relativePathset image file as relative path
[in]lanelane in which this POILane is placed
[in]posOverLanePosition over lane in which this POILane is placed
[in]posLatLateral position over lane
[in]widthThe width of the POI image
[in]heightThe height of the POI image
[in]movementBlockedif movement of POI is blocked

Definition at line 55 of file GNEPOI.cpp.

◆ ~GNEPOI()

GNEPOI::~GNEPOI ( )

Destructor.

Definition at line 63 of file GNEPOI.cpp.

◆ GNEPOI() [3/3]

GNEPOI::GNEPOI ( const GNEPOI )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ add() [1/3]

◆ add() [2/3]

void Position::add ( double  dx,
double  dy 
)
inlineinherited

Adds the given position to this one.

Definition at line 133 of file Position.h.

References Position::myX, and Position::myY.

◆ add() [3/3]

void Position::add ( double  dx,
double  dy,
double  dz 
)
inlineinherited

Adds the given position to this one.

Definition at line 139 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ addChildAdditional()

void GNEHierarchicalChildElements::addChildAdditional ( GNEAdditional additional)
inherited

◆ addChildDemandElement()

◆ addChildEdge()

void GNEHierarchicalChildElements::addChildEdge ( GNEEdge edge)
inherited

◆ addChildLane()

◆ addChildShape()

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

◆ addParentAdditional()

void GNEHierarchicalParentElements::addParentAdditional ( GNEAdditional additional)
inherited

◆ addParentDemandElement()

void GNEHierarchicalParentElements::addParentDemandElement ( GNEDemandElement demandElement)
inherited

◆ addParentEdge()

◆ addParentLane()

◆ addParentShape()

◆ addTo()

void Named::addTo ( const StoringVisitor cont) const
inlineinherited

Adds this object to the given container.

Parameters
[in,filled]cont The container to add this item to

Definition at line 126 of file Named.h.

References Named::StoringVisitor::add().

◆ allowedTags()

std::vector< SumoXMLTag > GNEAttributeCarrier::allowedTags ( bool  onlyDrawables)
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().

◆ allowedTagsByCategory()

std::vector< SumoXMLTag > GNEAttributeCarrier::allowedTagsByCategory ( int  tagPropertyCategory,
bool  onlyDrawables 
)
staticinherited

◆ almostSame()

bool Position::almostSame ( const Position p2,
double  maxDiv = POSITION_EPS 
) const
inlineinherited

◆ angleTo2D()

◆ areParametersValid()

◆ buildAdditionalsPopupOptions()

void GUIGlObject::buildAdditionalsPopupOptions ( GUIMainWindow app,
GUIGLObjectPopupMenu ret,
const std::string &  type 
)
protectedinherited

◆ buildCenterPopupEntry()

void GUIGlObject::buildCenterPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

void GUIGlObject::buildPopupHeader ( GUIGLObjectPopupMenu ret,
GUIMainWindow app,
bool  addSeparator = true 
)
protectedinherited

◆ buildPositionCopyEntry()

void GUIGlObject::buildPositionCopyEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
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.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether 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(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().

◆ buildSelectionPopupEntry()

◆ buildShapePopupOptions()

void GUIGlObject::buildShapePopupOptions ( GUIMainWindow app,
GUIGLObjectPopupMenu ret,
const std::string &  type 
)
protectedinherited

◆ buildShowManipulatorPopupEntry()

void GUIGlObject::buildShowManipulatorPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

Builds an entry which allows to open the manipulator window.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether 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().

◆ buildShowParamsPopupEntry()

void GUIGlObject::buildShowParamsPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

◆ buildShowTypeParamsPopupEntry()

void GUIGlObject::buildShowTypeParamsPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

Builds an entry which allows to open the type parameter window.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether 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().

◆ canParse() [1/2]

◆ canParse() [2/2]

template<typename T >
static bool GNEAttributeCarrier::canParse ( GNENet net,
const std::string &  value,
bool  report 
)
inlinestaticinherited

true if a value of type T can be parsed from string

Definition at line 657 of file GNEAttributeCarrier.h.

References WRITE_WARNING.

◆ changeChildEdges()

void GNEHierarchicalChildElements::changeChildEdges ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeChildLanes()

void GNEHierarchicalChildElements::changeChildLanes ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ checkChildAdditionalsOverlapping()

bool GNEHierarchicalChildElements::checkChildAdditionalsOverlapping ( ) const
inherited

◆ checkChildDemandElementsOverlapping()

bool GNEHierarchicalChildElements::checkChildDemandElementsOverlapping ( ) const
inherited

check if childs demand elements are overlapped

Definition at line 314 of file GNEHierarchicalChildElements.cpp.

◆ checkDraw()

bool GUIPointOfInterest::checkDraw ( const GUIVisualizationSettings s) const
protectedinherited

◆ checkParsedAttribute()

bool GNEAttributeCarrier::checkParsedAttribute ( const TagProperties tagProperties,
const AttributeProperties attrProperties,
const SumoXMLAttr  attribute,
std::string &  defaultValue,
std::string &  parsedAttribute,
std::string &  warningMessage 
)
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().

◆ clearDictionary()

void GUIGlObject_AbstractAdd::clearDictionary ( )
staticinherited

Clears the dictionary (the objects will not be deleted)

!! delete (*i).second;

Definition at line 54 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject_AbstractAdd::myObjectList, and GUIGlObject_AbstractAdd::myObjects.

Referenced by GUINet::~GUINet().

◆ clearParameter()

void Parameterised::clearParameter ( )
inherited

Clears the parameter map.

Definition at line 100 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::beginEdgeParsing(), and GNERouteHandler::closeRoute().

◆ commitGeometryMoving()

void GNEPOI::commitGeometryMoving ( const Position oldPos,
GNEUndoList undoList 
)

commit geometry changes in the attributes of an element after use of moveGeometry(...)

Parameters
[in]oldPosthe old position of additional
[in]undoListThe undoList on which to register changes

Definition at line 120 of file GNEPOI.cpp.

References GNEHierarchicalParentElements::getParentLanes(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::GNEChange_Attribute, GNEShape::myBlockMovement, GNEShape::myNet, PointOfInterest::myPosOverLane, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), Position::set(), SUMO_ATTR_POSITION, and toString().

◆ createFullName()

std::string GUIGlObject::createFullName ( ) const
privateinherited

◆ crossProduct()

Position Position::crossProduct ( const Position pos)
inlineinherited

returns the cross product between this point and the second one

Definition at line 258 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

Referenced by NBHeightMapper::Triangle::normalVector().

◆ decRef()

◆ disableAttribute()

void GNEShape::disableAttribute ( SumoXMLAttr  key,
GNEUndoList undoList 
)
virtualinherited

Implements GNEAttributeCarrier.

Definition at line 160 of file GNEShape.cpp.

◆ distanceSquaredTo()

double Position::distanceSquaredTo ( const Position p2) const
inlineinherited

returns the square of the distance to another position

Definition at line 238 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

Referenced by Position::distanceTo(), and GNEPerson::drawGL().

◆ distanceSquaredTo2D()

◆ distanceTo()

◆ distanceTo2D()

double Position::distanceTo2D ( const Position p2) const
inlineinherited

returns the euclidean distance in the x-y-plane

Definition at line 243 of file Position.h.

References Position::distanceSquaredTo2D().

Referenced by MSCFModel_CC::_consensus(), MSCFModel_CC::_v(), libsumo::Helper::applySubscriptionFilterFieldOfVision(), NBNode::bezierControlPoints(), NBNode::buildWalkingAreas(), GNEGeometry::calculateLength(), NGRandomNetBuilder::canConnect(), NBNode::checkCrossing(), MSLink::checkWalkingAreaFoe(), GUIBaseVehicle::computeSeats(), NIImporter_OpenDrive::computeShapes(), PositionVector::distance2D(), GUIVehicle::drawAction_drawCarriageClass(), GUIBusStop::drawGL(), GNEBusStop::drawGL(), GNEEdge::editEndpoint(), PositionVector::extrapolate2D(), NBPTStopCont::findAccessEdgesForRailStops(), NBNodeCont::generateNodeClusters(), PositionVector::getMaxGrade(), CState::getPosition(), NBNodeShapeComputer::getSmoothCorner(), GUILane::GUILane(), MSVehicle::Influencer::implicitDeltaPosRemote(), MSVehicle::Influencer::implicitSpeedRemote(), MSPModel_Striping::initWalkingAreaPaths(), PositionVector::insertAtClosest(), PositionVector::intersects(), PositionVector::intersectsAtLengths2D(), PCLoaderOSM::loadIfSet(), PositionVector::move2side(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), GeomHelper::nearest_offset_on_line_to_point25D(), GeomHelper::nearest_offset_on_line_to_point2D(), PositionVector::nearest_offset_to_point25D(), PositionVector::nearest_offset_to_point2D(), GUIViewTraffic::onGamingClick(), PositionVector::positionAtOffset2D(), NBNodeCont::pruneClusterFringe(), PositionVector::removeClosest(), GNEEdge::resetEndpoint(), NBNodeCont::shortestEdge(), PositionVector::sideOffset(), PositionVector::simplified(), PositionVector::slopeDegreeAtOffset(), PositionVector::smoothedZFront(), PositionVector::transformToVectorCoordinates(), MSPerson::MSPersonStage_Walking::walkDistance(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomSmooth(), and NWWriter_OpenDrive::writeRoadObjects().

◆ dotProduct()

double Position::dotProduct ( const Position pos)
inlineinherited

returns the dot product (scalar product) between this point and the second one

Definition at line 266 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

Referenced by NBHeightMapper::Triangle::getZ().

◆ draw()

◆ drawChildConnections()

◆ drawGL()

◆ drawGLAdditional()

void GUIGlObject::drawGLAdditional ( GUISUMOAbstractView *const  parent,
const GUIVisualizationSettings s 
) const
virtualinherited

Draws additional, user-triggered visualisations.

Parameters
[in]parentThe view
[in]sThe 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.

◆ drawInnerPOI()

◆ drawName()

◆ drawUsingSelectColor()

bool GNEShape::drawUsingSelectColor ( ) const
virtualinherited

check if attribute carrier must be drawn using selecting color.

Implements GNEAttributeCarrier.

Definition at line 144 of file GNEShape.cpp.

References GNEViewNetHelper::EditModes::currentSupermode, GNEViewNet::getEditModes(), GNENet::getViewNet(), GNE_SUPERMODE_NETWORK, GNEShape::myNet, and GNEAttributeCarrier::mySelected.

Referenced by drawGL(), and GNEPoly::drawGL().

◆ enableAttribute()

void GNEShape::enableAttribute ( SumoXMLAttr  key,
GNEUndoList undoList 
)
virtualinherited

Implements GNEAttributeCarrier.

Definition at line 154 of file GNEShape.cpp.

◆ endGeometryMoving()

void GNEPOI::endGeometryMoving ( )
virtual

begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree)

Implements GNEShape.

Definition at line 82 of file GNEPOI.cpp.

◆ fillAdditionals()

void GNEAttributeCarrier::fillAdditionals ( )
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().

◆ fillAttributeCarriers()

◆ fillCarFollowingModelAttributes()

◆ fillCommonFlowAttributes()

◆ fillCommonPersonAttributes()

◆ fillCommonStopAttributes()

void GNEAttributeCarrier::fillCommonStopAttributes ( SumoXMLTag  currentTag)
staticprivateinherited

◆ fillCommonVehicleAttributes()

◆ fillDemandElements()

void GNEAttributeCarrier::fillDemandElements ( )
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().

◆ fillJunctionModelAttributes()

◆ fillLaneChangingModelAttributes()

◆ fillNetElements()

void GNEAttributeCarrier::fillNetElements ( )
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().

◆ fillPersonElements()

void GNEAttributeCarrier::fillPersonElements ( )
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().

◆ fillPersonStopElements()

◆ fillShapes()

void GNEAttributeCarrier::fillShapes ( )
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().

◆ fillStopElements()

◆ fillVehicleElements()

◆ generateChildID()

std::string GNEPOI::generateChildID ( SumoXMLTag  childTag)
virtual

gererate a new ID for an element child

Implements GNEShape.

Definition at line 67 of file GNEPOI.cpp.

References GNEAttributeCarrier::getID(), ShapeContainer::getPOIs(), GNEShape::myNet, GNENet::retrievePOI(), NamedObjectCont< T >::size(), and toString().

◆ get()

GUIGlObject_AbstractAdd * GUIGlObject_AbstractAdd::get ( const std::string &  name)
staticinherited

Returns a named object.

Definition at line 65 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject_AbstractAdd::myObjects.

◆ getAlternativeValueForDisabledAttributes()

◆ getAttribute()

◆ getAttributeForSelection()

std::string GNEAttributeCarrier::getAttributeForSelection ( SumoXMLAttr  key) const
virtualinherited

method for getting the attribute in the context of object selection

Reimplemented in GNELane, and GNEEdge.

Definition at line 1261 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getAttribute().

◆ getCenter()

Position PointOfInterest::getCenter ( ) const
inlineinherited

Returns the image center of the POI.

Definition at line 99 of file PointOfInterest.h.

References PointOfInterest::myHalfImgHeight, PointOfInterest::myHalfImgWidth, Position::x(), and Position::y().

◆ getCenteringBoundary()

Boundary GNEPOI::getCenteringBoundary ( ) const
virtual

Returns the boundary to which the view shall be centered in order to show the object.

Implements GNEShape.

Definition at line 159 of file GNEPOI.cpp.

References GUIPointOfInterest::getCenteringBoundary(), Boundary::isInitialised(), and GNEShape::myMovingGeometryBoundary.

Referenced by drawGL().

◆ getChildAdditionals()

const std::vector< GNEAdditional * > & GNEHierarchicalChildElements::getChildAdditionals ( ) const
inherited

return child additionals

Definition at line 131 of file GNEHierarchicalChildElements.cpp.

References GNEHierarchicalChildElements::myChildAdditionals.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEEdge::addConnection(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEDetectorE3::checkChildAdditionalRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNEEdge::drawGL(), GNELane::drawGL(), GNEEdge::endGeometryMoving(), GNELane::endGeometryMoving(), GNEAdditional::generateChildID(), GNETAZ::getAttribute(), GNEEdge::getRouteProbeRelativePosition(), GNEVariableSpeedSignStep::isValid(), GNEAdditionalHandler::myEndElement(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNECalibratorDialog::onCmdClickedRoute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNEEdge::removeConnection(), GNENet::replaceIncomingEdge(), GNEEdge::retrieveGNEConnection(), GNEBusStop::setAttribute(), GNEDetectorE3::setAttribute(), GNEParkingArea::setAttribute(), GNERerouter::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNENet::splitEdge(), GNEEdge::startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNECalibratorDialog::updateFlowTable(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), GNERerouterDialog::updateIntervalTable(), GNETAZ::updateParentAdditional(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNEAdditional::writeAdditional().

◆ getChildDemandElements()

const std::vector< GNEDemandElement * > & GNEHierarchicalChildElements::getChildDemandElements ( ) const
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(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEAdditional::endGeometryMoving(), GNEEdge::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(), GNEEdge::startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEBusStop::updateGeometry(), GNEPerson::updateGeometry(), GNEPersonTrip::updateGeometry(), GNERide::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNEVehicleType::updateGeometry(), GNEWalk::updateGeometry(), GNEEdge::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().

◆ getChildDemandElementsSortedByType()

const std::set< GNEDemandElement * > & GNEHierarchicalChildElements::getChildDemandElementsSortedByType ( SumoXMLTag  tag) const
inherited

◆ getChildEdges()

const std::vector< GNEEdge * > & GNEHierarchicalChildElements::getChildEdges ( ) const
inherited

◆ getChildLanes()

const std::vector< GNELane * > & GNEHierarchicalChildElements::getChildLanes ( ) const
inherited

◆ getChildPosition()

const Position & GNEHierarchicalChildElements::getChildPosition ( const GNELane lane)
inherited

◆ getChildRotation()

double GNEHierarchicalChildElements::getChildRotation ( const GNELane lane)
inherited

◆ getChildShapes()

◆ getColorValue()

virtual double GUIGlObject::getColorValue ( const GUIVisualizationSettings ,
int   
) const
inlinevirtualinherited

◆ getDouble()

◆ getFullName()

◆ getGlID()

GUIGlID GNEPOI::getGlID ( ) const
virtual

Returns the numerical id of the object.

Implements GNEShape.

Definition at line 170 of file GNEPOI.cpp.

References GUIGlObject::getGlID().

Referenced by drawGL().

◆ getGUIGlObject()

const GUIGlObject * GNEPOI::getGUIGlObject ( ) const
privatevirtual

get GUIGlObject associated to this GNEShape

Implements GNEShape.

Definition at line 533 of file GNEPOI.cpp.

◆ getHeight()

double PointOfInterest::getHeight ( ) const
inlineinherited

Returns the image height of the POI.

Definition at line 94 of file PointOfInterest.h.

References PointOfInterest::myHalfImgHeight.

Referenced by getAttribute(), libsumo::POI::getHeight(), libsumo::POI::highlight(), and PointOfInterest::writeXML().

◆ getHierarchyName()

std::string GNEShape::getHierarchyName ( ) const
virtualinherited

get Hierarchy Name (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

Definition at line 172 of file GNEShape.cpp.

References GNEAttributeCarrier::getTagStr().

◆ getIcon()

◆ getID() [1/2]

const std::string GNEAttributeCarrier::getID ( ) const
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(), GNEEdge::drawGL(), GNEJunction::drawJunctionChilds(), GNEVehicleFrame::edgePathCreated(), GNEAdditional::generateChildID(), 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(), GNEEdge::removeConnection(), GNEJunction::removeEdgeFromCrossings(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::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(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::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(), 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().

◆ getID() [2/2]

const std::string& Named::getID ( ) const
inlineinherited

Returns the id.

Returns
The stored id

Definition at line 76 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), LaneStoringVisitor::add(), Named::StoringVisitor::add(), MSVehicleTransfer::add(), MSPModel_Striping::add(), MSPModel_Remote::add(), PCPolyContainer::add(), ShapeContainer::add(), MSDetectorControl::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NLHandler::addConnection(), NBLoadedSUMOTLDef::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), MSRouteHandler::addStop(), ROVehicle::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), libsumo::Helper::applySubscriptionFilters(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSPModel_Striping::blockedAtDist(), MSLink::blockedAtTime(), MSLink::blockedByFoe(), NLEdgeControlBuilder::build(), NIVisumTL::build(), RODFNet::buildApproachList(), MSSOTLE2Sensors::buildContinueSensior(), MSSOTLE2Sensors::buildCountSensorForLane(), MSSOTLE2Sensors::buildCountSensorForOutLane(), NBNode::buildCrossings(), NBNode::buildCrossingsAndWalkingAreas(), NIImporter_VISUM::buildDistrictNode(), MSRailSignal::LinkInfo::buildDriveWay(), NLDetectorBuilder::buildE2Detector(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NIVissimEdge::buildNBEdge(), NGEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MSRailSignal::DriveWay::buildRoute(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSVehicle::canReverse(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSEdge::checkAndRegisterBiDirEdge(), MSRailSignal::DriveWay::checkCrossingFlanks(), MSLane::checkForPedestrians(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSLCM_SL2015::checkStrategicChange(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), ShapeContainer::clearHighlights(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), IntermodalRouter< E, L, N, V >::compute(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), NBNodeTypeComputer::computeNodeTypes(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), MSVehicle::Manoeuvre::configureEntryManoeuvre(), MSVehicle::Manoeuvre::configureExitManoeuvre(), NGNet::connect(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSActuatedTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), MSVehicle::Manoeuvre::entryManoeuvreIsComplete(), METriggeredCalibrator::execute(), Command_SaveTLSProgram::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitches::execute(), Command_SaveTLSSwitchStates::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSCalibrator::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), libsumo::Helper::findCloserLane(), MSRailSignal::DriveWay::findFlankProtection(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBNodeCont::generateNodeClusters(), GUITrafficLightLogicWrapper::getActiveTLLogic(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), MSLink::getDescription(), NBTrafficLightDefinition::getDescription(), GUIPerson::getDestinationEdgeID(), RODFNet::getDetectorEdge(), MSActuatedTrafficLightLogic::getDetectorPriority(), GUIPerson::getEdgeID(), GUIMEVehicle::getEdgeID(), MSMeanData::getEdgeID(), libsumo::Lane::getEdgeID(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), libsumo::InductionLoop::getLaneID(), libsumo::LaneArea::getLaneID(), libsumo::Vehicle::getLaneID(), MSParkingArea::getLastFreePosWithReservation(), MSLane::getLastVehicleInformation(), MSVehicle::getLatOffset(), MSLane::getLeader(), MSLink::getLeaderInfo(), MSLane::getLeaderOnConsecutive(), MSLane::getLeadersOnConsecutive(), MSLink::getLengthBeforeCrossing(), MSLane::getLinkTo(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), GNEDialogACChooser::getObjectName(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), libsumo::Simulation::getParameter(), GUILane::getParameterWindow(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::getParentName(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), PolygonDynamics::getPolygonID(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), MSLCM_LC2013::getRoundaboutDistBonus(), libsumo::Vehicle::getRouteID(), MSVehicle::getSafeFollowSpeed(), libsumo::Person::getStage(), MSContainer::MSContainerStage_Driving::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSActuatedTrafficLightLogic::getTarget(), MSRailSignal::getTLLinkID(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSEdge::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSVehicle::haveValidStopEdges(), libsumo::POI::highlight(), MSVehicle::ignoreRed(), MSActuatedTrafficLightLogic::init(), MSDelayBasedTrafficLightLogic::init(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBNodeCont::insert(), NBTrafficLightLogicCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicles(), GNEJunction::invalidateTLS(), NBNode::invalidateTLS(), MSTLLogicControl::isActive(), MSPedestrianPushButton::isActiveForEdge(), MSPedestrianPushButton::isActiveOnAnySideOfTheRoad(), RODFNet::isDestination(), RODFNet::isFalseSource(), MSLane::isInsertionSuccess(), MSVehicle::isLeader(), MESegment::isOpen(), RODFNet::isSource(), NIImporter_VISUM::isSplitEdge(), MSSOTLTrafficLightLogic::isThresholdPassed(), MESegment::jamThresholdForSpeed(), NBNodeShapeComputer::joinSameDirectionEdges(), MSAbstractLaneChangeModel::laneChangeOutput(), MSE3Collector::leave(), MSE3Collector::leaveFront(), MSDevice_BTreceiver::BTreceiverUpdate::leaveRange(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), MSSOTLE2Sensors::meanVehiclesSpeed(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), MSCalibrator::MSCalibrator(), MSChargingStation::MSChargingStation(), MSDevice_Battery::MSDevice_Battery(), MSE2Collector::MSE2Collector(), NBLoadedTLDef::myCompute(), NIImporter_SUMO::myEndElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), MSPModel_Striping::nextBlocking(), MSE2Collector::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_Example::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Tripinfo::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Transportable::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_Example::notifyMove(), MSDevice_SSM::notifyMove(), MSE2Collector::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_ToC::notifyMove(), GNETLSEditorFrame::onCmdDefSwitch(), GUIViewTraffic::onGamingClick(), MSLink::opened(), RORouteHandler::openRoute(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), RODFNet::idComp::operator()(), NIImporter_VISUM::parse_Connectors_legacy(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_Turns(), NLTriggerBuilder::parseAndBuildCalibrator(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), AGStreet::print(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkApproaches(), MSVehicle::processNextStop(), NIXMLNodesHandler::processNodeType(), TraCIServerAPI_Vehicle::processSet(), MEVehicle::processStop(), NIXMLNodesHandler::processTrafficLightDefinitions(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), MSLink::removeApproaching(), MSVehicle::removePassedDriveItems(), GNEJunction::removeTLSConnections(), NBNodeCont::rename(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSVehicle::replaceRoute(), MSBaseVehicle::replaceRouteEdges(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSDevice_ToC::requestToC(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), RONet::saveAndRemoveRoutesUntil(), ROPerson::Ride::saveAsXML(), ROVehicle::saveAsXML(), MSBaseVehicle::saveState(), MSLane::saveState(), MSDevice::saveState(), MSDevice_Routing::saveState(), MSDevice_Tripinfo::saveState(), MSDevice_Vehroutes::saveState(), MSTransportableDevice_Routing::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), NIImporter_OpenDrive::setNodeSecure(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSDevice_ToC::triggerDownwardToC(), MSDevice_ToC::triggerMRM(), MSDevice_ToC::triggerUpwardToC(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), PolygonDynamics::update(), MSDevice_SSM::updateAndWriteOutput(), MSVehicle::updateBestLanes(), MSLCM_SL2015::updateCFRelated(), MSSOTLTrafficLightLogic::updateCTS(), NLEdgeControlBuilder::updateCurrentLaneStopOffsets(), MSVehicle::updateDriveItems(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), MSSwarmTrafficLightLogic::updatePheromoneLevels(), MSSwarmTrafficLightLogic::updateSensitivities(), MSAbstractLaneChangeModel::updateTargetLane(), MSDevice_BTreceiver::BTreceiverUpdate::updateVisibility(), NBNodeTypeComputer::validateRailCrossings(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), MSInstantInductLoop::write(), NBParking::write(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSMeanData::writeEdge(), NWWriter_SUMO::writeEdge(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSFullExport::writeLane(), MSQueueExport::writeLane(), MSXMLRawOut::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_SUMO::writeRoundabout(), RODFDetectorCon::writeSpeedTrigger(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), RODFDetectorCon::writeValidationDetectors(), MSFullExport::writeVehicles(), SUMOPolygon::writeXML(), PointOfInterest::writeXML(), MSE2Collector::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSRouteProbe::writeXMLOutput(), and RONet::~RONet().

◆ getIDList()

std::vector< GUIGlID > GUIGlObject_AbstractAdd::getIDList ( GUIGlObjectType  typeFilter)
staticinherited

Returns the list of gl-ids of all additional objects that match the given type.

Definition at line 89 of file GUIGlObject_AbstractAdd.cpp.

References GLO_ADDITIONAL, GLO_MAX, GLO_NETELEMENT, GLO_NETWORK, GLO_ROUTEELEMENT, GLO_SHAPE, and GUIGlObject_AbstractAdd::myObjectList.

Referenced by GUISUMOViewParent::onCmdLocate().

◆ getIDSecure()

template<class T >
static std::string Named::getIDSecure ( const T *  obj,
const std::string &  fallBack = "NULL" 
)
inlinestaticinherited

get an identifier for Named-like object which may be Null

Definition at line 69 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), AStarRouter< E, V >::compute(), DijkstraRouter< E, V >::compute(), NBEdge::computeEdge2Edges(), NBEdge::computeLanes2Edges(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), NBPTLineCont::findWay(), MSCFModel_CACC::followSpeed(), MSCFModel_W99::followSpeed(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestCombination(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), GUIVehicle::getLaneID(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), MSLaneChanger::getRealLeader(), GUIVehicle::getShadowLaneID(), GUIVehicle::getTargetLaneID(), NBEdge::init(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().

◆ getMicrosimID()

◆ getMiddleParentEdges()

std::vector< GNEEdge * > GNEHierarchicalParentElements::getMiddleParentEdges ( ) const
inherited

◆ getNet()

◆ getNewListOfParents()

std::string GNEHierarchicalParentElements::getNewListOfParents ( const GNENetElement currentElement,
const GNENetElement newNextElement 
) const
inherited

◆ getNextChildDemandElement()

GNEDemandElement * GNEHierarchicalChildElements::getNextChildDemandElement ( const GNEDemandElement demandElement) const
inherited

get next child demand element to the given demand element

Definition at line 335 of file GNEHierarchicalChildElements.cpp.

References GNEHierarchicalChildElements::myChildDemandElements.

◆ getObjectList()

const std::vector< GUIGlObject_AbstractAdd * > & GUIGlObject_AbstractAdd::getObjectList ( )
staticinherited

Returns the list of all additional objects.

Definition at line 83 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject_AbstractAdd::myObjectList.

◆ getOptionalName()

const std::string GUIGlObject::getOptionalName ( ) const
virtualinherited

Returns the name of the object (default "")

Reimplemented in GNEEdge, GUIParkingArea, GUIJunctionWrapper, GUIEdge, GUIContainerStop, GUIChargingStation, GUIBusStop, and GUIBaseVehicle.

Definition at line 168 of file GUIGlObject.cpp.

Referenced by GUIDialog_GLObjChooser::getObjectName().

◆ getParameter()

const std::string Parameterised::getParameter ( const std::string &  key,
const std::string &  defaultValue = "" 
) const
inherited

Returns the value for a given key.

Parameters
[in]keyThe key to ask for
[in]defaultValueThe default value to return if no value is stored under the key
Returns
The value stored under the key

Definition at line 72 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), ROEdge::cacheParamRestrictions(), SUMOVTypeParameter::cacheParamRestrictions(), GNEEdge::drawEdgeName(), GUIEdge::drawGL(), GNEConnection::drawGL(), GUIBaseVehicle::drawOnPos(), libsumo::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GUILane::getColorValue(), GUIVehicle::getColorValue(), GNELane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSSwarmTrafficLightLogic::getForgettingCox(), MSSwarmTrafficLightLogic::getGammaNo(), MSSwarmTrafficLightLogic::getGammaSp(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSSwarmTrafficLightLogic::getLearningCox(), MSSwarmTrafficLightLogic::getMaxCongestionDuration(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), GUIBaseVehicle::getOptionalName(), GUIJunctionWrapper::getOptionalName(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::Simulation::getParameter(), libsumo::POI::getParameter(), libsumo::Polygon::getParameter(), libsumo::Person::getParameter(), libsumo::Route::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), MSSwarmTrafficLightLogic::getPheroMaxVal(), MSSwarmTrafficLightLogic::getPoliciesParam(), MSSwarmTrafficLightLogic::getReinforcementMode(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSDevice::getStringParam(), MSSwarmTrafficLightLogic::getThetaInit(), MSSwarmTrafficLightLogic::getThetaMax(), MSSwarmTrafficLightLogic::getThetaMin(), MSSOTLTrafficLightLogic::getThreshold(), MSTriggeredRerouter::getWeight(), MSSOTLPhasePolicy::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), PushButtonLogic::init(), SigmoidLogic::init(), MSVehicleType::initRailVisualizationParameters(), GNEVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), GNEVehicleType::overwriteVType(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSDevice_SSM::useGeoCoords(), NWWriter_DlrNavteq::writeLinksUnsplitted(), and NWWriter_OpenDrive::writeRoadObjects().

◆ getParametersMap()

◆ getParametersStr()

◆ getParameterWindow()

GUIParameterTableWindow * GNEPOI::getParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

Returns an own parameter window.

Parameters
[in]appThe application needed to build the parameter window
[in]parentThe parent window needed to build the parameter window
Returns
The built parameter window
See also
GUIGlObject::getParameterWindow

Implements GNEShape.

Definition at line 207 of file GNEPOI.cpp.

References GUIPointOfInterest::getParameterWindow().

◆ getParentAdditionals()

const std::vector< GNEAdditional * > & GNEHierarchicalParentElements::getParentAdditionals ( ) const
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(), GNEEdge::drawGL(), GNELane::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::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(), GNEEdge::startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEDetectorEntryExit::updateGeometry(), GNEStop::updateGeometry(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), GNEStop::updatePartialGeometry(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), and GNEWalk::writeDemandElement().

◆ getParentDemandElements()

const std::vector< GNEDemandElement * > & GNEHierarchicalParentElements::getParentDemandElements ( ) const
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(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNERouteHandler::embebbeRoute(), GNEEdge::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(), GNEEdge::startGeometryMoving(), GNELane::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEBusStop::updateGeometry(), GNEStop::updateGeometry(), GNEWalk::updateGeometry(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), GNEStop::updatePartialGeometry(), GNEPerson::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNERide::writeDemandElement(), GNEVehicle::writeDemandElement(), and GNEWalk::writeDemandElement().

◆ getParentEdges()

const std::vector< GNEEdge * > & GNEHierarchicalParentElements::getParentEdges ( ) const
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(), GNEEdge::drawPartialPersonPlan(), GNEEdge::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().

◆ getParentLanes()

const std::vector< GNELane * > & GNEHierarchicalParentElements::getParentLanes ( ) const
inherited

get parent lanes

Definition at line 235 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentLanes.

Referenced by GNEDetectorE2::checkE2MultilaneIntegrity(), commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEPersonTrip::computePath(), GNERide::computePath(), GNEWalk::computePath(), GNECalibrator::drawCalibratorSymbol(), GNEStop::drawGL(), GNEEdge::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(), 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(), 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(), isValid(), GNEStop::isValid(), GNEAccess::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEDetectorE2::moveGeometry(), GNEDetectorEntryExit::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEStop::moveGeometry(), moveGeometry(), GNEPersonPlanFrame::personPlanCreated(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), 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(), updateGeometry(), GNEStop::updateGeometry(), GNEStop::updatePartialGeometry(), and writeShape().

◆ getParentName()

std::string GNEPOI::getParentName ( ) const
virtual

Returns the name of the parent object.

Returns
This object's parent id

Reimplemented from GUIGlObject.

Definition at line 176 of file GNEPOI.cpp.

References GUIGlObject::getMicrosimID(), and GNEShape::myNet.

◆ getParentShapes()

const std::vector< GNEShape * > & GNEHierarchicalParentElements::getParentShapes ( ) const
inherited

◆ getPathEdges()

const std::vector< GNEEdge * > & GNEHierarchicalParentElements::getPathEdges ( ) const
inherited

◆ getPopUpID()

std::string GNEShape::getPopUpID ( ) const
virtualinherited

get PopPup ID (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

Definition at line 166 of file GNEShape.cpp.

References GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().

◆ getPopUpMenu()

GUIGLObjectPopupMenu * GNEPOI::getPopUpMenu ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

◆ getPositionInView()

Position GNEPOI::getPositionInView ( ) const
virtual

Returns position of additional in view.

Implements GNEShape.

Definition at line 153 of file GNEPOI.cpp.

References Position::Position(), Position::x(), and Position::y().

◆ getPreviousChildDemandElement()

GNEDemandElement * GNEHierarchicalChildElements::getPreviousChildDemandElement ( const GNEDemandElement demandElement) const
inherited

get previous child demand element to the given demand element

Definition at line 320 of file GNEHierarchicalChildElements.cpp.

References GNEHierarchicalChildElements::myChildDemandElements.

◆ getShapeColor()

const RGBColor& Shape::getShapeColor ( ) const
inlineinherited

◆ getShapeImgFile()

const std::string& Shape::getShapeImgFile ( ) const
inlineinherited

◆ getShapeLayer()

◆ getShapeNaviDegree()

double Shape::getShapeNaviDegree ( ) const
inlineinherited

Returns the angle of the Shape in navigational degrees.

Returns
The Shape's rotation angle

Definition at line 96 of file Shape.h.

References Shape::myNaviDegreeAngle.

Referenced by GUIPointOfInterest::drawInnerPOI(), libsumo::POI::getAngle(), getAttribute(), GNEPoly::getAttribute(), GUIPolygon::setShape(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().

◆ getShapeRelativePath()

bool Shape::getShapeRelativePath ( ) const
inlineinherited

Returns the relativePath of the Shape.

Returns
The Shape's relativePath

Definition at line 110 of file Shape.h.

References Shape::myRelativePath.

Referenced by getAttribute(), GNEPoly::getAttribute(), SUMOPolygon::writeXML(), and PointOfInterest::writeXML().

◆ getShapeType()

◆ getTagProperties()

◆ getTagProperty()

const GNEAttributeCarrier::TagProperties & GNEAttributeCarrier::getTagProperty ( ) const
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(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEPerson::getHierarchyName(), GNEStop::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEHierarchicalParentElements::getNewListOfParents(), GNEPerson::getPositionInView(), GNEEdge::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().

◆ getTagStr()

const std::string & GNEAttributeCarrier::getTagStr ( ) const
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(), 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(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::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(), 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(), GNEEdge::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(), 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(), GNEEdge::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(), GNEEdge::removeConnection(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalParentElements::removeParentAdditional(), GNEHierarchicalParentElements::removeParentDemandElement(), GNEHierarchicalParentElements::removeParentEdge(), GNEHierarchicalParentElements::removeParentLane(), GNEHierarchicalParentElements::removeParentShape(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), GNEEdge::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(), 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(), GNEEdge::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().

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
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(), 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(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawPartialTripFromTo(), GNEEdge::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().

◆ getTypeParameterWindow()

GUIParameterTableWindow * GUIGlObject::getTypeParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtualinherited

Returns an own type parameter window (optional)

Parameters
[in]appThe application needed to build the parameter window
[in]parentThe parent window needed to build the parameter window
Returns
The built 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().

◆ getWidth()

double PointOfInterest::getWidth ( ) const
inlineinherited

Returns the image width of the POI.

Definition at line 89 of file PointOfInterest.h.

References PointOfInterest::myHalfImgWidth.

Referenced by getAttribute(), libsumo::POI::getWidth(), libsumo::POI::highlight(), and PointOfInterest::writeXML().

◆ incRef()

void GNEReferenceCounter::incRef ( const std::string &  debugMsg = "")
inlineinherited

Increarse reference.

Definition at line 67 of file GNEReferenceCounter.h.

References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.

Referenced by GNEEdge::addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::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(), GNEEdge::remakeGNEConnections(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), and GNENet::setViewNet().

◆ invalidPosition()

static const Position& Position::invalidPosition ( )
inlinestaticinherited

reference to invalid position (needed if INVALID is taken by macro-definition)

Definition at line 287 of file Position.h.

References Position::INVALID.

◆ isAttributeCarrierSelected()

bool GNEShape::isAttributeCarrierSelected ( ) const
virtualinherited

◆ isAttributeEnabled()

bool GNEPOI::isAttributeEnabled ( SumoXMLAttr  key) const
virtual

◆ isMovementBlocked()

bool GNEShape::isMovementBlocked ( ) const
inherited

return true if movement is blocked

Definition at line 67 of file GNEShape.cpp.

References GNEShape::myBlockMovement.

◆ isNAN()

bool Position::isNAN ( ) const
inlineinherited

check if position is NAN

Definition at line 279 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ isParameterValid()

bool Parameterised::isParameterValid ( const std::string &  value,
bool  report 
)
staticprivateinherited

check if given string can be parsed to a parameter of type "key=value"

Definition at line 189 of file Parameterised.cpp.

References StringTokenizer::getVector(), SUMOXMLDefinitions::isValidParameterKey(), and SUMOXMLDefinitions::isValidParameterValue().

Referenced by Parameterised::areParametersValid().

◆ isValid()

bool GNEPOI::isValid ( SumoXMLAttr  key,
const std::string &  value 
)
virtual

◆ knowsParameter()

◆ lanesConsecutives()

bool GNEAttributeCarrier::lanesConsecutives ( const std::vector< GNELane * > &  lanes)
staticinherited

check if lanes are consecutives

Definition at line 1136 of file GNEAttributeCarrier.cpp.

Referenced by GNEDetectorE2::isValid(), and GNEAdditionalHandler::parseAndBuildDetectorE2().

◆ moveGeometry()

void GNEPOI::moveGeometry ( const Position oldPos,
const Position offset 
)

change the position of the element geometry without saving in undoList

Parameters
[in]newPositionnew position of geometry
Note
should't be called in drawGL(...) functions to avoid smoothness issues

Definition at line 100 of file GNEPOI.cpp.

References Position::add(), GNEHierarchicalParentElements::getParentLanes(), GNENet::getViewNet(), GNEShape::myBlockMovement, GNEShape::myNet, PointOfInterest::myPosOverLane, Position::set(), GUISUMOAbstractView::snapToActiveGrid(), and updateGeometry().

◆ mul() [1/3]

void Position::mul ( double  mx,
double  my 
)
inlineinherited

Multiplies position with the given values.

Definition at line 113 of file Position.h.

References Position::myX, and Position::myY.

◆ mul() [2/3]

void Position::mul ( double  mx,
double  my,
double  mz 
)
inlineinherited

Multiplies position with the given values.

Definition at line 119 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ mul() [3/3]

◆ norm2d()

void Position::norm2d ( )
inlineinherited

Definition at line 166 of file Position.h.

References Position::myX, and Position::myY.

Referenced by NBNode::getEmptyDir().

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void *  )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 165 of file GUIGlObject.h.

Referenced by GUISUMOAbstractView::onLeftBtnPress().

◆ operator!=()

bool Position::operator!= ( const Position p2) const
inlineinherited

difference operator

Definition at line 212 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ operator*()

Position Position::operator* ( double  scalar) const
inlineinherited

keep the direction but modify the length of the (location) vector to length * scalar

Definition at line 192 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator+() [1/2]

Position Position::operator+ ( const Position p2) const
inlineinherited

add operator

Definition at line 182 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator+() [2/2]

Position Position::operator+ ( double  offset) const
inlineinherited

keep the direction but modify the length of the (location) vector to length + scalar

Definition at line 197 of file Position.h.

References Position::distanceTo(), Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator-()

Position Position::operator- ( const Position p2) const
inlineinherited

sub operator

Definition at line 187 of file Position.h.

References Position::myX, Position::myY, Position::myZ, and Position::Position().

◆ operator<()

bool Position::operator< ( const Position p2) const
inlineinherited

lexicographical sorting for use in maps and sets

Definition at line 217 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ operator=()

GNEPOI& GNEPOI::operator= ( const GNEPOI )
privatedelete

Invalidated assignment operator.

◆ operator==()

bool Position::operator== ( const Position p2) const
inlineinherited

comparation operator

Definition at line 207 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ parse() [1/4]

template<>
std::vector< bool > GNEAttributeCarrier::parse ( const std::string &  string)
inherited

Definition at line 931 of file GNEAttributeCarrier.cpp.

References StringUtils::toInt().

◆ parse() [2/4]

template<typename T >
static T GNEAttributeCarrier::parse ( const std::string &  string)
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().

◆ parse() [3/4]

template<>
std::vector< GNELane * > GNEAttributeCarrier::parse ( GNENet net,
const std::string &  value 
)
inherited

◆ parse() [4/4]

template<typename T >
static T GNEAttributeCarrier::parse ( GNENet net,
const std::string &  value 
)
staticinherited

parses a complex value of type T from string (use for list of edges, list of lanes, etc.)

◆ parseAttributeFromXML()

template<typename T >
static T GNEAttributeCarrier::parseAttributeFromXML ( const SUMOSAXAttributes attrs,
const std::string &  objectID,
const SumoXMLTag  tag,
const SumoXMLAttr  attribute,
bool &  abort 
)
inlinestaticinherited

◆ parseIDs() [1/3]

template<>
std::string GNEAttributeCarrier::parseIDs ( const std::vector< GNEEdge * > &  ACs)
inherited

Definition at line 1114 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [2/3]

template<>
std::string GNEAttributeCarrier::parseIDs ( const std::vector< GNELane * > &  ACs)
inherited

Definition at line 1125 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [3/3]

template<typename T >
static std::string GNEAttributeCarrier::parseIDs ( const std::vector< T > &  ACs)
staticinherited

◆ parseMaskedPositionAttribute()

bool GNEAttributeCarrier::parseMaskedPositionAttribute ( const SUMOSAXAttributes attrs,
const std::string &  objectID,
const TagProperties tagProperties,
const AttributeProperties attrProperties,
std::string &  parsedAttribute,
std::string &  warningMessage 
)
staticprivateinherited

◆ remove()

void GUIGlObject_AbstractAdd::remove ( GUIGlObject_AbstractAdd o)
staticinherited

◆ removeActiveAddVisualisation()

virtual void GUIGlObject::removeActiveAddVisualisation ( GUISUMOAbstractView * const  ,
int   
)
inlinevirtualinherited

remove additional user-griggered visualisations

Reimplemented in GUIPerson, and GUIBaseVehicle.

Definition at line 162 of file GUIGlObject.h.

◆ removeChildAdditional()

◆ removeChildDemandElement()

◆ removeChildEdge()

◆ removeChildLane()

◆ removeChildShape()

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 111 of file GUIGlObject.h.

Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow w)
inherited

Lets this object know a parameter window showing the object's values was closed.

Parameters
[in]wThe closed parameter window

Definition at line 293 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

◆ removeParentAdditional()

void GNEHierarchicalParentElements::removeParentAdditional ( GNEAdditional additional)
inherited

◆ removeParentDemandElement()

void GNEHierarchicalParentElements::removeParentDemandElement ( GNEDemandElement demandElement)
inherited

◆ removeParentEdge()

void GNEHierarchicalParentElements::removeParentEdge ( GNEEdge edge)
inherited

◆ removeParentLane()

void GNEHierarchicalParentElements::removeParentLane ( GNELane lane)
inherited

◆ removeParentShape()

void GNEHierarchicalParentElements::removeParentShape ( GNEShape shape)
inherited

◆ replaceFirstParentEdge()

void GNEHierarchicalParentElements::replaceFirstParentEdge ( GNEDemandElement elementChild,
GNEEdge newFirstEdge 
)
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().

◆ replaceLastParentEdge()

void GNEHierarchicalParentElements::replaceLastParentEdge ( GNEDemandElement elementChild,
GNEEdge newLastEdge 
)
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().

◆ replaceMiddleParentEdges()

void GNEHierarchicalParentElements::replaceMiddleParentEdges ( GNEDemandElement elementChild,
const std::vector< GNEEdge * > &  newMiddleEdges,
const bool  updateChildReferences 
)
protectedinherited

◆ replaceParentAdditional() [1/3]

void GNEHierarchicalParentElements::replaceParentAdditional ( GNEAdditional additionalTobeChanged,
const std::string &  newParentAdditionalID,
int  additionalParentIndex 
)
protectedinherited

replace the parent additional of an additional

Exceptions
exceptionif this additional doesn't have previously a defined Additional parent
exceptionif 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().

◆ replaceParentAdditional() [2/3]

void GNEHierarchicalParentElements::replaceParentAdditional ( GNEDemandElement demandElementTobeChanged,
const std::string &  newParentAdditionalID,
int  additionalParentIndex 
)
protectedinherited

replace the parent additional of a demand element

Exceptions
exceptionif this additional doesn't have previously a defined Additional parent
exceptionif 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().

◆ replaceParentAdditional() [3/3]

void GNEHierarchicalParentElements::replaceParentAdditional ( GNEShape shapeTobeChanged,
const std::string &  newParentAdditionalID,
int  additionalParentIndex 
)
protectedinherited

◆ replaceParentDemandElement() [1/3]

void GNEHierarchicalParentElements::replaceParentDemandElement ( GNEAdditional additionalTobeChanged,
const std::string &  newParentDemandElementID,
int  demandElementParentIndex 
)
protectedinherited

replace the parent demand element of an additional

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif 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().

◆ replaceParentDemandElement() [2/3]

void GNEHierarchicalParentElements::replaceParentDemandElement ( GNEDemandElement demandElementTobeChanged,
const std::string &  newParentDemandElementID,
int  demandElementParentIndex 
)
protectedinherited

change first parent demand element of demandElement

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif 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().

◆ replaceParentDemandElement() [3/3]

void GNEHierarchicalParentElements::replaceParentDemandElement ( GNEShape shapeTobeChanged,
const std::string &  newParentDemandElementID,
int  demandElementParentIndex 
)
protectedinherited

replace the parent demand element of a shape

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif 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().

◆ replaceParentEdges() [1/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

replace the parent edges of an additional

Definition at line 296 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalParentElements::myParentEdges.

◆ replaceParentEdges() [2/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEDemandElement elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

replace the parent edges of a demandElement

Definition at line 316 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalParentElements::myParentEdges.

◆ replaceParentEdges() [3/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEDemandElement elementChild,
const std::vector< GNEEdge * > &  newEdges 
)
protectedinherited

replace the parent edges of a demandElement (GNEEdge version)

Definition at line 336 of file GNEHierarchicalParentElements.cpp.

References GNEHierarchicalParentElements::myParentEdges.

◆ replaceParentEdges() [4/4]

void GNEHierarchicalParentElements::replaceParentEdges ( GNEShape elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ replaceParentLanes() [1/3]

void GNEHierarchicalParentElements::replaceParentLanes ( GNEAdditional elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

replace the parent edges of an additional

Definition at line 429 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalParentElements::myParentLanes.

◆ replaceParentLanes() [2/3]

void GNEHierarchicalParentElements::replaceParentLanes ( GNEDemandElement elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

replace the parent edges of a demandElement

Definition at line 449 of file GNEHierarchicalParentElements.cpp.

References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalParentElements::myParentLanes.

◆ replaceParentLanes() [3/3]

◆ replacePathEdges()

void GNEHierarchicalParentElements::replacePathEdges ( GNEDemandElement elementChild,
const std::vector< GNEEdge * > &  routeEdges 
)
protectedinherited

◆ rotateAround2D()

Position Position::rotateAround2D ( double  rad,
const Position origin 
)
inherited

rotate this position by rad around origin and return the result

Definition at line 41 of file Position.cpp.

References Position::Position(), Position::x(), and Position::y().

Referenced by GUISUMOAbstractView::applyGLTransform(), GUIJunctionWrapper::drawGL(), GUIDanielPerspectiveChanger::onMouseMove(), and GUISUMOAbstractView::screenPos2NetPos().

◆ selectAttributeCarrier()

◆ set() [1/3]

void Position::set ( const Position pos)
inlineinherited

set position with another position

Definition at line 99 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ set() [2/3]

◆ set() [3/3]

void Position::set ( double  x,
double  y,
double  z 
)
inlineinherited

set positions x, y and z

Definition at line 92 of file Position.h.

References Position::myX, Position::myY, Position::myZ, Position::x(), Position::y(), and Position::z().

◆ setAttribute() [1/2]

void GNEPOI::setAttribute ( SumoXMLAttr  key,
const std::string &  value 
)
privatevirtual

◆ setAttribute() [2/2]

void GNEPOI::setAttribute ( SumoXMLAttr  key,
const std::string &  value,
GNEUndoList undoList 
)
virtual

method for setting the attribute and letting the object perform additional changes

Parameters
[in]keyThe attribute key
[in]valueThe new value
[in]undoListThe undoList on which to register changes

Implements GNEShape.

Definition at line 308 of file GNEPOI.cpp.

References getAttribute(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_PARAMETERS, GNE_ATTR_SELECTED, GNEAttributeCarrier::GNEChange_Attribute, GNEShape::myNet, GNEUndoList::p_add(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_GEO, SUMO_ATTR_GEOPOSITION, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LANE, SUMO_ATTR_LAYER, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, and toString().

Referenced by GNEPolygonFrame::addPOI().

◆ setColor()

◆ setEnabledAttribute()

void GNEShape::setEnabledAttribute ( const int  enabledAttributes)
privatevirtualinherited

method for enabling the attribute and nothing else (used in GNEChange_EnableAttribute)

Implements GNEAttributeCarrier.

Definition at line 178 of file GNEShape.cpp.

◆ setHeight()

void PointOfInterest::setHeight ( double  height)
inlineinherited

set the image height of the POI

Definition at line 114 of file PointOfInterest.h.

References PointOfInterest::myHalfImgHeight.

Referenced by setAttribute(), and libsumo::POI::setHeight().

◆ setID()

void Named::setID ( const std::string &  newID)
inlineinherited

◆ setMicrosimID()

void GUIGlObject::setMicrosimID ( const std::string &  newID)
virtualinherited

◆ setParameter()

◆ setParameters()

void Parameterised::setParameters ( const Parameterised params)
inherited

set the inner key/value map in map<string, string> format

Definition at line 127 of file Parameterised.cpp.

References Parameterised::getParametersMap(), and Parameterised::myMap.

◆ setParametersMap()

void Parameterised::setParametersMap ( const std::map< std::string, std::string > &  paramsMap)
inherited

set the inner key/value map in map<string, string> format

Definition at line 133 of file Parameterised.cpp.

References Parameterised::myMap.

◆ setParametersStr()

void Parameterised::setParametersStr ( const std::string &  paramsString)
inherited

◆ setShapeAlpha()

void Shape::setShapeAlpha ( unsigned char  alpha)
inlineinherited

Sets a new alpha value.

Parameters
[in]alphaThe new value to use

Definition at line 136 of file Shape.h.

References Shape::myColor, and RGBColor::setAlpha().

Referenced by PolygonDynamics::setAlpha().

◆ setShapeColor()

void Shape::setShapeColor ( const RGBColor col)
inlineinherited

Sets a new color.

Parameters
[in]colThe new color to use

Definition at line 129 of file Shape.h.

References Shape::myColor.

Referenced by setAttribute(), GNEPoly::setAttribute(), libsumo::POI::setColor(), and libsumo::Polygon::setColor().

◆ setShapeImgFile()

void Shape::setShapeImgFile ( const std::string &  imgFile)
inlineinherited

Sets a new imgFile.

Parameters
[in]imgFileThe new imgFile to use

Definition at line 157 of file Shape.h.

References Shape::myImgFile.

Referenced by setAttribute(), GNEPoly::setAttribute(), and libsumo::POI::setImageFile().

◆ setShapeLayer()

void Shape::setShapeLayer ( const double  layer)
inlineinherited

Sets a new layer.

Parameters
[in]layerThe new layer to use

Definition at line 143 of file Shape.h.

References Shape::myLayer.

Referenced by setAttribute(), and GNEPoly::setAttribute().

◆ setShapeNaviDegree()

virtual void Shape::setShapeNaviDegree ( const double  angle)
inlinevirtualinherited

Sets a new angle in navigational degrees.

Parameters
[in]layerThe new angle to use

Reimplemented in GUIPolygon.

Definition at line 150 of file Shape.h.

References Shape::myNaviDegreeAngle.

Referenced by libsumo::POI::setAngle(), setAttribute(), and GUIPolygon::setShapeNaviDegree().

◆ setShapeRelativePath()

void Shape::setShapeRelativePath ( bool  relativePath)
inlineinherited

Sets a new relativePath value.

Parameters
[in]relativePathThe new relative path to set

Definition at line 164 of file Shape.h.

References Shape::myRelativePath.

Referenced by setAttribute(), and GNEPoly::setAttribute().

◆ setShapeType()

void Shape::setShapeType ( const std::string &  type)
inlineinherited

Sets a new type.

Parameters
[in]typeThe new type to use

Definition at line 122 of file Shape.h.

References Shape::myType.

Referenced by setAttribute(), GNEPoly::setAttribute(), libsumo::POI::setType(), and libsumo::Polygon::setType().

◆ setWidth()

void PointOfInterest::setWidth ( double  width)
inlineinherited

set the image width of the POI

Definition at line 109 of file PointOfInterest.h.

References PointOfInterest::myHalfImgWidth.

Referenced by setAttribute(), and libsumo::POI::setWidth().

◆ setx()

void Position::setx ( double  x)
inlineinherited

◆ sety()

void Position::sety ( double  y)
inlineinherited

◆ setz()

◆ sortChildAdditionals()

◆ sortChildDemandElements()

void GNEHierarchicalChildElements::sortChildDemandElements ( )
inherited

◆ startGeometryMoving()

void GNEPOI::startGeometryMoving ( )
virtual

Implements GNEShape.

Definition at line 77 of file GNEPOI.cpp.

◆ sub() [1/3]

void Position::sub ( const Position pos)
inlineinherited

Substracts the given position from this one.

Definition at line 159 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ sub() [2/3]

void Position::sub ( double  dx,
double  dy 
)
inlineinherited

◆ sub() [3/3]

void Position::sub ( double  dx,
double  dy,
double  dz 
)
inlineinherited

Substracts the given position from this one.

Definition at line 152 of file Position.h.

References Position::myX, Position::myY, and Position::myZ.

◆ swapXY()

void Position::swapXY ( )
inlineinherited

◆ unreferenced()

◆ unselectAttributeCarrier()

◆ unsetParameter()

void Parameterised::unsetParameter ( const std::string &  key)
inherited

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 52 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_OpenStreetMap::insertEdge(), and GNEVehicleType::setAttribute().

◆ updateChildConnections()

void GNEHierarchicalChildElements::updateChildConnections ( )
inherited

◆ updateGeometry()

void GNEPOI::updateGeometry ( )
virtual

update pre-computed geometry information

Note
: must be called when geometry changes (i.e. lane moved) and implemented in ALL childrens

Implements GNEShape.

Definition at line 142 of file GNEPOI.cpp.

References GNEHierarchicalParentElements::getParentLanes(), PointOfInterest::myPosLat, PointOfInterest::myPosOverLane, and Position::set().

Referenced by moveGeometry().

◆ updateParameters()

void Parameterised::updateParameters ( const std::map< std::string, std::string > &  mapArg)
inherited

◆ updateParentAdditional()

void GNEHierarchicalChildElements::updateParentAdditional ( )
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().

◆ updateParentDemandElement()

void GNEHierarchicalChildElements::updateParentDemandElement ( )
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.

◆ writeParams()

◆ writeShape()

void GNEPOI::writeShape ( OutputDevice device)
virtual

writte shape element into a xml file

Parameters
[in]devicedevice in which write parameters of additional element

Implements GNEShape.

Definition at line 87 of file GNEPOI.cpp.

References GNEAttributeCarrier::getID(), GNEHierarchicalParentElements::getParentLanes(), PointOfInterest::myGeo, PointOfInterest::myPosLat, PointOfInterest::myPosOverLane, and PointOfInterest::writeXML().

◆ writeXML()

◆ x()

double Position::x ( ) const
inlineinherited

Returns the x-position.

Definition at line 56 of file Position.h.

References Position::myX.

Referenced by MSCFModel_CC::_consensus(), PositionVector::add(), Boundary::add(), MSPModel_Remote::add(), NIXMLNodesHandler::addNode(), MSPModel_Striping::addVehicleFoe(), GeomHelper::angle2D(), GUISUMOAbstractView::applyGLTransform(), GUISettingsHandler::applyViewport(), Boundary::around(), PositionVector::around(), PositionVector::bezier(), NBNode::bezierControlPoints(), GNEGeometry::calculateRotation(), NIImporter_OpenDrive::calculateStraightEndPoint(), GeoConvHelper::cartesian2geo(), GUIDanielPerspectiveChanger::centerTo(), NGRandomNetBuilder::checkAngles(), GUISUMOAbstractView::checkGDALImage(), TraCIServerAPI_Simulation::commandPositionConversion(), NBPTStopCont::computeCrossProductEdgePosition(), NBNodeShapeComputer::computeNodeShapeSmall(), NGRandomNetBuilder::createNewNode(), Boundary::distanceTo2D(), GNEShape::draw(), GUIVehicle::drawAction_drawCarriageClass(), GUILane::drawArrows(), GNELane::drawArrows(), GLHelper::drawBoxLine(), GLHelper::drawBoxLines(), GNECalibrator::drawCalibratorSymbol(), GUISUMOAbstractView::drawDecals(), GLHelper::drawFilledPoly(), GNEGeometry::drawGeometry(), GNEEdge::drawGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITrafficLightLogicWrapper::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(), drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawInnerPOI(), GNELane::drawLane2LaneConnections(), GUILane::drawLane2LaneConnections(), GNEViewNet::drawLaneCandidates(), GNEGeometry::drawLaneGeometry(), GLHelper::drawLine(), GUIBaseVehicle::drawLinkItem(), GUILane::drawLinkRule(), GUILane::drawLinkRules(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawRerouterSymbol(), GNEGeometry::drawSegmentGeometry(), GLHelper::drawShapeDottedContourRectangle(), GUIE3Collector::MyWrapper::drawSingleCrossing(), GNEViewNetHelper::TestingMode::drawTestingElements(), GLHelper::drawText(), GLHelper::drawTextAtEnd(), GLHelper::drawTextBox(), GNEJunction::drawTLSIcon(), GLHelper::drawTriangleAtEnd(), GNELane::drawVSSSymbol(), MSVTypeProbe::execute(), NBNodeCont::extract(), NBPTStopCont::findAccessEdgesForRailStops(), GeomHelper::findLineCircleIntersections(), NIImporter_OpenDrive::geomFromLine(), GNEConnection::getBoundary(), PointOfInterest::getCenter(), GNEJunction::getCenteringBoundary(), GUIPointOfInterest::getCenteringBoundary(), NBNode::getEmptyDir(), MSPModel_Striping::getNextLaneObstacles(), MSCFModel_CC::getParameter(), PositionVector::getPolygonCenter(), getPositionInView(), GNERouteProbe::getPositionInView(), GNEVaporizer::getPositionInView(), GNEPerson::getPositionInView(), GNEVehicle::getPositionInView(), MSVTKExport::getPositions(), libsumo::InductionLoop::getTree(), GUIDanielPerspectiveChanger::getXPos(), NBHeightMapper::getZ(), GUIBusStop::GUIBusStop(), GUIChargingStation::GUIChargingStation(), GUIContainerStop::GUIContainerStop(), GUIJunctionWrapper::GUIJunctionWrapper(), GUILane::GUILane(), GUIParkingArea::GUIParkingArea(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSPModel_Remote::handleShape(), MSPModel_Remote::handleWalkingArea(), NBNodeCont::insert(), PositionVector::insertAtClosest(), PositionVector::intersects(), PositionVector::isLeft(), NBNodeCont::joinNodeCluster(), GNENet::joinSelectedJunctions(), NBHeightMapper::loadTiff(), MSPModel_Remote::makeStartOrEndTransition(), libsumo::Helper::makeTraCIPosition(), MSPModel_Striping::moveInDirection(), MSParkingArea::MSParkingArea(), GUISettingsHandler::myStartElement(), GUIE2Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), GeomHelper::nearest_offset_on_line_to_point2D(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GNEPolygonFrame::GEOPOICreator::onCmdSetCoordinates(), GUIDanielPerspectiveChanger::onMouseMove(), PositionVector::as_poly_cw_sorter::operator()(), PositionVector::increasing_x_y_sorter::operator()(), TraCIServerAPI_GUI::processSet(), NBNodeCont::retrieve(), Position::rotateAround2D(), PCPolyContainer::saveDlrTDP(), Position::set(), setAttribute(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GUIDialog_EditViewport::setValues(), GUICompleteSchemeStorage::setViewport(), GUISUMOAbstractView::setViewportFromToRot(), Position::setx(), NGNode::setY(), PositionVector::sideOffset(), PositionVector::simplified(), GUISUMOAbstractView::snapToActiveGrid(), PositionVector::sub(), NBNetBuilder::transformCoordinate(), GUISUMOAbstractView::updatePositionInformation(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), GNEAdditional::writeAdditional(), NBSign::writeAsPOI(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomPP3(), NWWriter_DlrNavteq::writeNodesUnsplitted(), BinaryFormatter::writePosition(), NWFrame::writePositionLong(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), GeoConvHelper::x2cartesian(), GeoConvHelper::x2cartesian_const(), and GUIDanielPerspectiveChanger::zoom().

◆ y()

double Position::y ( ) const
inlineinherited

Returns the y-position.

Definition at line 61 of file Position.h.

References Position::myY.

Referenced by MSCFModel_CC::_consensus(), PositionVector::add(), Boundary::add(), MSPModel_Remote::add(), MSParkingArea::addLotEntry(), NIXMLNodesHandler::addNode(), MSPModel_Striping::addVehicleFoe(), GeomHelper::angle2D(), GUISUMOAbstractView::applyGLTransform(), GUISettingsHandler::applyViewport(), Boundary::around(), PositionVector::around(), NBNode::bezierControlPoints(), GNEGeometry::calculateRotation(), NIImporter_OpenDrive::calculateStraightEndPoint(), GeoConvHelper::cartesian2geo(), GUIDanielPerspectiveChanger::centerTo(), NGRandomNetBuilder::checkAngles(), GUISUMOAbstractView::checkGDALImage(), TraCIServerAPI_Simulation::commandPositionConversion(), NBPTStopCont::computeCrossProductEdgePosition(), NBNodeShapeComputer::computeNodeShapeSmall(), NGRandomNetBuilder::createNewNode(), Boundary::distanceTo2D(), GNEShape::draw(), GUIVehicle::drawAction_drawCarriageClass(), GUILane::drawArrows(), GNELane::drawArrows(), GLHelper::drawBoxLine(), GLHelper::drawBoxLines(), GNECalibrator::drawCalibratorSymbol(), GUISUMOAbstractView::drawDecals(), GLHelper::drawFilledPoly(), GNEGeometry::drawGeometry(), GNEEdge::drawGeometryPoints(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITrafficLightLogicWrapper::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(), drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawInnerPOI(), GNELane::drawLane2LaneConnections(), GUILane::drawLane2LaneConnections(), GNEViewNet::drawLaneCandidates(), GNEGeometry::drawLaneGeometry(), GLHelper::drawLine(), GUIBaseVehicle::drawLinkItem(), GUILane::drawLinkRule(), GUILane::drawLinkRules(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawRerouterSymbol(), GNEGeometry::drawSegmentGeometry(), GLHelper::drawShapeDottedContourRectangle(), GUIE3Collector::MyWrapper::drawSingleCrossing(), GNEViewNetHelper::TestingMode::drawTestingElements(), GLHelper::drawText(), GLHelper::drawTextAtEnd(), GLHelper::drawTextBox(), GNEJunction::drawTLSIcon(), GLHelper::drawTriangleAtEnd(), GNELane::drawVSSSymbol(), MSVTypeProbe::execute(), NBNodeCont::extract(), NBPTStopCont::findAccessEdgesForRailStops(), GeomHelper::findLineCircleIntersections(), NIImporter_OpenDrive::geomFromLine(), GNEConnection::getBoundary(), PointOfInterest::getCenter(), GNEJunction::getCenteringBoundary(), GUIPointOfInterest::getCenteringBoundary(), NBNode::getEmptyDir(), MSPModel_Striping::getNextLaneObstacles(), MSCFModel_CC::getParameter(), PositionVector::getPolygonCenter(), getPositionInView(), GNERouteProbe::getPositionInView(), GNEVaporizer::getPositionInView(), GNEPerson::getPositionInView(), GNEVehicle::getPositionInView(), MSVTKExport::getPositions(), libsumo::InductionLoop::getTree(), GUIDanielPerspectiveChanger::getYPos(), NBHeightMapper::getZ(), GUIBusStop::GUIBusStop(), GUIChargingStation::GUIChargingStation(), GUIContainerStop::GUIContainerStop(), GUIJunctionWrapper::GUIJunctionWrapper(), GUILane::GUILane(), GUIParkingArea::GUIParkingArea(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIApplicationWindow::handleEvent_SimulationLoaded(), MSPModel_Remote::handleShape(), MSPModel_Remote::handleWalkingArea(), NBNodeCont::insert(), PositionVector::insertAtClosest(), PositionVector::intersects(), PositionVector::isLeft(), NBNodeCont::joinNodeCluster(), GNENet::joinSelectedJunctions(), NBHeightMapper::loadTiff(), MSPModel_Remote::makeStartOrEndTransition(), libsumo::Helper::makeTraCIPosition(), MSPModel_Striping::moveInDirection(), GNEViewNetHelper::MoveMultipleElementValues::moveSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), MSParkingArea::MSParkingArea(), GUISettingsHandler::myStartElement(), GUIE2Collector::MyWrapper::MyWrapper(), GUIInductLoop::MyWrapper::MyWrapper(), GUIInstantInductLoop::MyWrapper::MyWrapper(), GUIMEInductLoop::MyWrapper::MyWrapper(), GeomHelper::nearest_offset_on_line_to_point2D(), GUIGLObjectPopupMenu::onCmdCopyCursorGeoPosition(), GNEPolygonFrame::GEOPOICreator::onCmdSetCoordinates(), GUIDanielPerspectiveChanger::onMouseMove(), PositionVector::as_poly_cw_sorter::operator()(), PositionVector::increasing_x_y_sorter::operator()(), TraCIServerAPI_GUI::processSet(), NBNodeCont::retrieve(), Position::rotateAround2D(), PCPolyContainer::saveDlrTDP(), Position::set(), setAttribute(), GNEVehicle::setColor(), GUIBaseVehicle::setFunctionalColor(), GUIDialog_EditViewport::setValues(), GUICompleteSchemeStorage::setViewport(), GUISUMOAbstractView::setViewportFromToRot(), NGNode::setX(), Position::sety(), PositionVector::sideOffset(), PositionVector::simplified(), GUISUMOAbstractView::snapToActiveGrid(), PositionVector::sub(), NBNetBuilder::transformCoordinate(), GUISUMOAbstractView::updatePositionInformation(), MSFCDExport::write(), MSBatteryExport::write(), MSEmissionExport::write(), GNEAdditional::writeAdditional(), NBSign::writeAsPOI(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomPP3(), NWWriter_DlrNavteq::writeNodesUnsplitted(), BinaryFormatter::writePosition(), NWFrame::writePositionLong(), NWWriter_DlrNavteq::writeTrafficSignals(), MSFCDExport::writeTransportable(), MSFullExport::writeVehicles(), PointOfInterest::writeXML(), GeoConvHelper::x2cartesian(), GeoConvHelper::x2cartesian_const(), and GUIDanielPerspectiveChanger::zoom().

◆ z()

double Position::z ( ) const
inlineinherited

Returns the z-position.

Definition at line 66 of file Position.h.

References Position::myZ.

Referenced by PositionVector::add(), Boundary::add(), GUISettingsHandler::applyViewport(), Boundary::around(), NBNode::bezierControlPoints(), TraCIServerAPI_Simulation::commandPositionConversion(), NBEdge::computeEdgeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), GNEEdge::drawGeometryPoints(), GNEJunction::drawGL(), MSVTypeProbe::execute(), GUIJunctionWrapper::getColorValue(), GNEJunction::getColorValue(), PositionVector::getMaxGrade(), PositionVector::getOverlapWith(), PositionVector::getPolygonCenter(), GUILane::getPopUpMenu(), GNELane::getPopUpMenu(), MSVTKExport::getPositions(), NBNodeShapeComputer::getSmoothCorner(), NBNodeCont::joinNodeCluster(), libsumo::Helper::makeTraCIPosition(), PositionVector::move2side(), GNEJunction::moveGeometry(), GNEEdge::moveShapeEnd(), GNEEdge::moveShapeStart(), libsumo::Vehicle::moveToXY(), GNEEdge::moveVertexShape(), MSParkingArea::MSParkingArea(), GUISettingsHandler::myStartElement(), GNENet::registerJunction(), Position::set(), setAttribute(), GUIDialog_EditViewport::setValues(), GUICompleteSchemeStorage::setViewport(), GUISUMOAbstractView::setViewportFromToRot(), Position::setz(), PositionVector::slopeDegreeAtOffset(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GUISUMOAbstractView::snapToActiveGrid(), NBEdge::startShapeAt(), GNEEdge::straightenElevation(), PositionVector::sub(), MSFCDExport::write(), GNEAdditional::writeAdditional(), NWWriter_OpenDrive::writeGeomLines(), NWWriter_OpenDrive::writeGeomPP3(), BinaryFormatter::writePosition(), NWFrame::writePositionLong(), and MSFCDExport::writeTransportable().

Field Documentation

◆ DEFAULT_ANGLE

◆ DEFAULT_IMG_FILE

◆ DEFAULT_IMG_HEIGHT

const double Shape::DEFAULT_IMG_HEIGHT = 1
staticinherited

◆ DEFAULT_IMG_WIDTH

const double Shape::DEFAULT_IMG_WIDTH = 1
staticinherited

◆ DEFAULT_LAYER

const double Shape::DEFAULT_LAYER = 128
staticinherited

◆ DEFAULT_LAYER_POI

◆ DEFAULT_LINEWIDTH

const double Shape::DEFAULT_LINEWIDTH = 1
staticinherited

Definition at line 44 of file Shape.h.

Referenced by ShapeHandler::addPoly().

◆ DEFAULT_RELATIVEPATH

const bool Shape::DEFAULT_RELATIVEPATH = false
staticinherited

◆ DEFAULT_TYPE

const std::string Shape::DEFAULT_TYPE = ""
staticinherited

@nane default shape's values

Definition at line 42 of file Shape.h.

Referenced by ShapeHandler::addPoly(), and GNEAttributeCarrier::fillShapes().

◆ dummyTagProperty

GNEAttributeCarrier::TagProperties GNEAttributeCarrier::dummyTagProperty
staticprotectedinherited

dummy TagProperty used for reference some elements (for Example, dummyEdge)

Definition at line 791 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::getTagProperties().

◆ FEATURE_APPROVED

const std::string GNEAttributeCarrier::FEATURE_APPROVED = "approved"
staticinherited

feature has been approved but not changed (i.e. after being reguessed)

Definition at line 601 of file GNEAttributeCarrier.h.

◆ FEATURE_GUESSED

const std::string GNEAttributeCarrier::FEATURE_GUESSED = "guessed"
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 GNEEdge::setAttribute(), and GNEJunction::setAttribute().

◆ FEATURE_LOADED

const std::string GNEAttributeCarrier::FEATURE_LOADED = "loaded"
staticinherited

Definition at line 592 of file GNEAttributeCarrier.h.

◆ FEATURE_MODIFIED

const std::string GNEAttributeCarrier::FEATURE_MODIFIED = "modified"
staticinherited

feature has been manually modified (implies approval)

Definition at line 598 of file GNEAttributeCarrier.h.

Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().

◆ GUIGlObjectTypeNamesInitializer

StringBijection< GUIGlObjectType >::Entry GUIGlObject::GUIGlObjectTypeNamesInitializer
staticprivateinherited

LinkStates (Currently unused)

vector for TypeNames Initializer

Definition at line 277 of file GUIGlObject.h.

◆ INVALID

const Position Position::INVALID
staticinherited

used to indicate that a position is valid

Definition at line 284 of file Position.h.

Referenced by NIXMLNodesHandler::addJoinCluster(), MSVehicle::addStop(), MSPModel_Striping::addVehicleFoe(), NBNodeShapeComputer::badIntersection(), NBNode::bezierControlPoints(), GNEGeometry::calculateLaneGeometricPath(), MSVehicle::computeAngle(), MSLaneChanger::continueChange(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GLHelper::drawShapeDottedContourPartialShapes(), MSVehicle::enterLaneAtInsertion(), MSVehicle::enterLaneAtLaneChange(), MSVehicle::enterLaneAtMove(), MSVehicle::executeMove(), PositionVector::getCentroid(), GNEGeometry::SegmentGeometry::getFirstPosition(), GUIPerson::getGUIPosition(), GNEAdditionalHandler::getLanePos(), NIXMLShapeHandler::getLanePos(), NLShapeHandler::getLanePos(), PCLoaderXML::getLanePos(), GNEGeometry::SegmentGeometry::getLastPosition(), GNEGeometry::Geometry::getPosition(), MSVehicle::getPosition(), DummyState::getPosition(), MSPModel_Striping::PState::getPosition(), MSTransportable::Stage_Driving::getPosition(), MSVehicle::getPositionAlongBestLanes(), GNEGeometry::Geometry::getRotation(), MSParkingArea::getVehiclePosition(), MSVehicle::Influencer::implicitSpeedRemote(), PolygonDynamics::initTrackedPosition(), PositionVector::intersectionPosition2D(), Position::invalidPosition(), NBNodeCont::joinNodeCluster(), PCLoaderOSM::loadIfSet(), PositionVector::move2side(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), MSPModel_Striping::PState::moveToXY(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdOk(), GNEAdditionalHandler::parseAndBuildPOI(), PositionVector::positionAtOffset(), PositionVector::positionAtOffset2D(), MSPerson::MSPersonStage_Driving::proceed(), GUISUMOAbstractView::showViewportEditor(), MSLaneChangerSublane::startChangeSublane(), PositionVector::transformToVectorCoordinates(), PolygonDynamics::update(), GNEGeometry::updateGeometricPath(), GNEPersonTrip::updateGeometry(), GNERide::updateGeometry(), GNEWalk::updateGeometry(), GNEGeometry::Geometry::updateGeometryShape(), GNEPersonTrip::updatePartialGeometry(), GNERide::updatePartialGeometry(), GNEWalk::updatePartialGeometry(), MSVehicle::updateState(), and MSVehicle::validatePosition().

◆ INVALID_ID

◆ INVALID_POSITION

const double GNEAttributeCarrier::INVALID_POSITION
staticinherited

invalid double position

Definition at line 608 of file GNEAttributeCarrier.h.

Referenced by GNEAdditionalHandler::parseAndBuildPOI().

◆ MAXNUMBEROFATTRIBUTES

const size_t GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES = 128
staticinherited

◆ myAC

◆ myBlockMovement

◆ myChildAdditionals

◆ myChildConnections

◆ myChildDemandElements

◆ myChildEdges

std::vector<GNEEdge*> GNEHierarchicalChildElements::myChildEdges
privateinherited

◆ myChildLanes

std::vector<GNELane*> GNEHierarchicalChildElements::myChildLanes
privateinherited

◆ myChildShapes

std::vector<GNEShape*> GNEHierarchicalChildElements::myChildShapes
privateinherited

◆ myColor

RGBColor Shape::myColor
privateinherited

The color of the Shape.

Definition at line 174 of file Shape.h.

Referenced by Shape::getShapeColor(), Shape::setShapeAlpha(), and Shape::setShapeColor().

◆ myCount

int GNEReferenceCounter::myCount
privateinherited

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 260 of file GUIGlObject.h.

Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().

◆ myGeo

bool PointOfInterest::myGeo
protectedinherited

flag to check if POI was loaded as GEO Position (main used by netedit)

Definition at line 176 of file PointOfInterest.h.

Referenced by getAttribute(), setAttribute(), and writeShape().

◆ myGEOPosition

Position GNEPOI::myGEOPosition
protected

Position of POI in GEO coordinates (Only used by POIs that aren't placed over lanes)

Definition at line 197 of file GNEPOI.h.

Referenced by getAttribute(), and setAttribute().

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 251 of file GUIGlObject.h.

Referenced by GUIGlObject::getGlID(), and GUIGlObject::GUIGlObject().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 254 of file GUIGlObject.h.

Referenced by GUIGlObject::createFullName(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().

◆ myHalfImgHeight

double PointOfInterest::myHalfImgHeight
protectedinherited

◆ myHalfImgWidth

double PointOfInterest::myHalfImgWidth
protectedinherited

◆ myID

◆ myImgFile

std::string Shape::myImgFile
privateinherited

The img file (include path)

Definition at line 183 of file Shape.h.

Referenced by Shape::getShapeImgFile(), and Shape::setShapeImgFile().

◆ myLane

std::string PointOfInterest::myLane
protectedinherited

ID of lane in which this POI is placed (main used by netedit)

Definition at line 179 of file PointOfInterest.h.

Referenced by getAttribute(), and setAttribute().

◆ myLayer

double Shape::myLayer
privateinherited

The layer of the Shape.

Definition at line 177 of file Shape.h.

Referenced by Shape::getShapeLayer(), and Shape::setShapeLayer().

◆ myMap

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 257 of file GUIGlObject.h.

Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().

◆ myMovingGeometryBoundary

Boundary GNEShape::myMovingGeometryBoundary
protectedinherited

boundary used during moving of elements

Definition at line 200 of file GNEShape.h.

Referenced by GNEPoly::endGeometryMoving(), getCenteringBoundary(), GNEPoly::getCenteringBoundary(), and GNEPoly::startGeometryMoving().

◆ myNaviDegreeAngle

double Shape::myNaviDegreeAngle
privateinherited

The angle of the Shape.

Definition at line 180 of file Shape.h.

Referenced by Shape::getShapeNaviDegree(), and Shape::setShapeNaviDegree().

◆ myNet

◆ myObjectList

std::vector< GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjectList
staticprotectedinherited

◆ myObjects

std::map< std::string, GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjects
staticprotectedinherited

Map from names of loaded additional objects to the objects themselves.

Definition at line 65 of file GUIGlObject_AbstractAdd.h.

Referenced by GUIGlObject_AbstractAdd::clearDictionary(), GUIGlObject_AbstractAdd::get(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), and GUIGlObject_AbstractAdd::remove().

◆ myOriginalViewPosition

Position GNEPOI::myOriginalViewPosition
private

position used for move POILanes

Definition at line 201 of file GNEPOI.h.

◆ myParamWindows

std::set<GUIParameterTableWindow*> GUIGlObject::myParamWindows
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().

◆ myParentAdditionals

std::vector<GNEAdditional*> GNEHierarchicalParentElements::myParentAdditionals
privateinherited

◆ myParentConnections

GNEGeometry::ParentConnections GNEHierarchicalParentElements::myParentConnections
protectedinherited

variable ParentConnections

Definition at line 233 of file GNEHierarchicalParentElements.h.

◆ myParentDemandElements

std::vector<GNEDemandElement*> GNEHierarchicalParentElements::myParentDemandElements
privateinherited

◆ myParentEdges

◆ myParentLanes

◆ myParentShapes

std::vector<GNEShape*> GNEHierarchicalParentElements::myParentShapes
privateinherited

◆ myPOIVertices

std::vector< Position > GUIPointOfInterest::myPOIVertices
staticprotectedinherited

after every iteration of drawgl, position of vertices that make the circle are saved here. It used to drawn a dotted contour in Netedit)

Definition at line 125 of file GUIPointOfInterest.h.

Referenced by drawGL(), GUIPointOfInterest::drawGL(), and GUIPointOfInterest::drawInnerPOI().

◆ myPosLat

double PointOfInterest::myPosLat
protectedinherited

latereal position over lane in which this POI is placed (main used by netedit)

Definition at line 185 of file PointOfInterest.h.

Referenced by getAttribute(), setAttribute(), updateGeometry(), and writeShape().

◆ myPosOverLane

double PointOfInterest::myPosOverLane
protectedinherited

position over lane in which this POI is placed (main used by netedit)

Definition at line 182 of file PointOfInterest.h.

Referenced by commitGeometryMoving(), getAttribute(), moveGeometry(), setAttribute(), updateGeometry(), and writeShape().

◆ myRelativePath

bool Shape::myRelativePath
privateinherited

Enable or disable save imgFile as relative path.

Definition at line 186 of file Shape.h.

Referenced by Shape::getShapeRelativePath(), and Shape::setShapeRelativePath().

◆ myRouteEdges

std::vector<GNEEdge*> GNEHierarchicalParentElements::myRouteEdges
privateinherited

list of edges used in Flow/Trips/PersonTrips

Definition at line 240 of file GNEHierarchicalParentElements.h.

Referenced by GNEHierarchicalParentElements::getPathEdges(), and GNEHierarchicalParentElements::replacePathEdges().

◆ mySelected

◆ mySortedChildDemandElementsByType

std::map<SumoXMLTag, std::set<GNEDemandElement*> > GNEHierarchicalChildElements::mySortedChildDemandElementsByType
privateinherited

◆ myTagProperties

◆ myTagProperty

const TagProperties& GNEAttributeCarrier::myTagProperty
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().

◆ myType

std::string Shape::myType
privateinherited

The type of the Shape.

Definition at line 171 of file Shape.h.

Referenced by Shape::getShapeType(), and Shape::setShapeType().

◆ myX

◆ myY

◆ myZ

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 68 of file GUIGlObject.h.

Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().


The documentation for this class was generated from the following files: