![]() |
SUMO - Simulation of Urban MObility
|
struct used to group all variables related to view options More...
Public Member Functions | |
void | buildViewOptionsMenuChecks () |
build menu checks More... | |
void | hideViewOptionsMenuChecks () |
hide all options menu checks More... | |
bool | selectEdges () const |
check if select edges checkbox is enabled More... | |
bool | showConnections () const |
check if select show connections checkbox is enabled More... | |
ViewOptions (GNEViewNet *viewNet) | |
default constructor More... | |
Data Fields | |
FXMenuCheck * | menuCheckChangeAllPhases |
menu check to set change all phases More... | |
FXMenuCheck * | menuCheckExtendSelection |
menu check to extend to edge nodes More... | |
FXMenuCheck * | menuCheckHideConnections |
menu check to hide connections in connect mode More... | |
FXMenuCheck * | menuCheckSelectEdges |
menu check to select only edges More... | |
FXMenuCheck * | menuCheckShowConnections |
menu check to show connections More... | |
FXMenuCheck * | menuCheckShowGrid |
show grid button More... | |
Private Attributes | |
GNEViewNet * | myViewNet |
pointer to viewNet More... | |
struct used to group all variables related to view options
Definition at line 776 of file GNEViewNet.h.
GNEViewNet::ViewOptions::ViewOptions | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 3861 of file GNEViewNet.cpp.
void GNEViewNet::ViewOptions::buildViewOptionsMenuChecks | ( | ) |
build menu checks
Definition at line 3867 of file GNEViewNet.cpp.
References menuCheckChangeAllPhases, menuCheckExtendSelection, menuCheckHideConnections, menuCheckSelectEdges, menuCheckShowConnections, menuCheckShowGrid, MID_GNE_VIEWNET_SELECT_EDGES, MID_GNE_VIEWNET_SHOW_CONNECTIONS, MID_GNE_VIEWNET_SHOW_GRID, GNEViewNet::myToolbar, myViewNet, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::showLane2Lane, SUMO_TAG_CONNECTION, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_TRAFFIC_LIGHT, and toString().
Referenced by GNEViewNet::buildEditModeControls().
void GNEViewNet::ViewOptions::hideViewOptionsMenuChecks | ( | ) |
hide all options menu checks
Definition at line 3888 of file GNEViewNet.cpp.
References menuCheckChangeAllPhases, menuCheckExtendSelection, menuCheckHideConnections, menuCheckSelectEdges, menuCheckShowConnections, and menuCheckShowGrid.
Referenced by GNEViewNet::updateModeSpecificControls().
bool GNEViewNet::ViewOptions::selectEdges | ( | ) | const |
check if select edges checkbox is enabled
Definition at line 3898 of file GNEViewNet.cpp.
References menuCheckSelectEdges.
Referenced by GNEViewNet::getAttributeCarriersInBoundary(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::selectEdges().
bool GNEViewNet::ViewOptions::showConnections | ( | ) | const |
check if select show connections checkbox is enabled
Definition at line 3909 of file GNEViewNet.cpp.
References menuCheckShowConnections.
Referenced by GNEViewNet::onCmdToogleShowConnection().
FXMenuCheck* GNEViewNet::ViewOptions::menuCheckChangeAllPhases |
menu check to set change all phases
Definition at line 806 of file GNEViewNet.h.
Referenced by buildViewOptionsMenuChecks(), GNEViewNet::changeAllPhases(), hideViewOptionsMenuChecks(), and GNEViewNet::updateModeSpecificControls().
FXMenuCheck* GNEViewNet::ViewOptions::menuCheckExtendSelection |
menu check to extend to edge nodes
Definition at line 803 of file GNEViewNet.h.
Referenced by GNEViewNet::autoSelectNodes(), buildViewOptionsMenuChecks(), hideViewOptionsMenuChecks(), and GNEViewNet::updateModeSpecificControls().
FXMenuCheck* GNEViewNet::ViewOptions::menuCheckHideConnections |
menu check to hide connections in connect mode
Definition at line 800 of file GNEViewNet.h.
Referenced by buildViewOptionsMenuChecks(), hideViewOptionsMenuChecks(), GNEViewNet::showConnections(), and GNEViewNet::updateModeSpecificControls().
FXMenuCheck* GNEViewNet::ViewOptions::menuCheckSelectEdges |
menu check to select only edges
Definition at line 794 of file GNEViewNet.h.
Referenced by buildViewOptionsMenuChecks(), hideViewOptionsMenuChecks(), selectEdges(), and GNEViewNet::updateModeSpecificControls().
FXMenuCheck* GNEViewNet::ViewOptions::menuCheckShowConnections |
menu check to show connections
Definition at line 797 of file GNEViewNet.h.
Referenced by buildViewOptionsMenuChecks(), GNEViewNet::doPaintGL(), hideViewOptionsMenuChecks(), GNEViewNet::showConnections(), showConnections(), and GNEViewNet::updateModeSpecificControls().
FXMenuCheck* GNEViewNet::ViewOptions::menuCheckShowGrid |
show grid button
Definition at line 809 of file GNEViewNet.h.
Referenced by buildViewOptionsMenuChecks(), GNEViewNet::doPaintGL(), GNEViewNet::getMenuCheckShowGrid(), hideViewOptionsMenuChecks(), GNEViewNet::onCmdShowGrid(), and GNEViewNet::updateModeSpecificControls().
|
private |
pointer to viewNet
Definition at line 813 of file GNEViewNet.h.
Referenced by buildViewOptionsMenuChecks().