SUMO - Simulation of Urban MObility
GNEViewNet::ObjectsUnderCursor Class Reference

class used to group all variables related with objects under cursor after a click over view More...

Collaboration diagram for GNEViewNet::ObjectsUnderCursor:
Collaboration graph

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

Detailed Description

class used to group all variables related with objects under cursor after a click over view

Definition at line 448 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ ObjectsUnderCursor()

GNEViewNet::ObjectsUnderCursor::ObjectsUnderCursor ( )
inline

constructor

Definition at line 451 of file GNEViewNet.h.

Member Function Documentation

◆ controlKeyPressed()

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

◆ shiftKeyPressed()

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

◆ swapLane2Edge()

void GNEViewNet::ObjectsUnderCursor::swapLane2Edge ( )

swap lane to edge

Definition at line 2827 of file GNEViewNet.cpp.

References GLO_EDGE.

Referenced by GNEViewNet::onLeftBtnPress().

◆ updateObjectUnderCursor()

void GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor ( GUIGlID  glIDObject,
GNEPoly *  editedPolyShape,
FXEvent *  ev 
)

Field Documentation

◆ additional

GNEAdditional* GNEViewNet::ObjectsUnderCursor::additional

additional element

Definition at line 495 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ attributeCarrier

GNEAttributeCarrier* GNEViewNet::ObjectsUnderCursor::attributeCarrier

attribute carrier

Definition at line 489 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ connection

GNEConnection* GNEViewNet::ObjectsUnderCursor::connection

connection

Definition at line 513 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ crossing

GNECrossing* GNEViewNet::ObjectsUnderCursor::crossing

crossing

Definition at line 510 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ edge

GNEEdge* GNEViewNet::ObjectsUnderCursor::edge

edge

Definition at line 504 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ eventInfo

FXEvent* GNEViewNet::ObjectsUnderCursor::eventInfo

information of event of onLeftBtnPress

Definition at line 480 of file GNEViewNet.h.

◆ glID

GUIGlID GNEViewNet::ObjectsUnderCursor::glID

GUI GL ID.

Definition at line 483 of file GNEViewNet.h.

◆ glType

GUIGlObjectType GNEViewNet::ObjectsUnderCursor::glType

GUI GL object type.

Definition at line 486 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ junction

GNEJunction* GNEViewNet::ObjectsUnderCursor::junction

junction

Definition at line 501 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ lane

GNELane* GNEViewNet::ObjectsUnderCursor::lane

lane

Definition at line 507 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ netElement

GNENetElement* GNEViewNet::ObjectsUnderCursor::netElement

net element

Definition at line 492 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ poi

GNEPOI* GNEViewNet::ObjectsUnderCursor::poi

POI.

Definition at line 516 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ poly

GNEPoly* GNEViewNet::ObjectsUnderCursor::poly

Poly.

Definition at line 519 of file GNEViewNet.h.

Referenced by GNEViewNet::onLeftBtnPress().

◆ shape

GNEShape* GNEViewNet::ObjectsUnderCursor::shape

shape element (Poly and POIs)

Definition at line 498 of file GNEViewNet.h.


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