![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEPoly.h>
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... | ||||
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... | ||||
virtual std::string | getAttributeForSelection (SumoXMLAttr key) const | |||
method for getting the attribute in the context of object selection 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... | ||||
GNENet * | getNet () 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... | ||||
GNENetElement * | getShapeEditedElement () const | |||
retrieve the junction of which the shape is being edited More... | ||||
const TagProperties & | getTagProperty () const | |||
get Tag Property assigned to this object More... | ||||
const std::string & | getTagStr () const | |||
get tag assigned to this object in string format More... | ||||
int | getVertexIndex (Position pos, bool createIfNoExist, bool snapToGrid) | |||
return index of a vertex of shape, or of a new vertex if position is over an shape's edge More... | ||||
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... | ||||
template<> | ||||
int | parse (const std::string &string) | |||
template<> | ||||
double | parse (const std::string &string) | |||
template<> | ||||
bool | parse (const std::string &string) | |||
template<> | ||||
std::string | parse (const std::string &string) | |||
template<> | ||||
SUMOVehicleClass | parse (const std::string &string) | |||
template<> | ||||
RGBColor | parse (const std::string &string) | |||
template<> | ||||
Position | parse (const std::string &string) | |||
template<> | ||||
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::vector< int > | parse (const std::string &string) | |||
template<> | ||||
std::vector< double > | parse (const std::string &string) | |||
template<> | ||||
std::vector< bool > | parse (const std::string &string) | |||
template<> | ||||
std::vector< GNEEdge * > | parse (GNENet *net, const std::string &value) | |||
template<> | ||||
std::vector< GNELane * > | parse (GNENet *net, const std::string &value) | |||
template<> | ||||
std::string | parseIDs (const std::vector< GNEEdge *> &ACs) | |||
template<> | ||||
std::string | parseIDs (const std::vector< GNELane *> &ACs) | |||
void | setID (const std::string &newID) | |||
resets the id More... | ||||
void | setParameter (const std::string &key, const std::string &value) | |||
Sets a parameter. More... | ||||
virtual void | setShape (const PositionVector &shape) | |||
set a new shape and update the tesselation 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... | ||||
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 (bool updateGrid) | |||
update pre-computed geometry information 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... | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own popup-menu. More... | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own parameter window. More... | ||||
Boundary | getCenteringBoundary () const | |||
Returns the boundary to which the view shall be centered in order to show the object. 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 PositionVector & | getShape () 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 RGBColor & | getShapeColor () 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 | 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
| ||||
const std::string & | getFullName () const | |||
interfaces to be implemented by derived classes | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) More... | ||||
virtual const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. More... | ||||
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
| ||||
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... | ||||
std::string | getPopUpID () const | |||
get PopPup ID (Used in AC Hierarchy) More... | ||||
std::string | getHierarchyName () const | |||
get Hierarchy Name (Used in AC Hierarchy) More... | ||||
Static Public Member Functions | |
static std::vector< SumoXMLTag > | allowedTags (bool onlyDrawables) |
get tags of all editable element types More... | |
static std::vector< SumoXMLTag > | allowedTagsByCategory (int tagPropertyCategory, bool onlyDrawables) |
get tags of all editable element types using TagProperty Type (TAGPROPERTY_NETELEMENT, TAGPROPERTY_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_AbstractAdd * | get (const std::string &name) |
Returns a named object. More... | |
static int | getCircleResolution (const GUIVisualizationSettings &settings) |
function to calculate circle resolution for all circles drawn in drawGL(...) functions More... | |
static int | getHigherNumberOfAttributes () |
return the number of attributes of the tag with the most highter number of attributes More... | |
static std::vector< GUIGlID > | getIDList (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 TagProperties & | getTagProperties (SumoXMLTag tag) |
get Tag Properties More... | |
static bool | isGenericParametersValid (const std::string &value) |
check if given string can be parsed to a map/list of generic parameters More... | |
static bool | lanesConsecutives (const std::vector< GNELane *> &lanes) |
check if lanes are consecutives More... | |
template<typename T > | |
static T | parse (const std::string &string) |
parses a value of type T from string (used for basic types: int, double, bool, etc.) More... | |
template<typename T > | |
static T | parse (GNENet *net, const std::string &value) |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More... | |
template<typename T > | |
static T | parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort) |
Parse attribute from XML and show warnings if there are problems parsing it. More... | |
template<typename T > | |
static std::string | parseIDs (const std::vector< T > &ACs) |
parses a list of specific Attribute Carriers into a string of IDs More... | |
static void | remove (GUIGlObject_AbstractAdd *o) |
Removes an object. More... | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static StringBijection< GUIGlObjectType > | TypeNames |
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... | |
bool | checkDraw (const GUIVisualizationSettings &s) const |
check if Polygon can be drawn More... | |
void | drawInnerPolygon (const GUIVisualizationSettings &s) const |
draw inner Polygon (before pushName() ) More... | |
void | setColor (const GUIVisualizationSettings &s) const |
set color 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... | |
Protected Attributes | |
bool | myBlockMovement |
flag to block movement More... | |
bool | myBlockShape |
flag for block shape 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... | |
GNENet * | myNet |
the net to inform about updates More... | |
GNENetElement * | myNetElementShapeEdited |
junction of which the shape is being edited (optional) 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 TagProperties & | myTagProperty |
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 | |
GNEPoly (const GNEPoly &)=delete | |
Invalidated copy constructor. More... | |
void | mouseOverObject (const GUIVisualizationSettings &s) const |
method for check if mouse is over objects More... | |
GNEPoly & | operator= (const GNEPoly &)=delete |
Invalidated assignment operator. More... | |
void | setAttribute (SumoXMLAttr key, const std::string &value) |
set attribute after validation More... | |
Static Private Attributes | |
static const double | myHintSize = 0.8 |
hint size of vertex More... | |
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.
|
inherited |
struct with the tag Properties
Definition at line 60 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 223 of file GNEAttributeCarrier.h.
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.
[in] | net | net in which this polygon is placed |
[in] | id | The name of the polygon |
[in] | type | The (abstract) type of the polygon |
[in] | shape | The shape of the polygon |
[in] | geo | specifiy if shape was loaded as GEO |
[in] | color | The color of the polygon |
[in] | layer | The layer of the polygon |
[in] | angle | The rotation of the polygon |
[in] | imgFile | The raster image of the polygon |
[in] | relativePath | set image file as relative path |
[in] | fill | Whether the polygon shall be filled |
[in] | lineWidth | Line width when drawing unfilled polygon |
[in] | movementBlocked | if movement of POI is blocked |
[in] | shapeBlocked | if shape of POI is blocked |
Definition at line 47 of file GNEPoly.cpp.
References GeoConvHelper::cartesian2geo(), GeoConvHelper::getFinal(), GUITexturesHelper::getTextureID(), myGeoShape, SUMOPolygon::myShape, and Shape::setShapeImgFile().
GNEPoly::~GNEPoly | ( | ) |
Destructor.
Definition at line 68 of file GNEPoly.cpp.
|
privatedelete |
Invalidated copy constructor.
|
inherited |
Definition at line 263 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
inlineinherited |
Adds this object to the given container.
Definition at line 123 of file Named.h.
References Named::StoringVisitor::add().
|
staticinherited |
get tags of all editable element types
Definition at line 1056 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myTagProperties.
|
staticinherited |
get tags of all editable element types using TagProperty Type (TAGPROPERTY_NETELEMENT, TAGPROPERTY_ADDITIONAL, etc.)
Definition at line 1073 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myTagProperties, GNEAttributeCarrier::TAGPROPERTY_ADDITIONAL, GNEAttributeCarrier::TAGPROPERTY_NETELEMENT, GNEAttributeCarrier::TAGPROPERTY_SHAPE, and GNEAttributeCarrier::TAGPROPERTY_TAZ.
Referenced by GNENet::computeEverything(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNENet::GNENet(), GNEFrame::ItemSelector::ItemSelector(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), and GNEAdditionalFrame::SelectorAdditionalParent::showSelectorAdditionalParentModul().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 301 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
Definition at line 192 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
Definition at line 201 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
Definition at line 183 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
Definition at line 242 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(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
Definition at line 211 of file GUIGlObject.cpp.
References GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, ICON_FLAG_MINUS, ICON_FLAG_PLUS, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 278 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GUIPointOfInterest::getPopUpMenu(), and GNEPOI::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
Definition at line 254 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
Definition at line 224 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
Definition at line 233 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIPerson::getPopUpMenu(), and GUIBaseVehicle::getPopUpMenu().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 547 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::parse().
Referenced by GNECalibratorRoute::isValid(), GNECrossing::isValid(), GNEDetectorE2::isValid(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildRerouter(), and GNEAdditionalHandler::parseAndBuildVariableSpeedSign().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 566 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::lanesConsecutives(), GNEAttributeCarrier::parse(), GNEAttributeCarrier::parseIDs(), and WRITE_WARNING.
void GNEPoly::changeFirstGeometryPoint | ( | int | oldIndex, |
bool | allowUndo = true |
||
) |
change first geometry point
Definition at line 495 of file GNEPoly.cpp.
References GNEViewNet::getUndoList(), GNENet::getViewNet(), myClosedShape, GNEShape::myNet, SUMOPolygon::myShape, mySimplifiedShape, GNEUndoList::p_begin(), GNEUndoList::p_end(), setAttribute(), SUMO_ATTR_SHAPE, toString(), updateGeometry(), and WRITE_WARNING.
Referenced by GNEViewNet::onCmdSetFirstGeometryPoint().
|
protectedinherited |
check if Polygon can be drawn
Definition at line 236 of file GUIPolygon.cpp.
References PositionVector::getBoxBoundary(), GUIVisualizationSizeSettings::getExaggeration(), SUMOPolygon::getFill(), Boundary::getHeight(), Boundary::getWidth(), MAX2(), GUIVisualizationSizeSettings::minSize, SUMOPolygon::myShape, GUIVisualizationSettings::polySize, and GUIVisualizationSettings::scale.
Referenced by GUIPolygon::drawGL(), and drawGL().
|
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().
|
inherited |
Clears the parameter map.
Definition at line 99 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::beginEdgeParsing(), GNECrossing::setGenericParametersStr(), GNEConnection::setGenericParametersStr(), setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), and GNEAdditional::setGenericParametersStr().
void GNEPoly::closePolygon | ( | bool | allowUndo = true | ) |
close polygon
Definition at line 473 of file GNEPoly.cpp.
References PositionVector::closePolygon(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_ATTR_CLOSE_SHAPE, myClosedShape, GNEShape::myNet, SUMOPolygon::myShape, mySimplifiedShape, GNEUndoList::p_begin(), GNEUndoList::p_end(), setAttribute(), updateGeometry(), and WRITE_WARNING.
Referenced by isValid(), and GNEViewNet::onCmdClosePolygon().
void GNEPoly::commitShapeChange | ( | const PositionVector & | oldShape, |
GNEUndoList * | undoList | ||
) |
commit geometry changes in the attributes of an element after use of changeShapeGeometry(...)
[in] | oldShape | the old shape of polygon |
[in] | undoList | The undoList on which to register changes |
Definition at line 146 of file GNEPoly.cpp.
References GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::GNEChange_Attribute, GNEShape::myBlockMovement, myCurrentMovingVertexIndex, myHintSize, myNetElementShapeEdited, SUMOPolygon::myShape, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), PositionVector::removeDoublePoints(), setAttribute(), SUMO_ATTR_SHAPE, toString(), and WRITE_WARNING.
Referenced by GNEViewNet::onLeftBtnRelease().
|
inlineinherited |
Decrease reference.
Definition at line 53 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), GNENet::~GNENet(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
void GNEPoly::deleteGeometryPoint | ( | const Position & | pos, |
bool | allowUndo = true |
||
) |
delete the geometry point closest to the given pos
Definition at line 386 of file GNEPoly.cpp.
References GNENet::addGLObjectIntoGrid(), GNEViewNet::getUndoList(), GNENet::getViewNet(), PositionVector::indexOfClosest(), myClosedShape, GNEShape::myNet, SUMOPolygon::myShape, mySimplifiedShape, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::removeGLObjectFromGrid(), setAttribute(), SUMO_ATTR_SHAPE, toString(), and WRITE_WARNING.
Referenced by GNEViewNet::MoveSingleElementValues::calculatePolyValues(), GNEViewNet::onCmdDeleteGeometryPoint(), and GNEDeleteFrame::removeAttributeCarrier().
|
inherited |
draw lock icon
Definition at line 61 of file GNEShape.cpp.
References GUITexturesHelper::drawTexturedBox(), GUITextureSubSys::getTexture(), GNENet::getViewNet(), GNETEXTURE_EMPTY, GNETEXTURE_EMPTYSELECTED, GNETEXTURE_LOCK, GNETEXTURE_LOCKSELECTED, GNEShape::myBlockMovement, GNEShape::myNet, GNEAttributeCarrier::mySelected, GNEViewNet::showLockIcon(), Position::x(), and Position::y().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GNEShape.
Definition at line 269 of file GNEPoly.cpp.
References RGBColor::BLUE, RGBColor::changedBrightness(), GUIPolygon::checkDraw(), PositionVector::distance2D(), Position::distanceSquaredTo2D(), GLHelper::drawBoxLines(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForSelecting, GUIPolygon::drawInnerPolygon(), GLHelper::drawShapeDottedContour(), GLHelper::drawText(), GNEViewNet::editingElevation(), GNEAttributeCarrier::getCircleResolution(), GLHelper::getColor(), GNEViewNet::getCurrentEditMode(), GNEViewNet::getDottedAC(), GUIVisualizationSizeSettings::getExaggeration(), getGlID(), GUISUMOAbstractView::getPositionInformation(), SUMOPolygon::getShape(), GUIGlObject::getType(), GNENet::getViewNet(), GLO_POLYGON, GNE_MODE_MOVE, RGBColor::invertedColor(), GNEShape::isAttributeCarrierSelected(), MIN2(), GNEShape::myBlockMovement, myBlockShape, myClosedShape, myHintSize, GNEShape::myNet, SUMOPolygon::myShape, GUIVisualizationSettings::polySize, GUIVisualizationSettings::scale, GUIVisualizationSettings::selectionColor, GLHelper::setColor(), toString(), Position::x(), and Position::y().
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIPerson, and GUIContainer.
Definition at line 162 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
protectedinherited |
draw inner Polygon (before pushName() )
Definition at line 258 of file GUIPolygon.cpp.
References GUIVisualizationSettings::angle, GLHelper::debugVertices(), GUIGlObject::drawName(), GLHelper::drawTextSettings(), GUIVisualizationSizeSettings::getExaggeration(), SUMOPolygon::getFill(), PositionVector::getPolygonCenter(), Shape::getShapeImgFile(), Shape::getShapeLayer(), Shape::getShapeNaviDegree(), Shape::getShapeType(), GUITexturesHelper::getTextureID(), SUMOPolygon::myLineWidth, SUMOPolygon::myShape, GUIPolygon::performTesselation(), GUIVisualizationSettings::polyName, GUIVisualizationSettings::polySize, GUIVisualizationSettings::polyType, GUIVisualizationSettings::scale, GUIPolygon::setColor(), GUIVisualizationTextSettings::show, GUIVisualizationTextSettings::size, xPlane, and yPlane.
Referenced by GUIPolygon::drawGL(), and drawGL().
|
inherited |
draw name of item
Definition at line 330 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNETAZ::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEEdge::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), and GUIBaseVehicle::drawOnPos().
|
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 79 of file GNEPoly.cpp.
References GNENet::addGLObjectIntoGrid(), Boundary::isInitialised(), GNEShape::myMovingGeometryBoundary, GNEShape::myNet, GNENet::removeGLObjectFromGrid(), Boundary::reset(), and updateGeometry().
|
staticinherited |
Returns a named object.
Definition at line 66 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjects.
|
virtual |
Implements GNEShape.
Definition at line 575 of file GNEPoly.cpp.
References Shape::DEFAULT_LAYER, getGenericParametersStr(), Shape::getShapeColor(), Shape::getShapeImgFile(), Shape::getShapeLayer(), Shape::getShapeNaviDegree(), Shape::getShapeRelativePath(), Shape::getShapeType(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, gPrecisionGeo, GNEShape::isAttributeCarrierSelected(), GNEShape::myBlockMovement, myBlockShape, myClosedShape, SUMOPolygon::myFill, SUMOPolygon::myGEO, myGeoShape, Named::myID, SUMOPolygon::myLineWidth, SUMOPolygon::myShape, SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_GEO, SUMO_ATTR_GEOSHAPE, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, and toString().
Referenced by setAttribute().
|
virtualinherited |
method for getting the attribute in the context of object selection
Reimplemented in GNEEdge, and GNELane.
Definition at line 995 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GNEShape.
Definition at line 258 of file GNEPoly.cpp.
References GUIPolygon::getCenteringBoundary(), Boundary::isInitialised(), and GNEShape::myMovingGeometryBoundary.
Referenced by startGeometryMoving().
|
staticinherited |
function to calculate circle resolution for all circles drawn in drawGL(...) functions
Definition at line 1165 of file GNEAttributeCarrier.cpp.
References GUIVisualizationSettings::drawForSelecting, and GUIVisualizationSettings::scale.
Referenced by GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEJunction::drawGL(), GNETAZ::drawGL(), GNELane::drawGL(), drawGL(), GNEEdge::drawGL(), and GNEAttributeCarrier::parseAttributeFromXML().
|
inlinevirtualinherited |
Reimplemented in GUILane, GNELane, and GUIEdge.
Definition at line 145 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::showToolTipFor().
|
inherited |
Returns the value for a given key converted to a double.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 81 of file Parameterised.cpp.
References Parameterised::myMap, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by MSDevice_Battery::buildVehicleDevices(), MSSOTLPolicy5DStimulus::getStimCox(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionIn(), MSSOTLPolicy5DStimulus::getStimCoxExpDispersionOut(), MSSOTLPolicy5DStimulus::getStimCoxExpIn(), MSSOTLPolicy5DStimulus::getStimCoxExpOut(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionIn(), MSSOTLPolicy5DStimulus::getStimDivisorDispersionOut(), MSSOTLPolicy5DStimulus::getStimDivisorIn(), MSSOTLPolicy5DStimulus::getStimDivisorOut(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionIn(), MSSOTLPolicy5DStimulus::getStimOffsetDispersionOut(), MSSOTLPolicy5DStimulus::getStimOffsetIn(), MSSOTLPolicy5DStimulus::getStimOffsetOut(), and MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus().
|
inlineinherited |
Returns whether the polygon is filled.
Definition at line 89 of file SUMOPolygon.h.
References SUMOPolygon::myFill.
Referenced by GUIPolygon::checkDraw(), GUIPolygon::drawInnerPolygon(), libsumo::Polygon::getFilled(), GUIPolygon::performTesselation(), and SUMOPolygon::writeXML().
|
inherited |
Definition at line 117 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUILaneSpeedTrigger::openManipulator(), GUICalibrator::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
virtual |
return generic parameters as vector of pairs format
Implements GNEShape.
Definition at line 737 of file GNEPoly.cpp.
References Parameterised::getParametersMap().
|
virtual |
return generic parameters in string format
Implements GNEShape.
Definition at line 722 of file GNEPoly.cpp.
References Parameterised::getParametersMap().
Referenced by getAttribute().
|
virtual |
Returns the numerical id of the object.
Implements GNEShape.
Definition at line 196 of file GNEPoly.cpp.
References GUIGlObject::getGlID().
Referenced by drawGL().
|
virtualinherited |
get Hierarchy Name (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 140 of file GNEShape.cpp.
References GNEAttributeCarrier::getTagStr().
|
staticinherited |
return the number of attributes of the tag with the most highter number of attributes
Definition at line 1120 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), MAX2(), and GNEAttributeCarrier::myTagProperties.
Referenced by GNEFrame::ACAttributes::ACAttributes(), and GNEInspectorFrame::AttributesEditor::AttributesEditor().
|
inherited |
get FXIcon associated to this AC
Definition at line 1019 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::TagProperties::getGUIIcon(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::myTagProperties, and GNEAttributeCarrier::myTagProperty.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), GNEFrame::ACHierarchy::createPopUpMenu(), GNEAdditional::getPopUpMenu(), and GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
inlineinherited |
Returns the id.
Definition at line 78 of file Named.h.
Referenced by NIImporter_SUMO::_loadNetwork(), MSLCM_LC2013::adaptSpeedToPedestrians(), MSVehicle::adaptToLeader(), MSVehicle::adaptToLeaders(), MSPModel_Remote::add(), LaneStoringVisitor::add(), MSPModel_Striping::add(), MSVehicleTransfer::add(), PCPolyContainer::add(), MSDetectorControl::add(), Named::StoringVisitor::add(), ShapeContainer::add(), NLTriggerBuilder::addAccess(), RORouteDef::addAlternative(), MSLane::addApproachingLane(), NBRailwayTopologyAnalyzer::addBidiEdge(), NBRailwayTopologyAnalyzer::addBidiEdgesForStops(), NBLoadedSUMOTLDef::addConnection(), NLHandler::addConnection(), NIXMLConnectionsHandler::addCrossing(), MSPModel_Striping::addCrossingVehs(), RODFDetectorCon::addDetector(), RONet::addEdge(), NBParkingCont::addEdges2Keep(), ROJTREdge::addFollowerProbability(), MSTLLogicControl::TLSLogicVariants::addLogic(), MSLane::addNeigh(), RONet::addNode(), NIImporter_SUMO::addPhase(), GUIEdge::addRerouter(), NBEdge::addRestrictedLane(), RONet::addRouteDef(), NBDistrict::addSink(), NBDistrict::addSource(), NIXMLEdgesHandler::addSplit(), NBTrafficLightLogic::addStep(), ROVehicle::addStop(), MSRouteHandler::addStop(), MSVehicle::addStop(), MSNet::addStoppingPlace(), NBEdge::addStraightConnections(), NIXMLTrafficLightsHandler::addTlConnection(), NIVissimDisturbance::addToNode(), MSVehicle::addTraciStop(), MSVehicle::addTraciStopAtStoppingPlace(), AGActivityTripWriter::addTrip(), NIXMLConnectionsHandler::addWalkingArea(), NBRailwayTopologyAnalyzer::allBroken(), NBEdge::append(), NBEdgeCont::appendRailwayTurnarounds(), libsumo::Helper::applySubscriptionFilters(), NBPTStopCont::assignAndCreatNewPTStopAsNeeded(), NBPTStopCont::assignPTStopToEdgeOfClosestPlatform(), 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(), NLDetectorBuilder::buildE2Detector(), NIVissimConnection::buildEdgeConnections(), RODFNet::buildEdgeFlowMap(), GNETLSEditorFrame::buildIinternalLanes(), NBEdge::buildInnerEdges(), NGEdge::buildNBEdge(), NIVissimEdge::buildNBEdge(), NBRampsComputer::buildOffRamp(), NBRampsComputer::buildOnRamp(), MELoop::buildSegmentsFor(), MSSOTLE2Sensors::buildSensorForLane(), MSSOTLE2Sensors::buildSensorForOutLane(), NBNode::buildWalkingAreas(), MSBaseVehicle::calculateArrivalParams(), MSSwarmTrafficLightLogic::calculateEtaDiff(), MSSwarmTrafficLightLogic::calculateEtaRatio(), MSSOTLPolicyBasedTrafficLightLogic::canRelease(), MSLaneChanger::changeOpposite(), MELoop::changeSegment(), MSSimpleTrafficLightLogic::changeStepAndDuration(), MSEdge::checkAndRegisterBiDirEdge(), MSLane::checkForPedestrians(), NBEdge::checkGeometry(), NBEdgeCont::checkGrade(), MSVehicleTransfer::checkInsertions(), MSVehicle::checkLinkLeader(), NBEdgeCont::checkOverlap(), MSDevice_Battery::checkParam(), MSE2Collector::checkPositioning(), MSVehicle::checkRewindLinkLanes(), MSSwarmTrafficLightLogic::choosePolicy(), MSDevice_SSM::classifyEncounter(), NBTrafficLightLogic::closeBuilding(), ODDistrictHandler::closeDistrict(), NLHandler::closeEdge(), RORouteHandler::closeRouteDistribution(), RORouteHandler::closeVehicle(), NBTrafficLightDefinition::collectAllLinks(), NBLoadedSUMOTLDef::collectEdges(), NBTrafficLightDefinition::collectEdges(), NBLoadedSUMOTLDef::collectEdgeVectors(), NBLoadedTLDef::collectLinks(), ROJTRRouter::compute(), NBTrafficLightDefinition::compute(), NBEdge::computeAngle(), NBEdge::computeLaneShapes(), NBNode::computeLogic(), NBOwnTLDef::computeLogicAndConts(), NBNode::computeNodeShape(), NBNodeShapeComputer::computeNodeShapeDefault(), NBNodeShapeComputer::computeNodeShapeSmall(), RODFNet::computeRoutesFor(), NBTrafficLightLogicCont::computeSingleLogic(), NBNode::computeSmoothShape(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NGNet::connect(), MSSOTLWaveTrafficLightLogic::countVehicles(), MSSOTLE2Sensors::countVehicles(), MSDevice_SSM::createEncounters(), GUINet::createTLWrapper(), NBEdge::debugPrintConnections(), MSDeterministicHiLevelTrafficLightLogic::decideNextPhase(), MSSOTLPolicyBasedTrafficLightLogic::decideNextPhase(), MSSwarmTrafficLightLogic::decideNextPhase(), MSDeterministicHiLevelTrafficLightLogic::decidePolicy(), MSSwarmTrafficLightLogic::decidePolicy(), MSLane::detectCollisionBetween(), MSLane::detectCollisions(), MSLane::detectPedestrianJunctionCollision(), NIVissimDistrictConnection::dict_BuildDistricts(), NBEdge::divideOnEdges(), NBEdge::divideSelectedLanesOnEdges(), MSTransportable::Stage_Waiting::endEventOutput(), MSTransportable::Stage_Driving::endEventOutput(), MSE3Collector::enter(), MSVehicle::enterLaneAtMove(), METriggeredCalibrator::execute(), MSCalibrator::execute(), Command_SaveTLSState::execute(), Command_SaveTLSSwitchStates::execute(), Command_SaveTLSSwitches::execute(), MSVTypeProbe::execute(), MSPModel_Striping::MovePedestrians::execute(), MSTrafficLightLogic::SwitchCommand::execute(), MSVehicle::executeMove(), MSLane::executeMovements(), NBRailwayTopologyAnalyzer::extendBidiEdges(), NBNodeCont::extract(), NBTrafficLightLogicCont::extract(), NBEdgeCont::extract(), NBNodeCont::feasibleCluster(), libsumo::Helper::findCloserLane(), MSDevice_SSM::findFoeConflictLane(), libsumo::Simulation::findIntermodalRoute(), MSDevice_SSM::findSurroundingVehicles(), MSDevice_SSM::flushConflicts(), NBTrafficLightDefinition::forbids(), NBRampsComputer::fulfillsRampConstraints(), NBPTStopCont::generateBidiStops(), NBNodeCont::generateNodeClusters(), RODFDetectorCon::getAggFlowFor(), RODFDetectorCon::getAnyDetectorForEdge(), MSPModel_Striping::getArbitraryPath(), GNEConnection::getAttribute(), MSVehicle::getBackPosition(), MSVehicle::getBackPositionOnLane(), libsumo::Vehicle::getBestLanes(), NBOwnTLDef::getBestPair(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), MSVehicle::getCenterOnEdge(), MSDevice_Battery::getChargingStationID(), GUILane::getColorValue(), NBEdge::getConnection(), NBEdge::getConnectionRef(), libsumo::TrafficLight::getControlledLinks(), MSLane::getCriticalLeader(), NBEdge::getCrossingAngle(), NBNodeShapeComputer::getDefaultRadius(), NBTrafficLightDefinition::getDescription(), RODFNet::getDetectorEdge(), libsumo::Lane::getEdgeID(), MSMeanData::getEdgeID(), NBEdge::getFirstNonPedestrianLane(), MSPModel_Remote::getFirstPedestrianLane(), MSLane::getFollower(), MSLane::getFollowersOnConsecutive(), 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(), MSTLLogicControl::TLSLogicVariants::getLogicInstantiatingOff(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForInputLanes(), MSDeterministicHiLevelTrafficLightLogic::getMeanSpeedForOutputLanes(), NIImporter_VISUM::getNamedEdgeContinuating(), MSPerson::getNextEdge(), MSPModel_Striping::getNextLane(), MSLane::getOppositeFollower(), MSLane::getOppositeLeader(), MSLane::getOppositePos(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIInstantInductLoop::MyWrapper::getParameterWindow(), GUIMEInductLoop::MyWrapper::getParameterWindow(), GUIVehicle::getParameterWindow(), GUIE2Collector::MyWrapper::getParameterWindow(), GUIInductLoop::MyWrapper::getParameterWindow(), GUILane::getParameterWindow(), MSLane::getPartialBehind(), MSSOTLTrafficLightLogic::getPhaseIndexWithMaxCTS(), MSSwarmTrafficLightLogic::getPheromoneForInputLanes(), MSSwarmTrafficLightLogic::getPheromoneForOutputLanes(), GUITrafficLightLogicWrapper::getPopUpMenu(), NLTriggerBuilder::getPosition(), NLDetectorBuilder::getPositionChecking(), NBNode::getPossiblySplittedIncoming(), NBNode::getPossiblySplittedOutgoing(), NIImporter_VISUM::getReversedContinuating(), NBPTStopCont::getReverseStop(), libsumo::Person::getRoadID(), libsumo::Vehicle::getRoadID(), libsumo::Vehicle::getRouteID(), MSContainer::MSContainerStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Walking::getStageSummary(), MSContainer::MSContainerStage_Tranship::getStageSummary(), MSTransportable::Stage_Trip::getStageSummary(), MSPerson::MSPersonStage_Driving::getStageSummary(), MSPerson::MSPersonStage_Access::getStageSummary(), MSTransportable::Stage_Waiting::getStageSummary(), MSNet::getStoppingPlaceID(), MSLane::getSurroundingVehicles(), MSLane::getUpcomingLinks(), MSDevice_SSM::getUpstreamVehicles(), MSPModel_Striping::getVehicleObstacles(), MSDevice_SSM::getVehiclesOnJunction(), MSTransportable::Stage_Driving::getWaitingDescription(), MSVehicleControl::getWaitingVehicle(), MSLink::getZipperSpeed(), NBNode::guessCrossings(), RODFDetectorCon::guessEmptyFlows(), NBEdgeCont::guessSidewalks(), NBNodeCont::guessTLs(), GUITLLogicPhasesTrackerWindow::GUITLLogicPhasesTrackerWindow(), MSLane::handleCollisionBetween(), NBEdgeCont::ignoreFilterMatch(), MSVehicle::ignoreRed(), MSDeterministicHiLevelTrafficLightLogic::init(), MSRailSignal::init(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), NBEdge::init(), MSE2Collector::initAuxiliaries(), NIImporter_SUMO::initTrafficLightLogic(), NIXMLTrafficLightsHandler::initTrafficLightLogic(), NBDistrictCont::insert(), NBTrafficLightLogicCont::insert(), NBNodeCont::insert(), NBEdgeCont::insert(), MSEdge::insertVehicle(), MSLane::integrateNewVehicle(), 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(), NIImporter_ArcView::load(), MSPedestrianPushButton::loadCrossingEdgeMap(), NIImporter_OpenDrive::loadNetwork(), MSPedestrianPushButton::loadPushButtons(), NBEdge::MainDirections::MainDirections(), ODDistrictCont::makeDistricts(), MSE2Collector::makeVehicleInfo(), GNEJunction::markAsModified(), MSSOTLE2Sensors::meanVehiclesSpeed(), METriggeredCalibrator::METriggeredCalibrator(), MSPModel_Striping::moveInDirection(), MSPModel_Striping::moveInDirectionOnLane(), NBRampsComputer::moveRampRight(), 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(), NIXMLConnectionsHandler::myStartElement(), NIXMLEdgesHandler::myStartElement(), MSCalibrator::myStartElement(), MSLaneSpeedTrigger::myStartElement(), MSTriggeredRerouter::myStartElement(), NBConnection::NBConnection(), NBRequest::NBRequest(), 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(), MSDevice_Tripinfo::notifyEnter(), MSTriggeredRerouter::notifyEnter(), MSE3Collector::MSE3LeaveReminder::notifyEnter(), MSMeanData::MeanDataValueTracker::notifyEnter(), MSE2Collector::notifyEnter(), MSDevice_SSM::notifyEnter(), MSDevice_Transportable::notifyLeave(), MSDevice_Bluelight::notifyLeave(), MSDevice_Example::notifyLeave(), MSE3Collector::MSE3EntryReminder::notifyLeave(), MSDevice_BTsender::notifyLeave(), MSDevice_BTreceiver::notifyLeave(), MSDevice_Tripinfo::notifyLeave(), MSE3Collector::MSE3LeaveReminder::notifyLeave(), MSE2Collector::notifyLeave(), MSDevice_SSM::notifyLeave(), MSDevice_Bluelight::notifyMove(), MSDevice_Example::notifyMove(), MSE3Collector::MSE3EntryReminder::notifyMove(), MSDevice_BTsender::notifyMove(), MSMeanData::MeanDataValues::notifyMove(), MSDevice_BTreceiver::notifyMove(), MSE3Collector::MSE3LeaveReminder::notifyMove(), MSE2Collector::notifyMove(), MSDevice_SSM::notifyMove(), MSMeanData_Net::MSLaneMeanDataValues::notifyMoveInternal(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNETLSEditorFrame::TLSFile::onCmdSaveTLSProgram(), GUIViewTraffic::onGamingClick(), GNEViewNet::onLeftBtnPress(), MSLink::opened(), RORouteHandler::openRoute(), NBTurningDirectionsComputer::combination_by_angle_sorter::operator()(), RODFNet::idComp::operator()(), NBNetBuilder::by_id_sorter::operator()(), NBOwnTLDef::edge_by_incoming_priority_sorter::operator()(), NBContHelper::same_connection_edge_sorter::operator()(), NBContHelper::edge_by_angle_to_nodeShapeCentroid_sorter::operator()(), NBNode::nodes_by_id_sorter::operator()(), MSLane::incoming_lane_priority_sorter::operator()(), MSLane::outgoing_lane_priority_sorter::operator()(), NBRequest::oppositeLeftTurnConflict(), NIImporter_VISUM::parse_EdgePolys(), NIImporter_VISUM::parse_Lanes(), NIImporter_VISUM::parse_LanesConnections(), NIImporter_VISUM::parse_Turns(), NIImporter_VISUM::parse_TurnsToSignalGroups(), NLTriggerBuilder::parseAndBuildCalibrator(), NIXMLConnectionsHandler::parseDeprecatedLaneDefinition(), NIXMLConnectionsHandler::parseLaneBound(), MSRouteHandler::parseWalkPositions(), NBLoadedSUMOTLDef::patchIfCrossingsAdded(), MSLCM_LC2013::patchSpeed(), MSLCM_SL2015::patchSpeed(), NBLoadedTLDef::SignalGroup::patchTYellow(), MSVehicle::planMove(), MSVehicle::planMoveInternal(), MSLane::planMovements(), MSInternalJunction::postloadInit(), MSRightOfWayJunction::postloadInit(), NBEdge::prepareEdgePriorities(), AGStreet::print(), MSDevice_SSM::processEncounters(), MSVehicle::processLaneAdvances(), MSVehicle::processLinkAproaches(), MSVehicle::processNextStop(), TraCIServerAPI_Vehicle::processSet(), NBEdgeCont::processSplits(), MEVehicle::processStop(), NIXMLNodesHandler::processTrafficLightDefinitions(), NWWriter_SUMO::prohibitionConnection(), MSDelayBasedTrafficLightLogic::proposeProlongation(), NBNodeCont::pruneClusterFringe(), MSPModel_Striping::PState::PState(), MSOffTrafficLightLogic::rebuildPhase(), NBEdgeCont::recheckLanes(), NBEdge::recheckLanes(), NBEdgeCont::recheckPostProcessConnections(), NIImporter_OpenStreetMap::reconstructLayerElevation(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::remapIDs(), NBLoadedTLDef::SignalGroup::remapIncoming(), NBLoadedTLDef::SignalGroup::remapOutgoing(), MSLink::removeApproaching(), GNEJunction::removeConnectionsFrom(), NBNodeCont::removeIsolatedRoads(), MSVehicle::removePassedDriveItems(), MSCalibrator::removePending(), NBNode::removeSelfLoops(), GNEJunction::removeTLSConnections(), NBEdgeCont::removeUnwishedEdges(), NBNodeCont::rename(), NBEdgeCont::rename(), GNENet::renameEdge(), GNENet::renameJunction(), RORouteDef::repairCurrentRoute(), NBConnection::replaceFrom(), GNEJunction::replaceIncomingConnections(), MSVehicle::replaceParkingArea(), MSBaseVehicle::replaceRouteEdges(), NBConnection::replaceTo(), NIImporter_DlrNavteq::TrafficlightsHandler::report(), NIImporter_DlrNavteq::ConnectedLanesHandler::report(), NLEdgeControlBuilder::reportCurrentEdgeOrLane(), MSBaseVehicle::reroute(), MSTriggeredRerouter::rerouteParkingArea(), MSVehicle::rerouteParkingArea(), MSLane::resetManeuverReservation(), MSLane::resetPartialOccupation(), NBEdge::restoreRestrictedLane(), GNEEdge::retrieveGNEConnection(), NIXMLTrafficLightsHandler::retrieveLaneIndex(), RODFNet::revalidateFlows(), NBRailwayTopologyAnalyzer::reverseEdges(), NBPTLineCont::reviseStops(), MSPerson::MSPersonStage_Walking::routeOutput(), MSPerson::MSPersonStage_Driving::routeOutput(), RONet::saveAndRemoveRoutesUntil(), MSPersonDevice_Routing::saveState(), MSDevice_Routing::saveState(), MSDevice_Vehroutes::saveState(), MSDevice::saveState(), MSDevice_Tripinfo::saveState(), MSBaseVehicle::saveState(), MSLane::saveState(), GUIVehicle::selectBlockingFoes(), MSE2Collector::selectLanes(), MSLink::setApproaching(), MSTransportable::Stage_Trip::setArrived(), NBNodeCont::setAsTLControlled(), GNEEdge::setAttribute(), NBRequest::setBlocking(), MSChargingStation::setChargeDelay(), MSChargingStation::setChargingPower(), NBEdge::setControllingTLInformation(), NLEdgeControlBuilder::setDefaultStopOffsets(), MSChargingStation::setEfficency(), MSLane::setManeuverReservation(), MSDevice_Battery::setMaximumBatteryCapacity(), NBEdge::setNodeBorder(), NIXMLEdgesHandler::setNodes(), MSLane::setPartialOccupation(), MSDevice_Battery::setPowerMax(), MSLink::setRequestInformation(), MSTLLogicControl::TLSLogicVariants::setStateInstantiatingOnline(), NBEdge::setStopOffsets(), MSDevice_Battery::setStoppingTreshold(), NBLoadedSUMOTLDef::setTLControllingInformation(), NBOwnTLDef::setTLControllingInformation(), NBTrafficLightLogicCont::setTLControllingInformation(), NBLoadedTLDef::setTLControllingInformation(), NBEdge::shiftPositionAtNode(), NBNode::sortEdges(), MSLane::sortManeuverReservations(), NBEdgeCont::splitAt(), IntermodalNetwork< E, L, N, V >::splitEdge(), MSLaneChangerSublane::startChangeSublane(), MSStopOut::stopEnded(), MSStopOut::stopStarted(), MSLane::succLinkSec(), GUITrafficLightLogicWrapper::switchTLSLogic(), MELoop::teleportVehicle(), NGNet::toNB(), METriggeredCalibrator::tryEmit(), MSSOTLTrafficLightLogic::trySwitch(), MSDevice_SSM::update(), 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(), MSPModel_Striping::PState::walk(), MSLCM_LC2013::wantsChange(), MSLCM_SL2015::wantsChange(), MSLCM_SL2015::wantsChangeSublane(), NBParking::write(), MSEmissionExport::write(), MSBatteryExport::write(), MSFCDExport::write(), MSInstantInductLoop::write(), MSLink::writeApproaching(), NBSign::writeAsPOI(), NWWriter_DlrNavteq::writeConnectedLanes(), NWWriter_SUMO::writeConnection(), NWWriter_SUMO::writeDistrict(), MSFullExport::writeEdge(), MSXMLRawOut::writeEdge(), NWWriter_SUMO::writeEdge(), MSMeanData::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), RODFDetector::writeEmitterDefinition(), RODFDetectorCon::writeEmitterPOIs(), RODFDetectorCon::writeEmitters(), RODFDetectorCon::writeEndRerouterDetectors(), NWWriter_SUMO::writeInternalConnections(), NWWriter_OpenDrive::writeInternalEdge(), writeInterval(), NWWriter_SUMO::writeJunction(), MSQueueExport::writeLane(), MSFullExport::writeLane(), NWWriter_DlrNavteq::writeLinksUnsplitted(), NWWriter_OpenDrive::writeNetwork(), NWWriter_XML::writeNodes(), NWWriter_DlrNavteq::writeNodesUnsplitted(), NWWriter_OpenDrive::writeNormalEdge(), NWWriter_DlrNavteq::writeProhibitedManoeuvres(), 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().
|
virtualinherited |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 1029 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.
Referenced by GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNELane::addShapeChild(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEConnectorFrame::buildConnection(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNENet::changeShapeID(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::generateAdditionalChildID(), GNEAdditionalFrame::generateID(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEParkingArea::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNERerouterInterval::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GNELane::getColorValue(), GNEClosingReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEAccess::getHierarchyName(), GNETAZSink::getParentName(), GNETAZSource::getParentName(), GNEClosingReroute::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNERerouterInterval::getParentName(), GNECalibratorFlow::getParentName(), GNEAccess::getParentName(), GNEDetectorE3::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEDetector::getPopUpID(), GNEShape::getPopUpID(), GNENetElement::getPopUpID(), GNEAdditionalHandler::getPosition(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), GNEAdditional::isRouteValid(), GNEAccess::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::CrossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEPolygonFrame::processClick(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeOfAdditionalParents(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNELane::removeLaneOfAdditionalParents(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNETAZFrame::TAZCurrent::setTAZ(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), GNEAdditional::writeAdditional(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEJunction::~GNEJunction().
|
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().
|
inlinestaticinherited |
get an identifier for Named-like object which may be Null
Definition at line 71 of file Named.h.
Referenced by MSLCM_LC2013::_wantsChange(), MSLCM_SL2015::_wantsChangeSublane(), MSLaneChanger::changeOpposite(), MSVehicle::checkRewindLinkLanes(), MSLaneChanger::continueChange(), MSLane::detectCollisions(), MSVehicle::getBackPositionOnLane(), NBOwnTLDef::getBestPair(), MSVehicle::getCenterOnEdge(), MSLaneChanger::getColumnleader(), NBEdge::Connection::getDescription(), MSLane::getFollowersOnConsecutive(), MSVehicle::getLatOffset(), MSLane::getLeaderOnConsecutive(), GUIVehicle::getParameterWindow(), MSLaneChanger::getRealLeader(), NBEdge::init(), MSLane::isInsertionSuccess(), MESegment::isOpen(), joinNamedToString(), joinNamedToStringSorting(), MSPModel_Striping::PState::moveToNextLane(), libsumo::Person::moveToXY(), libsumo::Vehicle::moveToXY(), libsumo::Helper::moveToXYMap(), operator<<(), NBEdge::recheckLanes(), MSTriggeredRerouter::rerouteParkingArea(), MSLCM_SL2015::saveBlockerLength(), MSLCM_LC2013::saveBlockerLength(), MSLCM_LC2013::slowDownForBlocked(), MSLCM_SL2015::slowDownForBlocked(), MSLaneChangerSublane::startChangeSublane(), toString(), MSLeaderInfo::toString(), MSLeaderDistanceInfo::toString(), MSCriticalFollowerDistanceInfo::toString(), MSVehicle::updateBestLanes(), and MSAbstractLaneChangeModel::updateShadowLane().
|
inlineinherited |
Returns whether the polygon is filled.
Definition at line 96 of file SUMOPolygon.h.
References SUMOPolygon::myLineWidth.
Referenced by libsumo::Polygon::getLineWidth(), and SUMOPolygon::writeXML().
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 143 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEDialogACChooser::getObjectName(), GUIDialog_GLObjChooser::getObjectName(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNEDetectorE3::getParentName(), GNECalibratorRoute::getParentName(), GNEParkingSpace::getParentName(), GNEVariableSpeedSign::getParentName(), GNECalibratorVehicleType::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEStoppingPlace::getParentName(), GNECalibrator::getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), getParentName(), GNEPOI::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::updateDescription(), and GNEConnection::updateID().
|
inherited |
get Net in which this element is placed
Definition at line 49 of file GNEShape.cpp.
References GNEShape::myNet.
|
staticinherited |
Returns the list of all additional objects.
Definition at line 84 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjectList.
|
inherited |
Returns the value for a given key.
[in] | key | The key to ask for |
[in] | defaultValue | The default value to return if no value is stored under the key |
Definition at line 71 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by MSTLLogicControl::WAUTSwitchProcedure_Stretch::adaptLogic(), NBEdge::addRestrictedLane(), MSDevice_Battery::buildVehicleDevices(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByParameter(), libsumo::Simulation::findIntermodalRoute(), MSDevice::getBoolParam(), NBRailwayTopologyAnalyzer::getBrokenRailNodes(), GNELane::getColorValue(), GUILane::getColorValue(), MSSOTLTrafficLightLogic::getDecayConstant(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSTLLogicControl::WAUTSwitchProcedure::getGSPValue(), MSSOTLTrafficLightLogic::getInputSensorsLength(), MSDevice_SSM::getMeasuresAndThresholds(), MSSOTLRequestPolicy::getMinDecisionalPhaseDuration(), MSSOTLTrafficLightLogic::getMode(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSSOTLTrafficLightLogic::getOutputSensorsLength(), libsumo::Polygon::getParameter(), libsumo::Route::getParameter(), libsumo::POI::getParameter(), libsumo::Person::getParameter(), libsumo::TrafficLight::getParameter(), libsumo::Edge::getParameter(), libsumo::Lane::getParameter(), libsumo::VehicleType::getParameter(), libsumo::Vehicle::getParameter(), MSSOTLTrafficLightLogic::getSpeedThreshold(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchAreaNo(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::getStretchBereichDef(), MSDevice::getStringParam(), MSSOTLTrafficLightLogic::getThreshold(), MSTriggeredRerouter::getWeight(), PushButtonLogic::init(), MSSOTLPhasePolicy::init(), SigmoidLogic::init(), MSSOTLTrafficLightLogic::init(), MSSwarmTrafficLightLogic::init(), NIImporter_OpenStreetMap::insertEdge(), MSSOTLTrafficLightLogic::isDecayThresholdActivated(), MSSOTLTrafficLightLogic::isPushButtonPressed(), libsumo::Helper::moveToXYMap(), MSActuatedTrafficLightLogic::MSActuatedTrafficLightLogic(), MSDelayBasedTrafficLightLogic::MSDelayBasedTrafficLightLogic(), MSSOTLPolicy::MSSOTLPolicy(), MSSOTLPolicy5DFamilyStimulus::MSSOTLPolicy5DFamilyStimulus(), MSSwarmTrafficLightLogic::MSSwarmTrafficLightLogic(), MSTriggeredRerouter::notifyEnter(), MSDevice_SSM::requestsTrajectories(), NBEdgeCont::splitAt(), MSTLLogicControl::WAUTSwitchProcedure_Stretch::stretchLogic(), MSDevice_SSM::useGeoCoords(), and NWWriter_DlrNavteq::writeLinksUnsplitted().
|
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(), getGenericParameters(), GNELane::getGenericParameters(), GNEJunction::getGenericParameters(), GNEPOI::getGenericParameters(), GNEEdge::getGenericParameters(), GNEAdditional::getGenericParameters(), getGenericParametersStr(), GNELane::getGenericParametersStr(), GNEPOI::getGenericParametersStr(), GNEJunction::getGenericParametersStr(), GNEEdge::getGenericParametersStr(), GNEAdditional::getGenericParametersStr(), GUITrafficLightLogicWrapper::getParameterWindow(), GUIPolygon::getParameterWindow(), GUIJunctionWrapper::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUILane::getParameterWindow(), GUIContainer::getTypeParameterWindow(), GUIPerson::getTypeParameterWindow(), GUIMEVehicle::getTypeParameterWindow(), GUIVehicle::getTypeParameterWindow(), NIImporter_OpenStreetMap::insertEdge(), NBLoadedSUMOTLDef::NBLoadedSUMOTLDef(), GUIParameterTableWindow::numParams(), and TraCIServerAPI_TrafficLight::processGet().
|
virtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GNEShape.
Definition at line 252 of file GNEPoly.cpp.
References GUIPolygon::getParameterWindow().
|
virtual |
Returns the name of the parent object.
Reimplemented from GUIGlObject.
Definition at line 202 of file GNEPoly.cpp.
References GUIGlObject::getMicrosimID(), GNEShape::myNet, and myNetElementShapeEdited.
|
virtualinherited |
get PopPup ID (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 134 of file GNEShape.cpp.
References GNEAttributeCarrier::getID(), and GNEAttributeCarrier::getTagStr().
|
virtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GNEShape.
Definition at line 212 of file GNEPoly.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GNEViewNet::buildSelectionACPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GUISUMOAbstractView::getPositionInformation(), getVertexIndex(), GNENet::getViewNet(), MID_GNE_POLYGON_CLOSE, MID_GNE_POLYGON_DELETE_GEOMETRY_POINT, MID_GNE_POLYGON_OPEN, MID_GNE_POLYGON_SET_FIRST_POINT, MID_GNE_POLYGON_SIMPLIFY_SHAPE, myClosedShape, GNEShape::myNet, myNetElementShapeEdited, SUMOPolygon::myShape, mySimplifiedShape, and simplifyShape().
|
virtual |
Returns position of additional in view.
Implements GNEShape.
Definition at line 190 of file GNEPoly.cpp.
References PositionVector::getPolygonCenter(), and SUMOPolygon::myShape.
|
inlineinherited |
Returns whether the shape of the polygon.
Definition at line 81 of file SUMOPolygon.h.
References SUMOPolygon::myShape.
Referenced by PCPolyContainer::add(), GNEViewNet::MoveSingleElementValues::calculatePolyValues(), drawGL(), libsumo::Polygon::getShape(), GNEViewNet::hotkeyEnter(), mouseOverObject(), libsumo::Polygon::storeShape(), and SUMOPolygon::writeXML().
|
inlineinherited |
Returns the color of the Shape.
Definition at line 83 of file Shape.h.
References Shape::myColor.
Referenced by getAttribute(), GNEPOI::getAttribute(), libsumo::Polygon::getColor(), GNEViewNet::onCmdTransformPOI(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
GNENetElement * GNEPoly::getShapeEditedElement | ( | ) | const |
retrieve the junction of which the shape is being edited
Definition at line 445 of file GNEPoly.cpp.
References myNetElementShapeEdited.
Referenced by GNEViewNet::hotkeyEnter().
|
inlineinherited |
Returns the imgFile of the Shape.
Definition at line 104 of file Shape.h.
References Shape::myImgFile.
Referenced by GNEPOI::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), getAttribute(), GNEPOI::getAttribute(), GUIPointOfInterest::getCenteringBoundary(), GNEViewNet::onCmdTransformPOI(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
inlineinherited |
Returns the layer of the Shape.
Definition at line 90 of file Shape.h.
References Shape::myLayer.
Referenced by GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), getAttribute(), GNEPOI::getAttribute(), GUIPolygon::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GNEViewNet::onCmdTransformPOI(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
inlineinherited |
Returns the angle of the Shape in navigational degrees.
Definition at line 97 of file Shape.h.
References Shape::myNaviDegreeAngle.
Referenced by GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), getAttribute(), GNEPOI::getAttribute(), GNEViewNet::onCmdTransformPOI(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
inlineinherited |
Returns the relativePath of the Shape.
Definition at line 111 of file Shape.h.
References Shape::myRelativePath.
Referenced by getAttribute(), GNEPOI::getAttribute(), GNEViewNet::onCmdTransformPOI(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
inlineinherited |
Returns the (abstract) type of the Shape.
Definition at line 76 of file Shape.h.
References Shape::myType.
Referenced by GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), getAttribute(), GNEPOI::getAttribute(), GUIPolygon::getParameterWindow(), GUIPointOfInterest::getParameterWindow(), GUIPolygon::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), GNEPOI::getPopUpMenu(), libsumo::Polygon::getType(), libsumo::POI::getType(), GNEViewNet::onCmdTransformPOI(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
staticinherited |
get Tag Properties
Definition at line 1038 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::dummyTagProperty, GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myTagProperties, SUMO_TAG_NOTHING, and toString().
Referenced by GNECrossingFrame::CrossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNECrossingFrame::CrossingParameters::onCmdHelp(), GNETAZFrame::TAZParameters::onCmdHelp(), GNEFrame::ItemSelector::onCmdSelectItem(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNEAttributeCarrier::parseAttributeFromXML(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNEFrame::ItemSelector::setCurrentTypeTag(), GNETAZFrame::TAZCurrent::setTAZ(), GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute(), and GNEInspectorFrame::AttributesEditor::showAttributeEditorModul().
|
inherited |
get Tag Property assigned to this object
Definition at line 1013 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTagProperty.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNENet::additionalExist(), GNETAZFrame::TAZCurrent::addTAZChild(), GNEViewNet::MoveMultipleElementValues::beginMoveSelection(), GNEAdditionalFrame::buildAdditionalWithParent(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::BlockIcon::draw(), GNEViewNet::getAttributeCarriersInBoundary(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional::GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectSingleElement(), GNEInspectorFrame::OverlappedInspection::onCmdNextElement(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEInspectorFrame::OverlappedInspection::onCmdPreviousElement(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEAdditionalHandler::parseGenericParameter(), GNEInspectorFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::removeShape(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNENet::retrieveShapes(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNENet::updateAdditionalID(), and GNEChange_Attribute::~GNEChange_Attribute().
|
inherited |
get tag assigned to this object in string format
Definition at line 1007 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::TagProperties::getTagStr(), and GNEAttributeCarrier::myTagProperty.
Referenced by GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNEAdditional::addEdgeChild(), GNEJunction::addIncomingGNEEdge(), GNEAdditional::addLaneChild(), GNEJunction::addOutgoingGNEEdge(), GNENet::addPOI(), GNELane::addShapeChild(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNEAdditional::checkAdditionalChildRestriction(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorEntry::commitGeometryMoving(), GNEDetectorExit::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNEJunction::commitGeometryMoving(), GNETAZ::commitShapeChange(), commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::deleteAdditional(), GNENet::deleteShape(), GNEAdditional::fixAdditionalProblem(), GNEBusStop::getAttribute(), GNEChargingStation::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEVaporizer::getAttribute(), GNETAZSink::getAttribute(), GNETAZSource::getAttribute(), GNERouteProbe::getAttribute(), GNEClosingReroute::getAttribute(), GNEDetectorE3::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNERouteProbReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouterInterval::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNECrossing::getAttribute(), GNEAccess::getAttribute(), GNERerouter::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNECalibrator::getAttribute(), GNETAZ::getAttribute(), GNEConnection::getAttribute(), GNEDetectorE2::getAttribute(), getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEPOI::getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNETAZSink::getHierarchyName(), GNETAZSource::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNECalibratorRoute::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNERerouter::getHierarchyName(), GNEAccess::getHierarchyName(), GNECalibratorVehicleType::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibrator::getHierarchyName(), GNETAZ::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNEDetector::getHierarchyName(), GNEVaporizer::getPopUpID(), GNETAZSource::getPopUpID(), GNERouteProbe::getPopUpID(), GNETAZSink::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEParkingSpace::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNERerouterInterval::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibrator::getPopUpID(), GNETAZ::getPopUpID(), GNEShape::getPopUpID(), GNENetElement::getPopUpID(), GNEDetector::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNEAdditional::isRouteValid(), GNEChargingStation::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNETAZSink::isValid(), GNETAZSource::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEDetectorE3::isValid(), GNERouteProbReroute::isValid(), GNEDestProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorVehicleType::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEDetectorE2::isValid(), isValid(), GNELane::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEEdge::isValid(), GNECalibratorVehicleTypeDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdAccept(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEAdditional::openAdditionalDialog(), GNEAdditionalHandler::parseGenericParameter(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_TLS::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEAdditionalFrame::removeAdditional(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), GNEJunction::removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNEJunction::removeOutgoingGNEEdge(), GNELane::removeShapeChild(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEChargingStation::setAttribute(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNETAZSink::setAttribute(), GNETAZSource::setAttribute(), GNEClosingReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEParkingSpace::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECrossing::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEConnection::setAttribute(), GNEDetectorE2::setAttribute(), setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_Additional::undo(), GNEChange_TLS::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 156 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GNEAdditional::BlockIcon::draw(), GNEAdditional::ChildConnections::draw(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawAction_drawWalkingareaPath(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEJunction::drawGL(), GNEVariableSpeedSign::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), drawGL(), GNEPOI::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEJunction::getAttribute(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFoes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowPhases(), GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStopTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStopTrack(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLS2Off(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLSLogic(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), and GNEShape::unselectAttributeCarrier().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIVehicle, GUIBaseVehicle, GUIMEVehicle, GUIPerson, and GUIContainer.
Definition at line 135 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
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
pos | position of new/existent vertex |
createIfNoExist | enable or disable creation of new verte if there isn't another vertex in position |
snapToGrid | enable or disable snapToActiveGrid |
Definition at line 365 of file GNEPoly.cpp.
References GNENet::getViewNet(), myHintSize, GNEShape::myNet, SUMOPolygon::myShape, and GUISUMOAbstractView::snapToActiveGrid().
Referenced by GNEViewNet::MoveSingleElementValues::calculatePolyValues(), getPopUpMenu(), GNEViewNet::onCmdSetFirstGeometryPoint(), GNEViewNet::onLeftBtnPress(), and GNEDeleteFrame::removeAttributeCarrier().
|
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::buildCalibratorRoute(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNENet::computeEverything(), GNEChange_Attribute::GNEChange_Attribute(), GNENet::GNENet(), GNEJunction::rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().
|
virtualinherited |
check if attribute carrier is selected
Implements GNEAttributeCarrier.
Definition at line 128 of file GNEShape.cpp.
References GNEAttributeCarrier::mySelected.
Referenced by drawGL(), getAttribute(), GNEPOI::getAttribute(), GNENet::insertShape(), GNENet::removeShape(), and GNENet::retrieveShapes().
|
staticinherited |
check if given string can be parsed to a map/list of generic parameters
Definition at line 1135 of file GNEAttributeCarrier.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), and StringTokenizer::next().
Referenced by GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEVaporizer::isValid(), GNETAZSource::isValid(), GNETAZSink::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNERouteProbReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouterInterval::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNECrossing::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorVehicleType::isValid(), GNEDetectorExit::isValid(), GNEDetectorEntry::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNECalibrator::isValid(), GNETAZ::isValid(), GNEConnection::isValid(), GNEDetectorE2::isValid(), isValid(), GNELane::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEEdge::isValid(), and GNEFrame::GenericParametersEditor::onCmdSetGenericParameter().
|
inherited |
return true if movement is blocked
Definition at line 55 of file GNEShape.cpp.
References GNEShape::myBlockMovement.
Referenced by GNEViewNet::MoveSingleElementValues::calculatePolyValues().
bool GNEPoly::isPolygonBlocked | ( | ) | const |
return true if polygon is blocked
Definition at line 423 of file GNEPoly.cpp.
References myBlockShape.
Referenced by GNEViewNet::MoveSingleElementValues::calculatePolyValues(), and GNEViewNet::onMouseMove().
bool GNEPoly::isPolygonClosed | ( | ) | const |
|
virtual |
method for checking if the key and their conrrespond attribute are valids
[in] | key | The attribute key |
[in] | value | The value asociated to key key |
Implements GNEShape.
Definition at line 653 of file GNEPoly.cpp.
References closePolygon(), GNEAttributeCarrier::getTagStr(), GUITexturesHelper::getTextureID(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, GNEAttributeCarrier::isGenericParametersValid(), SUMOXMLDefinitions::isValidNetID(), GNEShape::myNet, SUMOPolygon::myShape, GNENet::retrievePolygon(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_GEO, SUMO_ATTR_GEOSHAPE, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, and toString().
|
inherited |
Returns whether the parameter is known.
[in] | key | The key to ask for |
Definition at line 65 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NBEdge::append(), MSDevice_Bluelight::buildVehicleDevices(), MSDevice_Example::buildVehicleDevices(), MSDevice::equippedByParameter(), MSDevice::getBoolParam(), NWWriter_DlrNavteq::getBrunnelType(), MSDevice_SSM::getDetectionRange(), MSDevice_SSM::getExtraTime(), MSDevice::getFloatParam(), MSDevice_SSM::getMeasuresAndThresholds(), MSDevice_ToC::getOutputFilename(), MSDevice_SSM::getOutputFilename(), MSDevice::getStringParam(), MSTriggeredRerouter::getWeight(), MSDevice_SSM::requestsTrajectories(), and MSDevice_SSM::useGeoCoords().
|
staticinherited |
check if lanes are consecutives
Definition at line 964 of file GNEAttributeCarrier.cpp.
Referenced by GNEAttributeCarrier::canParse(), GNEDetectorE2::isValid(), and GNEAdditionalHandler::parseAndBuildDetectorE2().
|
privatevirtual |
method for check if mouse is over objects
Implements GNEShape.
Definition at line 897 of file GNEPoly.cpp.
References PositionVector::around(), GNEViewNet::getDottedAC(), GUISUMOAbstractView::getPositionInformation(), SUMOPolygon::getShape(), GNENet::getViewNet(), GNEShape::myNet, and GNEViewNet::setDottedAC().
void GNEPoly::moveEntireShape | ( | const PositionVector & | oldShape, |
const Position & | offset | ||
) |
move entire shape without commiting change
[in] | oldShape | the old shape of polygon before moving |
[in] | offset | the offset of movement |
Definition at line 130 of file GNEPoly.cpp.
References PositionVector::add(), GNEShape::myBlockMovement, myBlockShape, SUMOPolygon::myShape, and updateGeometry().
Referenced by GNEViewNet::onMouseMove().
change position of a vertex of shape without commiting change
[in] | index | index of Vertex shape |
[in] | newPos | The new position of vertex |
Definition at line 95 of file GNEPoly.cpp.
References PositionVector::add(), GNENet::getViewNet(), GNEShape::myBlockMovement, myBlockShape, myClosedShape, myCurrentMovingVertexIndex, GNEShape::myNet, SUMOPolygon::myShape, and GUISUMOAbstractView::snapToActiveGrid().
Referenced by GNEViewNet::onMouseMove().
void GNEPoly::openPolygon | ( | bool | allowUndo = true | ) |
open polygon
Definition at line 451 of file GNEPoly.cpp.
References GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_ATTR_CLOSE_SHAPE, myClosedShape, GNEShape::myNet, SUMOPolygon::myShape, mySimplifiedShape, GNEUndoList::p_begin(), GNEUndoList::p_end(), setAttribute(), updateGeometry(), and WRITE_WARNING.
Referenced by GNEViewNet::onCmdOpenPolygon().
|
staticinherited |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by GNEAttributeCarrier::canParse(), GNECalibratorRoute::isValid(), and GNEDetectorE2::isValid().
|
staticinherited |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
|
inherited |
Definition at line 781 of file GNEAttributeCarrier.cpp.
References StringUtils::toInt().
|
inherited |
Definition at line 787 of file GNEAttributeCarrier.cpp.
References StringUtils::toDouble().
|
inherited |
Definition at line 793 of file GNEAttributeCarrier.cpp.
References StringUtils::toBool().
|
inherited |
Definition at line 799 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 805 of file GNEAttributeCarrier.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
|
inherited |
Definition at line 817 of file GNEAttributeCarrier.cpp.
References RGBColor::parseColor().
|
inherited |
Definition at line 823 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 839 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 857 of file GNEAttributeCarrier.cpp.
References SumoVehicleShapeStrings, and SVS_UNKNOWN.
|
inherited |
Definition at line 867 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
|
inherited |
Definition at line 873 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 884 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 895 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 906 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 924 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveLane(), SUMO_ATTR_LANES, SUMO_TAG_LANE, and toString().
|
inlinestaticinherited |
Parse attribute from XML and show warnings if there are problems parsing it.
Definition at line 591 of file GNEAttributeCarrier.h.
References canParseVehicleClasses(), SUMOSAXAttributes::get(), GNEAttributeCarrier::getCircleResolution(), GNEAttributeCarrier::getTagProperties(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), SUMOXMLDefinitions::isValidNetID(), GNEAttributeCarrier::mouseOverObject(), GNEAttributeCarrier::setAttribute(), SUMO_ATTR_EDGES, SUMO_ATTR_GUISHAPE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VCLASS, SUMO_ATTR_VTYPES, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, toString(), and WRITE_WARNING.
|
staticinherited |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by GNEAttributeCarrier::canParse(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNERerouter::getAttribute(), and GNEDetectorE2::getAttribute().
|
inherited |
Definition at line 942 of file GNEAttributeCarrier.cpp.
References joinToString().
|
inherited |
Definition at line 953 of file GNEAttributeCarrier.cpp.
References joinToString().
|
staticinherited |
Removes an object.
Definition at line 77 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject::getFullName(), GUIGlObject_AbstractAdd::myObjectList, and GUIGlObject_AbstractAdd::myObjects.
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 269 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
virtualinherited |
Implements GNEAttributeCarrier.
Definition at line 96 of file GNEShape.cpp.
References GNESelectorFrame::LockGLObjectTypes::addedLockedObject(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GUIGlObject::getType(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNEShape::myNet, GNEAttributeCarrier::mySelected, and GUISelectedStorage::select().
Referenced by GNENet::insertShape(), GNEPOI::setAttribute(), and setAttribute().
|
virtual |
method for setting the attribute and letting the object perform additional changes
[in] | key | The attribute key |
[in] | value | The new value |
[in] | undoList | The undoList on which to register changes |
Implements GNEShape.
Definition at line 622 of file GNEPoly.cpp.
References getAttribute(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, GNEAttributeCarrier::GNEChange_Attribute, GNEUndoList::p_add(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_GEO, SUMO_ATTR_GEOSHAPE, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, and toString().
Referenced by GNEPolygonFrame::addPolygon(), changeFirstGeometryPoint(), closePolygon(), commitShapeChange(), deleteGeometryPoint(), openPolygon(), and simplifyShape().
|
privatevirtual |
set attribute after validation
Implements GNEShape.
Definition at line 776 of file GNEPoly.cpp.
References GNENet::addGLObjectIntoGrid(), GeoConvHelper::cartesian2geo(), GNENet::changeShapeID(), GUITexturesHelper::clearTextures(), PositionVector::closePolygon(), Shape::DEFAULT_LAYER, GeoConvHelper::getFinal(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_BLOCK_MOVEMENT, GNE_ATTR_BLOCK_SHAPE, GNE_ATTR_CLOSE_SHAPE, GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, GNEShape::myBlockMovement, myBlockShape, myClosedShape, SUMOPolygon::myFill, SUMOPolygon::myGEO, myGeoShape, Named::myID, SUMOPolygon::myLineWidth, GNEShape::myNet, myNetElementShapeEdited, SUMOPolygon::myShape, mySimplifiedShape, GNENet::removeGLObjectFromGrid(), GNEShape::selectAttributeCarrier(), setGenericParametersStr(), GUIGlObject::setMicrosimID(), Shape::setShapeColor(), Shape::setShapeImgFile(), Shape::setShapeLayer(), Shape::setShapeNaviDegree(), Shape::setShapeRelativePath(), Shape::setShapeType(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_GEO, SUMO_ATTR_GEOSHAPE, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, toString(), GNEShape::unselectAttributeCarrier(), GNENetElement::updateGeometry(), and GeoConvHelper::x2cartesian_const().
|
protectedinherited |
set color
Definition at line 219 of file GUIPolygon.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), GUIGlObject::getGlID(), GUIPropertySchemeStorage< T >::getScheme(), Shape::getShapeColor(), GLO_POLYGON, gSelected, GUISelectedStorage::isSelected(), GUIVisualizationSettings::netedit, GUIVisualizationSettings::polyColorer, and GLHelper::setColor().
Referenced by GUIPolygon::drawInnerPolygon().
|
inlineinherited |
Sets whether the polygon shall be filled.
[in] | fill | Whether the polygon shall be filled |
Definition at line 108 of file SUMOPolygon.h.
References SUMOPolygon::myFill.
Referenced by libsumo::Polygon::setFilled().
|
virtual |
set generic parameters in string format
Implements GNEShape.
Definition at line 748 of file GNEPoly.cpp.
References Parameterised::clearParameter(), StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), StringTokenizer::next(), and Parameterised::setParameter().
Referenced by setAttribute().
|
inlineinherited |
resets the id
[in] | newID | The new id of this object |
Definition at line 86 of file Named.h.
Referenced by Distribution_Parameterized::parse(), NBLoadedSUMOTLDef::reconstructLogic(), NBEdgeCont::remapIDs(), NBNodeCont::rename(), NBEdgeCont::rename(), GNEJunction::setAttribute(), and IntermodalNetwork< E, L, N, V >::splitEdge().
|
inlineinherited |
Definition at line 112 of file SUMOPolygon.h.
References SUMOPolygon::myLineWidth.
Referenced by libsumo::Polygon::setLineWidth().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 149 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::changeAdditionalID(), GNENet::renameJunction(), GNEPOI::setAttribute(), setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), and GNEConnection::updateID().
|
inherited |
Sets a parameter.
[in] | key | The parameter's name |
[in] | value | The parameter's value |
Definition at line 45 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NLHandler::addDistrict(), SUMORouteHandler::addParam(), ShapeHandler::addPOI(), NIImporter_OpenStreetMap::insertNodeChecking(), NBEdge::Lane::Lane(), NIImporter_ArcView::load(), NIImporter_OpenDrive::loadNetwork(), NIXMLTrafficLightsHandler::myStartElement(), MSStateHandler::myStartElement(), ShapeHandler::myStartElement(), NIXMLNodesHandler::myStartElement(), NIImporter_MATSim::EdgesHandler::myStartElement(), NIImporter_OpenStreetMap::EdgesHandler::myStartElement(), GNEAdditionalHandler::parseGenericParameter(), GNEConnection::setGenericParametersStr(), setGenericParametersStr(), GNELane::setGenericParametersStr(), GNEPOI::setGenericParametersStr(), GNEJunction::setGenericParametersStr(), GNEEdge::setGenericParametersStr(), GNEAdditional::setGenericParametersStr(), libsumo::Route::setParameter(), libsumo::Polygon::setParameter(), libsumo::POI::setParameter(), libsumo::TrafficLight::setParameter(), libsumo::Edge::setParameter(), and libsumo::Lane::setParameter().
|
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().
|
inlineinherited |
Sets a new color.
[in] | col | The 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().
void GNEPoly::setShapeEditedElement | ( | GNENetElement * | element | ) |
retrieve the netElement of which the shape is being edited
Definition at line 435 of file GNEPoly.cpp.
References myNetElementShapeEdited.
Referenced by GNENet::addPolygonForEditShapes().
|
inlineinherited |
Sets a new imgFile.
[in] | imgFile | The new imgFile to use |
Definition at line 151 of file Shape.h.
References Shape::myImgFile.
Referenced by GNEPoly(), GNEPOI::setAttribute(), and setAttribute().
|
inlineinherited |
Sets a new layer.
[in] | layer | The new layer to use |
Definition at line 137 of file Shape.h.
References Shape::myLayer.
Referenced by GNEPOI::setAttribute(), and setAttribute().
|
inlineinherited |
Sets a new angle in navigational degrees.
[in] | layer | The new angle to use |
Definition at line 144 of file Shape.h.
References Shape::myNaviDegreeAngle.
Referenced by GNEPOI::setAttribute(), and setAttribute().
|
inlineinherited |
Sets a new relativePath value.
[in] | relativePath | The new relative path to set |
Definition at line 158 of file Shape.h.
References Shape::myRelativePath.
Referenced by GNEPOI::setAttribute(), and setAttribute().
|
inlineinherited |
Sets a new type.
[in] | type | The 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().
void GNEPoly::simplifyShape | ( | bool | allowUndo = true | ) |
replace the current shape with a rectangle
Definition at line 537 of file GNEPoly.cpp.
References PositionVector::getBoxBoundary(), GNEViewNet::getUndoList(), GNENet::getViewNet(), PositionVector::isClosed(), myClosedShape, GNEShape::myNet, SUMOPolygon::myShape, mySimplifiedShape, GNEUndoList::p_begin(), GNEUndoList::p_end(), setAttribute(), SUMO_ATTR_SHAPE, toString(), updateGeometry(), WRITE_WARNING, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by getPopUpMenu(), and GNEViewNet::onCmdSimplifyShape().
|
virtual |
Implements GNEShape.
Definition at line 72 of file GNEPoly.cpp.
References getCenteringBoundary(), and GNEShape::myMovingGeometryBoundary.
|
inlineinherited |
check if object ins't referenced
Definition at line 79 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
virtualinherited |
unselect attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 112 of file GNEShape.cpp.
References GUISelectedStorage::deselect(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GUIGlObject::getType(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNEShape::myNet, GNEAttributeCarrier::mySelected, and GNESelectorFrame::LockGLObjectTypes::removeLockedObject().
Referenced by GNENet::removeShape(), GNEPOI::setAttribute(), and setAttribute().
|
inherited |
Removes a parameter.
[in] | key | The parameter's name |
Definition at line 51 of file Parameterised.cpp.
References Parameterised::myMap.
|
virtual |
update pre-computed geometry information
Implements GNEShape.
Definition at line 179 of file GNEPoly.cpp.
Referenced by changeFirstGeometryPoint(), closePolygon(), endGeometryMoving(), moveEntireShape(), openPolygon(), and simplifyShape().
|
inherited |
Adds or updates all given parameters from the map.
[in] | mapArg | The keys/values to insert |
Definition at line 57 of file Parameterised.cpp.
References Parameterised::myMap.
Referenced by NIImporter_SUMO::_loadNetwork(), PCLoaderOSM::addPOI(), PCLoaderOSM::addPolygon(), NLHandler::closeEdge(), NLJunctionControlBuilder::closeJunction(), NBTrafficLightDefinition::compute(), NIImporter_OpenStreetMap::insertEdge(), and NBLoadedSUMOTLDef::NBLoadedSUMOTLDef().
|
inherited |
write Params in the given outputdevice
Definition at line 111 of file Parameterised.cpp.
References OutputDevice::closeTag(), StringUtils::escapeXML(), Parameterised::myMap, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, and OutputDevice::writeAttr().
Referenced by ROVehicle::saveAsXML(), ROPerson::saveAsXML(), MEVehicle::saveState(), MSVehicle::saveState(), SUMOVTypeParameter::write(), GNEAdditional::writeAdditional(), NWWriter_SUMO::writeEdge(), NWWriter_XML::writeEdgesAndConnections(), NWWriter_SUMO::writeJunction(), NWWriter_SUMO::writeLane(), NWWriter_XML::writeNodes(), MSDevice_Vehroutes::writeOutput(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
virtual |
writte shape element into a xml file
[in] | device | device in which write parameters of additional element |
Implements GNEShape.
Definition at line 184 of file GNEPoly.cpp.
References SUMOPolygon::myGEO, and SUMOPolygon::writeXML().
|
inherited |
Definition at line 51 of file SUMOPolygon.cpp.
References GeoConvHelper::cartesian2geo(), OutputDevice::closeTag(), Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, StringUtils::escapeXML(), FileHelpers::getFilePath(), SUMOPolygon::getFill(), GeoConvHelper::getFinal(), Named::getID(), SUMOPolygon::getLineWidth(), SUMOPolygon::getShape(), Shape::getShapeColor(), Shape::getShapeImgFile(), Shape::getShapeLayer(), Shape::getShapeNaviDegree(), Shape::getShapeRelativePath(), Shape::getShapeType(), gPrecisionGeo, OutputDevice::openTag(), OutputDevice::setPrecision(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_GEO, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, SUMO_TAG_POLY, OutputDevice::writeAttr(), and Parameterised::writeParams().
Referenced by SUMOPolygon::setShape(), and writeShape().
|
staticinherited |
Definition at line 47 of file Shape.h.
Referenced by libsumo::Polygon::add(), libsumo::POI::add(), ShapeHandler::addPOI(), ShapeHandler::addPoly(), GNEAttributeCarrier::fillAttributeCarriers(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
staticinherited |
Definition at line 48 of file Shape.h.
Referenced by libsumo::Polygon::add(), libsumo::POI::add(), ShapeHandler::addPOI(), ShapeHandler::addPoly(), GNEPOI::drawGL(), GUIPointOfInterest::drawInnerPOI(), GNEAttributeCarrier::fillAttributeCarriers(), GUIPointOfInterest::getCenteringBoundary(), PointOfInterest::writeXML(), and SUMOPolygon::writeXML().
|
staticinherited |
Definition at line 51 of file Shape.h.
Referenced by libsumo::POI::add(), ShapeHandler::addPOI(), GNEAttributeCarrier::fillAttributeCarriers(), and PointOfInterest::writeXML().
|
staticinherited |
Definition at line 50 of file Shape.h.
Referenced by libsumo::POI::add(), ShapeHandler::addPOI(), GNEAttributeCarrier::fillAttributeCarriers(), and PointOfInterest::writeXML().
|
staticinherited |
Definition at line 44 of file Shape.h.
Referenced by GNEPolygonFrame::addPolygon(), GNEAttributeCarrier::fillAttributeCarriers(), getAttribute(), ShapeHandler::myStartElement(), and setAttribute().
|
staticinherited |
Definition at line 46 of file Shape.h.
Referenced by GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEAttributeCarrier::fillAttributeCarriers(), GNEPOI::getAttribute(), ShapeHandler::myStartElement(), and GNEPOI::setAttribute().
|
staticinherited |
Definition at line 45 of file Shape.h.
Referenced by ShapeHandler::addPoly().
|
staticinherited |
Definition at line 49 of file Shape.h.
Referenced by libsumo::Polygon::add(), libsumo::POI::add(), ShapeHandler::addPOI(), ShapeHandler::addPoly(), and GNEAttributeCarrier::fillAttributeCarriers().
|
staticinherited |
default shape's values
Definition at line 43 of file Shape.h.
Referenced by ShapeHandler::addPoly(), and GNEAttributeCarrier::fillAttributeCarriers().
|
staticprotectedinherited |
dummy TagProperty used for reference some elements (for Example, dummyEdge)
Definition at line 921 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::getTagProperties().
|
staticinherited |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 498 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 492 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::setAttribute(), and GNEEdge::setAttribute().
|
staticinherited |
Definition at line 489 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been manually modified (implies approval)
Definition at line 495 of file GNEAttributeCarrier.h.
Referenced by GNEJunction::markAsModified(), and GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections().
|
staticinherited |
Definition at line 70 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::paintGL(), and GUIViewTraffic::stopTrack().
|
protectedinherited |
flag to block movement
Definition at line 171 of file GNEShape.h.
Referenced by GNEPOI::commitGeometryMoving(), commitShapeChange(), GNEShape::draw(), drawGL(), getAttribute(), GNEPOI::getAttribute(), GNEShape::isMovementBlocked(), moveEntireShape(), GNEPOI::moveGeometry(), moveVertexShape(), GNEPOI::setAttribute(), and setAttribute().
|
protected |
flag for block shape
Definition at line 234 of file GNEPoly.h.
Referenced by drawGL(), getAttribute(), isPolygonBlocked(), moveEntireShape(), moveVertexShape(), and setAttribute().
|
protected |
flag to indicate if polygon is open or closed
Definition at line 237 of file GNEPoly.h.
Referenced by changeFirstGeometryPoint(), closePolygon(), deleteGeometryPoint(), drawGL(), getAttribute(), getPopUpMenu(), isPolygonClosed(), moveVertexShape(), openPolygon(), setAttribute(), and simplifyShape().
|
protected |
index of vertex that is been moved (-1 means that none vertex is been moved)
Definition at line 243 of file GNEPoly.h.
Referenced by commitShapeChange(), and moveVertexShape().
|
protectedinherited |
Information whether the polygon has to be filled.
Definition at line 138 of file SUMOPolygon.h.
Referenced by getAttribute(), SUMOPolygon::getFill(), setAttribute(), and SUMOPolygon::setFill().
|
protectedinherited |
specify if shape is handled as GEO coordinate (Main used in netedit)
Definition at line 135 of file SUMOPolygon.h.
Referenced by getAttribute(), setAttribute(), and writeShape().
|
protected |
Latitude of Polygon.
Definition at line 231 of file GNEPoly.h.
Referenced by getAttribute(), GNEPoly(), and setAttribute().
|
staticprivate |
hint size of vertex
Definition at line 247 of file GNEPoly.h.
Referenced by commitShapeChange(), drawGL(), and getVertexIndex().
|
protectedinherited |
The name of the object.
Definition at line 130 of file Named.h.
Referenced by MSE2Collector::addDetectorToLanes(), RODFDetector::buildDestinationDistribution(), NGEdge::buildNBEdge(), NGNode::buildNBNode(), MSSOTLTrafficLightLogic::checkPhases(), NBNode::computeNodeShape(), MSE2Collector::detectorUpdate(), METriggeredCalibrator::execute(), MSCalibrator::execute(), getAttribute(), GNEPOI::getAttribute(), MSLane::getCanonicalPredecessorLane(), MSLane::getCanonicalSuccessorLane(), NBEdge::getLaneID(), NBEdge::getLaneIDInsecure(), ROEdge::getStoredEffort(), MSLane::getSurroundingVehicles(), ROEdge::getTravelTime(), MSDelayBasedTrafficLightLogic::init(), MSActuatedTrafficLightLogic::init(), MSSOTLTrafficLightLogic::init(), MSCalibrator::init(), NBEdge::init(), MSLane::isInsertionSuccess(), MSCalibrator::myStartElement(), NBNode::NBNode(), MSE2Collector::notifyEnter(), MSE2Collector::notifyLeave(), MSE2Collector::notifyMove(), MSMeanData::openInterval(), RORouteDef::preComputeCurrentRoute(), NBEdge::reinitNodes(), MSRoute::release(), GNEPOI::setAttribute(), setAttribute(), MSSOTLTrafficLightLogic::setToATargetPhase(), NBEdge::splitGeometry(), Distribution_Parameterized::toStr(), MSChargingStation::writeChargingStationOutput(), RODFDetector::writeEmitterDefinition(), MSXMLRawOut::writeLane(), RODFDetector::writeSingleSpeedTrigger(), MEInductLoop::writeXMLOutput(), MSCalibrator::writeXMLOutput(), and MSE3Collector::writeXMLOutput().
|
protectedinherited |
The line width for drawing an unfilled polygon.
Definition at line 141 of file SUMOPolygon.h.
Referenced by GUIPolygon::drawInnerPolygon(), getAttribute(), SUMOPolygon::getLineWidth(), setAttribute(), and SUMOPolygon::setLineWidth().
|
protectedinherited |
boundary used during moving of elements
Definition at line 168 of file GNEShape.h.
Referenced by endGeometryMoving(), GNEPOI::endGeometryMoving(), getCenteringBoundary(), GNEPOI::getCenteringBoundary(), startGeometryMoving(), and GNEPOI::startGeometryMoving().
|
protectedinherited |
the net to inform about updates
Definition at line 165 of file GNEShape.h.
Referenced by changeFirstGeometryPoint(), closePolygon(), deleteGeometryPoint(), GNEShape::draw(), drawGL(), GNEPOI::drawGL(), endGeometryMoving(), GNEPOI::endGeometryMoving(), GNEShape::getNet(), getParentName(), GNEPOI::getParentName(), getPopUpMenu(), GNEPOI::getPopUpMenu(), getVertexIndex(), isValid(), GNEPOI::isValid(), mouseOverObject(), GNEPOI::moveGeometry(), moveVertexShape(), openPolygon(), GNEShape::selectAttributeCarrier(), GNEPOI::setAttribute(), setAttribute(), simplifyShape(), GNEShape::unselectAttributeCarrier(), and GNEPOI::updateGeometry().
|
protected |
junction of which the shape is being edited (optional)
Definition at line 228 of file GNEPoly.h.
Referenced by commitShapeChange(), getParentName(), getPopUpMenu(), getShapeEditedElement(), setAttribute(), and setShapeEditedElement().
|
staticprotectedinherited |
The list of all addtional objects currently loaded.
Definition at line 69 of file GUIGlObject_AbstractAdd.h.
Referenced by GUIGlObject_AbstractAdd::clearDictionary(), GUIGlObject_AbstractAdd::getIDList(), GUIGlObject_AbstractAdd::getObjectList(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), and GUIGlObject_AbstractAdd::remove().
|
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().
|
protectedinherited |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 918 of file GNEAttributeCarrier.h.
Referenced by GNEShape::draw(), GNEAdditional::BlockIcon::draw(), GNEAccess::drawGL(), GNENetElement::isAttributeCarrierSelected(), GNEShape::isAttributeCarrierSelected(), GNEAdditional::isAttributeCarrierSelected(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), and GNEAdditional::unselectAttributeCarrier().
|
protectedinherited |
The positions of the polygon.
Definition at line 132 of file SUMOPolygon.h.
Referenced by changeFirstGeometryPoint(), GUIPolygon::checkDraw(), closePolygon(), commitShapeChange(), deleteGeometryPoint(), drawGL(), GUIPolygon::drawInnerPolygon(), getAttribute(), GUIPolygon::getCenteringBoundary(), getPopUpMenu(), getPositionInView(), SUMOPolygon::getShape(), getVertexIndex(), GNEPoly(), isValid(), moveEntireShape(), moveVertexShape(), openPolygon(), GUIPolygon::performTesselation(), setAttribute(), SUMOPolygon::setShape(), and simplifyShape().
|
protected |
flag to indicate if polygon is simplified
Definition at line 240 of file GNEPoly.h.
Referenced by changeFirstGeometryPoint(), closePolygon(), deleteGeometryPoint(), getPopUpMenu(), openPolygon(), setAttribute(), and simplifyShape().
|
protectedinherited |
the xml tag to which this attribute carrier corresponds
Definition at line 915 of file GNEAttributeCarrier.h.
Referenced by GNEAdditional::addAdditionalChild(), GNEAdditional::changeAdditionalID(), GNEDetectorE2::drawGL(), GNENetElement::getHierarchyName(), GNEAttributeCarrier::getIcon(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNENetElement::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEAdditional::GNEAdditional(), GNEAdditional::isValidAdditionalID(), GNEAdditional::isValidDetectorID(), GNEAdditional::removeAdditionalChild(), GNEAdditional::setDefaultValues(), GNEAdditional::sortAdditionalChilds(), GNEAdditional::startGeometryMoving(), and GNEAdditional::writeAdditional().
|
staticinherited |
associates object types with strings
Definition at line 69 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().