![]() |
SUMO - Simulation of Urban MObility
|
This lane is powered by an underlying GNEEdge and basically knows how to draw itself. More...
#include <GNELane.h>
Public Member Functions | ||||
void | addAdditionalChild (GNEAdditional *additional) | |||
add additional child to this edge More... | ||||
void | addAdditionalParent (GNEAdditional *additional) | |||
add additional child to this edge More... | ||||
void | addShapeChild (GNEShape *shape) | |||
add shape child to this lane More... | ||||
void | decRef (const std::string &debugMsg="") | |||
Decrease reference. 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... | ||||
const std::vector< GNEAdditional * > & | getAdditionalChilds () const | |||
return vector of additionals that have as Parent this edge (For example, Calibrators) More... | ||||
const std::vector< GNEAdditional * > & | getAdditionalParents () const | |||
return vector of additionals that have as Parameter this edge (For example, Rerouters) More... | ||||
Boundary | getBoundary () const | |||
returns the boundry (including lanes) More... | ||||
double | getColorValue (const GUIVisualizationSettings &s, int activeScheme) const | |||
return value for lane coloring according to the given scheme More... | ||||
std::vector< GNEConnection * > | getGNEIncomingConnections () | |||
returns a vector with the incoming GNEConnections of this lane More... | ||||
std::vector< GNEConnection * > | getGNEOutcomingConnections () | |||
returns a vector with the outgoing GNEConnections of this lane More... | ||||
FXIcon * | getIcon () const | |||
get FXIcon associated to this AC More... | ||||
const std::string | getID () const | |||
function to support debugging More... | ||||
int | getIndex () const | |||
returns the index of the lane More... | ||||
double | getLaneParametricLength () const | |||
returns the parameteric length of the lane More... | ||||
double | getLaneShapeLength () const | |||
returns the length of the lane's shape More... | ||||
double | getLengthGeometryFactor () const | |||
get lenght geometry factor More... | ||||
GNENet * | getNet () const | |||
get Net in which this element is placed More... | ||||
GNEEdge & | getParentEdge () | |||
Returns underlying parent edge. More... | ||||
const PositionVector & | getShape () const | |||
returns the shape of the lane More... | ||||
const std::vector< GNEShape * > & | getShapeChilds () const | |||
get shape childs of lane More... | ||||
const std::vector< double > & | getShapeLengths () const | |||
returns the vector with the shape lengths More... | ||||
const std::vector< double > & | getShapeRotations () const | |||
returns the vector with the shape rotations More... | ||||
double | getSpeed () const | |||
returns the current speed of lane 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... | ||||
GNELane (GNEEdge &edge, const int index) | ||||
FOX-declaration. More... | ||||
void | incRef (const std::string &debugMsg="") | |||
Increarse reference. More... | ||||
bool | isRestricted (SUMOVehicleClass vclass) const | |||
check if this lane is restricted 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 | removeAdditionalChild (GNEAdditional *additional) | |||
remove additional child from this edge More... | ||||
void | removeAdditionalParent (GNEAdditional *additional) | |||
remove additional child from this edge More... | ||||
void | removeLaneOfAdditionalParents (GNEUndoList *undoList, bool allowEmpty) | |||
remove lane of Additional Parent More... | ||||
void | removeShapeChild (GNEShape *shape) | |||
remove shape child of this lane More... | ||||
void | setIndex (int index) | |||
void | setSpecialColor (const RGBColor *Color2) | |||
bool | unreferenced () | |||
check if object ins't referenced More... | ||||
void | updateConnectionIDs () | |||
update IDs of incoming connections of this lane More... | ||||
void | updateGeometry (bool updateGrid) | |||
update pre-computed geometry information More... | ||||
~GNELane () | ||||
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... | ||||
inherited from GUIGlObject | ||||
std::string | getParentName () const | |||
Returns the name of the parent object (if any) More... | ||||
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own popup-menu. More... | ||||
long | onDefault (FXObject *, FXSelector, void *) | |||
multiplexes message to two targets 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 | |||
std::string | getAttributeForSelection (SumoXMLAttr key) const | |||
method for getting the attribute in the context of object selection More... | ||||
void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) | |||
bool | isValid (SumoXMLAttr key, const std::string &value) | |||
Function related with Generic Parameters | ||||
std::string | getGenericParametersStr () const | |||
return generic parameters in string format More... | ||||
std::vector< std::pair< std::string, std::string > > | getGenericParameters () const | |||
return generic parameters as vector of pairs format More... | ||||
void | setGenericParametersStr (const std::string &value) | |||
set generic parameters in string format More... | ||||
inherited from GUIGlObject | ||||
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own parameter window. More... | ||||
inherited from GNEAttributeCarrier | ||||
void | selectAttributeCarrier (bool changeFlag=true) | |||
select attribute carrier using GUIGlobalSelection More... | ||||
void | unselectAttributeCarrier (bool changeFlag=true) | |||
unselect attribute carrier using GUIGlobalSelection More... | ||||
bool | isAttributeCarrierSelected () const | |||
check if attribute carrier is selected More... | ||||
std::string | getPopUpID () const | |||
get PopPup ID (Used in AC Hierarchy) More... | ||||
std::string | getHierarchyName () const | |||
get Hierarchy Name (Used in AC Hierarchy) More... | ||||
Atomar getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
const std::string & | getFullName () const | |||
GUIGlID | getGlID () const | |||
Returns the numerical id of the object. More... | ||||
interfaces to be implemented by derived classes | ||||
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
Returns an own type parameter window (optional) More... | ||||
virtual const std::string & | getMicrosimID () const | |||
Returns the id of the object as known to microsim. More... | ||||
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... | ||||
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... | ||||
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 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 const TagProperties & | getTagProperties (SumoXMLTag tag) |
get Tag Properties More... | |
static bool | isGenericParametersValid (const std::string &value) |
check if given string can be parsed to a map/list of generic parameters More... | |
static bool | lanesConsecutives (const std::vector< GNELane *> &lanes) |
check if lanes are consecutives More... | |
template<typename T > | |
static T | parse (const std::string &string) |
parses a value of type T from string (used for basic types: int, double, bool, etc.) More... | |
template<typename T > | |
static T | parse (GNENet *net, const std::string &value) |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More... | |
template<typename T > | |
static T | parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort) |
Parse attribute from XML and show warnings if there are problems parsing it. More... | |
template<typename T > | |
static std::string | parseIDs (const std::vector< T > &ACs) |
parses a list of specific Attribute Carriers into a string of IDs More... | |
Static Public Attributes | |
static const GUIGlID | INVALID_ID = 0 |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings More... | |
Certain attributes and ACs (for example, connections) can be either loaded or guessed. The following static variables are used to remark it. | |
feature is still unchanged after being loaded (implies approval) | |
static const std::string | FEATURE_LOADED = "loaded" |
static const std::string | FEATURE_GUESSED = "guessed" |
feature has been reguessed (may still be unchanged be we can't tell (yet) More... | |
static const std::string | FEATURE_MODIFIED = "modified" |
feature has been manually modified (implies approval) More... | |
static const std::string | FEATURE_APPROVED = "approved" |
feature has been approved but not changed (i.e. after being reguessed) More... | |
Protected Member Functions | |
void | buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
void | buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type) |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More... | |
GNELane () | |
FOX needs this. 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 | |
std::vector< GNEAdditional * > | myAdditionalChilds |
list of Additional Childs of this NetElement More... | |
std::vector< GNEAdditional * > | myFirstAdditionalParents |
list of Additional parents of this NetElement More... | |
int | myIndex |
The index of this lane. More... | |
Boundary | myMovingGeometryBoundary |
boundary used during moving of elements More... | |
GNENet * | myNet |
the net to inform about updates More... | |
GNEEdge & | myParentEdge |
The Edge that to which this lane belongs. More... | |
bool | mySelected |
boolean to check if this AC is selected (instead of GUIGlObjectStorage) More... | |
std::vector< RGBColor > | myShapeColors |
The color of the shape parts (cached) More... | |
std::vector< GNEShape * > | myShapes |
list with the shapes vinculated with this lane More... | |
const RGBColor * | mySpecialColor |
optional special color More... | |
const TagProperties & | myTagProperty |
the xml tag to which this attribute carrier corresponds More... | |
computed only once (for performance) in updateGeometry(bool updateGrid) | |
The rotations of the shape parts | |
std::vector< double > | myShapeRotations |
std::vector< double > | myShapeLengths |
The lengths of the shape parts. More... | |
std::vector< Position > | myLaneRestrictedTexturePositions |
Position of textures of restricted lanes. More... | |
std::vector< double > | myLaneRestrictedTextureRotations |
Rotations of textures of restricted lanes. More... | |
Static Protected Attributes | |
static TagProperties | dummyTagProperty |
dummy TagProperty used for reference some elements (for Example, dummyEdge) More... | |
Private Member Functions | |
void | drawArrows () const |
draw arrows More... | |
bool | drawAsRailway (const GUIVisualizationSettings &s) const |
whether to draw this lane as a railway More... | |
bool | drawAsWaterway (const GUIVisualizationSettings &s) const |
whether to draw this lane as a waterways More... | |
void | drawDirectionIndicators (double exaggeration, bool spreadSuperposed) const |
direction indicators for lanes More... | |
void | drawLane2LaneConnections () const |
draw lane to lane connections More... | |
void | drawLinkNo (const GUIVisualizationSettings &s) const |
draw link Number More... | |
void | drawLinkRules () const |
draw link rules More... | |
void | drawMarkings (const GUIVisualizationSettings &s, double scale) const |
draw lane markings More... | |
void | drawTLSLinkNo (const GUIVisualizationSettings &s) const |
draw TLS Link Number More... | |
GNELane (const GNELane &)=delete | |
Invalidated copy constructor. More... | |
void | mouseOverObject (const GUIVisualizationSettings &s) const |
method for check if mouse is over objects More... | |
GNELane & | operator= (const GNELane &)=delete |
Invalidated assignment operator. More... | |
void | setAttribute (SumoXMLAttr key, const std::string &value) |
set attribute after validation More... | |
bool | setFunctionalColor (int activeScheme) const |
sets the color according to the current scheme index and some lane function More... | |
void | setLaneColor (const GUIVisualizationSettings &s) const |
set color according to edit mode and visualisation settings More... | |
bool | setMultiColor (const GUIColorer &c) const |
sets multiple colors according to the current scheme index and some lane function More... | |
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
|
inherited |
struct with the tag Properties
Definition at line 60 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 223 of file GNEAttributeCarrier.h.
GNELane::GNELane | ( | GNEEdge & | edge, |
const int | index | ||
) |
FOX-declaration.
Constructor
[in] | idStorage | The storage of gl-ids to get the one for this lane representation from |
[in] | the | edge this lane belongs to |
[in] | the | index of this lane |
Definition at line 59 of file GNELane.cpp.
GNELane::~GNELane | ( | ) |
Destructor.
Definition at line 74 of file GNELane.cpp.
|
protected |
FOX needs this.
Definition at line 66 of file GNELane.cpp.
|
privatedelete |
Invalidated copy constructor.
|
inherited |
add additional child to this edge
Definition at line 83 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNENetElement::myAdditionalChilds, and GNENetElement::updateGeometry().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildVaporizer(), GNEAdditional::changeEdge(), and GNEAdditional::changeLane().
|
inherited |
add additional child to this edge
Definition at line 56 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNENetElement::myFirstAdditionalParents, and GNENetElement::updateGeometry().
|
inherited |
Definition at line 263 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
void GNELane::addShapeChild | ( | GNEShape * | shape | ) |
add shape child to this lane
Definition at line 792 of file GNELane.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myShapes, and GNEShape::updateGeometry().
Referenced by GNEPOI::setAttribute().
|
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(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::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(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEPoly::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(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNENet::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::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(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), 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(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 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(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::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.
|
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().
|
private |
draw arrows
Definition at line 131 of file GNELane.cpp.
References GLHelper::drawBoxLine(), GLHelper::drawOutlineCircle(), GLHelper::drawTriangleAtEnd(), OptionsCont::getBool(), NBNode::getDirection(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), getShape(), GLO_JUNCTION, LINKDIR_LEFT, LINKDIR_NODIR, LINKDIR_PARTLEFT, LINKDIR_PARTRIGHT, LINKDIR_RIGHT, LINKDIR_STRAIGHT, LINKDIR_TURN, LINKDIR_TURN_LEFTHAND, M_PI, NBEdge::myConnections, myIndex, myParentEdge, NBEdge::myTo, Position::x(), and Position::y().
Referenced by drawGL().
|
private |
whether to draw this lane as a railway
Definition at line 1208 of file GNELane.cpp.
References GUIVisualizationSettings::drawForSelecting, GNEEdge::getNBEdge(), NBEdge::getPermissions(), isRailway(), myIndex, myParentEdge, GUIVisualizationSettings::showRails, and GUIVisualizationSettings::spreadSuperposed.
Referenced by drawGL().
|
private |
whether to draw this lane as a waterways
Definition at line 1214 of file GNELane.cpp.
References GUIVisualizationSettings::drawForSelecting, GNEEdge::getNBEdge(), NBEdge::getPermissions(), isWaterway(), myIndex, myParentEdge, and GUIVisualizationSettings::showRails.
|
private |
direction indicators for lanes
Definition at line 1220 of file GNELane.cpp.
References NBEdge::getLaneWidth(), GNEEdge::getNBEdge(), getShape(), GLO_JUNCTION, MAX2(), MIN2(), myIndex, myParentEdge, myShapeLengths, myShapeRotations, and NUMERICAL_EPS.
Referenced by drawGL().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GNENetElement.
Definition at line 251 of file GNELane.cpp.
References RGBColor::changedBrightness(), NBEdge::Lane::customShape, drawArrows(), drawAsRailway(), GLHelper::drawBoxLines(), GLHelper::drawCrossTies(), drawDirectionIndicators(), GLHelper::drawFilledCircle(), GUIVisualizationSettings::drawForSelecting, GLHelper::drawLine(), GUIVisualizationSettings::drawLinkJunctionIndex, drawLinkNo(), GUIVisualizationSettings::drawLinkTLIndex, drawMarkings(), GLHelper::drawShapeDottedContour(), GLHelper::drawText(), GUITexturesHelper::drawTexturedBox(), drawTLSLinkNo(), GUIPropertySchemeStorage< T >::getActive(), OptionsCont::getBool(), GNEAttributeCarrier::getCircleResolution(), GLHelper::getColor(), GNEViewNet::getDottedAC(), GUIGlObject::getGlID(), GNEEdge::getGNEJunctionDestiny(), GNEEdge::getGNEJunctionSource(), NBEdge::getLaneStruct(), NBEdge::getLaneWidth(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), GNEJunction::getPositionInView(), GUIPropertySchemeStorage< T >::getSchemes(), getShape(), GUITextureSubSys::getTexture(), GUIGlObject::getType(), GNENet::getViewNet(), GLO_JUNCTION, GNETEXTURE_LANEBIKE, GNETEXTURE_LANEBUS, GNETEXTURE_LANEPEDESTRIAN, GNENetElement::isAttributeCarrierSelected(), NBEdge::isBidiRail(), GNEJunction::isLogicValid(), isRestricted(), GUIVisualizationSettings::junctionColorer, GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneMinSize, GUIVisualizationSettings::laneShowBorders, GUIVisualizationSettings::laneWidthExaggeration, MIN2(), PositionVector::move2side(), myIndex, myLaneRestrictedTexturePositions, myLaneRestrictedTextureRotations, GNENetElement::myNet, myParentEdge, myShapeColors, myShapeLengths, myShapeRotations, GUIVisualizationSettings::scale, GUIVisualizationSettings::selectedEdgeColor, GUIVisualizationSettings::selectionScale, GLHelper::setColor(), setLaneColor(), NBEdge::Lane::shape, GUIVisualizationTextSettings::show, GUIVisualizationSettings::showLaneDirection, GUIVisualizationSettings::showLinkDecals, GNEEdge::SNAP_RADIUS, GUIVisualizationSettings::spreadSuperposed, SUMO_const_laneMarkWidth, SUMO_const_laneWidth, SVC_BICYCLE, SVC_BUS, SVC_PEDESTRIAN, RGBColor::WHITE, and NBEdge::Lane::width.
|
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.
|
private |
draw lane to lane connections
Definition at line 201 of file GNELane.cpp.
References GLHelper::drawTriangleAtEnd(), NBEdge::getConnectionsFromLane(), NBNode::getLinkState(), GNEEdge::getNBEdge(), getShape(), NBEdge::getToNode(), GLO_JUNCTION, LINKSTATE_ALLWAY_STOP, LINKSTATE_EQUAL, LINKSTATE_MAJOR, LINKSTATE_MINOR, LINKSTATE_STOP, LINKSTATE_TL_OFF_BLINKING, LINKSTATE_TL_OFF_NOSIGNAL, LINKSTATE_ZIPPER, myIndex, myParentEdge, toString(), Position::x(), and Position::y().
|
private |
draw link Number
Definition at line 79 of file GNELane.cpp.
References GUIVisualizationTextSettings::color, GUIVisualizationSettings::drawLinkJunctionIndex, GLHelper::drawTextAtEnd(), OptionsCont::getBool(), NBNode::getConnectionIndex(), NBEdge::getConnectionsFromLane(), NBEdge::getLaneWidth(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), getShape(), NBEdge::getToNode(), GLO_JUNCTION, myIndex, myParentEdge, GUIVisualizationTextSettings::size, and toString().
Referenced by drawGL().
|
private |
draw link rules
Definition at line 126 of file GNELane.cpp.
|
private |
draw lane markings
Definition at line 443 of file GNELane.cpp.
References GLHelper::drawBoxLines(), OptionsCont::getBool(), NBEdge::getLaneWidth(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), NBEdge::getPermissions(), getShape(), getShapeLengths(), getShapeRotations(), GLO_EDGE, MIN2(), myIndex, myParentEdge, myShapeLengths, myShapeRotations, and SUMO_const_laneMarkWidth.
Referenced by 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().
|
private |
draw TLS Link Number
Definition at line 103 of file GNELane.cpp.
References GUIVisualizationTextSettings::color, GUIVisualizationSettings::drawLinkTLIndex, GLHelper::drawTextAtEnd(), OptionsCont::getBool(), NBEdge::getConnectionsFromLane(), NBEdge::getLaneWidth(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), getShape(), GLO_JUNCTION, myIndex, myParentEdge, GUIVisualizationTextSettings::size, and toString().
Referenced by drawGL().
void GNELane::endGeometryMoving | ( | ) |
begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree)
Definition at line 1346 of file GNELane.cpp.
References GNENetElement::myAdditionalChilds, GNENetElement::myFirstAdditionalParents, and myShapes.
|
inherited |
return vector of additionals that have as Parent this edge (For example, Calibrators)
Definition at line 116 of file GNENetElement.cpp.
References GNENetElement::myAdditionalChilds.
Referenced by GNEEdge::addConnection(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNENet::replaceIncomingEdge(), GNEEdge::retrieveGNEConnection(), and GNEFrame::ACHierarchy::showAttributeCarrierChilds().
|
inherited |
return vector of additionals that have as Parameter this edge (For example, Rerouters)
Definition at line 110 of file GNENetElement.cpp.
References GNENetElement::myFirstAdditionalParents.
Referenced by GNEDeleteFrame::removeAttributeCarrier(), and GNENet::replaceIncomingEdge().
|
virtual |
Implements GNENetElement.
Definition at line 829 of file GNELane.cpp.
References NBEdge::Lane::accelRamp, NBEdge::Lane::customShape, NBEdge::Lane::endOffset, getGenericParametersStr(), NBEdge::getLaneSpeed(), NBEdge::getLaneStruct(), GUIGlObject::getMicrosimID(), GNEEdge::getNBEdge(), NBEdge::getPermissions(), GNEAttributeCarrier::getTagStr(), getVehicleClassNames(), GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, invertPermissions(), GNENetElement::isAttributeCarrierSelected(), myIndex, myParentEdge, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, toString(), and NBEdge::Lane::width.
Referenced by getAttributeForSelection().
|
virtual |
method for getting the attribute in the context of object selection
Reimplemented from GNEAttributeCarrier.
Definition at line 860 of file GNELane.cpp.
References getAttribute(), getVehicleClassNames(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, and SVCAll.
Boundary GNELane::getBoundary | ( | ) | const |
returns the boundry (including lanes)
Definition at line 687 of file GNELane.cpp.
References NBEdge::Lane::customShape, PositionVector::getBoxBoundary(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), myIndex, myParentEdge, and NBEdge::Lane::shape.
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GNENetElement.
Definition at line 660 of file GNELane.cpp.
References PositionVector::getBoxBoundary(), getShape(), and Boundary::grow().
|
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(), drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), and GNEAttributeCarrier::parseAttributeFromXML().
|
virtual |
return value for lane coloring according to the given scheme
Reimplemented from GUIGlObject.
Definition at line 1105 of file GNELane.cpp.
References GUIVisualizationSettings::edgeParam, GNEAttributeCarrier::getID(), NBEdge::getLaneSpeed(), NBEdge::getLaneStruct(), NBEdge::getLength(), NBEdge::getLoadedLength(), GNEEdge::getNBEdge(), NBEdge::getNumLanes(), Parameterised::getParameter(), NBEdge::getPermissions(), NBEdge::getPriority(), getShape(), GNENetElement::isAttributeCarrierSelected(), isRailway(), GUIVisualizationSettings::laneParam, myIndex, myParentEdge, SVC_BICYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_SHIP, StringUtils::toDouble(), and WRITE_WARNING.
Referenced by GNEEdge::drawGL(), and setLaneColor().
|
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 GNENetElement.
Definition at line 946 of file GNELane.cpp.
References NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), Parameterised::getParametersMap(), myIndex, and myParentEdge.
|
virtual |
return generic parameters in string format
Implements GNENetElement.
Definition at line 931 of file GNELane.cpp.
References NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), Parameterised::getParametersMap(), myIndex, and myParentEdge.
Referenced by getAttribute().
|
inherited |
Returns the numerical id of the object.
Definition at line 129 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GUIGlObject::buildSelectionPopupEntry(), GNEAdditionalHandler::buildVaporizer(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNEJunction::drawGL(), GNEInternalLane::drawGL(), GNECrossing::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEDetectorE1Instant::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIPolygon::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GUIPointOfInterest::drawGL(), GNETAZ::drawGL(), drawGL(), GNEConnection::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEEdge::drawGL(), GUILane::drawGL(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEFrame::ACHierarchy::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNEShape::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNEShape::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
std::vector< GNEConnection * > GNELane::getGNEIncomingConnections | ( | ) |
returns a vector with the incoming GNEConnections of this lane
Definition at line 1266 of file GNELane.cpp.
References GNEJunction::getGNEIncomingEdges(), GNEEdge::getGNEJunctionSource(), getIndex(), and myParentEdge.
Referenced by GNEFrame::ACHierarchy::showAttributeCarrierChilds(), updateConnectionIDs(), and updateGeometry().
std::vector< GNEConnection * > GNELane::getGNEOutcomingConnections | ( | ) |
returns a vector with the outgoing GNEConnections of this lane
Definition at line 1287 of file GNELane.cpp.
References GNEEdge::getGNEConnections(), getIndex(), and myParentEdge.
Referenced by GNEFrame::ACHierarchy::showAttributeCarrierChilds(), updateConnectionIDs(), and updateGeometry().
|
virtualinherited |
get Hierarchy Name (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 188 of file GNENetElement.cpp.
References GNENetElement::getAttribute(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::myTagProperty, SUMO_ATTR_FROM_LANE, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_TO_LANE, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_LANE, and toString().
Referenced by GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
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().
|
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(), 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(), 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(), removeLaneOfAdditionalParents(), GNEJunction::removeOutgoingGNEEdge(), GNENet::removeShape(), 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().
int GNELane::getIndex | ( | ) | const |
returns the index of the lane
Definition at line 757 of file GNELane.cpp.
References myIndex.
Referenced by GNEEdge::addLane(), GNEViewNet::addRestrictedLane(), GNEConnectorFrame::buildConnection(), GNENet::deleteLane(), GNEViewNet::drawLaneCandidates(), GNENet::duplicateLane(), GNEConnection::getFromLaneIndex(), getGNEIncomingConnections(), getGNEOutcomingConnections(), GNEConnectorFrame::getLaneStatus(), GNEConnection::getToLaneIndex(), GNEConnectorFrame::initTargets(), GNEEdge::removeLane(), GNENet::retrieveLane(), GNEBusStop::updateGeometry(), GNEContainerStop::updateGeometry(), and GNEParkingArea::updateGeometry().
double GNELane::getLaneParametricLength | ( | ) | const |
returns the parameteric length of the lane
Definition at line 775 of file GNELane.cpp.
References NBEdge::getLoadedLength(), GNEEdge::getNBEdge(), and myParentEdge.
Referenced by GNEStoppingPlace::fixAdditionalProblem(), and getPopUpMenu().
double GNELane::getLaneShapeLength | ( | ) | const |
returns the length of the lane's shape
Definition at line 786 of file GNELane.cpp.
References getShape(), and PositionVector::length().
Referenced by GNEStoppingPlace::getEndPosition(), getPopUpMenu(), GNEAdditionalHandler::getPosition(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEPOI::updateGeometry(), and updateGeometry().
double GNELane::getLengthGeometryFactor | ( | ) | const |
get lenght geometry factor
Definition at line 1317 of file GNELane.cpp.
References NBEdge::getFinalLength(), NBEdge::getLaneShape(), GNEEdge::getNBEdge(), PositionVector::length(), MAX2(), myIndex, myParentEdge, and POSITION_EPS.
Referenced by GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEFrame::NeteditAttributes::getNeteditAttributesAndValues(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEAccess::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), and GNEPOI::updateGeometry().
|
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(), 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(), getParentName(), GNEStoppingPlace::getParentName(), GNECalibrator::getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), GNEPoly::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 50 of file GNENetElement.cpp.
References GNENetElement::myNet.
Referenced by GNEConnection::setAttribute().
|
virtualinherited |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 122 of file GNENetElement.cpp.
References GUIParameterTableWindow::closeBuilding(), GNENetElement::getAttribute(), GNEAttributeCarrier::TagProperties::getNumberOfAttributes(), GUIParameterTableWindow::mkItem(), GNEAttributeCarrier::myTagProperty, and toString().
GNEEdge & GNELane::getParentEdge | ( | ) |
Returns underlying parent edge.
Definition at line 1260 of file GNELane.cpp.
References myParentEdge.
Referenced by GNEViewNet::addRestrictedLane(), GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEConnectorFrame::buildConnection(), GNENet::deleteLane(), GNEViewNet::drawLaneCandidates(), GNENet::duplicateLane(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorEntry::fixAdditionalProblem(), GNEDetectorExit::fixAdditionalProblem(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), GNEDetectorEntry::getAdditionalProblem(), GNEDetectorExit::getAdditionalProblem(), GNEStoppingPlace::getAdditionalProblem(), GNEDetectorE1::getAdditionalProblem(), GNEConnection::getBoundary(), GNEAccess::getEdge(), GNEConnection::getEdgeFrom(), GNEConnection::getEdgeTo(), GNEAccess::getHierarchyName(), GNEConnectorFrame::getLaneStatus(), GNETLSEditorFrame::handleMultiChange(), GNEConnectorFrame::initTargets(), GNEAccess::isAccessPositionFixed(), GNEDetectorE1Instant::isAdditionalValid(), GNEDetectorExit::isAdditionalValid(), GNEDetectorE1::isAdditionalValid(), GNEStoppingPlace::isAdditionalValid(), GNEDetectorEntry::isAdditionalValid(), GNEAccess::isValid(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEViewNet::removeRestrictedLane(), GNENet::restrictLane(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEContainerStop::updateGeometry(), GNEBusStop::updateGeometry(), GNEParkingArea::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorExit::updateGeometry(), and GNEDetectorE1Instant::updateGeometry().
|
virtual |
Returns the name of the parent object (if any)
Reimplemented from GUIGlObject.
Definition at line 1247 of file GNELane.cpp.
References GUIGlObject::getMicrosimID(), and myParentEdge.
|
virtualinherited |
get PopPup ID (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 178 of file GNENetElement.cpp.
References GNENetElement::getAttribute(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagStr(), GNEAttributeCarrier::myTagProperty, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, and SUMO_TAG_CONNECTION.
|
virtual |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GNENetElement.
Definition at line 484 of file GNELane.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GNEViewNet::buildSelectionACPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), GNEInternalLane::colorForLinksState(), GNETLSEditorFrame::controlsEdge(), NBEdge::Lane::customShape, GUIVisualizationSettings::editMode, StringBijection< T >::get(), MFXUtils::getFXColor(), GUIIconSubSys::getIcon(), getLaneParametricLength(), getLaneShapeLength(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), GUISUMOAbstractView::getPositionInformation(), getShape(), StringBijection< T >::getStrings(), GNEViewParent::getTLSEditorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GUISUMOAbstractView::getVisualisationSettings(), GNE_MODE_CONNECT, GNE_MODE_CREATE_EDGE, GNE_MODE_TLS, GNEEdge::hasRestrictedLane(), ICON_LANEBIKE, ICON_LANEBUS, ICON_LANEGREENVERGE, ICON_LANEPEDESTRIAN, GUIGLObjectPopupMenu::insertMenuPaneChild(), GNENetElement::isAttributeCarrierSelected(), GNEInternalLane::LinkStateNames, MID_COPY_EDGE_NAME, MID_GNE_EDGE_ADD_REVERSE, MID_GNE_EDGE_EDIT_ENDPOINT, MID_GNE_EDGE_RESET_ENDPOINT, MID_GNE_EDGE_REVERSE, MID_GNE_EDGE_SMOOTH, MID_GNE_EDGE_SMOOTH_ELEVATION, MID_GNE_EDGE_SPLIT, MID_GNE_EDGE_SPLIT_BIDI, MID_GNE_EDGE_STRAIGHTEN, MID_GNE_EDGE_STRAIGHTEN_ELEVATION, MID_GNE_LANE_ADD_BIKE, MID_GNE_LANE_ADD_BUS, MID_GNE_LANE_ADD_GREENVERGE, MID_GNE_LANE_ADD_SIDEWALK, MID_GNE_LANE_DUPLICATE, MID_GNE_LANE_REMOVE_BIKE, MID_GNE_LANE_REMOVE_BUS, MID_GNE_LANE_REMOVE_GREENVERGE, MID_GNE_LANE_REMOVE_SIDEWALK, MID_GNE_LANE_RESET_CUSTOMSHAPE, MID_GNE_LANE_TRANSFORM_BIKE, MID_GNE_LANE_TRANSFORM_BUS, MID_GNE_LANE_TRANSFORM_GREENVERGE, MID_GNE_LANE_TRANSFORM_SIDEWALK, myIndex, GNENetElement::myNet, myParentEdge, PositionVector::nearest_offset_to_point2D(), PositionVector::positionAtOffset2D(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), SUMO_TAG_EDGE, SUMO_TAG_LANE, SVC_BICYCLE, SVC_BUS, SVC_IGNORING, SVC_PEDESTRIAN, toString(), and Position::z().
const PositionVector & GNELane::getShape | ( | ) | const |
returns the shape of the lane
Definition at line 669 of file GNELane.cpp.
References NBEdge::getLaneShape(), GNEEdge::getNBEdge(), myIndex, and myParentEdge.
Referenced by GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEPOI::commitGeometryMoving(), drawArrows(), drawDirectionIndicators(), drawGL(), GNEEdge::drawGL(), drawLane2LaneConnections(), drawLinkNo(), drawMarkings(), drawTLSLinkNo(), getCenteringBoundary(), getColorValue(), getLaneShapeLength(), GNEFrame::NeteditAttributes::getNeteditAttributesAndValues(), getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEAccess::getPositionInView(), GNEStoppingPlace::getPositionInView(), GNECalibrator::getPositionInView(), GNEDetector::getPositionInView(), GNECalibrator::isValid(), GNEAccess::moveGeometry(), GNEDetectorEntry::moveGeometry(), GNEDetectorExit::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEPOI::moveGeometry(), GNEViewNet::onCmdTransformPOI(), GNEPolygonFrame::processClick(), setFunctionalColor(), setMultiColor(), GNEAdditional::BlockIcon::setRotation(), GNEStoppingPlace::setStoppingPlaceGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEAccess::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorE1Instant::updateGeometry(), GNECalibrator::updateGeometry(), GNEPOI::updateGeometry(), updateGeometry(), and GNEPOI::writeShape().
const std::vector< GNEShape * > & GNELane::getShapeChilds | ( | ) | const |
get shape childs of lane
Definition at line 817 of file GNELane.cpp.
References myShapes.
Referenced by GNENet::deleteLane().
const std::vector< double > & GNELane::getShapeLengths | ( | ) | const |
returns the vector with the shape lengths
Definition at line 681 of file GNELane.cpp.
References myShapeLengths.
Referenced by drawMarkings().
const std::vector< double > & GNELane::getShapeRotations | ( | ) | const |
returns the vector with the shape rotations
Definition at line 675 of file GNELane.cpp.
References myShapeRotations.
Referenced by drawMarkings().
double GNELane::getSpeed | ( | ) | const |
returns the current speed of lane
Definition at line 769 of file GNELane.cpp.
References NBEdge::getLaneSpeed(), GNEEdge::getNBEdge(), myIndex, and myParentEdge.
|
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(), 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(), GNEPoly::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(), GNEPoly::getAttribute(), 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(), GNEPoly::isValid(), 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(), 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(), GNEClosingLaneReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDetectorE3::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(), GNEPoly::setAttribute(), 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(), drawGL(), GNEConnection::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEDetectorE2::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::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().
|
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 172 of file GNENetElement.cpp.
References GNEAttributeCarrier::mySelected.
Referenced by GNEEdge::addLane(), GNEViewNet::MoveSingleElementValues::calculateEdgeValues(), GNENet::deleteConnection(), GNENet::deleteCrossing(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEJunction::drawGL(), GNECrossing::drawGL(), drawGL(), GNEConnection::drawGL(), GNEEdge::drawGL(), GNECrossing::getAttribute(), GNEConnection::getAttribute(), getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), getColorValue(), GNEJunction::getColorValue(), getPopUpMenu(), GNETLSEditorFrame::handleMultiChange(), GNEJunction::mouseOverObject(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdReverseEdge(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEJunction::setColor(), and setLaneColor().
|
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(), GNEPoly::isValid(), isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEEdge::isValid(), and GNEFrame::GenericParametersEditor::onCmdSetGenericParameter().
bool GNELane::isRestricted | ( | SUMOVehicleClass | vclass | ) | const |
check if this lane is restricted
Definition at line 823 of file GNELane.cpp.
References GNEEdge::getNBEdge(), NBEdge::getPermissions(), myIndex, and myParentEdge.
Referenced by drawGL(), and updateGeometry().
|
virtual |
Implements GNENetElement.
Definition at line 894 of file GNELane.cpp.
References canParseVehicleClasses(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, GNEAttributeCarrier::isGenericParametersValid(), myIndex, GNEChange::size(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, toString(), and NBEdge::UNSPECIFIED_WIDTH.
|
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 GNENetElement.
Definition at line 1044 of file GNELane.cpp.
long GNELane::onDefault | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | data | ||
) |
multiplexes message to two targets
Definition at line 1253 of file GNELane.cpp.
References GNEViewParent::getTLSEditorFrame(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNETLSEditorFrame::handleMultiChange(), and GNENetElement::myNet.
|
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().
|
inherited |
remove additional child from this edge
Definition at line 96 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNENetElement::myAdditionalChilds, and GNENetElement::updateGeometry().
Referenced by GNEAdditional::changeEdge(), and GNEAdditional::changeLane().
|
inherited |
remove additional child from this edge
Definition at line 69 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNENetElement::myFirstAdditionalParents, and GNENetElement::updateGeometry().
void GNELane::removeLaneOfAdditionalParents | ( | GNEUndoList * | undoList, |
bool | allowEmpty | ||
) |
remove lane of Additional Parent
Definition at line 1178 of file GNELane.cpp.
References GNEAttributeCarrier::getID(), GNENetElement::myFirstAdditionalParents, SUMO_ATTR_LANES, and toString().
Referenced by GNENet::deleteLane().
|
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().
void GNELane::removeShapeChild | ( | GNEShape * | shape | ) |
remove shape child of this lane
Definition at line 805 of file GNELane.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), and myShapes.
Referenced by GNEPOI::setAttribute().
|
virtualinherited |
select attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 141 of file GNENetElement.cpp.
References GNESelectorFrame::LockGLObjectTypes::addedLockedObject(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GUIGlObject::getType(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNENetElement::myNet, GNEAttributeCarrier::mySelected, and GUISelectedStorage::select().
Referenced by GNEEdge::addConnection(), GNEEdge::addLane(), GNEViewNet::onLeftBtnRelease(), GNEChange_Crossing::redo(), GNENet::registerEdge(), GNENet::registerJunction(), GNECrossing::setAttribute(), GNEConnection::setAttribute(), setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), and GNEChange_Crossing::undo().
|
virtual |
Implements GNENetElement.
Definition at line 870 of file GNELane.cpp.
References GNEAttributeCarrier::getTagStr(), GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, GNEAttributeCarrier::GNEChange_Attribute, GNEUndoList::p_add(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, and toString().
Referenced by GNEViewNet::onCmdResetLaneCustomShape(), and GNENet::restrictLane().
|
privatevirtual |
set attribute after validation
Implements GNENetElement.
Definition at line 991 of file GNELane.cpp.
References GNENet::addGLObjectIntoGrid(), GNEEdge::getNBEdge(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, invertPermissions(), myIndex, GNENetElement::myNet, myParentEdge, parseVehicleClasses(), GNENet::removeGLObjectFromGrid(), GNENetElement::selectAttributeCarrier(), NBEdge::setAcceleration(), NBEdge::setEndOffset(), setGenericParametersStr(), NBEdge::setLaneShape(), NBEdge::setLaneWidth(), NBEdge::setPermissions(), NBEdge::setSpeed(), SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ID, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, toString(), GNENetElement::unselectAttributeCarrier(), and updateGeometry().
|
private |
sets the color according to the current scheme index and some lane function
Definition at line 1069 of file GNELane.cpp.
References RGBColor::fromHSV(), getShape(), GeomHelper::naviDegree(), and GLHelper::setColor().
Referenced by setLaneColor().
|
virtual |
set generic parameters in string format
Implements GNENetElement.
Definition at line 957 of file GNELane.cpp.
References Parameterised::clearParameter(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), myIndex, myParentEdge, StringTokenizer::next(), and Parameterised::setParameter().
Referenced by setAttribute().
void GNELane::setIndex | ( | int | index | ) |
Definition at line 762 of file GNELane.cpp.
References NBEdge::getLaneID(), GNEEdge::getNBEdge(), myIndex, myParentEdge, and GUIGlObject::setMicrosimID().
|
private |
set color according to edit mode and visualisation settings
Definition at line 1049 of file GNELane.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), GNENetElement::isAttributeCarrierSelected(), GUIVisualizationSettings::laneColorer, myParentEdge, mySpecialColor, GUIVisualizationSettings::selectedEdgeColor, GUIVisualizationSettings::selectedLaneColor, GLHelper::setColor(), setFunctionalColor(), and setMultiColor().
Referenced by drawGL().
|
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(), GNEPoly::setAttribute(), setIndex(), GNEEdge::setMicrosimID(), and GNEConnection::updateID().
|
private |
sets multiple colors according to the current scheme index and some lane function
Definition at line 1083 of file GNELane.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), GUIPropertySchemeStorage< T >::getScheme(), getShape(), MAX2(), myShapeColors, and POSITION_EPS.
Referenced by setLaneColor().
void GNELane::setSpecialColor | ( | const RGBColor * | Color2 | ) |
Definition at line 982 of file GNELane.cpp.
References mySpecialColor.
Referenced by GNEAdditionalFrame::SelectorLaneParents::addSelectedLane(), GNEConnectorFrame::buildConnection(), and GNEConnectorFrame::cleanup().
void GNELane::startGeometryMoving | ( | ) |
Definition at line 1328 of file GNELane.cpp.
References GNENetElement::myAdditionalChilds, GNENetElement::myFirstAdditionalParents, and myShapes.
|
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 157 of file GNENetElement.cpp.
References GUISelectedStorage::deselect(), GUIGlObject::getGlID(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewParent::getSelectorFrame(), GUIGlObject::getType(), GNENet::getViewNet(), GNEViewNet::getViewParent(), gSelected, GNENetElement::myNet, GNEAttributeCarrier::mySelected, and GNESelectorFrame::LockGLObjectTypes::removeLockedObject().
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEViewNet::onLeftBtnRelease(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNECrossing::setAttribute(), GNEConnection::setAttribute(), setAttribute(), GNEJunction::setAttribute(), and GNEEdge::setAttribute().
void GNELane::updateConnectionIDs | ( | ) |
update IDs of incoming connections of this lane
Definition at line 1302 of file GNELane.cpp.
References getGNEIncomingConnections(), and getGNEOutcomingConnections().
|
virtual |
update pre-computed geometry information
Implements GNENetElement.
Definition at line 697 of file GNELane.cpp.
References Position::distanceTo2D(), GNEViewNet::getCurrentEditMode(), getGNEIncomingConnections(), getGNEOutcomingConnections(), getLaneShapeLength(), getShape(), GNENet::getViewNet(), GNE_MODE_MOVE, isRestricted(), M_PI, GNENetElement::myAdditionalChilds, GNENetElement::myFirstAdditionalParents, myLaneRestrictedTexturePositions, myLaneRestrictedTextureRotations, GNENetElement::myNet, myShapeLengths, myShapeRotations, myShapes, SVC_BICYCLE, SVC_BUS, SVC_PEDESTRIAN, Position::x(), and Position::y().
Referenced by setAttribute().
|
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 |
list of Additional Childs of this NetElement
Definition at line 174 of file GNENetElement.h.
Referenced by GNENetElement::addAdditionalChild(), endGeometryMoving(), GNEEdge::endGeometryMoving(), GNENetElement::getAdditionalChilds(), GNEEdge::getRouteProbeRelativePosition(), GNENetElement::removeAdditionalChild(), startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEEdge::updateGeometry(), and updateGeometry().
|
protectedinherited |
list of Additional parents of this NetElement
Definition at line 171 of file GNENetElement.h.
Referenced by GNENetElement::addAdditionalParent(), endGeometryMoving(), GNEEdge::endGeometryMoving(), GNENetElement::getAdditionalParents(), GNENetElement::removeAdditionalParent(), GNEEdge::removeEdgeOfAdditionalParents(), removeLaneOfAdditionalParents(), startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEEdge::updateGeometry(), and updateGeometry().
|
protected |
The index of this lane.
Definition at line 226 of file GNELane.h.
Referenced by drawArrows(), drawAsRailway(), drawAsWaterway(), drawDirectionIndicators(), drawGL(), drawLane2LaneConnections(), drawLinkNo(), drawMarkings(), drawTLSLinkNo(), getAttribute(), getBoundary(), getColorValue(), getGenericParameters(), getGenericParametersStr(), getIndex(), getLengthGeometryFactor(), getPopUpMenu(), getShape(), getSpeed(), isRestricted(), isValid(), setAttribute(), setGenericParametersStr(), and setIndex().
|
protected |
Position of textures of restricted lanes.
Definition at line 237 of file GNELane.h.
Referenced by drawGL(), and updateGeometry().
|
protected |
Rotations of textures of restricted lanes.
Definition at line 240 of file GNELane.h.
Referenced by drawGL(), and updateGeometry().
|
protected |
|
protectedinherited |
the net to inform about updates
Definition at line 165 of file GNENetElement.h.
Referenced by GNEEdge::addLane(), GNEJunction::addTrafficLight(), GNEEdge::clearGNEConnections(), GNEEdge::commitShapeChange(), GNEEdge::deleteGeometryPoint(), GNEJunction::drawGL(), GNECrossing::drawGL(), drawGL(), GNEConnection::drawGL(), GNEEdge::drawGL(), GNEEdge::editEndpoint(), GNEEdge::endGeometryMoving(), GNEJunction::endGeometryMoving(), GNENetElement::getNet(), GNEEdge::getOppositeEdge(), GNEJunction::getPopUpMenu(), GNECrossing::getPopUpMenu(), getPopUpMenu(), GNEConnection::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEEdge::getVertexIndex(), GNEJunction::invalidateShape(), GNEJunction::invalidateTLS(), GNECrossing::isValid(), GNEJunction::isValid(), GNEEdge::isValid(), GNEJunction::markAsModified(), GNEJunction::mouseOverObject(), GNEJunction::moveGeometry(), GNEJunction::moveJunctionGeometry(), GNEEdge::moveShapeEnd(), GNEEdge::moveShapeStart(), GNEEdge::moveVertexShape(), onDefault(), GNEJunction::rebuildGNECrossings(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), GNEJunction::removeConnectionsFrom(), GNEJunction::removeConnectionsTo(), GNEJunction::removeEdgeFromCrossings(), GNEEdge::removeEdgeFromCrossings(), GNEEdge::removeLane(), GNEJunction::removeTLSConnections(), GNEJunction::removeTrafficLight(), GNEJunction::replaceIncomingConnections(), GNEEdge::retrieveGNEConnection(), GNENetElement::selectAttributeCarrier(), GNECrossing::setAttribute(), GNEJunction::setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), setAttribute(), GNEEdge::setGeometry(), GNEJunction::setLogicValid(), GNENetElement::unselectAttributeCarrier(), GNEConnection::updateGeometry(), GNEEdge::updateGeometry(), updateGeometry(), GNEJunction::updateGeometry(), and GNEJunction::updateShapesAndGeometries().
|
protected |
The Edge that to which this lane belongs.
Definition at line 220 of file GNELane.h.
Referenced by drawArrows(), drawAsRailway(), drawAsWaterway(), drawDirectionIndicators(), drawGL(), drawLane2LaneConnections(), drawLinkNo(), drawMarkings(), drawTLSLinkNo(), getAttribute(), getBoundary(), getColorValue(), getGenericParameters(), getGenericParametersStr(), getGNEIncomingConnections(), getGNEOutcomingConnections(), getLaneParametricLength(), getLengthGeometryFactor(), getParentEdge(), getParentName(), getPopUpMenu(), getShape(), getSpeed(), isRestricted(), setAttribute(), setGenericParametersStr(), setIndex(), and setLaneColor().
|
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().
|
mutableprotected |
The color of the shape parts (cached)
Definition at line 250 of file GNELane.h.
Referenced by drawGL(), and setMultiColor().
|
protected |
The lengths of the shape parts.
Definition at line 234 of file GNELane.h.
Referenced by drawDirectionIndicators(), drawGL(), drawMarkings(), getShapeLengths(), and updateGeometry().
|
protected |
Definition at line 231 of file GNELane.h.
Referenced by drawDirectionIndicators(), drawGL(), drawMarkings(), getShapeRotations(), and updateGeometry().
|
protected |
list with the shapes vinculated with this lane
Definition at line 244 of file GNELane.h.
Referenced by addShapeChild(), endGeometryMoving(), getShapeChilds(), removeShapeChild(), startGeometryMoving(), and updateGeometry().
|
protected |
optional special color
Definition at line 247 of file GNELane.h.
Referenced by setLaneColor(), and setSpecialColor().
|
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().