![]() |
SUMO - Simulation of Urban MObility
|
class used to group all variables related with objects under cursor after a click over view More...

Public Member Functions | |
| bool | controlKeyPressed () const |
| check if CONTROL key was pressed during click More... | |
| ObjectsUnderCursor () | |
| constructor More... | |
| bool | shiftKeyPressed () const |
| check if SHIFT key was pressed during click More... | |
| void | swapLane2Edge () |
| swap lane to edge More... | |
| void | updateObjectUnderCursor (GUIGlID glIDObject, GNEPoly *editedPolyShape, FXEvent *ev) |
| update objects under cursor (Called only in onLeftBtnPress(...) function) More... | |
Data Fields | |
| GNEAdditional * | additional |
| additional element More... | |
| GNEAttributeCarrier * | attributeCarrier |
| attribute carrier More... | |
| GNEConnection * | connection |
| connection More... | |
| GNECrossing * | crossing |
| crossing More... | |
| GNEEdge * | edge |
| edge More... | |
| FXEvent * | eventInfo |
| information of event of onLeftBtnPress More... | |
| GUIGlID | glID |
| GUI GL ID. More... | |
| GUIGlObjectType | glType |
| GUI GL object type. More... | |
| GNEJunction * | junction |
| junction More... | |
| GNELane * | lane |
| lane More... | |
| GNENetElement * | netElement |
| net element More... | |
| GNEPOI * | poi |
| POI. More... | |
| GNEPoly * | poly |
| Poly. More... | |
| GNEShape * | shape |
| shape element (Poly and POIs) More... | |
class used to group all variables related with objects under cursor after a click over view
Definition at line 448 of file GNEViewNet.h.
|
inline |
constructor
Definition at line 451 of file GNEViewNet.h.
| bool GNEViewNet::ObjectsUnderCursor::controlKeyPressed | ( | ) | const |
check if CONTROL key was pressed during click
Definition at line 2848 of file GNEViewNet.cpp.
Referenced by GNEViewNet::onLeftBtnPress().
| bool GNEViewNet::ObjectsUnderCursor::shiftKeyPressed | ( | ) | const |
check if SHIFT key was pressed during click
Definition at line 2838 of file GNEViewNet.cpp.
Referenced by GNEViewNet::onLeftBtnPress().
| void GNEViewNet::ObjectsUnderCursor::swapLane2Edge | ( | ) |
swap lane to edge
Definition at line 2827 of file GNEViewNet.cpp.
References GLO_EDGE.
Referenced by GNEViewNet::onLeftBtnPress().
| void GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor | ( | GUIGlID | glIDObject, |
| GNEPoly * | editedPolyShape, | ||
| FXEvent * | ev | ||
| ) |
update objects under cursor (Called only in onLeftBtnPress(...) function)
Definition at line 2735 of file GNEViewNet.cpp.
References GUIGlObjectStorage::getObjectBlocking(), GNEAttributeCarrier::getTagProperties(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_JUNCTION, GLO_LANE, GLO_NETWORK, GLO_POI, GLO_POLYGON, and GUIGlObjectStorage::unblockObject().
Referenced by GNEViewNet::onLeftBtnPress().
| GNEAdditional* GNEViewNet::ObjectsUnderCursor::additional |
additional element
Definition at line 495 of file GNEViewNet.h.
Referenced by GNEViewNet::onLeftBtnPress().
| GNEAttributeCarrier* GNEViewNet::ObjectsUnderCursor::attributeCarrier |
attribute carrier
Definition at line 489 of file GNEViewNet.h.
Referenced by GNEViewNet::onLeftBtnPress().
| GNEConnection* GNEViewNet::ObjectsUnderCursor::connection |
| GNECrossing* GNEViewNet::ObjectsUnderCursor::crossing |
| GNEEdge* GNEViewNet::ObjectsUnderCursor::edge |
| FXEvent* GNEViewNet::ObjectsUnderCursor::eventInfo |
information of event of onLeftBtnPress
Definition at line 480 of file GNEViewNet.h.
| GUIGlID GNEViewNet::ObjectsUnderCursor::glID |
GUI GL ID.
Definition at line 483 of file GNEViewNet.h.
| GUIGlObjectType GNEViewNet::ObjectsUnderCursor::glType |
GUI GL object type.
Definition at line 486 of file GNEViewNet.h.
Referenced by GNEViewNet::onLeftBtnPress().
| GNEJunction* GNEViewNet::ObjectsUnderCursor::junction |
| GNELane* GNEViewNet::ObjectsUnderCursor::lane |
| GNENetElement* GNEViewNet::ObjectsUnderCursor::netElement |
net element
Definition at line 492 of file GNEViewNet.h.
Referenced by GNEViewNet::onLeftBtnPress().
| GNEPOI* GNEViewNet::ObjectsUnderCursor::poi |
| GNEPoly* GNEViewNet::ObjectsUnderCursor::poly |
| GNEShape* GNEViewNet::ObjectsUnderCursor::shape |
shape element (Poly and POIs)
Definition at line 498 of file GNEViewNet.h.