![]() |
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 | decRef (const std::string &debugMsg="") |
virtual void | drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const |
Draws additional, user-triggered visualisations. More... | |
void | drawName (const Position &pos, const SUMOReal scale, const GUIVisualizationTextSettings &settings, const SUMOReal angle=0) const |
const std::vector< SumoXMLAttr > & | getAttrs () const |
Boundary | getBoundary () const |
returns the boundry (including lanes) More... | |
virtual std::string | getDescription () |
how should this attribute carrier be called More... | |
const std::string | getID () const |
function to support debugging More... | |
unsigned int | getIndex () const |
const PositionVector & | getShape () const |
const std::vector< SUMOReal > & | getShapeLengths () const |
const std::vector< SUMOReal > & | getShapeRotations () const |
SumoXMLTag | getTag () const |
GNELane (GNEEdge &edge, const unsigned int index) | |
Constructor. More... | |
void | incRef (const std::string &debugMsg="") |
void | setIndex (unsigned int index) |
void | setSpecialColor (const RGBColor *color) |
bool | unreferenced () |
void | updateGeometry () |
update pre-computed geometry information More... | |
virtual | ~GNELane () |
Destructor. More... | |
inherited from GUIGlObject | |
const 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... | |
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own parameter window. More... | |
long | onDefault (FXObject *, FXSelector, void *) |
multiplexes message to two targets More... | |
GNEEdge & | getParentEdge () |
Returns underlying parent edge. 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... | |
std::string | getAttribute (SumoXMLAttr key) const |
void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) |
bool | isValid (SumoXMLAttr key, const std::string &value) |
Atomar getter methods | |
const std::string & | getFullName () const |
Returns the full name appearing in the tool tip. More... | |
GUIGlID | getGlID () const |
Returns the numerical id of the object. More... | |
interfaces to be implemented by derived classes | |
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 (happens in NETEDIT) More... | |
GUIGlObjectType | getType () const |
Returns the type of the object as coded in GUIGlObjectType. More... | |
Parameter table window I/O | |
void | addParameterTable (GUIParameterTableWindow *w) |
Lets this object know a parameter window showing the object's values was opened. More... | |
void | removeParameterTable (GUIParameterTableWindow *w) |
Lets this object know a parameter window showing the object's values was closed. More... | |
Static Public Member Functions | |
static const std::vector< SumoXMLAttr > & | allowedAttributes (SumoXMLTag tag) |
get all editable attributes for tag. More... | |
static const std::vector< SumoXMLTag > & | allowedTags () |
get all editable attributes for tag. More... | |
template<class T > | |
static bool | canParse (const std::string &string) |
true if an object of type T can be parsed from string More... | |
static const std::vector< std::string > & | discreteChoices (SumoXMLTag tag, SumoXMLAttr attr) |
return a list of discrete choices for this attribute or an empty vector More... | |
static bool | discreteCombinableChoices (SumoXMLTag tag, SumoXMLAttr attr) |
return whether the given attribute allows for a combination of discrete values More... | |
static bool | isNumerical (SumoXMLAttr attr) |
whether an attribute is numerical More... | |
template<class T > | |
static bool | isPositive (const std::string &string) |
true if a positive number of type T can be parsed from string More... | |
static bool | isUnique (SumoXMLAttr attr) |
whether an attribute is unique (may not be edited for a multi-selection) More... | |
static bool | isValidID (const std::string &value) |
true if value is a valid sumo ID More... | |
template<class T > | |
static T | parse (const std::string &string) |
parses an object of type T from from string More... | |
Static Public Attributes | |
static const std::string | APPROVED = "approved" |
feature has been approved but not changed (i.e. after being reguessed) More... | |
static const std::string | GUESSED = "guessed" |
feature has been reguessed (may still be unchanged be we can't tell (yet) More... | |
static const std::string | LOADED = "loaded" |
feature is still unchanged after being loaded (implies approval) More... | |
static const std::string | MODIFIED = "modified" |
feature has been manually modified (implies approval) More... | |
static StringBijection< GUIGlObjectType > | TypeNames |
associates object types with strings More... | |
Protected Member Functions | |
GNELane () | |
FOX needs this. More... | |
void | setPrefix (const std::string &prefix) |
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 | 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... | |
Private Member Functions | |
void | drawArrows () const |
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 | drawCrossties (SUMOReal length, SUMOReal spacing, SUMOReal halfWidth) const |
void | drawLane2LaneConnections () const |
void | drawLinkNo () const |
void | drawLinkRules () const |
void | drawMarkings (const bool &selectedEdge, SUMOReal scale) const |
void | drawTLSLinkNo () const |
SUMOReal | getColorValue (size_t activeScheme) const |
GNELane (const GNELane &) | |
Invalidated copy constructor. More... | |
GNELane & | operator= (const GNELane &) |
Invalidated assignment operator. More... | |
void | setAttribute (SumoXMLAttr key, const std::string &value) |
bool | setFunctionalColor (size_t activeScheme) const |
sets the color according to the current scheme index and some lane function More... | |
bool | setMultiColor (const GUIColorer &c) const |
sets multiple colors according to the current scheme index and some lane function More... | |
Private Attributes | |
unsigned int | myIndex |
The index of this lane. More... | |
GNEEdge & | myParentEdge |
The Edge that to which this lane belongs. More... | |
std::vector< RGBColor > | myShapeColors |
The color of the shape parts (cached) More... | |
const RGBColor * | mySpecialColor |
optional special color More... | |
GNETLSEditor * | myTLSEditor |
the tls-editor for setting multiple links in TLS-mode More... | |
computed only once (for performance) in updateGeometry() | |
std::vector< SUMOReal > | myShapeRotations |
The rotations of the shape parts. More... | |
std::vector< SUMOReal > | myShapeLengths |
The lengths of the shape parts. More... | |
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
GNELane::GNELane | ( | GNEEdge & | edge, |
const unsigned int | index | ||
) |
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 78 of file GNELane.cpp.
|
virtual |
Destructor.
Definition at line 97 of file GNELane.cpp.
|
protected |
|
private |
Invalidated copy constructor.
|
inherited |
Lets this object know a parameter window showing the object's values was opened.
[in] | w | The opened parameter window |
Definition at line 189 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
|
staticinherited |
get all editable attributes for tag.
Definition at line 79 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::_allowedAttributes, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGES, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_POSITION, SUMO_ATTR_PRIORITY, SUMO_ATTR_RADIUS, SUMO_ATTR_SHAPE, SUMO_ATTR_SPEED, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_POI, toString(), and WRITE_WARNING.
Referenced by GNEAttributeCarrier::getAttrs(), GNEAttributeCarrier::getID(), GNESelector::onCmdSelMBString(), and GNESelector::onCmdSelMBTag().
|
staticinherited |
get all editable attributes for tag.
Definition at line 145 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::_allowedTags, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, and SUMO_TAG_LANE.
Referenced by GNEAttributeCarrier::getID(), GNESelector::GNESelector(), GNESelector::onCmdSelMBString(), and GNESelector::onCmdSelMBTag().
|
protectedinherited |
Builds an entry which allows to center to the object.
Definition at line 127 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GNENet::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUINet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
Definition at line 136 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
Definition at line 117 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GNENet::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUINet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::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 168 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GNENet::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUINet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
Definition at line 146 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 GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIPointOfInterest::getPopUpMenu(), getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
Definition at line 180 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 159 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIDetectorWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUINet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
inlinestaticinherited |
true if an object of type T can be parsed from string
Definition at line 120 of file GNEAttributeCarrier.h.
|
inlineinherited |
Definition at line 61 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeLane(), GNEInspector::setEdgeTemplate(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Connection::~GNEChange_Connection(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspector::~GNEInspector().
|
staticinherited |
return a list of discrete choices for this attribute or an empty vector
Definition at line 189 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::_discreteChoices, StringBijection< T >::getStrings(), SUMOXMLDefinitions::LaneSpreadFunctions, NODETYPE_DEAD_END_DEPRECATED, SUMOXMLDefinitions::NodeTypes, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_PRIORITY, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_TYPE, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SumoVehicleClassStrings, and toString().
Referenced by GNEInspector::AttrInput::AttrInput(), GNEAttributeCarrier::getID(), and GNEInspector::AttrInput::onCmdOpenAttributeEditor().
|
staticinherited |
return whether the given attribute allows for a combination of discrete values
Definition at line 224 of file GNEAttributeCarrier.cpp.
References SUMO_ATTR_ALLOW, and SUMO_ATTR_DISALLOW.
Referenced by GNEInspector::AttrInput::AttrInput(), and GNEAttributeCarrier::getID().
|
private |
Definition at line 116 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, NBEdge::myConnections, myIndex, myParentEdge, NBEdge::myTo, PI, SUMOReal, Position::x(), and Position::y().
Referenced by drawGL().
|
private |
whether to draw this lane as a railway
Definition at line 667 of file GNELane.cpp.
References GNEEdge::getNBEdge(), NBEdge::getPermissions(), isRailway(), myIndex, myParentEdge, and GUIVisualizationSettings::showRails.
Referenced by drawGL().
|
private |
whether to draw this lane as a waterways
Definition at line 673 of file GNELane.cpp.
References GNEEdge::getNBEdge(), NBEdge::getPermissions(), isWaterway(), myIndex, myParentEdge, and GUIVisualizationSettings::showRails.
Definition at line 679 of file GNELane.cpp.
References getShape(), myShapeLengths, myShapeRotations, and SUMOReal.
Referenced by drawGL().
|
virtual |
Draws the object.
[in] | s | The settings for the current view (may influence drawing) |
Implements GUIGlObject.
Definition at line 236 of file GNELane.cpp.
References drawArrows(), drawAsRailway(), GLHelper::drawBoxLines(), drawCrossties(), GLHelper::drawLine(), drawMarkings(), GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), GLHelper::getColor(), getColorValue(), GNEEdge::getDest(), GUIGlObject::getGlID(), NBEdge::getLaneWidth(), GNEEdge::getNBEdge(), GUIPropertySchemeStorage< T >::getScheme(), getShape(), GUIGlObject::getType(), gSelected, GNEJunction::isLogicValid(), GUISelectedStorage::isSelected(), GUIVisualizationSettings::laneColorer, GUIVisualizationSettings::laneWidthExaggeration, myIndex, myParentEdge, myShapeColors, myShapeLengths, myShapeRotations, mySpecialColor, GUIVisualizationSettings::scale, GNENet::selectedLaneColor, GNENet::selectionColor, GUIVisualizationSettings::selectionScale, GLHelper::setColor(), setFunctionalColor(), setMultiColor(), and SUMOReal.
Referenced by getParentEdge().
|
inlinevirtualinherited |
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 190 of file GUIGlObject.h.
References SUMOReal, and UNUSED_PARAMETER.
|
private |
Definition at line 186 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, SUMOReal, toString(), Position::x(), and Position::y().
|
private |
Definition at line 101 of file GNELane.cpp.
|
private |
Definition at line 111 of file GNELane.cpp.
|
private |
Definition at line 307 of file GNELane.cpp.
References GLHelper::drawBoxLines(), NBEdge::getLaneWidth(), GNEEdge::getNBEdge(), NBEdge::getPermissions(), getShape(), getShapeLengths(), getShapeRotations(), GLO_EDGE, MIN2(), myIndex, myParentEdge, myShapeLengths, myShapeRotations, GNENet::selectionColor, GLHelper::setColor(), SUMO_const_laneOffset, and SUMOReal.
Referenced by drawGL().
|
inherited |
Definition at line 216 of file GUIGlObject.cpp.
References GUIVisualizationTextSettings::color, GLHelper::drawText(), GUIGlObject::getMicrosimID(), GLO_MAX, GUIVisualizationTextSettings::show, and GUIVisualizationTextSettings::size.
Referenced by GUIContainer::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GUIPointOfInterest::drawGL(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GNEEdge::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GUIEdge::drawGL(), GUIBaseVehicle::drawGL(), and GUIInductLoop::MyWrapper::drawGL().
|
private |
Definition at line 106 of file GNELane.cpp.
|
virtual |
Implements GNEAttributeCarrier.
Definition at line 480 of file GNELane.cpp.
References NBEdge::Lane::endOffset, NBEdge::getLaneSpeed(), NBEdge::getLaneStruct(), GUIGlObject::getMicrosimID(), GNEEdge::getNBEdge(), NBEdge::getPermissions(), getVehicleClassNames(), myIndex, myParentEdge, SUMO_ATTR_ALLOW, 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 getIndex().
|
inlineinherited |
Definition at line 91 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::allowedAttributes(), and GNEAttributeCarrier::myTag.
Referenced by GNEAttributeCarrier::isValid().
Boundary GNELane::getBoundary | ( | ) | const |
returns the boundry (including lanes)
Definition at line 448 of file GNELane.cpp.
References PositionVector::getBoxBoundary(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), myIndex, myParentEdge, and NBEdge::Lane::shape.
Referenced by getParentEdge().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 422 of file GNELane.cpp.
References PositionVector::getBoxBoundary(), getShape(), and Boundary::grow().
Referenced by getParentEdge().
|
private |
Definition at line 615 of file GNELane.cpp.
References GUIGlObject::getGlID(), NBEdge::getLaneSpeed(), NBEdge::getLength(), NBEdge::getLoadedLength(), GNEEdge::getNBEdge(), NBEdge::getNumLanes(), NBEdge::getPermissions(), NBEdge::getPriority(), getShape(), GUIGlObject::getType(), GLO_EDGE, gSelected, isRailway(), GUISelectedStorage::isSelected(), myIndex, myParentEdge, SUMOReal, SVC_BICYCLE, SVC_PASSENGER, SVC_PEDESTRIAN, and SVC_SHIP.
Referenced by drawGL().
|
inlinevirtualinherited |
how should this attribute carrier be called
Definition at line 83 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::myTag, and toString().
Referenced by GNEChange_Attribute::redoName(), and GNEChange_Attribute::undoName().
|
inlineinherited |
Returns the full name appearing in the tool tip.
Definition at line 108 of file GUIGlObject.h.
Referenced by GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUILaneSpeedTrigger::openManipulator(), GUICalibrator::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), GUISelectedStorage::save(), and GUISUMOAbstractView::showToolTipFor().
|
inlineinherited |
Returns the numerical id of the object.
Definition at line 123 of file GUIGlObject.h.
Referenced by GNENet::addReversedEdge(), GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUINet::createTLWrapper(), GNENet::deleteEdge(), GNENet::deleteJunction(), GNENet::deleteLane(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GUIPointOfInterest::drawGL(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GNEEdge::drawGL(), GUIE3Collector::MyWrapper::drawGL(), drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GNEPoly::drawGL(), GUIEdge::drawGL(), GUIBaseVehicle::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIContainer::getColorValue(), getColorValue(), GUIPerson::getColorValue(), GUILane::getColorValue(), GNEJunction::getColorValue(), GUIEdge::getIDs(), GNEEdge::getLaneGlIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUILane::getScaleValue(), GUIDialog_GLObjChooser::GUIDialog_GLObjChooser(), GNESelector::handleIDs(), GNETLSEditor::handleMultiChange(), GUIGlChildWindow::isSelected(), GNEViewParent::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GNEViewNet::onCmdDuplicateLane(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GNEConnector::onCmdSelectDeadStarts(), GNEConnector::onCmdSelectPass(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::removeAdditionalGLVisualisation(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GUIVehicle::selectBlockingFoes(), GNEJunction::setColor(), GUIMessageWindow::setCursorPos(), and GUIGlObject::~GUIGlObject().
|
inlinevirtualinherited |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 96 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::allowedAttributes(), GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::discreteChoices(), GNEAttributeCarrier::discreteCombinableChoices(), GNEAttributeCarrier::getAttribute(), GNEAttributeCarrier::isNumerical(), GNEAttributeCarrier::isUnique(), and SUMO_ATTR_ID.
Referenced by GNENet::addReversedEdge(), GNENet::reverseEdge(), and GNEJunction::setLogicValid().
|
inline |
Definition at line 139 of file GNELane.h.
References getAttribute(), isValid(), myIndex, setAttribute(), and setIndex().
Referenced by GNEEdge::addLane(), GNENet::deleteLane(), GNENet::duplicateLane(), GNEConnector::getLaneStatus(), GNEConnector::getTLLLinkNumber(), GNEConnector::handleLaneClick(), GNEConnector::initTargets(), and GNEEdge::removeLane().
|
inlineinherited |
Returns the id of the object as known to microsim.
Definition at line 154 of file GUIGlObject.h.
Referenced by GNETLSEditor::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEPOI::getAttribute(), GNECrossing::getAttribute(), getAttribute(), GNEJunction::getAttribute(), GNEPoly::getAttribute(), GNEEdge::getAttribute(), getParentName(), GUIDialog_GLObjChooser::GUIDialog_GLObjChooser(), GNEConnector::handleLaneClick(), GNETLSEditor::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GNEPoly::moveGeometry(), GNEEdge::moveGeometry(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEViewNet::onCmdNodeShape(), GNEViewNet::onLeftBtnPress(), GNEInspector::onUpdCopyTemplate(), GNENet::registerEdge(), GNENet::registerJunction(), GNENet::remapEdge(), GNEEdge::removeConnection(), GNENet::replaceJunctionByGeometry(), GNENet::retrieveAttributeCarriers(), GNEEdge::setAttribute(), GNENet::splitEdge(), and GNEConnector::updateDescription().
|
virtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 409 of file GNELane.cpp.
References GUIParameterTableWindow::closeBuilding(), NBEdge::getLength(), GNEEdge::getNBEdge(), GUIParameterTableWindow::mkItem(), and myParentEdge.
|
inline |
Returns underlying parent edge.
Definition at line 108 of file GNELane.h.
References drawGL(), getBoundary(), getCenteringBoundary(), getShape(), getShapeLengths(), getShapeRotations(), myParentEdge, and updateGeometry().
Referenced by GNENet::deleteLane(), GNENet::duplicateLane(), GNEConnector::getLaneStatus(), GNEConnector::getTLLLinkNumber(), GNEConnector::handleLaneClick(), GNETLSEditor::handleMultiChange(), GNEConnector::initTargets(), and GNEViewNet::onLeftBtnPress().
|
virtual |
Returns the name of the parent object (if any)
Reimplemented from GUIGlObject.
Definition at line 703 of file GNELane.cpp.
References GUIGlObject::getMicrosimID(), and myParentEdge.
|
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 GUIGlObject.
Definition at line 352 of file GNELane.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GNEInternalLane::colorForLinksState(), GNETLSEditor::controlsEdge(), GUIVisualizationSettings::editMode, StringBijection< T >::get(), MFXUtils::getFXColor(), GUIGlObject::getGlID(), GUISUMOAbstractView::getPositionInformation(), getShape(), StringBijection< T >::getStrings(), GUISUMOAbstractView::getVisualisationSettings(), GLO_LANE, GNE_MODE_CONNECT, GNE_MODE_CREATE_EDGE, GNE_MODE_TLS, gSelected, GUISelectedStorage::isSelected(), GNEInternalLane::LinkStateNames, MID_COPY_EDGE_NAME, MID_GNE_ADD_REVERSE_EDGE, MID_GNE_DUPLICATE_LANE, MID_GNE_RESET_EDGE_ENDPOINT, MID_GNE_REVERSE_EDGE, MID_GNE_SET_EDGE_ENDPOINT, MID_GNE_SPLIT_EDGE, MID_GNE_SPLIT_EDGE_BIDI, MID_GNE_STRAIGHTEN, myParentEdge, myTLSEditor, PositionVector::nearest_offset_to_point2D(), PositionVector::positionAtOffset2D(), SUMOReal, toString(), and Position::z().
const PositionVector & GNELane::getShape | ( | ) | const |
Definition at line 430 of file GNELane.cpp.
References NBEdge::getLaneShape(), GNEEdge::getNBEdge(), myIndex, and myParentEdge.
Referenced by drawArrows(), drawCrossties(), GNEEdge::drawGL(), drawGL(), drawLane2LaneConnections(), drawMarkings(), getCenteringBoundary(), getColorValue(), getParentEdge(), getPopUpMenu(), setFunctionalColor(), setMultiColor(), and updateGeometry().
const std::vector< SUMOReal > & GNELane::getShapeLengths | ( | ) | const |
Definition at line 442 of file GNELane.cpp.
References myShapeLengths.
Referenced by drawMarkings(), and getParentEdge().
const std::vector< SUMOReal > & GNELane::getShapeRotations | ( | ) | const |
Definition at line 436 of file GNELane.cpp.
References myShapeRotations.
Referenced by drawMarkings(), and getParentEdge().
|
inlineinherited |
Definition at line 87 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::myTag.
Referenced by GNESelector::getMatches().
|
inlineinherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 167 of file GUIGlObject.h.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawAction_drawWalkingareaPath(), GUIContainer::drawGL(), GUIPerson::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUICalibrator::drawGL(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GUIE3Collector::MyWrapper::drawGL(), drawGL(), GUI_E2_ZS_Collector::MyWrapper::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIChargingStation::drawGL(), GUIEdge::drawGL(), GUIBaseVehicle::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIJunctionWrapper::getColorValue(), getColorValue(), GUILane::getColorValue(), GNEJunction::getColorValue(), GNEViewNet::getEdgeAtCursorPosition(), GNEViewNet::getEdgesAtCursorPosition(), GNEViewNet::getJunctionAtCursorPosition(), GNEViewNet::getLaneAtCurserPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUILane::getScaleValue(), GNESelector::handleIDs(), GUIGlChildWindow::isSelected(), GNEViewParent::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GNEConnector::onCmdClearSelectedConnections(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), 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(), GNEViewNet::onLeftBtnPress(), LayeredRTree::selectLayer(), GNEJunction::setColor(), and GUISelectedStorage::toggleSelection().
|
inlineinherited |
Definition at line 73 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by GNEEdge::addLane(), GNENet::registerEdge(), GNENet::registerJunction(), and GNEInspector::setEdgeTemplate().
|
staticinherited |
whether an attribute is numerical
Definition at line 157 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::_numericalAttrs, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_INDEX, SUMO_ATTR_LENGTH, SUMO_ATTR_NUMLANES, SUMO_ATTR_PRIORITY, SUMO_ATTR_RADIUS, SUMO_ATTR_SPEED, and SUMO_ATTR_WIDTH.
Referenced by GNEInspector::AttrInput::AttrInput(), GNEAttributeCarrier::getID(), GNESelector::getMatches(), and GNESelector::onCmdSelMBString().
|
inlinestaticinherited |
true if a positive number of type T can be parsed from string
Definition at line 138 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::isValidID().
|
staticinherited |
whether an attribute is unique (may not be edited for a multi-selection)
Definition at line 174 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::_uniqueAttrs, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_SHAPE, and SUMO_ATTR_TO.
Referenced by GNEInspector::AttrPanel::AttrPanel(), and GNEAttributeCarrier::getID().
|
virtual |
Reimplemented from GNEAttributeCarrier.
Definition at line 526 of file GNELane.cpp.
References canParseVehicleClasses(), myIndex, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, toString(), and NBEdge::UNSPECIFIED_WIDTH.
Referenced by getIndex().
|
staticinherited |
true if value is a valid sumo ID
Definition at line 70 of file GNEAttributeCarrier.cpp.
Referenced by GNEAttributeCarrier::isPositive(), GNEJunction::isValid(), and GNEEdge::isValid().
long GNELane::onDefault | ( | FXObject * | obj, |
FXSelector | sel, | ||
void * | data | ||
) |
multiplexes message to two targets
Definition at line 709 of file GNELane.cpp.
References GNETLSEditor::handleMultiChange(), and myTLSEditor.
|
inlinestaticinherited |
parses an object of type T from from string
Definition at line 129 of file GNEAttributeCarrier.h.
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 195 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
virtual |
Implements GNEAttributeCarrier.
Definition at line 506 of file GNELane.cpp.
References GNEAttributeCarrier::GNEChange_Attribute, GNEUndoList::p_add(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, and toString().
Referenced by getIndex().
|
privatevirtual |
Implements GNEAttributeCarrier.
Definition at line 552 of file GNELane.cpp.
References GNEEdge::getNBEdge(), myIndex, myParentEdge, parseVehicleClasses(), NBEdge::setEndOffset(), NBEdge::setLaneWidth(), NBEdge::setPermissions(), NBEdge::setSpeed(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ID, SUMO_ATTR_SPEED, SUMO_ATTR_WIDTH, and toString().
|
private |
sets the color according to the current scheme index and some lane function
Definition at line 579 of file GNELane.cpp.
References RGBColor::fromHSV(), getShape(), GeomHelper::naviDegree(), GLHelper::setColor(), and SUMOReal.
Referenced by drawGL().
void GNELane::setIndex | ( | unsigned int | index | ) |
Definition at line 473 of file GNELane.cpp.
References NBEdge::getLaneID(), GNEEdge::getNBEdge(), myIndex, myParentEdge, and GUIGlObject::setMicrosimID().
Referenced by getIndex().
|
virtualinherited |
Changes the microsimID of the object (happens in NETEDIT)
Reimplemented in GNEEdge.
Definition at line 110 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNENet::renameJunction(), setIndex(), and GNEEdge::setMicrosimID().
|
private |
sets multiple colors according to the current scheme index and some lane function
Definition at line 593 of file GNELane.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), GUIPropertySchemeStorage< T >::getScheme(), getShape(), MAX2(), myShapeColors, POSITION_EPS, and SUMOReal.
Referenced by drawGL().
|
protectedinherited |
Definition at line 204 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myPrefix.
|
inline |
Definition at line 159 of file GNELane.h.
References GNELane(), and mySpecialColor.
Referenced by GNEConnector::cleanup(), and GNEConnector::handleLaneClick().
|
inlineinherited |
Definition at line 82 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by GNEInspector::setEdgeTemplate(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Connection::~GNEChange_Connection(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspector::~GNEInspector().
void GNELane::updateGeometry | ( | ) |
update pre-computed geometry information
Definition at line 454 of file GNELane.cpp.
References Position::distanceTo2D(), getShape(), myShapeLengths, myShapeRotations, PI, SUMOReal, Position::x(), and Position::y().
Referenced by getParentEdge().
|
staticinherited |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 156 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 152 of file GNEAttributeCarrier.h.
Referenced by GNEEdge::setAttribute(), and GNEJunction::setResponsible().
|
staticinherited |
feature is still unchanged after being loaded (implies approval)
Definition at line 150 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been manually modified (implies approval)
Definition at line 154 of file GNEAttributeCarrier.h.
Referenced by GNEConnector::onCmdClearSelectedConnections(), and GNEEdge::setAttribute().
|
private |
The index of this lane.
Definition at line 172 of file GNELane.h.
Referenced by drawArrows(), drawAsRailway(), drawAsWaterway(), drawGL(), drawLane2LaneConnections(), drawMarkings(), getAttribute(), getBoundary(), getColorValue(), getIndex(), getShape(), isValid(), setAttribute(), and setIndex().
|
private |
The Edge that to which this lane belongs.
Definition at line 169 of file GNELane.h.
Referenced by drawArrows(), drawAsRailway(), drawAsWaterway(), drawGL(), drawLane2LaneConnections(), drawMarkings(), getAttribute(), getBoundary(), getColorValue(), getParameterWindow(), getParentEdge(), getParentName(), getPopUpMenu(), getShape(), setAttribute(), and setIndex().
|
mutableprivate |
The color of the shape parts (cached)
Definition at line 226 of file GNELane.h.
Referenced by drawGL(), and setMultiColor().
|
private |
The lengths of the shape parts.
Definition at line 180 of file GNELane.h.
Referenced by drawCrossties(), drawGL(), drawMarkings(), getShapeLengths(), and updateGeometry().
|
private |
The rotations of the shape parts.
Definition at line 177 of file GNELane.h.
Referenced by drawCrossties(), drawGL(), drawMarkings(), getShapeRotations(), and updateGeometry().
|
private |
optional special color
Definition at line 184 of file GNELane.h.
Referenced by drawGL(), and setSpecialColor().
|
private |
the tls-editor for setting multiple links in TLS-mode
Definition at line 229 of file GNELane.h.
Referenced by getPopUpMenu(), and onDefault().
|
staticinherited |
associates object types with strings
Definition at line 100 of file GUIGlObject.h.