Eclipse SUMO - Simulation of Urban MObility
GNEPoly Class Reference

#include <GNEPoly.h>

Inheritance diagram for GNEPoly:
Collaboration diagram for GNEPoly:

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_NOTZERO = 1 << 9, ATTRPROPERTY_UNIQUE = 1 << 10, ATTRPROPERTY_FILENAME = 1 << 11,
  ATTRPROPERTY_NONEDITABLE = 1 << 12, ATTRPROPERTY_DISCRETE = 1 << 13, ATTRPROPERTY_PROBABILITY = 1 << 14, ATTRPROPERTY_ANGLE = 1 << 15,
  ATTRPROPERTY_LIST = 1 << 16, ATTRPROPERTY_SECUENCIAL = 1 << 17, ATTRPROPERTY_WRITEXMLOPTIONAL = 1 << 18, ATTRPROPERTY_DEFAULTVALUESTATIC = 1 << 19,
  ATTRPROPERTY_DEFAULTVALUEMUTABLE = 1 << 20, ATTRPROPERTY_COMBINABLE = 1 << 21, ATTRPROPERTY_SYNONYM = 1 << 22, ATTRPROPERTY_RANGE = 1 << 23,
  ATTRPROPERTY_EXTENDED = 1 << 24, ATTRPROPERTY_UPDATEGEOMETRY = 1 << 25, ATTRPROPERTY_OPTIONAL = 1 << 26, ATTRPROPERTY_COMPLEX = 1 << 27,
  ATTRPROPERTY_ENABLITABLE = 1 << 28
}
 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_NOGENERICPARAMETERS = 1 << 16, TAGPROPERTY_RTREE = 1 << 17, TAGPROPERTY_SORTINGCHILDREN = 1 << 18
}
 
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 addTo (const StoringVisitor &cont) const
 Adds this object to the given container. More...
 
void changeFirstGeometryPoint (int oldIndex, bool allowUndo=true)
 change first geometry point More...
 
void clearParameter ()
 Clears the parameter map. More...
 
void closePolygon (bool allowUndo=true)
 close polygon More...
 
void decRef (const std::string &debugMsg="")
 Decrease reference. More...
 
void deleteGeometryPoint (const Position &pos, bool allowUndo=true)
 delete the geometry point closest to the given pos More...
 
void 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...
 
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
 Returns the id. More...
 
const std::string getID () const
 function to support debugging More...
 
GNENetgetNet () const
 get Net in which this element is placed 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...
 
GNENetElementgetShapeEditedElement () const
 retrieve the junction of which the shape is being edited 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...
 
int getVertexIndex (Position pos, bool createIfNoExist, bool snapToGrid)
 return index of a vertex of shape, or of a new vertex if position is over an shape's edge More...
 
 GNEPoly (GNENet *net, const std::string &id, const std::string &type, const PositionVector &shape, bool geo, bool fill, double lineWidth, const RGBColor &color, double layer, double angle, const std::string &imgFile, bool relativePath, bool movementBlocked, bool shapeBlocked)
 Constructor. More...
 
void incRef (const std::string &debugMsg="")
 Increarse reference. More...
 
bool isMovementBlocked () const
 return true if movement is blocked More...
 
bool isPolygonBlocked () const
 return true if polygon is blocked More...
 
bool isPolygonClosed () const
 check if polygon is closed More...
 
bool knowsParameter (const std::string &key) const
 Returns whether the parameter is known. More...
 
void openPolygon (bool allowUndo=true)
 open polygon 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 setShapeEditedElement (GNENetElement *element)
 retrieve the netElement of which the shape is being edited More...
 
void simplifyShape (bool allowUndo=true)
 replace the current shape with a rectangle More...
 
bool unreferenced ()
 check if object ins't referenced More...
 
void unsetParameter (const std::string &key)
 Removes a parameter. More...
 
virtual void updateAdditionalParent ()
 update parent after add or remove a child (can be reimplemented, for example used for statistics) More...
 
void updateChildConnections ()
 update child connections More...
 
virtual void updateDemandElementParent ()
 update parent after add or remove a child (can be reimplemented, for example used for statistics) More...
 
void updateParameter (const std::map< std::string, std::string > &mapArg)
 Adds or updates all given parameters from the map. More...
 
void writeParams (OutputDevice &device) const
 write Params in the given outputdevice More...
 
void writeXML (OutputDevice &out, bool geo=false)
 
 ~GNEPoly ()
 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...
 
int moveVertexShape (const int index, const Position &oldPos, const Position &offset)
 change position of a vertex of shape without commiting change More...
 
void moveEntireShape (const PositionVector &oldShape, const Position &offset)
 move entire shape without commiting change More...
 
void commitShapeChange (const PositionVector &oldShape, GNEUndoList *undoList)
 commit geometry changes in the attributes of an element after use of changeShapeGeometry(...) 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
 
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 conrrespond attribute are valids More...
 
Functions related with generic parameters
std::string getGenericParametersStr () const
 return generic parameters in string format More...
 
std::vector< std::pair< std::string, std::string > > getGenericParameters () const
 return generic parameters as vector of pairs format More...
 
void setGenericParametersStr (const std::string &value)
 set generic parameters in string format More...
 
Getter
const PositionVectorgetShape () const
 Returns whether the shape of the polygon. More...
 
bool getFill () const
 Returns whether the polygon is filled. More...
 
double getLineWidth () const
 Returns whether the polygon is filled. More...
 
Setter
void setFill (bool fill)
 Sets whether the polygon shall be filled. More...
 
void setLineWidth (double lineWidth)
 
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...
 
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 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)
 
bool isAttributeEnabled (SumoXMLAttr key) const
 
std::string getPopUpID () const
 get PopPup ID (Used in AC Hierarchy) More...
 
std::string getHierarchyName () const
 get Hierarchy Name (Used in AC Hierarchy) More...
 
members and functions related to edge parents

add edge parent

void addEdgeParent (GNEEdge *edge)
 
void removeEdgeParent (GNEEdge *edge)
 remove edge parent More...
 
const std::vector< GNEEdge * > & getEdgeParents () const
 get edge parents More...
 
members and functions related to lane parents

add lane parent

void addLaneParent (GNELane *lane)
 
void removeLaneParent (GNELane *lane)
 remove lane parent More...
 
const std::vector< GNELane * > & getLaneParents () const
 get lanes of VSS More...
 
members and functions related to shape parents

add shape parent

void addShapeParent (GNEShape *shape)
 
void removeShapeParent (GNEShape *shape)
 remove shape parent More...
 
const std::vector< GNEShape * > & getShapeParents () const
 get shapes of VSS More...
 
members and functions related to additional parents

add additional parent to this additional

void addAdditionalParent (GNEAdditional *additional)
 
void removeAdditionalParent (GNEAdditional *additional)
 remove additional parent from this additional More...
 
const std::vector< GNEAdditional * > & getAdditionalParents () const
 return vector of additionals that have as Parent this edge (For example, Calibrators) More...
 
members and functions related to demand element parents

add demand element parent to this demand element

void addDemandElementParent (GNEDemandElement *demandElement)
 
void removeDemandElementParent (GNEDemandElement *demandElement)
 remove demand element parent from this demand element More...
 
const std::vector< GNEDemandElement * > & getDemandElementParents () const
 return vector of demand elements that have as Parent this edge (For example, Calibrators) More...
 
members and functions related to edge children

add edge child

void addEdgeChild (GNEEdge *edge)
 
void removeEdgeChild (GNEEdge *edge)
 remove edge child More...
 
const std::vector< GNEEdge * > & getEdgeChildren () const
 get edge chidls More...
 
members and functions related to lane children

add lane child

void addLaneChild (GNELane *lane)
 
void removeLaneChild (GNELane *lane)
 remove lane child More...
 
const std::vector< GNELane * > & getLaneChildren () const
 get lanes of VSS More...
 
members and functions related to shape children

add shape child

void addShapeChild (GNEShape *shape)
 
void removeShapeChild (GNEShape *shape)
 remove shape child More...
 
const std::vector< GNEShape * > & getShapeChildren () const
 get shapes of VSS More...
 
members and functions related to additional children

add additional child to this additional

void addAdditionalChild (GNEAdditional *additional)
 
void removeAdditionalChild (GNEAdditional *additional)
 remove additional child from this additional More...
 
const std::vector< GNEAdditional * > & getAdditionalChildren () const
 return vector of additionals that have as Parent this edge (For example, Calibrators) More...
 
void sortAdditionalChildren ()
 sort children (used by Rerouters, VSS, TAZs...) More...
 
bool checkAdditionalChildrenOverlapping () const
 check if children are overlapped (Used by Rerouters) More...
 
members and functions related to demand element children

add demand element child to this demand element

void addDemandElementChild (GNEDemandElement *demandElement)
 
void removeDemandElementChild (GNEDemandElement *demandElement)
 remove demand element child from this demand element More...
 
const std::vector< GNEDemandElement * > & getDemandElementChildren () const
 return vector of demand elements that have as Parent this edge (For example, Calibrators) More...
 
const std::set< GNEDemandElement * > & getSortedDemandElementChildrenByType (SumoXMLTag tag) const
 return vector of demand elements that have as Parent this edge (For example, Calibrators) More...
 
void sortDemandElementChildren ()
 sort children (used by Rerouters, VSS, TAZs...) More...
 
bool checkDemandElementChildrenOverlapping () const
 check if children are overlapped (Used by Rerouters) More...
 
GNEDemandElementgetPreviousemandElement (const GNEDemandElement *demandElement) const
 get previous demand element to the given demand element More...
 
GNEDemandElementgetNextDemandElement (const GNEDemandElement *demandElement) const
 get next 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...
 
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 bool isGenericParametersValid (const std::string &value)
 check if given string can be parsed to a map/list of generic parameters More...
 
static bool lanesConsecutives (const std::vector< GNELane * > &lanes)
 check if lanes are consecutives More...
 
template<typename T >
static T parse (const std::string &string)
 parses a value of type T from string (used for basic types: int, double, bool, etc.) More...
 
template<>
int parse (const std::string &string)
 
template<>
double parse (const std::string &string)
 
template<>
SUMOTime parse (const std::string &string)
 
template<>
bool parse (const std::string &string)
 
template<>
std::string parse (const std::string &string)
 
template<>
SUMOVehicleClass parse (const std::string &string)
 
template<>
RGBColor parse (const std::string &string)
 
template<>
Position parse (const std::string &string)
 
template<>
PositionVector parse (const std::string &string)
 
template<>
SUMOVehicleShape parse (const std::string &string)
 
template<>
std::vector< std::string > parse (const std::string &string)
 
template<>
std::set< std::string > parse (const std::string &string)
 
template<>
std::vector< int > parse (const std::string &string)
 
template<>
std::vector< double > parse (const std::string &string)
 
template<>
std::vector< bool > parse (const std::string &string)
 
template<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<>
std::vector< GNEEdge * > parse (GNENet *net, const std::string &value)
 
template<>
std::vector< GNELane * > parse (GNENet *net, const std::string &value)
 
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<>
std::string parseIDs (const std::vector< GNEEdge * > &ACs)
 
template<>
std::string parseIDs (const std::vector< GNELane * > &ACs)
 
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 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 changeEdgeChildren (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change edge children of an additional More...
 
void changeLaneChildren (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change edge children of an additional More...
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 
members and functions relative to changing parents
void changeEdgeParents (GNEShape *elementChild, const std::string &newEdgeIDs)
 change edge parents of a shape More...
 
void changeEdgeParents (GNEAdditional *elementChild, const std::string &newEdgeIDs)
 change edge parents of an additional More...
 
void changeEdgeParents (GNEDemandElement *elementChild, const std::string &newEdgeIDs)
 change edge parents of a demandElement More...
 
void changeEdgeParents (GNEDemandElement *elementChild, const std::vector< GNEEdge * > &newEdges)
 change edge parents of a demandElement (GNEEdge version) More...
 
void changeLaneParents (GNEShape *elementChild, const std::string &newLaneIDs)
 change edge parents of a shape More...
 
void changeLaneParents (GNEAdditional *elementChild, const std::string &newLaneIDs)
 change edge parents of an additional More...
 
void changeLaneParents (GNEDemandElement *elementChild, const std::string &newLaneIDs)
 change edge parents of a demandElement More...
 
void changeAdditionalParent (GNEShape *shapeTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex)
 change additional parent of a shape More...
 
void changeAdditionalParent (GNEAdditional *additionalTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex)
 change additional parent of an additional More...
 
void changeAdditionalParent (GNEDemandElement *demandElementTobeChanged, const std::string &newAdditionalParentID, int additionalParentIndex)
 change additional parent of a demand element More...
 
void changeDemandElementParent (GNEShape *shapeTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex)
 change first demand element parent of a shape More...
 
void changeDemandElementParent (GNEAdditional *additionalTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex)
 change first demand element parent of an additional More...
 
void changeDemandElementParent (GNEDemandElement *demandElementTobeChanged, const std::string &newDemandElementParentID, int demandElementParentIndex)
 change first demand element parent of demandElement More...
 

Protected Attributes

bool myBlockMovement
 flag to block movement More...
 
bool myBlockShape
 flag for block shape More...
 
ChildConnections myChildConnections
 variable ChildConnections More...
 
bool myClosedShape
 flag to indicate if polygon is open or closed More...
 
int myCurrentMovingVertexIndex
 index of vertex that is been moved (-1 means that none vertex is been moved) More...
 
bool myFill
 Information whether the polygon has to be filled. More...
 
bool myGEO
 specify if shape is handled as GEO coordinate (Main used in netedit) More...
 
PositionVector myGeoShape
 Latitude of Polygon. More...
 
std::string myID
 The name of the object. More...
 
double myLineWidth
 The line width for drawing an unfilled polygon. More...
 
Boundary myMovingGeometryBoundary
 boundary used during moving of elements More...
 
GNENetmyNet
 the net to inform about updates More...
 
GNENetElementmyNetElementShapeEdited
 junction of which the shape is being edited (optional) More...
 
ParentConnections myParentConnections
 variable ParentConnections More...
 
bool mySelected
 boolean to check if this AC is selected (instead of GUIGlObjectStorage) More...
 
PositionVector myShape
 The positions of the polygon. More...
 
bool mySimplifiedShape
 flag to indicate if polygon is simplified 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...
 
 GNEPoly (const GNEPoly &)=delete
 Invalidated copy constructor. More...
 
GNEPolyoperator= (const GNEPoly &)=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 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 * > myAdditionalChildren
 vector with the additional children More...
 
std::vector< GNEAdditional * > myAdditionalParents
 list of additional parents of this element More...
 
RGBColor myColor
 The color of the Shape. More...
 
int myCount
 reference counter More...
 
std::vector< GNEDemandElement * > myDemandElementChildren
 vector with the demand elements children More...
 
std::vector< GNEDemandElement * > myDemandElementParents
 list of demand elements parents of this element More...
 
std::vector< GNEEdge * > myEdgeChildren
 vector with the edge children of this element More...
 
std::vector< GNEEdge * > myEdgeParents
 list of edge parents of this element 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...
 
std::vector< GNELane * > myLaneChildren
 vector with the lane children of this element More...
 
std::vector< GNELane * > myLaneParents
 list of lane parents of this element 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...
 
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object. More...
 
bool myRelativePath
 Enable or disable save imgFile as relative path. More...
 
std::vector< GNEShape * > myShapeChildren
 vector with the lane children of this element More...
 
std::vector< GNEShape * > myShapeParents
 list of shape parents of this element More...
 
std::map< SumoXMLTag, std::set< GNEDemandElement * > > mySortedDemandElementChildrenByType
 vector with the demand elements children sorted by type and filtered (to avoid duplicated More...
 
std::string myType
 The type of the Shape. More...
 

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 LinkStates (Currently unused) More...
 
static const double myHintSize = 0.8
 hint size of vertex More...
 
static std::map< SumoXMLTag, TagPropertiesmyTagProperties
 map with the tags properties More...
 

inherited from GUIGlObject

virtual void setShape (const PositionVector &shape)
 set a new shape and update the tesselation More...
 
void storeTesselation (double lineWidth) const
 store the drawing commands in a display list More...
 
void performTesselation (double lineWidth) const
 
FXMutex myLock
 The mutex used to avoid concurrent updates of the shape. More...
 
GLuint myDisplayList
 id of the display list for the cached tesselation More...
 
void setColor (const GUIVisualizationSettings &s, bool disableSelectionColor) const
 set color More...
 
bool checkDraw (const GUIVisualizationSettings &s) const
 check if Polygon can be drawn More...
 
void drawInnerPolygon (const GUIVisualizationSettings &s, bool disableSelectionColor) const
 draw inner Polygon (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 46 of file GNEPoly.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_NOTZERO 
ATTRPROPERTY_UNIQUE 
ATTRPROPERTY_FILENAME 
ATTRPROPERTY_NONEDITABLE 
ATTRPROPERTY_DISCRETE 
ATTRPROPERTY_PROBABILITY 
ATTRPROPERTY_ANGLE 
ATTRPROPERTY_LIST 
ATTRPROPERTY_SECUENCIAL 
ATTRPROPERTY_WRITEXMLOPTIONAL 
ATTRPROPERTY_DEFAULTVALUESTATIC 
ATTRPROPERTY_DEFAULTVALUEMUTABLE 
ATTRPROPERTY_COMBINABLE 
ATTRPROPERTY_SYNONYM 
ATTRPROPERTY_RANGE 
ATTRPROPERTY_EXTENDED 
ATTRPROPERTY_UPDATEGEOMETRY 
ATTRPROPERTY_OPTIONAL 
ATTRPROPERTY_COMPLEX 
ATTRPROPERTY_ENABLITABLE 

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_NOGENERICPARAMETERS 
TAGPROPERTY_RTREE 
TAGPROPERTY_SORTINGCHILDREN 

Definition at line 301 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 281 of file GNEAttributeCarrier.h.

Constructor & Destructor Documentation

◆ GNEPoly() [1/2]

GNEPoly::GNEPoly ( GNENet net,
const std::string &  id,
const std::string &  type,
const PositionVector shape,
bool  geo,
bool  fill,
double  lineWidth,
const RGBColor color,
double  layer,
double  angle,
const std::string &  imgFile,
bool  relativePath,
bool  movementBlocked,
bool  shapeBlocked 
)

Constructor.

Parameters
[in]netnet in which this polygon is placed
[in]idThe name of the polygon
[in]typeThe (abstract) type of the polygon
[in]shapeThe shape of the polygon
[in]geospecifiy if shape was loaded as GEO
[in]colorThe color of the polygon
[in]layerThe layer of the polygon
[in]angleThe rotation of the polygon
[in]imgFileThe raster image of the polygon
[in]relativePathset image file as relative path
[in]fillWhether the polygon shall be filled
[in]lineWidthLine width when drawing unfilled polygon
[in]movementBlockedif movement of POI is blocked
[in]shapeBlockedif shape of POI is blocked

Definition at line 47 of file GNEPoly.cpp.

◆ ~GNEPoly()

GNEPoly::~GNEPoly ( )

Destructor.

Definition at line 68 of file GNEPoly.cpp.

◆ GNEPoly() [2/2]

GNEPoly::GNEPoly ( const GNEPoly )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addAdditionalChild()

void GNEHierarchicalElementChildren::addAdditionalChild ( GNEAdditional additional)
inherited

◆ addAdditionalParent()

void GNEHierarchicalElementParents::addAdditionalParent ( GNEAdditional additional)
inherited

◆ addDemandElementChild()

◆ addDemandElementParent()

void GNEHierarchicalElementParents::addDemandElementParent ( GNEDemandElement demandElement)
inherited

◆ addEdgeChild()

void GNEHierarchicalElementChildren::addEdgeChild ( GNEEdge edge)
inherited

◆ addEdgeParent()

◆ addLaneChild()

◆ addLaneParent()

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

◆ addShapeChild()

◆ addShapeParent()

◆ 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 127 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 1214 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

◆ 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 267 of file GUIGlObject.cpp.

References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::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 279 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 258 of file GUIGlObject.cpp.

References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.

Referenced by GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), and GUIBaseVehicle::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 664 of file GNEAttributeCarrier.h.

References WRITE_WARNING.

◆ changeAdditionalParent() [1/3]

void GNEHierarchicalElementParents::changeAdditionalParent ( GNEAdditional additionalTobeChanged,
const std::string &  newAdditionalParentID,
int  additionalParentIndex 
)
protectedinherited

change additional parent of an additional

Exceptions
exceptionif this additional doesn't have previously a defined Additional parent
exceptionif additional with ID newAdditionalParentID doesn't exist

Definition at line 497 of file GNEHierarchicalElementParents.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myAdditionalParents, GNENet::retrieveAdditional(), toString(), and GNEAdditional::updateGeometry().

◆ changeAdditionalParent() [2/3]

void GNEHierarchicalElementParents::changeAdditionalParent ( GNEDemandElement demandElementTobeChanged,
const std::string &  newAdditionalParentID,
int  additionalParentIndex 
)
protectedinherited

change additional parent of a demand element

Exceptions
exceptionif this additional doesn't have previously a defined Additional parent
exceptionif additional with ID newAdditionalParentID doesn't exist

Definition at line 514 of file GNEHierarchicalElementParents.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myAdditionalParents, GNENet::retrieveAdditional(), toString(), and GNEDemandElement::updateGeometry().

◆ changeAdditionalParent() [3/3]

void GNEHierarchicalElementParents::changeAdditionalParent ( GNEShape shapeTobeChanged,
const std::string &  newAdditionalParentID,
int  additionalParentIndex 
)
protectedinherited

◆ changeDemandElementParent() [1/3]

void GNEHierarchicalElementParents::changeDemandElementParent ( GNEAdditional additionalTobeChanged,
const std::string &  newDemandElementParentID,
int  demandElementParentIndex 
)
protectedinherited

change first demand element parent of an additional

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif demand element with ID newDemandElementParentID doesn't exist

Definition at line 548 of file GNEHierarchicalElementParents.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEAdditional::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myDemandElementParents, GNENet::retrieveDemandElement(), toString(), and GNEAdditional::updateGeometry().

◆ changeDemandElementParent() [2/3]

void GNEHierarchicalElementParents::changeDemandElementParent ( GNEDemandElement demandElementTobeChanged,
const std::string &  newDemandElementParentID,
int  demandElementParentIndex 
)
protectedinherited

change first demand element parent of demandElement

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif demand element with ID newDemandElementParentID doesn't exist

Definition at line 565 of file GNEHierarchicalElementParents.cpp.

References GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTagStr(), GNEDemandElement::getViewNet(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myDemandElementParents, GNENet::retrieveDemandElement(), toString(), and GNEDemandElement::updateGeometry().

◆ changeDemandElementParent() [3/3]

void GNEHierarchicalElementParents::changeDemandElementParent ( GNEShape shapeTobeChanged,
const std::string &  newDemandElementParentID,
int  demandElementParentIndex 
)
protectedinherited

change first demand element parent of a shape

Exceptions
exceptionif this demand element doesn't have previously a defined DemandElement parent
exceptionif demand element with ID newDemandElementParentID doesn't exist

Definition at line 531 of file GNEHierarchicalElementParents.cpp.

References GNEAttributeCarrier::getID(), GNEShape::getNet(), GNEAttributeCarrier::getTagStr(), GNEHierarchicalElementParents::myAC, GNEHierarchicalElementParents::myDemandElementParents, GNENet::retrieveDemandElement(), toString(), and GNEShape::updateGeometry().

Referenced by GNEWalk::setAttribute(), GNEPerson::setAttribute(), and GNEVehicle::setAttribute().

◆ changeEdgeChildren()

void GNEHierarchicalElementChildren::changeEdgeChildren ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeEdgeParents() [1/4]

void GNEHierarchicalElementParents::changeEdgeParents ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

change edge parents of an additional

Definition at line 360 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalElementParents::myEdgeParents.

◆ changeEdgeParents() [2/4]

void GNEHierarchicalElementParents::changeEdgeParents ( GNEDemandElement elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

change edge parents of a demandElement

Definition at line 380 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalElementParents::myEdgeParents.

◆ changeEdgeParents() [3/4]

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

change edge parents of a demandElement (GNEEdge version)

Definition at line 400 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myEdgeParents.

◆ changeEdgeParents() [4/4]

void GNEHierarchicalElementParents::changeEdgeParents ( GNEShape elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeFirstGeometryPoint()

void GNEPoly::changeFirstGeometryPoint ( int  oldIndex,
bool  allowUndo = true 
)

◆ changeLaneChildren()

void GNEHierarchicalElementChildren::changeLaneChildren ( GNEAdditional elementChild,
const std::string &  newEdgeIDs 
)
protectedinherited

◆ changeLaneParents() [1/3]

void GNEHierarchicalElementParents::changeLaneParents ( GNEAdditional elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

change edge parents of an additional

Definition at line 420 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEAdditional::getViewNet(), and GNEHierarchicalElementParents::myLaneParents.

◆ changeLaneParents() [2/3]

void GNEHierarchicalElementParents::changeLaneParents ( GNEDemandElement elementChild,
const std::string &  newLaneIDs 
)
protectedinherited

change edge parents of a demandElement

Definition at line 440 of file GNEHierarchicalElementParents.cpp.

References GNEViewNet::getNet(), GNEDemandElement::getViewNet(), and GNEHierarchicalElementParents::myLaneParents.

◆ changeLaneParents() [3/3]

◆ checkAdditionalChildrenOverlapping()

bool GNEHierarchicalElementChildren::checkAdditionalChildrenOverlapping ( ) const
inherited

check if children are overlapped (Used by Rerouters)

Definition at line 216 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myAdditionalChildren, SUMO_ATTR_BEGIN, SUMO_ATTR_END, and SUMO_ATTR_TIME.

Referenced by GNERerouterDialog::onCmdAccept().

◆ checkDemandElementChildrenOverlapping()

bool GNEHierarchicalElementChildren::checkDemandElementChildrenOverlapping ( ) const
inherited

check if children are overlapped (Used by Rerouters)

Definition at line 315 of file GNEHierarchicalElementChildren.cpp.

◆ checkDraw()

◆ 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 4403 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::AttributeProperties::cannotBeZero(), 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::isposition(), GNEAttributeCarrier::AttributeProperties::isPositive(), GNEAttributeCarrier::AttributeProperties::isProbability(), GNEAttributeCarrier::AttributeProperties::isSUMOTime(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidNetID(), SUMOXMLDefinitions::isValidVehicleID(), GNEAttributeCarrier::AttributeProperties::isVClass(), GNEAttributeCarrier::AttributeProperties::isWriteXMLOptional(), 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 55 of file GUIGlObject_AbstractAdd.cpp.

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

Referenced by GUINet::~GUINet().

◆ clearParameter()

◆ closePolygon()

◆ commitShapeChange()

void GNEPoly::commitShapeChange ( const PositionVector oldShape,
GNEUndoList undoList 
)

◆ createFullName()

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

◆ decRef()

◆ deleteGeometryPoint()

◆ draw()

◆ drawChildConnections()

◆ drawGL()

void GNEPoly::drawGL ( const GUIVisualizationSettings s) const
virtual

Draws the object.

Parameters
[in]sThe settings for the current view (may influence drawing)
See also
GUIGlObject::drawGL

Implements GNEShape.

Definition at line 278 of file GNEPoly.cpp.

References GUIVisualizationSettings::addSize, RGBColor::BLUE, RGBColor::changedBrightness(), GUIPolygon::checkDraw(), GUIVisualizationSettings::colorSettings, GNEViewNetHelper::EditModes::currentSupermode, GUIVisualizationSettings::detailSettings, PositionVector::distance2D(), Position::distanceSquaredTo2D(), GUIVisualizationSettings::drawBoundaries, GLHelper::drawBoundary(), GLHelper::drawBoxLines(), GUIVisualizationSettings::drawDetail(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForSelecting, GUIPolygon::drawInnerPolygon(), GLHelper::drawShapeDottedContourAroundClosedShape(), GLHelper::drawText(), GNEShape::drawUsingSelectColor(), GNEViewNetHelper::NetworkViewOptions::editingElevation(), GUIVisualizationDetailSettings::geometryPointsText, getCenteringBoundary(), GUIVisualizationSettings::getCircleResolution(), GLHelper::getColor(), GNEViewNet::getDemandViewOptions(), GNEViewNet::getDottedAC(), GNEViewNet::getEditModes(), GUIVisualizationSizeSettings::getExaggeration(), getGlID(), GNEViewNet::getNetworkViewOptions(), GUISUMOAbstractView::getPositionInformation(), SUMOPolygon::getShape(), GUIGlObject::getType(), GNENet::getViewNet(), GLO_POLYGON, GNE_NMODE_MOVE, GNE_SUPERMODE_DEMAND, RGBColor::invertedColor(), MIN2(), GNEShape::myBlockMovement, myBlockShape, myClosedShape, myHintSize, GNEShape::myNet, SUMOPolygon::myShape, PositionVector::nearest_offset_to_point2D(), GNEViewNetHelper::EditModes::networkEditMode, GUIVisualizationSettings::polySize, PositionVector::positionAtOffset2D(), GUIVisualizationSettings::scale, GUIVisualizationColorSettings::selectionColor, GLHelper::setColor(), GNEViewNetHelper::DemandViewOptions::showShapes(), toString(), Position::x(), and Position::y().

◆ 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 GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 187 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawInnerPolygon()

◆ drawName()

◆ drawUsingSelectColor()

bool GNEShape::drawUsingSelectColor ( ) const
virtualinherited

check if attribute carrier must be drawn using selecting color.

Implements GNEAttributeCarrier.

Definition at line 145 of file GNEShape.cpp.

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

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

◆ enableAttribute()

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

Implements GNEAttributeCarrier.

Definition at line 155 of file GNEShape.cpp.

◆ endGeometryMoving()

void GNEPoly::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 89 of file GNEPoly.cpp.

References GNENet::addGLObjectIntoGrid(), Boundary::isInitialised(), GNEShape::myMovingGeometryBoundary, GNEShape::myNet, GNENet::removeGLObjectFromGrid(), and Boundary::reset().

◆ fillAdditionals()

void GNEAttributeCarrier::fillAdditionals ( )
staticprivateinherited

fill Additionals

Definition at line 1778 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_COMBINABLE, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_ENABLITABLE, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_NONEDITABLE, 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_WRITEXMLOPTIONAL, 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_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()

◆ fillCommonVehicleAttributes()

◆ fillDemandElements()

void GNEAttributeCarrier::fillDemandElements ( )
staticprivateinherited

fill Demand Elements

Definition at line 3053 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_BOOL, 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_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SUMOTIME, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, GNEAttributeCarrier::ATTRPROPERTY_WRITEXMLOPTIONAL, 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_HASDRIVERSTATE, 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 1405 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COMBINABLE, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_NONEDITABLE, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, 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, toString(), SUMOXMLDefinitions::TrafficLightTypes, 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 3586 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::ATTRPROPERTY_COMPLEX, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUESTATIC, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_WRITEXMLOPTIONAL, 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 2845 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_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_UPDATEGEOMETRY, GNEAttributeCarrier::ATTRPROPERTY_WRITEXMLOPTIONAL, 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 GNEPoly::generateChildID ( SumoXMLTag  childTag)
virtual

gererate a new ID for an element child

Implements GNEShape.

Definition at line 72 of file GNEPoly.cpp.

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

◆ get()

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

Returns a named object.

Definition at line 66 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject_AbstractAdd::myObjects.

◆ getAdditionalChildren()

const std::vector< GNEAdditional * > & GNEHierarchicalElementChildren::getAdditionalChildren ( ) const
inherited

return vector of additionals that have as Parent this edge (For example, Calibrators)

Definition at line 132 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myAdditionalChildren.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEEdge::addConnection(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEDetectorE3::checkAdditionalChildRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEBusStop::drawGL(), GNELane::drawGL(), GNEEdge::drawGL(), GNELane::endGeometryMoving(), GNEEdge::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(), GNEParkingArea::setAttribute(), GNEDetectorE3::setAttribute(), GNERerouterInterval::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNETAZ::updateAdditionalParent(), GNECalibratorDialog::updateFlowTable(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNERerouterDialog::updateIntervalTable(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNEAdditional::writeAdditional().

◆ getAdditionalParents()

const std::vector< GNEAdditional * > & GNEHierarchicalElementParents::getAdditionalParents ( ) const
inherited

return vector of additionals that have as Parent this edge (For example, Calibrators)

Definition at line 86 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myAdditionalParents.

Referenced by GNEPerson::calculatePersonPlanConnectionStop(), GNELane::drawGL(), GNEEdge::drawGL(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNETAZSourceSink::getAttribute(), GNERerouterInterval::getAttribute(), GNEAccess::getAttribute(), GNEStop::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEDestProbReroute::getCenteringBoundary(), GNERouteProbReroute::getCenteringBoundary(), GNEParkingAreaReroute::getCenteringBoundary(), GNEVariableSpeedSignStep::getCenteringBoundary(), GNECalibratorFlow::getCenteringBoundary(), GNERerouterInterval::getCenteringBoundary(), GNEStop::getCenteringBoundary(), GNEStop::getFromEdge(), GNEParkingAreaReroute::getHierarchyName(), GNEStop::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEClosingReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEDestProbReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEParkingSpace::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNECalibratorFlow::getParentName(), GNETAZSourceSink::getParentName(), GNERerouterInterval::getParentName(), GNEAccess::getParentName(), GNEStop::getParentName(), GNEClosingReroute::getPositionInView(), GNEDestProbReroute::getPositionInView(), GNEClosingLaneReroute::getPositionInView(), GNERouteProbReroute::getPositionInView(), GNEParkingAreaReroute::getPositionInView(), GNEVariableSpeedSignStep::getPositionInView(), GNECalibratorFlow::getPositionInView(), GNERerouterInterval::getPositionInView(), GNETAZSourceSink::getPositionInView(), GNEStop::getToEdge(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNETAZSourceSink::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEStop::updateGeometry(), GNEPerson::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), and GNEWalk::writeDemandElement().

◆ getAttribute()

◆ getAttributeForSelection()

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

method for getting the attribute in the context of object selection

Reimplemented in GNEEdge, and GNELane.

Definition at line 1159 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getAttribute().

◆ getCenteringBoundary()

Boundary GNEPoly::getCenteringBoundary ( ) const
virtual

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

Implements GNEShape.

Definition at line 205 of file GNEPoly.cpp.

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

Referenced by drawGL(), and startGeometryMoving().

◆ getChildPosition()

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

◆ getChildRotation()

double GNEHierarchicalElementChildren::getChildRotation ( const GNELane lane)
inherited

◆ getColorValue()

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

◆ getDemandElementChildren()

const std::vector< GNEDemandElement * > & GNEHierarchicalElementChildren::getDemandElementChildren ( ) const
inherited

return vector of demand elements that have as Parent this edge (For example, Calibrators)

Definition at line 297 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myDemandElementChildren.

Referenced by GNEStoppingPlace::commitGeometryMoving(), GNENet::deleteDemandElement(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEAdditional::endGeometryMoving(), GNEDemandElement::generateChildID(), GNEPerson::getCenteringBoundary(), GNEPerson::getFromEdge(), GNEVehicle::getFromEdge(), GNEPerson::getPositionInView(), GNEPerson::getToEdge(), GNEVehicle::getToEdge(), GNEStoppingPlace::moveGeometry(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNENet::replaceIncomingEdge(), GNERouteHandler::separateEmbeddedRoute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEAdditional::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNEBusStop::updateGeometry(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERoute::updateGeometry(), GNEPerson::updateGeometry(), GNEVehicle::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getDemandElementParents()

const std::vector< GNEDemandElement * > & GNEHierarchicalElementParents::getDemandElementParents ( ) const
inherited

return vector of demand elements that have as Parent this edge (For example, Calibrators)

Definition at line 115 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myDemandElementParents.

Referenced by GNEStop::commitGeometryMoving(), GNEVehicle::compute(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNERouteHandler::embebbeRoute(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNEStop::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNERide::getColor(), GNEPersonTrip::getColor(), GNEWalk::getColor(), GNERide::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNEWalk::getFromEdge(), GNEVehicle::getFromEdge(), GNEStop::getHierarchyName(), GNEWalk::getHierarchyName(), GNEStop::getParentName(), GNEVehicle::getParentName(), GNEStop::getPositionInView(), GNEWalk::getToEdge(), GNEVehicle::getToEdge(), GNEStop::getVClass(), GNERide::getVClass(), GNEPersonTrip::getVClass(), GNEWalk::getVClass(), GNEPerson::getVClass(), GNEVehicle::getVClass(), GNERide::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEVehicle::isValid(), GNEStop::moveGeometry(), GNEViewNet::onCmdToogleLockPerson(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERouteHandler::separateEmbeddedRoute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEDeleteFrame::SubordinatedElements::SubordinatedElements(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNELane::updateGeometry(), GNEEdge::updateGeometry(), GNERide::updateGeometry(), GNEPersonTrip::updateGeometry(), GNEWalk::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getDouble()

◆ getEdgeChildren()

const std::vector< GNEEdge * > & GNEHierarchicalElementChildren::getEdgeChildren ( ) const
inherited

◆ getEdgeParents()

const std::vector< GNEEdge * > & GNEHierarchicalElementParents::getEdgeParents ( ) const
inherited

get edge parents

Definition at line 150 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myEdgeParents.

Referenced by GNEVehicleFrame::addVehicle(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEVehicle::compute(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNECalibrator::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNERouteProbe::getAttribute(), GNETAZSourceSink::getAttribute(), GNECalibrator::getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNERoute::getAttribute(), GNEVehicle::getAttribute(), GNETAZSourceSink::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNEPersonTrip::getCenteringBoundary(), GNEWalk::getCenteringBoundary(), GNERoute::getCenteringBoundary(), GNEPerson::getCenteringBoundary(), GNERide::getDemandElementProblem(), GNEPersonTrip::getDemandElementProblem(), GNEWalk::getDemandElementProblem(), GNERoute::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNERide::getFromEdge(), GNEPersonTrip::getFromEdge(), GNEWalk::getFromEdge(), GNERoute::getFromEdge(), GNEVehicle::getFromEdge(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNERouteHandler::PersonPlansValues::getLastEdge(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNECalibrator::getParentName(), GNEVehicle::getParentName(), GNEVaporizer::getPositionInView(), GNERouteProbe::getPositionInView(), GNECalibrator::getPositionInView(), GNERide::getToEdge(), GNEPersonTrip::getToEdge(), GNEWalk::getToEdge(), GNERoute::getToEdge(), GNEVehicle::getToEdge(), GNERide::isDemandElementValid(), GNEPersonTrip::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNERoute::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNECalibrator::isValid(), GNERide::moveGeometry(), GNEPersonTrip::moveGeometry(), GNEWalk::moveGeometry(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToTrip(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNECalibrator::updateGeometry(), GNERoute::updateGeometry(), GNEVehicle::updateGeometry(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ getFill()

bool SUMOPolygon::getFill ( ) const
inlineinherited

Returns whether the polygon is filled.

Returns
Whether the polygon is filled

Definition at line 90 of file SUMOPolygon.h.

References SUMOPolygon::myFill.

Referenced by GUIPolygon::checkDraw(), GUIPolygon::drawInnerPolygon(), libsumo::Polygon::getFilled(), GUIPolygon::performTesselation(), and SUMOPolygon::writeXML().

◆ getFullName()

◆ getGenericParameters()

std::vector< std::pair< std::string, std::string > > GNEPoly::getGenericParameters ( ) const
virtual

return generic parameters as vector of pairs format

Implements GNEShape.

Definition at line 757 of file GNEPoly.cpp.

References Parameterised::getParametersMap().

◆ getGenericParametersStr()

std::string GNEPoly::getGenericParametersStr ( ) const
virtual

return generic parameters in string format

Implements GNEShape.

Definition at line 742 of file GNEPoly.cpp.

References Parameterised::getParametersMap().

Referenced by getAttribute().

◆ getGlID()

GUIGlID GNEPoly::getGlID ( ) const
virtual

Returns the numerical id of the object.

Implements GNEShape.

Definition at line 216 of file GNEPoly.cpp.

References GUIGlObject::getGlID().

Referenced by drawGL().

◆ getGUIGlObject()

const GUIGlObject * GNEPoly::getGUIGlObject ( ) const
privatevirtual

get GUIGlObject associated to this GNEShape

Implements GNEShape.

Definition at line 917 of file GNEPoly.cpp.

◆ getHierarchyName()

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

get Hierarchy Name (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

Definition at line 173 of file GNEShape.cpp.

References GNEAttributeCarrier::getTagStr().

◆ getIcon()

◆ getID() [1/2]

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

Returns the id.

Returns
The stored id

Definition at line 77 of file Named.h.

References Named::myID.

Referenced by MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Remote::add(), MSPModel_Striping::add(), LaneStoringVisitor::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), NBParkingCont::addEdges2Keep(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), RONet::addRouteDef(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), ROVehicle::addStop(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), libsumo::Helper::applySubscriptionFilters(), GUITrafficLightLogicWrapper::begin2TrackPhases(), MSTransportable::Stage_Waiting::beginEventOutput(), MSTransportable::Stage_Driving::beginEventOutput(), 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(), NGEdge::buildNBEdge(), NIVissimEdge::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(), ROJTRRouter::compute(), IntermodalRouter< E, L, N, V >::compute(), NBTrafficLightDefinition::compute(), NBNode::computeInternalLaneShape(), NBNode::computeLanes2Lanes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), NBOwnTLDef::corridorLike(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistrictNodes(), NIVissimDistrictConnection::dict_BuildDistricts(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), METriggeredCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSCalibrator::execute(), MSPModel_Striping::MovePedestrians::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(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), MSRailSignal::getClickableTLLinkID(), GUILane::getColorValue(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBNodeShapeComputer::getDefaultRadius(), NBTrafficLightDefinition::getDescription(), MSLink::getDescription(), GUIPerson::getDestinationEdgeID(), RODFNet::getDetectorEdge(), libsumo::Lane::getEdgeID(), GUIMEVehicle::getEdgeID(), GUIPerson::getEdgeID(), MSMeanData::getEdgeID(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), GUIPerson::getFromEdgeID(), MSCalibrator::getID(), NBEdge::getID(), libsumo::LaneArea::getLaneID(), libsumo::InductionLoop::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(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), libsumo::Simulation::getParameter(), GUITrafficLightLogicWrapper::getParameterWindow(), GUILane::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(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSRailSignal::getTLLinkID(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), MSVehicle::haveValidStopEdges(), libsumo::POI::highlight(), MSVehicle::ignoreRed(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBTrafficLightLogicCont::insert(), NBNodeCont::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(), NBEdgeCont::joinSameNodeConnectingEdges(), 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(), MSE3Collector::MSE3EntryReminder::notifyEnter(), MSMeanData::MeanDataValues::notifyEnter(), MSDevice_BTsender::notifyEnter(), MSDevice_Bluelight::notifyEnter(), MSDevice_BTreceiver::notifyEnter(), MSDevice_Example::notifyEnter(), MSMeanData_Net::MSLaneMeanDataValues::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Example::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Example::notifyMove(), MSDevice_Bluelight::notifyMove(), MSDevice_BTsender::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSE2Collector::notifyMove(), MSDevice_SSM::notifyMove(), GUIViewTraffic::onGamingClick(), MSLink::opened(), RORouteHandler::openRoute(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), 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(), MSBaseVehicle::reroute(), MSRailSignal::LinkInfo::reroute(), GUIVehicle::rerouteDRTStop(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), RONet::saveAndRemoveRoutesUntil(), ROVehicle::saveAsXML(), ROPerson::Ride::saveAsXML(), MSTransportableDevice_Routing::saveState(), MSDevice_Routing::saveState(), MSDevice::saveState(), MSDevice_Vehroutes::saveState(), MSDevice_Tripinfo::saveState(), MSBaseVehicle::saveState(), MSLane::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(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), MSLane::sortManeuverReservations(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), MSSOTLTrafficLightLogic::trySwitch(), PolygonDynamics::update(), MSDevice_SSM::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(), NBParking::write(), MSBatteryExport::write(), MSEmissionExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), MSLink::writeApproaching(), MSRailSignal::writeBlocks(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::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(), PointOfInterest::writeXML(), SUMOPolygon::writeXML(), MSRouteProbe::writeXMLOutput(), MSInductLoop::writeXMLOutput(), MSE2Collector::writeXMLOutput(), and RONet::~RONet().

◆ getID() [2/2]

const std::string GNEAttributeCarrier::getID ( ) const
virtualinherited

function to support debugging

Implements GNEReferenceCounter.

Definition at line 1187 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.

Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementParents::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEHierarchicalElementParents::addDemandElementParent(), GNEHierarchicalElementChildren::addEdgeChild(), GNEHierarchicalElementParents::addEdgeParent(), GNEJunction::addIncomingGNEEdge(), GNENet::additionalExist(), GNEHierarchicalElementChildren::addLaneChild(), GNEHierarchicalElementParents::addLaneParent(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNEHierarchicalElementChildren::addShapeChild(), GNEHierarchicalElementParents::addShapeParent(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEAdditionalHandler::buildAccess(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEConnectorFrame::buildConnection(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNEHierarchicalElementParents::changeAdditionalParent(), GNEHierarchicalElementParents::changeDemandElementParent(), GNENet::changeShapeID(), GNEVehicle::compute(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEJunction::drawGL(), GNEEdge::drawGL(), GNEVehicleFrame::edgePathCreated(), GNEJunction::generateChildID(), generateChildID(), GNEPOI::generateChildID(), GNEAdditional::generateChildID(), GNEDemandElement::generateChildID(), GNEAdditionalFrame::generateID(), GNEClosingReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNECalibratorFlow::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNELane::getColorValue(), GNEClosingReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEStopFrame::getStopParameter(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEJunction::invalidateShape(), GNEDemandElement::isRouteValid(), GNEAccess::isValid(), GNEPersonTrip::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdToogleLockPerson(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Shape::redo(), GNEChange_Junction::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Children::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEHierarchicalElementParents::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNEHierarchicalElementParents::removeDemandElementParent(), GNEHierarchicalElementChildren::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEHierarchicalElementParents::removeEdgeParent(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEHierarchicalElementChildren::removeLaneChild(), GNEHierarchicalElementParents::removeLaneParent(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNEHierarchicalElementChildren::removeShapeChild(), GNEHierarchicalElementParents::removeShapeParent(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNERide::setAttribute(), GNEWalk::setAttribute(), GNEPersonTrip::setAttribute(), GNEEdge::setAttribute(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_DemandElement::undo(), GNEChange_Children::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNERouteDialog::updateCalibratorRouteValues(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNERide::writeDemandElement(), GNEPersonTrip::writeDemandElement(), GNEWalk::writeDemandElement(), GNEPerson::writeDemandElement(), GNEVehicle::writeDemandElement(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().

◆ 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 90 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 70 of file Named.h.

Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), DijkstraRouter< E, V, BASE >::compute(), AStarRouter< MSEdge, SUMOVehicle, SUMOAbstractRouterPermissions< MSEdge, SUMOVehicle > >::compute(), NBEdge::computeEdge2Edges(), NBEdge::computeLanes2Edges(), NBOwnTLDef::computeLogicAndConts(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSRailSignal::DriveWay::findProtection(), MSCFModel_W99::followSpeed(), MSCFModel_CACC::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_LC2013::saveBlockerLength(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().

◆ getLaneChildren()

const std::vector< GNELane * > & GNEHierarchicalElementChildren::getLaneChildren ( ) const
inherited

◆ getLaneParents()

const std::vector< GNELane * > & GNEHierarchicalElementParents::getLaneParents ( ) const
inherited

get lanes of VSS

Definition at line 182 of file GNEHierarchicalElementParents.cpp.

References GNEHierarchicalElementParents::myLaneParents.

Referenced by GNEDetectorE2::checkE2MultilaneIntegrity(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNECalibrator::drawGL(), GNEStop::drawGL(), GNEStop::endGeometryMoving(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE1::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), GNEDetectorE1::getAdditionalProblem(), GNEStoppingPlace::getAdditionalProblem(), GNEDetectorEntryExit::getAdditionalProblem(), GNEDetectorE2::getAdditionalProblem(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNEAccess::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNEDetectorE2::getAttribute(), GNEStop::getAttribute(), GNEPOI::getAttribute(), GNEStop::getAttributeDouble(), GNEStop::getDemandElementProblem(), GNEAccess::getEdge(), GNEStoppingPlace::getEndGeometryPositionOverLane(), GNEStop::getEndGeometryPositionOverLane(), GNEStoppingPlace::getEndPosition(), GNEStop::getFromEdge(), GNEAccess::getHierarchyName(), GNEDetector::getLane(), GNECalibrator::getParentName(), GNEStop::getParentName(), GNEStoppingPlace::getParentName(), GNEPOI::getPopUpMenu(), GNEAccess::getPositionInView(), GNECalibrator::getPositionInView(), GNEStop::getPositionInView(), GNEStoppingPlace::getPositionInView(), GNEStoppingPlace::getStartGeometryPositionOverLane(), GNEStop::getStartGeometryPositionOverLane(), GNEStop::getToEdge(), GNEAccess::isAccessPositionFixed(), GNEDetectorE1Instant::isAdditionalValid(), GNEDetectorE1::isAdditionalValid(), GNEStoppingPlace::isAdditionalValid(), GNEDetectorEntryExit::isAdditionalValid(), GNEDetectorE2::isAdditionalValid(), GNEStop::isDemandElementValid(), GNEBusStop::isValid(), GNEChargingStation::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNEAccess::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNEStop::isValid(), GNEPOI::isValid(), GNEAccess::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorEntryExit::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEStop::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEDetectorE2::moveGeometry(), GNEPOI::moveGeometry(), GNEPersonPlanFrame::personPlanCreated(), GNEPersonPlanFrame::PersonPlanCreator::refreshPersonPlanCreator(), GNEPOI::setAttribute(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNEStop::startGeometryMoving(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEParkingArea::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntryExit::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), GNEStop::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEPOI::updateGeometry(), GNEPerson::updateGeometry(), and GNEPOI::writeShape().

◆ getLineWidth()

double SUMOPolygon::getLineWidth ( ) const
inlineinherited

Returns whether the polygon is filled.

Returns
Whether the polygon is filled

Definition at line 97 of file SUMOPolygon.h.

References SUMOPolygon::myLineWidth.

Referenced by libsumo::Polygon::getLineWidth(), and SUMOPolygon::writeXML().

◆ getMicrosimID()

◆ getNet()

◆ getNextDemandElement()

GNEDemandElement * GNEHierarchicalElementChildren::getNextDemandElement ( const GNEDemandElement demandElement) const
inherited

get next demand element to the given demand element

Definition at line 336 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myDemandElementChildren.

◆ getObjectList()

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

Returns the list of all additional objects.

Definition at line 84 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 GNEAdditional, GNEEdge, GUIBaseVehicle, GUIEdge, GUIParkingArea, GUIBusStop, GUIContainerStop, and GUIChargingStation.

Definition at line 169 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 71 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NBEdge::addRestrictedLane(), FareModul::addStop(), NBEdge::append(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), libsumo::Simulation::findIntermodalRoute(), MSSwarmTrafficLightLogic::getBetaNo(), MSSwarmTrafficLightLogic::getBetaSp(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSSwarmTrafficLightLogic::getChangePlanProbability(), GNELane::getColorValue(), GUILane::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(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Route::getParameter(), libsumo::Polygon::getParameter(), libsumo::POI::getParameter(), libsumo::Person::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), libsumo::Simulation::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(), PushButtonLogic::init(), MSSOTLPhasePolicy::init(), SigmoidLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), GNEVehicleType::initRailVisualizationParameters(), MSVehicleType::initRailVisualizationParameters(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), libsumo::Helper::moveToXYMap(), 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()

const std::map< std::string, std::string > & Parameterised::getParametersMap ( ) const
inherited

Returns the inner key/value map.

Definition at line 105 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NIImporter_SUMO::_loadNetwork(), NBEdge::addLane(), GUIParameterTableWindow::closeBuilding(), NLHandler::closeEdge(), NBTrafficLightDefinition::compute(), GNEVehicleType::getGenericParameters(), GNELane::getGenericParameters(), getGenericParameters(), GNEStop::getGenericParameters(), GNEPOI::getGenericParameters(), GNEJunction::getGenericParameters(), GNERide::getGenericParameters(), GNEPersonTrip::getGenericParameters(), GNEWalk::getGenericParameters(), GNEEdge::getGenericParameters(), GNERoute::getGenericParameters(), GNEPerson::getGenericParameters(), GNEAdditional::getGenericParameters(), GNEVehicle::getGenericParameters(), GNEVehicleType::getGenericParametersStr(), GNELane::getGenericParametersStr(), getGenericParametersStr(), GNEStop::getGenericParametersStr(), GNEPOI::getGenericParametersStr(), GNEJunction::getGenericParametersStr(), GNERide::getGenericParametersStr(), GNEPersonTrip::getGenericParametersStr(), GNEWalk::getGenericParametersStr(), GNEEdge::getGenericParametersStr(), GNERoute::getGenericParametersStr(), GNEPerson::getGenericParametersStr(), GNEAdditional::getGenericParametersStr(), GNEVehicle::getGenericParametersStr(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIPolygon::getParameterWindow(), GUIJunctionWrapper::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUILane::getParameterWindow(), GUIPerson::getTypeParameterWindow(), GUIContainer::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), NIImporter_OpenStreetMap::insertEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), GNEVehicleType::overwriteVType(), and TraCIServerAPI_TrafficLight::processGet().

◆ getParameterWindow()

GUIParameterTableWindow * GNEPoly::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 272 of file GNEPoly.cpp.

References GUIPolygon::getParameterWindow().

◆ getParentName()

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

Returns the name of the parent object.

Returns
This object's parent id

Reimplemented from GUIGlObject.

Definition at line 222 of file GNEPoly.cpp.

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

◆ getPopUpID()

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

get PopPup ID (Used in AC Hierarchy)

Implements GNEAttributeCarrier.

Definition at line 167 of file GNEShape.cpp.

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

◆ getPopUpMenu()

◆ getPositionInView()

Position GNEPoly::getPositionInView ( ) const
virtual

Returns position of additional in view.

Implements GNEShape.

Definition at line 199 of file GNEPoly.cpp.

References PositionVector::getPolygonCenter(), and SUMOPolygon::myShape.

◆ getPreviousemandElement()

GNEDemandElement * GNEHierarchicalElementChildren::getPreviousemandElement ( const GNEDemandElement demandElement) const
inherited

get previous demand element to the given demand element

Definition at line 321 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::myDemandElementChildren.

◆ getShape()

const PositionVector& SUMOPolygon::getShape ( ) const
inlineinherited

Returns whether the shape of the polygon.

Returns
The shape of the polygon

Definition at line 82 of file SUMOPolygon.h.

References SUMOPolygon::myShape.

Referenced by PCPolyContainer::add(), drawGL(), libsumo::Polygon::getShape(), PolygonDynamics::PolygonDynamics(), libsumo::Polygon::storeShape(), NWWriter_OpenDrive::writeRoadObjects(), and SUMOPolygon::writeXML().

◆ getShapeChildren()

◆ getShapeColor()

const RGBColor& Shape::getShapeColor ( ) const
inlineinherited

◆ getShapeEditedElement()

GNENetElement * GNEPoly::getShapeEditedElement ( ) const

retrieve the junction of which the shape is being edited

Definition at line 465 of file GNEPoly.cpp.

References myNetElementShapeEdited.

◆ 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 97 of file Shape.h.

References Shape::myNaviDegreeAngle.

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

◆ getShapeParents()

const std::vector< GNEShape * > & GNEHierarchicalElementParents::getShapeParents ( ) const
inherited

◆ getShapeRelativePath()

bool Shape::getShapeRelativePath ( ) const
inlineinherited

Returns the relativePath of the Shape.

Returns
The Shape's relativePath

Definition at line 111 of file Shape.h.

References Shape::myRelativePath.

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

◆ getShapeType()

◆ getSortedDemandElementChildrenByType()

const std::set< GNEDemandElement * > & GNEHierarchicalElementChildren::getSortedDemandElementChildrenByType ( SumoXMLTag  tag) const
inherited

return vector of demand elements that have as Parent this edge (For example, Calibrators)

Definition at line 303 of file GNEHierarchicalElementChildren.cpp.

References GNEHierarchicalElementChildren::mySortedDemandElementChildrenByType.

Referenced by GNEEdge::drawGL(), and GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren().

◆ getTagProperties()

◆ getTagProperty()

const GNEAttributeCarrier::TagProperties & GNEAttributeCarrier::getTagProperty ( ) const
inherited

get Tag Property assigned to this object

Definition at line 1171 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::myTagProperty.

Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementChildren::addDemandElementChild(), GNENet::additionalExist(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEPersonFrame::buildPersonOverRoute(), GNERouteHandler::buildStop(), GNEPerson::calculatePersonPlanConnectionStop(), GNEPerson::calculateSmoothPersonPlanConnection(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::demandElementExist(), GNEViewNet::doPaintGL(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEViewNet::getAttributeCarriersInBoundary(), GNEStop::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEPerson::getPositionInView(), GNEEdge::getRouteProbeRelativePosition(), GNENet::getSelectedAttributeCarriers(), GNEStopFrame::getStopParameter(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNENet::insertShape(), GNEInspectorFrame::OverlappedInspection::inspectOverlappedAttributeCarrier(), GNEInspectorFrame::inspectSingleElement(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdToogleLockPerson(), GNEAdditionalHandler::parseGenericParameter(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Attribute::redo(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEDeleteFrame::removeAttributeCarrier(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNENet::retrieveShapes(), GNEFrameModuls::DemandElementSelector::setDemandElement(), GNELane::setLaneColor(), GNENet::setViewNet(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEHierarchicalElementChildren::sortAdditionalChildren(), GNEViewNetHelper::EditShapes::startEditCustomShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEPerson::updateGeometry(), 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 1165 of file GNEAttributeCarrier.cpp.

References GNEAttributeCarrier::TagProperties::getTagStr(), and GNEAttributeCarrier::myTagProperty.

Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), GNEHierarchicalElementParents::addAdditionalParent(), GNEHierarchicalElementChildren::addDemandElementChild(), GNEHierarchicalElementParents::addDemandElementParent(), GNEHierarchicalElementChildren::addEdgeChild(), GNEHierarchicalElementParents::addEdgeParent(), GNEJunction::addIncomingGNEEdge(), GNEHierarchicalElementChildren::addLaneChild(), GNEHierarchicalElementParents::addLaneParent(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNEHierarchicalElementChildren::addShapeChild(), GNEHierarchicalElementParents::addShapeParent(), GNEStopFrame::addStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildStop(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEHierarchicalElementParents::changeAdditionalParent(), GNEDemandElement::changeDemandElementID(), GNEHierarchicalElementParents::changeDemandElementParent(), GNEAdditional::checkAdditionalChildRestriction(), GNEDemandElement::checkDemandElementChildRestriction(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteShape(), GNEAdditional::fixAdditionalProblem(), GNEDemandElement::fixDemandElementProblem(), GNEChargingStation::getAttribute(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNERouteProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEDetectorE1::getAttribute(), GNECalibratorFlow::getAttribute(), GNEDetectorEntryExit::getAttribute(), GNETAZSourceSink::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECrossing::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), GNEDetectorE2::getAttribute(), GNEVehicleType::getAttribute(), GNEConnection::getAttribute(), GNEStop::getAttribute(), GNELane::getAttribute(), getAttribute(), GNERide::getAttribute(), GNEPersonTrip::getAttribute(), GNEWalk::getAttribute(), GNEPOI::getAttribute(), GNEJunction::getAttribute(), GNERoute::getAttribute(), GNEEdge::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEVehicleType::getAttributeDouble(), GNEStop::getAttributeDouble(), GNERide::getAttributeDouble(), GNEPersonTrip::getAttributeDouble(), GNEWalk::getAttributeDouble(), GNEDemandElement::getBegin(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNETAZSourceSink::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNEDetector::getHierarchyName(), GNEVehicleType::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNERoute::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNETAZSourceSink::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNEDetector::getPopUpID(), GNEVehicleType::getPopUpID(), GNENetElement::getPopUpID(), GNEStop::getPopUpID(), GNEShape::getPopUpID(), GNERide::getPopUpID(), GNEPersonTrip::getPopUpID(), GNEWalk::getPopUpID(), GNERoute::getPopUpID(), GNEPerson::getPopUpID(), GNEVehicle::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNENet::insertAdditional(), GNENet::insertDemandElement(), GNEDemandElement::isRouteValid(), GNEChargingStation::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEDetectorE1::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSignStep::isValid(), GNEDetectorEntryExit::isValid(), GNERerouterInterval::isValid(), GNETAZSourceSink::isValid(), GNEVariableSpeedSign::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNEDetectorE1Instant::isValid(), GNECrossing::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEDetectorE2::isValid(), GNEVehicleType::isValid(), GNEConnection::isValid(), GNEStop::isValid(), GNELane::isValid(), isValid(), GNERide::isValid(), GNEPersonTrip::isValid(), GNEPOI::isValid(), GNEWalk::isValid(), GNEJunction::isValid(), GNERoute::isValid(), GNEEdge::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), GNECalibratorFlowDialog::onCmdAccept(), GNERouteDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNERouteFrame::ConsecutiveEdges::onCmdCreateRoute(), GNERouteFrame::NonConsecutiveEdges::onCmdCreateRoute(), GNEAdditional::openAdditionalDialog(), GNEDemandElement::openDemandElementDialog(), GNEVehicleType::overwriteVType(), GNEAdditionalHandler::parseGenericParameter(), GNEChange_Shape::redo(), GNEChange_Junction::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_DemandElement::redo(), GNEChange_Children::redo(), GNEChange_EnableAttribute::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_DemandElement::redoName(), GNEChange_EnableAttribute::redoName(), GNEChange_Children::redoName(), GNEChange_Attribute::redoName(), GNEHierarchicalElementChildren::removeAdditionalChild(), GNEHierarchicalElementParents::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEHierarchicalElementChildren::removeDemandElementChild(), GNEHierarchicalElementParents::removeDemandElementParent(), GNEHierarchicalElementChildren::removeEdgeChild(), GNEHierarchicalElementParents::removeEdgeParent(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEHierarchicalElementChildren::removeLaneChild(), GNEHierarchicalElementParents::removeLaneParent(), GNEJunction::removeOutgoingGNEEdge(), GNEHierarchicalElementChildren::removeShapeChild(), GNEHierarchicalElementParents::removeShapeParent(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEDestProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNERerouterInterval::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNECrossing::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEDetectorE2::setAttribute(), GNEVehicleType::setAttribute(), GNEConnection::setAttribute(), GNEStop::setAttribute(), GNELane::setAttribute(), setAttribute(), GNERide::setAttribute(), GNEPersonTrip::setAttribute(), GNEPOI::setAttribute(), GNEWalk::setAttribute(), GNEJunction::setAttribute(), GNERoute::setAttribute(), GNEEdge::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_DemandElement::undo(), GNEChange_Children::undo(), GNEChange_EnableAttribute::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_DemandElement::undoName(), GNEChange_Children::undoName(), GNEChange_EnableAttribute::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNENet::updateDemandElementBegin(), GNENet::updateDemandElementID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EnableAttribute::~GNEChange_EnableAttribute(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 181 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntryExit::drawGL(), GNEVariableSpeedSign::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorE1Instant::drawGL(), GNECrossing::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIContainer::drawGL(), GNEJunction::drawGL(), GUICalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNELane::drawGL(), GUIParkingArea::drawGL(), drawGL(), GNEPOI::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEPerson::drawGL(), GUILane::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawPartialTripFromTo(), GNEEdge::drawRerouterSymbol(), GNELane::drawVSSSymbol(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GNENetElement::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().

◆ 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, GUIContainer, and GUIPerson.

Definition at line 156 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

◆ getVertexIndex()

int GNEPoly::getVertexIndex ( Position  pos,
bool  createIfNoExist,
bool  snapToGrid 
)

return index of a vertex of shape, or of a new vertex if position is over an shape's edge

Parameters
posposition of new/existent vertex
createIfNoExistenable or disable creation of new verte if there isn't another vertex in position
snapToGridenable or disable snapToActiveGrid
Returns
index of position vector

Definition at line 385 of file GNEPoly.cpp.

References GNENet::getViewNet(), PositionVector::indexOfClosest(), PositionVector::insertAtClosest(), myHintSize, GNEShape::myNet, SUMOPolygon::myShape, and GUISUMOAbstractView::snapToActiveGrid().

Referenced by getPopUpMenu(), GNEViewNet::onCmdSetFirstGeometryPoint(), GNEViewNet::processLeftButtonPressNetwork(), and GNEDeleteFrame::removeAttributeCarrier().

◆ incRef()

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

Increarse reference.

Definition at line 68 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().

◆ isAttributeCarrierSelected()

bool GNEShape::isAttributeCarrierSelected ( ) const
virtualinherited

◆ isAttributeEnabled()

bool GNEShape::isAttributeEnabled ( SumoXMLAttr  key) const
virtualinherited

Implements GNEAttributeCarrier.

Definition at line 161 of file GNEShape.cpp.

◆ isGenericParametersValid()

bool GNEAttributeCarrier::isGenericParametersValid ( const std::string &  value)
staticinherited

◆ isMovementBlocked()

bool GNEShape::isMovementBlocked ( ) const
inherited

return true if movement is blocked

Definition at line 68 of file GNEShape.cpp.

References GNEShape::myBlockMovement.

◆ isPolygonBlocked()

bool GNEPoly::isPolygonBlocked ( ) const

return true if polygon is blocked

Definition at line 443 of file GNEPoly.cpp.

References myBlockShape.

◆ isPolygonClosed()

bool GNEPoly::isPolygonClosed ( ) const

check if polygon is closed

Definition at line 449 of file GNEPoly.cpp.

References myClosedShape.

◆ isValid()

bool GNEPoly::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 1128 of file GNEAttributeCarrier.cpp.

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

◆ moveEntireShape()

void GNEPoly::moveEntireShape ( const PositionVector oldShape,
const Position offset 
)

move entire shape without commiting change

Parameters
[in]oldShapethe old shape of polygon before moving
[in]offsetthe offset of movement

Definition at line 138 of file GNEPoly.cpp.

References PositionVector::add(), GNEShape::myBlockMovement, myBlockShape, SUMOPolygon::myShape, and updateGeometry().

◆ moveVertexShape()

int GNEPoly::moveVertexShape ( const int  index,
const Position oldPos,
const Position offset 
)

change position of a vertex of shape without commiting change

Parameters
[in]indexindex of Vertex shape
[in]newPosThe new position of vertex
Returns
index of vertex (in some cases index can change

Definition at line 103 of file GNEPoly.cpp.

References PositionVector::add(), GNENet::getViewNet(), GNEShape::myBlockMovement, myBlockShape, myClosedShape, myCurrentMovingVertexIndex, GNEShape::myNet, SUMOPolygon::myShape, and GUISUMOAbstractView::snapToActiveGrid().

◆ openPolygon()

◆ operator=()

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

Invalidated assignment operator.

◆ parse() [1/19]

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(), and GNERoute::isValid().

◆ parse() [2/19]

template<>
int GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 923 of file GNEAttributeCarrier.cpp.

References StringUtils::toInt().

◆ parse() [3/19]

template<>
double GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 929 of file GNEAttributeCarrier.cpp.

References StringUtils::toDouble().

◆ parse() [4/19]

template<>
SUMOTime GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 935 of file GNEAttributeCarrier.cpp.

References string2time().

◆ parse() [5/19]

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

Definition at line 946 of file GNEAttributeCarrier.cpp.

References StringUtils::toBool().

◆ parse() [6/19]

template<>
std::string GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 952 of file GNEAttributeCarrier.cpp.

◆ parse() [7/19]

template<>
SUMOVehicleClass GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 958 of file GNEAttributeCarrier.cpp.

References SumoVehicleClassStrings, and SVC_IGNORING.

◆ parse() [8/19]

template<>
RGBColor GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 970 of file GNEAttributeCarrier.cpp.

References RGBColor::parseColor().

◆ parse() [9/19]

template<>
Position GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 976 of file GNEAttributeCarrier.cpp.

References GeomConvHelper::parseShapeReporting().

◆ parse() [10/19]

template<>
PositionVector GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 992 of file GNEAttributeCarrier.cpp.

References GeomConvHelper::parseShapeReporting().

◆ parse() [11/19]

template<>
SUMOVehicleShape GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 1010 of file GNEAttributeCarrier.cpp.

References SumoVehicleShapeStrings, and SVS_UNKNOWN.

◆ parse() [12/19]

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

Definition at line 1020 of file GNEAttributeCarrier.cpp.

References StringTokenizer::getVector().

◆ parse() [13/19]

template<>
std::set<std::string> GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 1026 of file GNEAttributeCarrier.cpp.

References StringTokenizer::getVector().

◆ parse() [14/19]

template<>
std::vector<int> GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 1037 of file GNEAttributeCarrier.cpp.

◆ parse() [15/19]

template<>
std::vector<double> GNEAttributeCarrier::parse ( const std::string &  string)
staticinherited

Definition at line 1048 of file GNEAttributeCarrier.cpp.

◆ parse() [16/19]

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

Definition at line 1059 of file GNEAttributeCarrier.cpp.

◆ parse() [17/19]

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.)

◆ parse() [18/19]

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

◆ parse() [19/19]

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

◆ 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)
staticinherited

Definition at line 1106 of file GNEAttributeCarrier.cpp.

References joinToString().

◆ parseIDs() [2/3]

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

Definition at line 1117 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

◆ performTesselation()

void GUIPolygon::performTesselation ( double  lineWidth) const
privateinherited

◆ remove()

void GUIGlObject_AbstractAdd::remove ( GUIGlObject_AbstractAdd o)
staticinherited

◆ removeAdditionalChild()

◆ removeAdditionalParent()

void GNEHierarchicalElementParents::removeAdditionalParent ( GNEAdditional additional)
inherited

◆ removeDemandElementChild()

◆ removeDemandElementParent()

void GNEHierarchicalElementParents::removeDemandElementParent ( GNEDemandElement demandElement)
inherited

◆ removeEdgeChild()

◆ removeEdgeParent()

void GNEHierarchicalElementParents::removeEdgeParent ( GNEEdge edge)
inherited

◆ removeLaneChild()

◆ removeLaneParent()

void GNEHierarchicalElementParents::removeLaneParent ( GNELane lane)
inherited

◆ 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 294 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

◆ removeShapeChild()

◆ removeShapeParent()

void GNEHierarchicalElementParents::removeShapeParent ( GNEShape shape)
inherited

◆ selectAttributeCarrier()

◆ setAttribute() [1/2]

◆ setAttribute() [2/2]

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

◆ 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 179 of file GNEShape.cpp.

◆ setFill()

void SUMOPolygon::setFill ( bool  fill)
inlineinherited

Sets whether the polygon shall be filled.

Parameters
[in]fillWhether the polygon shall be filled

Definition at line 109 of file SUMOPolygon.h.

References SUMOPolygon::myFill.

Referenced by libsumo::Polygon::setFilled().

◆ setGenericParametersStr()

void GNEPoly::setGenericParametersStr ( const std::string &  value)
virtual

◆ setID()

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

◆ setLineWidth()

void SUMOPolygon::setLineWidth ( double  lineWidth)
inlineinherited

Definition at line 113 of file SUMOPolygon.h.

References SUMOPolygon::myLineWidth.

Referenced by libsumo::Polygon::setLineWidth().

◆ setMicrosimID()

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

◆ setParameter()

void Parameterised::setParameter ( const std::string &  key,
const std::string &  value 
)
inherited

Sets a parameter.

Parameters
[in]keyThe parameter's name
[in]valueThe parameter's value

Definition at line 45 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by NLHandler::addDistrict(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NBEdge::append(), NIImporter_OpenStreetMap::insertNodeChecking(), NBNodeCont::joinNodeCluster(), NBEdge::Lane::Lane(), NIImporter_OpenDrive::loadNetwork(), NIXMLTrafficLightsHandler::myStartElement(), MSStateHandler::myStartElement(), ShapeHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), GNEAdditionalHandler::parseGenericParameter(), GNEVehicleType::setAttribute(), GNEConnection::setGenericParametersStr(), GNEVehicleType::setGenericParametersStr(), GNELane::setGenericParametersStr(), setGenericParametersStr(), GNEStop::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNERide::setGenericParametersStr(), GNEPersonTrip::setGenericParametersStr(), GNEWalk::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), GNERoute::setGenericParametersStr(), GNEPerson::setGenericParametersStr(), GNEAdditional::setGenericParametersStr(), GNEVehicle::setGenericParametersStr(), NIImporter_OpenDrive::setLaneAttributes(), libsumo::Route::setParameter(), libsumo::Polygon::setParameter(), libsumo::TrafficLight::setParameter(), libsumo::POI::setParameter(), libsumo::Edge::setParameter(), and libsumo::Lane::setParameter().

◆ setShape()

void GUIPolygon::setShape ( const PositionVector shape)
virtualinherited

set a new shape and update the tesselation

Reimplemented from SUMOPolygon.

Definition at line 162 of file GUIPolygon.cpp.

References GUIPolygon::myLock, and SUMOPolygon::setShape().

Referenced by GUIShapeContainer::reshapePolygon().

◆ setShapeAlpha()

void Shape::setShapeAlpha ( unsigned char  alpha)
inlineinherited

Sets a new alpha value.

Parameters
[in]alphaThe new value to use

Definition at line 137 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 130 of file Shape.h.

References Shape::myColor.

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

◆ setShapeEditedElement()

void GNEPoly::setShapeEditedElement ( GNENetElement element)

retrieve the netElement of which the shape is being edited

Definition at line 455 of file GNEPoly.cpp.

References myNetElementShapeEdited.

Referenced by GNENet::addPolygonForEditShapes().

◆ setShapeImgFile()

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

Sets a new imgFile.

Parameters
[in]imgFileThe new imgFile to use

Definition at line 158 of file Shape.h.

References Shape::myImgFile.

Referenced by GNEPOI::setAttribute(), 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 144 of file Shape.h.

References Shape::myLayer.

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

◆ setShapeNaviDegree()

void Shape::setShapeNaviDegree ( const double  angle)
inlineinherited

Sets a new angle in navigational degrees.

Parameters
[in]layerThe new angle to use

Definition at line 151 of file Shape.h.

References Shape::myNaviDegreeAngle.

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

◆ setShapeRelativePath()

void Shape::setShapeRelativePath ( bool  relativePath)
inlineinherited

Sets a new relativePath value.

Parameters
[in]relativePathThe new relative path to set

Definition at line 165 of file Shape.h.

References Shape::myRelativePath.

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

◆ setShapeType()

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

Sets a new type.

Parameters
[in]typeThe new type to use

Definition at line 123 of file Shape.h.

References Shape::myType.

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

◆ simplifyShape()

◆ sortAdditionalChildren()

◆ sortDemandElementChildren()

void GNEHierarchicalElementChildren::sortDemandElementChildren ( )
inherited

sort children (used by Rerouters, VSS, TAZs...)

Definition at line 309 of file GNEHierarchicalElementChildren.cpp.

Referenced by GNEHierarchicalElementChildren::addDemandElementChild(), and GNEHierarchicalElementChildren::removeDemandElementChild().

◆ startGeometryMoving()

void GNEPoly::startGeometryMoving ( )
virtual

Implements GNEShape.

Definition at line 82 of file GNEPoly.cpp.

References getCenteringBoundary(), and GNEShape::myMovingGeometryBoundary.

◆ storeTesselation()

void GUIPolygon::storeTesselation ( double  lineWidth) const
privateinherited

store the drawing commands in a display list

Definition at line 204 of file GUIPolygon.cpp.

References GUIPolygon::myDisplayList, and GUIPolygon::performTesselation().

◆ unreferenced()

◆ unselectAttributeCarrier()

◆ unsetParameter()

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

Removes a parameter.

Parameters
[in]keyThe parameter's name

Definition at line 51 of file Parameterised.cpp.

References Parameterised::myMap.

Referenced by GNEVehicleType::setAttribute().

◆ updateAdditionalParent()

void GNEHierarchicalElementChildren::updateAdditionalParent ( )
virtualinherited

update parent after add or remove a child (can be reimplemented, for example used for statistics)

Reimplemented in GNETAZ, and GNEDetectorE3.

Definition at line 451 of file GNEHierarchicalElementChildren.cpp.

Referenced by GNEHierarchicalElementChildren::addAdditionalChild(), and GNEHierarchicalElementChildren::removeAdditionalChild().

◆ updateChildConnections()

void GNEHierarchicalElementChildren::updateChildConnections ( )
inherited

◆ updateDemandElementParent()

void GNEHierarchicalElementChildren::updateDemandElementParent ( )
virtualinherited

update parent after add or remove a child (can be reimplemented, for example used for statistics)

Definition at line 457 of file GNEHierarchicalElementChildren.cpp.

◆ updateGeometry()

void GNEPoly::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 188 of file GNEPoly.cpp.

Referenced by changeFirstGeometryPoint(), closePolygon(), moveEntireShape(), openPolygon(), and simplifyShape().

◆ updateParameter()

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

◆ writeParams()

◆ writeShape()

void GNEPoly::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 193 of file GNEPoly.cpp.

References SUMOPolygon::myGEO, and SUMOPolygon::writeXML().

◆ writeXML()

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 45 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 43 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 798 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 593 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 587 of file GNEAttributeCarrier.h.

Referenced by GNEJunction::setAttribute(), and GNEEdge::setAttribute().

◆ FEATURE_LOADED

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

Definition at line 584 of file GNEAttributeCarrier.h.

◆ FEATURE_MODIFIED

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

feature has been manually modified (implies approval)

Definition at line 590 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 269 of file GUIGlObject.h.

◆ INVALID_ID

const GUIGlID GUIGlObject::INVALID_ID = 0
staticinherited

◆ INVALID_POSITION

const double GNEAttributeCarrier::INVALID_POSITION
staticinherited

invalid double position

Definition at line 600 of file GNEAttributeCarrier.h.

Referenced by GNEAdditionalHandler::parseAndBuildPOI().

◆ MAXNUMBEROFATTRIBUTES

const size_t GNEAttributeCarrier::MAXNUMBEROFATTRIBUTES = 128
staticinherited

◆ myAC

◆ myAdditionalChildren

◆ myAdditionalParents

std::vector<GNEAdditional*> GNEHierarchicalElementParents::myAdditionalParents
privateinherited

◆ myBlockMovement

◆ myBlockShape

bool GNEPoly::myBlockShape
protected

flag for block shape

Definition at line 237 of file GNEPoly.h.

Referenced by drawGL(), getAttribute(), isPolygonBlocked(), moveEntireShape(), moveVertexShape(), and setAttribute().

◆ myChildConnections

◆ myClosedShape

bool GNEPoly::myClosedShape
protected

◆ myColor

RGBColor Shape::myColor
privateinherited

The color of the Shape.

Definition at line 175 of file Shape.h.

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

◆ myCount

int GNEReferenceCounter::myCount
privateinherited

◆ myCurrentMovingVertexIndex

int GNEPoly::myCurrentMovingVertexIndex
protected

index of vertex that is been moved (-1 means that none vertex is been moved)

Definition at line 246 of file GNEPoly.h.

Referenced by commitShapeChange(), and moveVertexShape().

◆ myDemandElementChildren

◆ myDemandElementParents

std::vector<GNEDemandElement*> GNEHierarchicalElementParents::myDemandElementParents
privateinherited

◆ myDisplayList

GLuint GUIPolygon::myDisplayList
mutableprivateinherited

id of the display list for the cached tesselation

Definition at line 124 of file GUIPolygon.h.

Referenced by GUIPolygon::storeTesselation().

◆ myEdgeChildren

std::vector<GNEEdge*> GNEHierarchicalElementChildren::myEdgeChildren
privateinherited

◆ myEdgeParents

std::vector<GNEEdge*> GNEHierarchicalElementParents::myEdgeParents
privateinherited

◆ myFill

bool SUMOPolygon::myFill
protectedinherited

Information whether the polygon has to be filled.

Definition at line 139 of file SUMOPolygon.h.

Referenced by getAttribute(), SUMOPolygon::getFill(), setAttribute(), and SUMOPolygon::setFill().

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 252 of file GUIGlObject.h.

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

◆ myGEO

bool SUMOPolygon::myGEO
protectedinherited

specify if shape is handled as GEO coordinate (Main used in netedit)

Definition at line 136 of file SUMOPolygon.h.

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

◆ myGeoShape

PositionVector GNEPoly::myGeoShape
protected

Latitude of Polygon.

Definition at line 234 of file GNEPoly.h.

Referenced by getAttribute(), and setAttribute().

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 243 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 246 of file GUIGlObject.h.

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

◆ myHintSize

const double GNEPoly::myHintSize = 0.8
staticprivate

hint size of vertex

Definition at line 250 of file GNEPoly.h.

Referenced by commitShapeChange(), drawGL(), and getVertexIndex().

◆ myID

◆ myImgFile

std::string Shape::myImgFile
privateinherited

The img file (include path)

Definition at line 184 of file Shape.h.

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

◆ myLaneChildren

std::vector<GNELane*> GNEHierarchicalElementChildren::myLaneChildren
privateinherited

◆ myLaneParents

std::vector<GNELane*> GNEHierarchicalElementParents::myLaneParents
privateinherited

◆ myLayer

double Shape::myLayer
privateinherited

The layer of the Shape.

Definition at line 178 of file Shape.h.

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

◆ myLineWidth

double SUMOPolygon::myLineWidth
protectedinherited

The line width for drawing an unfilled polygon.

Definition at line 142 of file SUMOPolygon.h.

Referenced by GUIPolygon::drawInnerPolygon(), getAttribute(), SUMOPolygon::getLineWidth(), setAttribute(), and SUMOPolygon::setLineWidth().

◆ myLock

FXMutex GUIPolygon::myLock
mutableprivateinherited

The mutex used to avoid concurrent updates of the shape.

Definition at line 121 of file GUIPolygon.h.

Referenced by GUIPolygon::drawGL(), and GUIPolygon::setShape().

◆ myMap

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 249 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 208 of file GNEShape.h.

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

◆ myNaviDegreeAngle

double Shape::myNaviDegreeAngle
privateinherited

The angle of the Shape.

Definition at line 181 of file Shape.h.

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

◆ myNet

◆ myNetElementShapeEdited

GNENetElement* GNEPoly::myNetElementShapeEdited
protected

junction of which the shape is being edited (optional)

Definition at line 231 of file GNEPoly.h.

Referenced by commitShapeChange(), getParentName(), getPopUpMenu(), getShapeEditedElement(), setAttribute(), and setShapeEditedElement().

◆ 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 66 of file GUIGlObject_AbstractAdd.h.

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

◆ myParamWindows

std::set<GUIParameterTableWindow*> GUIGlObject::myParamWindows
privateinherited

Parameter table windows which refer to this object.

Definition at line 255 of file GUIGlObject.h.

Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().

◆ myParentConnections

ParentConnections GNEHierarchicalElementParents::myParentConnections
protectedinherited

variable ParentConnections

Definition at line 233 of file GNEHierarchicalElementParents.h.

◆ myRelativePath

bool Shape::myRelativePath
privateinherited

Enable or disable save imgFile as relative path.

Definition at line 187 of file Shape.h.

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

◆ mySelected

◆ myShape

◆ myShapeChildren

std::vector<GNEShape*> GNEHierarchicalElementChildren::myShapeChildren
privateinherited

◆ myShapeParents

std::vector<GNEShape*> GNEHierarchicalElementParents::myShapeParents
privateinherited

◆ mySimplifiedShape

bool GNEPoly::mySimplifiedShape
protected

flag to indicate if polygon is simplified

Definition at line 243 of file GNEPoly.h.

Referenced by changeFirstGeometryPoint(), closePolygon(), deleteGeometryPoint(), getPopUpMenu(), openPolygon(), setAttribute(), and simplifyShape().

◆ mySortedDemandElementChildrenByType

std::map<SumoXMLTag, std::set<GNEDemandElement*> > GNEHierarchicalElementChildren::mySortedDemandElementChildrenByType
privateinherited

◆ myTagProperties

◆ myTagProperty

const TagProperties& GNEAttributeCarrier::myTagProperty
protectedinherited

the xml tag to which this attribute carrier corresponds

Definition at line 792 of file GNEAttributeCarrier.h.

Referenced by GNEAttributeCarrier::TagProperties::canAutomaticSortChildren(), GNEAttributeCarrier::TagProperties::canBeReparent(), GNEAttributeCarrier::TagProperties::canBeSortedManually(), GNEAttributeCarrier::TagProperties::canBlockMovement(), GNEAttributeCarrier::TagProperties::canBlockShape(), GNEAttributeCarrier::TagProperties::canCloseShape(), GNEAttributeCarrier::TagProperties::canMaskStartEndPos(), GNEAttributeCarrier::TagProperties::canMaskXYZPositions(), GNEAttributeCarrier::TagProperties::canWriteChildrenSeparate(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNEDetectorEntryExit::drawGL(), GNEDetectorE2::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEAdditional::endGeometryMoving(), GNEVehicleType::getAttribute(), GNEPerson::getAttribute(), GNEVehicle::getAttribute(), GNEPerson::getBegin(), GNEVehicle::getBegin(), GNEStop::getColor(), GNEWalk::getDemandElementProblem(), GNEVehicle::getDemandElementProblem(), GNENetElement::getHierarchyName(), GNERide::getHierarchyName(), GNEPersonTrip::getHierarchyName(), GNEWalk::getHierarchyName(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAttributeCarrier::getIcon(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEDemandElement::getParameterWindow(), GNEVehicle::getParentName(), GNENetElement::getPopUpID(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::TagProperties::hasDialog(), GNEAttributeCarrier::TagProperties::hasGenericParameters(), GNEAttributeCarrier::TagProperties::hasGEOPosition(), GNEAttributeCarrier::TagProperties::hasGEOShape(), GNEAttributeCarrier::TagProperties::hasMinimumNumberOfChildren(), GNEAttributeCarrier::TagProperties::hasParent(), GNEAttributeCarrier::TagProperties::hasTagSynonym(), GNEStop::isDemandElementValid(), GNEWalk::isDemandElementValid(), GNEVehicle::isDemandElementValid(), GNEAttributeCarrier::TagProperties::isDrawable(), GNEAttributeCarrier::TagProperties::isPlacedInRTree(), GNEAttributeCarrier::TagProperties::isSelectable(), GNEPersonTrip::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEVehicleType::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEAdditional::setDefaultValues(), GNEAdditional::startGeometryMoving(), GNEAdditional::writeAdditional(), GNEWalk::writeDemandElement(), GNERoute::writeDemandElement(), GNEPerson::writeDemandElement(), and GNEVehicle::writeDemandElement().

◆ myType

std::string Shape::myType
privateinherited

The type of the Shape.

Definition at line 172 of file Shape.h.

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

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 69 of file GUIGlObject.h.

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


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