![]() |
SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>


Data Structures | |
| struct | ObjectTypeEntry |
Public Member Functions | |
| bool | IsObjectTypeLocked (GUIGlObjectType type) const |
| check if an object is locked More... | |
| LockGLObjectTypes (GNESelectorFrame *selectorFrameParent) | |
| constructor More... | |
| void | updateLockGLObjectTypes () |
| update selected items More... | |
| ~LockGLObjectTypes () | |
| destructor More... | |
Private Attributes | |
| GNESelectorFrame * | mySelectorFrameParent |
| pointer to Selector Frame Parent More... | |
| std::map< GUIGlObjectType, ObjectTypeEntry > | myTypeEntries |
| check boxes for type-based selection locking and selected object counts More... | |
Definition at line 48 of file GNESelectorFrame.h.
| GNESelectorFrame::LockGLObjectTypes::LockGLObjectTypes | ( | GNESelectorFrame * | selectorFrameParent | ) |
constructor
Definition at line 305 of file GNESelectorFrame.cpp.
References GLO_ADDITIONAL, GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_JUNCTION, GLO_LANE, GLO_POI, GLO_POLYGON, and myTypeEntries.
| GNESelectorFrame::LockGLObjectTypes::~LockGLObjectTypes | ( | ) |
destructor
Definition at line 322 of file GNESelectorFrame.cpp.
| bool GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked | ( | GUIGlObjectType | type | ) | const |
check if an object is locked
Definition at line 349 of file GNESelectorFrame.cpp.
References GLO_ADDITIONAL, and myTypeEntries.
Referenced by GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::SelectingArea::processSelection().
| void GNESelectorFrame::LockGLObjectTypes::updateLockGLObjectTypes | ( | ) |
update selected items
Definition at line 326 of file GNESelectorFrame.cpp.
References GNEViewNet::getNet(), GNEFrame::getViewNet(), GLO_ADDITIONAL, GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_JUNCTION, GLO_LANE, GLO_POI, GLO_POLYGON, mySelectorFrameParent, myTypeEntries, GNENet::retrieveAdditionals(), GNENet::retrieveConnections(), GNENet::retrieveCrossings(), GNENet::retrieveEdges(), GNENet::retrieveJunctions(), GNENet::retrieveLanes(), GNENet::retrieveShapes(), SUMO_TAG_POI, SUMO_TAG_POLY, toString(), and WRITE_DEBUG.
Referenced by GNESelectorFrame::clearCurrentSelection(), GNESelectorFrame::handleIDs(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), and GNESelectorFrame::show().
|
private |
pointer to Selector Frame Parent
Definition at line 73 of file GNESelectorFrame.h.
Referenced by updateLockGLObjectTypes().
|
private |
check boxes for type-based selection locking and selected object counts
Definition at line 76 of file GNESelectorFrame.h.
Referenced by IsObjectTypeLocked(), LockGLObjectTypes(), and updateLockGLObjectTypes().