![]() |
SUMO - Simulation of Urban MObility
|
struct used to group all variables related with selecting using a square or polygon More...

Public Member Functions | |
| void | processSelection (GNEViewNet *viewNet, bool shiftKeyPressed) |
| Process Selection. More... | |
| std::string | reportDimensions () |
| inform about selection size More... | |
| SelectingArea () | |
| default constructor More... | |
Data Fields | |
| bool | selectingUsingRectangle |
| whether we have started rectangle-selection More... | |
| Position | selectionCorner1 |
| firstcorner of the rectangle-selection More... | |
| Position | selectionCorner2 |
| second corner of the rectangle-selection More... | |
struct used to group all variables related with selecting using a square or polygon
Definition at line 551 of file GNEViewNet.h.
|
inline |
default constructor
Definition at line 553 of file GNEViewNet.h.
| void GNEViewNet::SelectingArea::processSelection | ( | GNEViewNet * | viewNet, |
| bool | shiftKeyPressed | ||
| ) |
Process Selection.
Definition at line 3010 of file GNEViewNet.cpp.
References Boundary::add(), GNEViewNet::autoSelectNodes(), GNEAttributeCarrier::getID(), GNESelectorFrame::getLockGLObjectTypes(), GNESelectorFrame::ModificationMode::getModificationMode(), GNESelectorFrame::getModificationModeModul(), GUISUMOAbstractView::getObjectsInBoundary(), GNENet::getSelectedAttributeCarriers(), GNEViewParent::getSelectorFrame(), GNEAttributeCarrier::getTag(), GNEAttributeCarrier::getTagProperties(), GUIGlObject::getType(), GNEViewNet::getViewParent(), GNE_ATTR_SELECTED, GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GUISUMOAbstractView::makeCurrent(), GNEViewNet::myNet, GNEViewNet::mySelectEdges, GNEViewNet::myUndoList, GNEViewNet::myViewParent, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveAttributeCarrier(), GNESelectorFrame::ModificationMode::SET_ADD, GNESelectorFrame::ModificationMode::SET_REPLACE, GNESelectorFrame::ModificationMode::SET_RESTRICT, GNESelectorFrame::ModificationMode::SET_SUB, SUMO_TAG_EDGE, and SUMO_TAG_LANE.
Referenced by GNEViewNet::onLeftBtnRelease().
| std::string GNEViewNet::SelectingArea::reportDimensions | ( | ) |
inform about selection size
Definition at line 3111 of file GNEViewNet.cpp.
References toString().
Referenced by GNEViewNet::onMouseMove().
| bool GNEViewNet::SelectingArea::selectingUsingRectangle |
whether we have started rectangle-selection
Definition at line 560 of file GNEViewNet.h.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::onKeyRelease(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), and GNEViewNet::onMouseMove().
| Position GNEViewNet::SelectingArea::selectionCorner1 |
firstcorner of the rectangle-selection
Definition at line 563 of file GNEViewNet.h.
Referenced by GNEViewNet::doPaintGL(), and GNEViewNet::onLeftBtnPress().
| Position GNEViewNet::SelectingArea::selectionCorner2 |
second corner of the rectangle-selection
Definition at line 566 of file GNEViewNet.h.
Referenced by GNEViewNet::doPaintGL(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::onMouseMove().