![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct used to group all variables related to view options in supermode Network More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
| void | buildNetworkViewOptionsMenuChecks () |
| build menu checks | |
| bool | drawSpreadVehicles () const |
| check if vehicles must be drawn spread | |
| bool | editingElevation () const |
| check if we're editing elevation | |
| void | getVisibleNetworkMenuCommands (std::vector< MFXCheckableButton * > &commands) const |
| get visible network menu commands | |
| void | hideNetworkViewOptionsMenuChecks () |
| hide all options menu checks | |
| NetworkViewOptions (GNEViewNet *viewNet) | |
| default constructor | |
| bool | selectEdges () const |
| check if select edges checkbox is enabled | |
| bool | showConnections () const |
| check if select show connections checkbox is enabled | |
| bool | showDemandElements () const |
| check if show demand elements checkbox is enabled | |
| bool | showSubAdditionals () const |
| check if show sub-additionals | |
| bool | showTAZElements () const |
| check if show TAZ Elements | |
Data Fields | |
| MFXCheckableButton * | menuCheckAutoOppositeEdge = nullptr |
| check checkable to create auto create opposite edge | |
| MFXCheckableButton * | menuCheckChainEdges = nullptr |
| checkable button to the endpoint for a created edge should be set as the new source | |
| MFXCheckableButton * | menuCheckChangeAllPhases = nullptr |
| checkable button to set change all phases | |
| MFXCheckableButton * | menuCheckDrawSpreadVehicles = nullptr |
| checkable button to draw vehicles in begin position or spread in lane | |
| MFXCheckableButton * | menuCheckExtendSelection = nullptr |
| checkable button to extend to edge nodes | |
| MFXCheckableButton * | menuCheckHideConnections = nullptr |
| checkable button to hide connections in connect mode | |
| MFXCheckableButton * | menuCheckMergeAutomatically = nullptr |
| checkable button to we should't warn about merging junctions | |
| MFXCheckableButton * | menuCheckMoveElevation = nullptr |
| checkable button to apply movement to elevation | |
| MFXCheckableButton * | menuCheckSelectEdges = nullptr |
| checkable button to select only edges | |
| MFXCheckableButton * | menuCheckShowAdditionalSubElements = nullptr |
| checkable button to show additional sub-elements | |
| MFXCheckableButton * | menuCheckShowConnections = nullptr |
| checkable button to show connections | |
| MFXCheckableButton * | menuCheckShowDemandElements = nullptr |
| checkable button to show Demand Elements | |
| MFXCheckableButton * | menuCheckShowJunctionBubble = nullptr |
| checkable button to show connection as bubble in "Move" mode. | |
| MFXCheckableButton * | menuCheckShowTAZElements = nullptr |
| checkable button to show TAZ elements | |
| MFXCheckableButton * | menuCheckToggleDrawJunctionShape = nullptr |
| checkable button to show junction shapes | |
| MFXCheckableButton * | menuCheckToggleGrid = nullptr |
| checkable button to show grid button | |
Private Member Functions | |
| NetworkViewOptions (const NetworkViewOptions &)=delete | |
| Invalidated copy constructor. | |
| NetworkViewOptions & | operator= (const NetworkViewOptions &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| GNEViewNet * | myViewNet |
| pointer to net | |
struct used to group all variables related to view options in supermode Network
Definition at line 810 of file GNEViewNetHelper.h.
| GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 2696 of file GNEViewNetHelper.cpp.
References myViewNet.
Referenced by NetworkViewOptions(), and operator=().
|
privatedelete |
Invalidated copy constructor.
References NetworkViewOptions().
| void GNEViewNetHelper::NetworkViewOptions::buildNetworkViewOptionsMenuChecks | ( | ) |
build menu checks
Definition at line 2702 of file GNEViewNetHelper.cpp.
References COMMONMODE_CHECKBOX_SHOWDEMANDELEMENTS, COMMONMODE_CHECKBOX_SPREADVEHICLE, COMMONMODE_CHECKBOX_TOGGLEDRAWJUNCTIONSHAPE, COMMONMODE_CHECKBOX_TOGGLEGRID, GUIIconSubSys::getIcon(), GUIDesignMFXCheckableButtonSquare, menuCheckAutoOppositeEdge, menuCheckChainEdges, menuCheckChangeAllPhases, menuCheckDrawSpreadVehicles, menuCheckExtendSelection, menuCheckHideConnections, menuCheckMergeAutomatically, menuCheckMoveElevation, menuCheckSelectEdges, menuCheckShowAdditionalSubElements, menuCheckShowConnections, menuCheckShowDemandElements, menuCheckShowJunctionBubble, menuCheckShowTAZElements, menuCheckToggleDrawJunctionShape, menuCheckToggleGrid, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MERGEAUTOMATICALLY, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myViewNet, NETWORKMODE_CHECKBOX_APPLYTOALLPHASES, NETWORKMODE_CHECKBOX_AUTOSELECTJUNCTIONS, NETWORKMODE_CHECKBOX_BUBBLES, NETWORKMODE_CHECKBOX_CHAIN, NETWORKMODE_CHECKBOX_ELEVATION, NETWORKMODE_CHECKBOX_HIDECONNECTIONS, NETWORKMODE_CHECKBOX_MERGEAUTOMATICALLY, NETWORKMODE_CHECKBOX_SELECTEDGES, NETWORKMODE_CHECKBOX_SHOWCONNECTIONS, NETWORKMODE_CHECKBOX_SHOWSUBADDITIONALS, NETWORKMODE_CHECKBOX_SHOWTAZELEMENTS, NETWORKMODE_CHECKBOX_TWOWAY, and TL.
| bool GNEViewNetHelper::NetworkViewOptions::drawSpreadVehicles | ( | ) | const |
check if vehicles must be drawn spread
Definition at line 2899 of file GNEViewNetHelper.cpp.
References menuCheckDrawSpreadVehicles.
| bool GNEViewNetHelper::NetworkViewOptions::editingElevation | ( | ) | const |
check if we're editing elevation
Definition at line 2968 of file GNEViewNetHelper.cpp.
References menuCheckMoveElevation.
| void GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands | ( | std::vector< MFXCheckableButton * > & | commands | ) | const |
get visible network menu commands
Definition at line 2845 of file GNEViewNetHelper.cpp.
References menuCheckAutoOppositeEdge, menuCheckChainEdges, menuCheckChangeAllPhases, menuCheckDrawSpreadVehicles, menuCheckExtendSelection, menuCheckHideConnections, menuCheckMergeAutomatically, menuCheckMoveElevation, menuCheckSelectEdges, menuCheckShowAdditionalSubElements, menuCheckShowConnections, menuCheckShowDemandElements, menuCheckShowJunctionBubble, menuCheckShowTAZElements, menuCheckToggleDrawJunctionShape, and menuCheckToggleGrid.
| void GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks | ( | ) |
hide all options menu checks
Definition at line 2824 of file GNEViewNetHelper.cpp.
References menuCheckAutoOppositeEdge, menuCheckChainEdges, menuCheckChangeAllPhases, menuCheckDrawSpreadVehicles, menuCheckExtendSelection, menuCheckHideConnections, menuCheckMergeAutomatically, menuCheckMoveElevation, menuCheckSelectEdges, menuCheckShowAdditionalSubElements, menuCheckShowConnections, menuCheckShowDemandElements, menuCheckShowJunctionBubble, menuCheckShowTAZElements, menuCheckToggleDrawJunctionShape, and menuCheckToggleGrid.
|
privatedelete |
Invalidated assignment operator.
References NetworkViewOptions().
| bool GNEViewNetHelper::NetworkViewOptions::selectEdges | ( | ) | const |
check if select edges checkbox is enabled
Definition at line 2916 of file GNEViewNetHelper.cpp.
References menuCheckSelectEdges.
| bool GNEViewNetHelper::NetworkViewOptions::showConnections | ( | ) | const |
check if select show connections checkbox is enabled
Definition at line 2927 of file GNEViewNetHelper.cpp.
References menuCheckHideConnections, menuCheckShowConnections, myViewNet, NETWORK_CONNECT, and NETWORK_PROHIBITION.
| bool GNEViewNetHelper::NetworkViewOptions::showDemandElements | ( | ) | const |
check if show demand elements checkbox is enabled
Definition at line 2905 of file GNEViewNetHelper.cpp.
References menuCheckShowDemandElements.
| bool GNEViewNetHelper::NetworkViewOptions::showSubAdditionals | ( | ) | const |
check if show sub-additionals
Definition at line 2944 of file GNEViewNetHelper.cpp.
References menuCheckShowAdditionalSubElements, and myViewNet.
| bool GNEViewNetHelper::NetworkViewOptions::showTAZElements | ( | ) | const |
check if show TAZ Elements
Definition at line 2956 of file GNEViewNetHelper.cpp.
References menuCheckShowTAZElements, and myViewNet.
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge = nullptr |
check checkable to create auto create opposite edge
Definition at line 891 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges = nullptr |
checkable button to the endpoint for a created edge should be set as the new source
Definition at line 888 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases = nullptr |
checkable button to set change all phases
Definition at line 876 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles = nullptr |
checkable button to draw vehicles in begin position or spread in lane
Definition at line 852 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), drawSpreadVehicles(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection = nullptr |
checkable button to extend to edge nodes
Definition at line 873 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections = nullptr |
checkable button to hide connections in connect mode
Definition at line 864 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), showConnections(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckMergeAutomatically = nullptr |
checkable button to we should't warn about merging junctions
Definition at line 879 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation = nullptr |
checkable button to apply movement to elevation
Definition at line 885 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), editingElevation(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges = nullptr |
checkable button to select only edges
Definition at line 858 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), selectEdges(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements = nullptr |
checkable button to show additional sub-elements
Definition at line 867 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), showSubAdditionals(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections = nullptr |
checkable button to show connections
Definition at line 861 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), showConnections(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements = nullptr |
checkable button to show Demand Elements
Definition at line 855 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), showDemandElements(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble = nullptr |
checkable button to show connection as bubble in "Move" mode.
Definition at line 882 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements = nullptr |
checkable button to show TAZ elements
Definition at line 870 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), showTAZElements(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape = nullptr |
checkable button to show junction shapes
Definition at line 849 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid = nullptr |
checkable button to show grid button
Definition at line 846 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), getVisibleNetworkMenuCommands(), hideNetworkViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
|
private |
pointer to net
Definition at line 895 of file GNEViewNetHelper.h.
Referenced by buildNetworkViewOptionsMenuChecks(), NetworkViewOptions(), showConnections(), showSubAdditionals(), and showTAZElements().