![]() |
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 More... | |
bool | editingElevation () const |
check if we're editing elevation More... | |
void | getVisibleNetworkMenuCommands (std::vector< FXMenuCheck * > &commands) const |
get visible network menu commands More... | |
void | hideNetworkViewOptionsMenuChecks () |
hide all options menu checks More... | |
NetworkViewOptions (GNEViewNet *viewNet) | |
default constructor More... | |
bool | selectEdges () const |
check if select edges checkbox is enabled More... | |
bool | showConnections () const |
check if select show connections checkbox is enabled More... | |
bool | showDemandElements () const |
check if show demand elements checkbox is enabled More... | |
Data Fields | |
FXMenuCheck * | menuCheckAutoOppositeEdge |
menu check to create auto create opposite edge More... | |
FXMenuCheck * | menuCheckChainEdges |
menu check to the endpoint for a created edge should be set as the new source More... | |
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 * | menuCheckMoveElevation |
menu check to apply movement to elevation More... | |
FXMenuCheck * | menuCheckSelectEdges |
menu check to select only edges More... | |
FXMenuCheck * | menuCheckShowConnections |
menu check to show connections More... | |
FXMenuCheck * | menuCheckShowDemandElements |
menu check to show Demand Elements More... | |
FXMenuCheck * | menuCheckShowJunctionBubble |
menu check to show connection as buuble in "Move" mode. More... | |
FXMenuCheck * | menuCheckWarnAboutMerge |
menu check to we should warn about merging junctions More... | |
Private Member Functions | |
NetworkViewOptions (const NetworkViewOptions &)=delete | |
Invalidated copy constructor. More... | |
NetworkViewOptions & | operator= (const NetworkViewOptions &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
GNEViewNet * | myViewNet |
pointer to viewNet More... | |
struct used to group all variables related to view options in supermode Network
Definition at line 360 of file GNEViewNetHelper.h.
GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 1469 of file GNEViewNetHelper.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNetHelper::NetworkViewOptions::buildNetworkViewOptionsMenuChecks | ( | ) |
build menu checks
Definition at line 1475 of file GNEViewNetHelper.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, SUMO_TAG_CONNECTION, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_TRAFFIC_LIGHT, and toString().
Referenced by GNEViewNet::buildEditModeControls().
bool GNEViewNetHelper::NetworkViewOptions::editingElevation | ( | ) | const |
check if we're editing elevation
Definition at line 1653 of file GNEViewNetHelper.cpp.
Referenced by GNEEdge::drawGeometryPoints(), GNEPoly::drawGL(), and GNEJunction::drawGL().
void GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands | ( | std::vector< FXMenuCheck * > & | commands | ) | const |
get visible network menu commands
Definition at line 1577 of file GNEViewNetHelper.cpp.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
void GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks | ( | ) |
hide all options menu checks
Definition at line 1559 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
privatedelete |
Invalidated assignment operator.
bool GNEViewNetHelper::NetworkViewOptions::selectEdges | ( | ) | const |
check if select edges checkbox is enabled
Definition at line 1627 of file GNEViewNetHelper.cpp.
Referenced by GNEViewNet::getAttributeCarriersInBoundary(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), and GNEInspectorFrame::selectedOverlappedElement().
bool GNEViewNetHelper::NetworkViewOptions::showConnections | ( | ) | const |
check if select show connections checkbox is enabled
Definition at line 1638 of file GNEViewNetHelper.cpp.
References GNE_NMODE_CONNECT, and GNE_NMODE_PROHIBITION.
Referenced by GNEConnection::drawGL().
bool GNEViewNetHelper::NetworkViewOptions::showDemandElements | ( | ) | const |
check if show demand elements checkbox is enabled
Definition at line 1616 of file GNEViewNetHelper.cpp.
Referenced by GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawGL(), and GNEJunction::drawJunctionChilds().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge |
menu check to create auto create opposite edge
Definition at line 417 of file GNEViewNetHelper.h.
Referenced by GNEViewNet::onCmdToogleAutoOppositeEdge(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges |
menu check to the endpoint for a created edge should be set as the new source
Definition at line 414 of file GNEViewNetHelper.h.
Referenced by GNEViewNet::onCmdToogleChainEdges(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases |
menu check to set change all phases
Definition at line 402 of file GNEViewNetHelper.h.
Referenced by GNEViewNet::changeAllPhases(), GNEViewNet::onCmdToogleChangeAllPhases(), GNEApplicationWindow::onCmdToogleEditOptions(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection |
menu check to extend to edge nodes
Definition at line 399 of file GNEViewNetHelper.h.
Referenced by GNEViewNet::autoSelectNodes(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleExtendSelection(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections |
menu check to hide connections in connect mode
Definition at line 396 of file GNEViewNetHelper.h.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleHideConnections(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation |
menu check to apply movement to elevation
Definition at line 411 of file GNEViewNetHelper.h.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleMoveElevation(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges |
menu check to select only edges
Definition at line 390 of file GNEViewNetHelper.h.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleSelectEdges(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections |
menu check to show connections
Definition at line 393 of file GNEViewNetHelper.h.
Referenced by GNEViewNet::doPaintGL(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleShowConnections(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements |
menu check to show Demand Elements
Definition at line 387 of file GNEViewNetHelper.h.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleShowDemandElements(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble |
menu check to show connection as buuble in "Move" mode.
Definition at line 408 of file GNEViewNetHelper.h.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleShowJunctionBubbles(), GNEViewNet::showJunctionAsBubbles(), and GNEViewNet::updateNetworkModeSpecificControls().
FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge |
menu check to we should warn about merging junctions
Definition at line 405 of file GNEViewNetHelper.h.
Referenced by GNEViewNet::mergeJunctions(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEViewNet::onCmdToogleWarnAboutMerge(), and GNEViewNet::updateNetworkModeSpecificControls().
|
private |
pointer to viewNet
Definition at line 420 of file GNEViewNetHelper.h.