![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameModuls.h>
Public Member Functions | |
| bool | checkSavedPosition (const Position &clickedPosition) const |
| check if given position is near to saved position More... | |
| int | getNumberOfOverlappedACs () const |
| get number of overlapped ACSs More... | |
| void | hideOverlappedInspection () |
| hide template editor More... | |
| bool | nextElement (const Position &clickedPosition) |
| try to go to next element if clicked position is near to saved position More... | |
| OverlappedInspection (GNEFrame *frameParent) | |
| FOX-declaration. More... | |
| OverlappedInspection (GNEFrame *frameParent, const SumoXMLTag filteredTag) | |
| constructor (used for filter objects under cusor More... | |
| bool | overlappedInspectionShown () const |
| check if overlappedInspection modul is shown More... | |
| bool | previousElement (const Position &clickedPosition) |
| try to go to previous element if clicked position is near to saved position More... | |
| void | showOverlappedInspection (const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition) |
| show template editor More... | |
| ~OverlappedInspection () | |
| destructor More... | |
FOX-callbacks | |
| long | onCmdNextElement (FXObject *, FXSelector, void *) |
| Inspect next Element (from top to bot) More... | |
| long | onCmdPreviousElement (FXObject *, FXSelector, void *) |
| Inspect previous element (from top to bot) More... | |
| long | onCmdShowList (FXObject *, FXSelector, void *) |
| show list of overlapped elements More... | |
| long | onCmdListItemSelected (FXObject *, FXSelector, void *) |
| called when a list item is selected More... | |
| long | onCmdOverlappingHelp (FXObject *, FXSelector, void *) |
| Called when user press the help button. More... | |
Protected Member Functions | |
| void | buildFXElements () |
| build Fox Toolkit elemements More... | |
| OverlappedInspection () | |
| FOX needs this. More... | |
Private Attributes | |
| FXButton * | myCurrentIndexButton |
| Button for current index. More... | |
| const SumoXMLTag | myFilteredTag |
| filtered tag More... | |
| GNEFrame * | myFrameParent |
| current frame parent More... | |
| FXButton * | myHelpButton |
| button for help More... | |
| size_t | myItemIndex |
| current index item More... | |
| FXButton * | myNextElement |
| Next element button. More... | |
| std::vector< GNEAttributeCarrier * > | myOverlappedACs |
| objects under cursor More... | |
| FXList * | myOverlappedElementList |
| list of overlapped elements More... | |
| FXButton * | myPreviousElement |
| Previous element button. More... | |
| Position | mySavedClickedPosition |
| saved clicked position More... | |
Definition at line 520 of file GNEFrameModuls.h.
| GNEFrameModuls::OverlappedInspection::OverlappedInspection | ( | GNEFrame * | frameParent | ) |
FOX-declaration.
constructor
Definition at line 1802 of file GNEFrameModuls.cpp.
References buildFXElements().
| GNEFrameModuls::OverlappedInspection::OverlappedInspection | ( | GNEFrame * | frameParent, |
| const SumoXMLTag | filteredTag | ||
| ) |
constructor (used for filter objects under cusor
Definition at line 1812 of file GNEFrameModuls.cpp.
References buildFXElements().
| GNEFrameModuls::OverlappedInspection::~OverlappedInspection | ( | ) |
destructor
Definition at line 1822 of file GNEFrameModuls.cpp.
|
protected |
FOX needs this.
Definition at line 2019 of file GNEFrameModuls.cpp.
|
protected |
build Fox Toolkit elemements
Definition at line 2025 of file GNEFrameModuls.cpp.
References GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButton, GUIDesignButtonIconRectangular, GUIDesignButtonRectangular, GUIDesignListSingleElement, ICON_BIGARROWLEFT, ICON_BIGARROWRIGHT, MID_GNE_OVERLAPPED_ITEMSELECTED, MID_GNE_OVERLAPPED_NEXT, MID_GNE_OVERLAPPED_PREVIOUS, MID_GNE_OVERLAPPED_SHOWLIST, and MID_HELP.
Referenced by OverlappedInspection().
| bool GNEFrameModuls::OverlappedInspection::checkSavedPosition | ( | const Position & | clickedPosition | ) | const |
check if given position is near to saved position
Definition at line 1879 of file GNEFrameModuls.cpp.
Referenced by GNEViewNet::openObjectDialog().
| int GNEFrameModuls::OverlappedInspection::getNumberOfOverlappedACs | ( | ) | const |
get number of overlapped ACSs
Definition at line 1873 of file GNEFrameModuls.cpp.
Referenced by GNETLSEditorFrame::editTLS().
| void GNEFrameModuls::OverlappedInspection::hideOverlappedInspection | ( | ) |
hide template editor
Definition at line 1860 of file GNEFrameModuls.cpp.
Referenced by GNETLSEditorFrame::editTLS(), GNEInspectorFrame::inspectClickedElement(), GNEInspectorFrame::inspectMultisection(), and GNETLSEditorFrame::show().
| bool GNEFrameModuls::OverlappedInspection::nextElement | ( | const Position & | clickedPosition | ) |
try to go to next element if clicked position is near to saved position
Definition at line 1885 of file GNEFrameModuls.cpp.
Referenced by GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().
| long GNEFrameModuls::OverlappedInspection::onCmdListItemSelected | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when a list item is selected
Definition at line 1983 of file GNEFrameModuls.cpp.
References toString().
| long GNEFrameModuls::OverlappedInspection::onCmdNextElement | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Inspect next Element (from top to bot)
Definition at line 1947 of file GNEFrameModuls.cpp.
References toString().
| long GNEFrameModuls::OverlappedInspection::onCmdOverlappingHelp | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user press the help button.
Definition at line 2001 of file GNEFrameModuls.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignLabelFrameInformation, and ICON_ACCEPT.
| long GNEFrameModuls::OverlappedInspection::onCmdPreviousElement | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Inspect previous element (from top to bot)
Definition at line 1921 of file GNEFrameModuls.cpp.
References toString().
| long GNEFrameModuls::OverlappedInspection::onCmdShowList | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
show list of overlapped elements
Definition at line 1969 of file GNEFrameModuls.cpp.
| bool GNEFrameModuls::OverlappedInspection::overlappedInspectionShown | ( | ) | const |
check if overlappedInspection modul is shown
Definition at line 1867 of file GNEFrameModuls.cpp.
Referenced by GNEViewNet::openObjectDialog().
| bool GNEFrameModuls::OverlappedInspection::previousElement | ( | const Position & | clickedPosition | ) |
try to go to previous element if clicked position is near to saved position
Definition at line 1903 of file GNEFrameModuls.cpp.
Referenced by GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().
| void GNEFrameModuls::OverlappedInspection::showOverlappedInspection | ( | const GNEViewNetHelper::ObjectsUnderCursor & | objectsUnderCursor, |
| const Position & | clickedPosition | ||
| ) |
show template editor
Definition at line 1826 of file GNEFrameModuls.cpp.
References GNEViewNetHelper::ObjectsUnderCursor::getClickedAttributeCarriers(), SUMO_TAG_NOTHING, and toString().
Referenced by GNETLSEditorFrame::editTLS(), and GNEInspectorFrame::inspectClickedElement().
|
private |
Button for current index.
Definition at line 589 of file GNEFrameModuls.h.
|
private |
filtered tag
Definition at line 601 of file GNEFrameModuls.h.
|
private |
current frame parent
Definition at line 583 of file GNEFrameModuls.h.
|
private |
button for help
Definition at line 598 of file GNEFrameModuls.h.
|
private |
current index item
Definition at line 607 of file GNEFrameModuls.h.
|
private |
Next element button.
Definition at line 592 of file GNEFrameModuls.h.
|
private |
objects under cursor
Definition at line 604 of file GNEFrameModuls.h.
|
private |
list of overlapped elements
Definition at line 595 of file GNEFrameModuls.h.
|
private |
Previous element button.
Definition at line 586 of file GNEFrameModuls.h.
|
private |
saved clicked position
Definition at line 610 of file GNEFrameModuls.h.