Eclipse SUMO - Simulation of Urban MObility
GNEViewNetHelper::NetworkViewOptions Struct Reference

struct used to group all variables related to view options in supermode Network More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::NetworkViewOptions:
[legend]

Public Member Functions

void buildNetworkViewOptionsMenuChecks ()
 build menu checks More...
 
bool drawSpreadVehicles () const
 check if vehicles must be drawn spread More...
 
bool editingElevation () const
 check if we're editing elevation More...
 
void getVisibleNetworkMenuCommands (std::vector< MFXCheckableButton * > &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

MFXCheckableButtonmenuCheckAutoOppositeEdge
 check checkable to create auto create opposite edge More...
 
MFXCheckableButtonmenuCheckChainEdges
 checkable button to the endpoint for a created edge should be set as the new source More...
 
MFXCheckableButtonmenuCheckChangeAllPhases
 checkable button to set change all phases More...
 
MFXCheckableButtonmenuCheckDrawSpreadVehicles
 checkable button to draw vehicles in begin position or spread in lane More...
 
MFXCheckableButtonmenuCheckExtendSelection
 checkable button to extend to edge nodes More...
 
MFXCheckableButtonmenuCheckHideConnections
 checkable button to hide connections in connect mode More...
 
MFXCheckableButtonmenuCheckMoveElevation
 checkable button to apply movement to elevation More...
 
MFXCheckableButtonmenuCheckSelectEdges
 checkable button to select only edges More...
 
MFXCheckableButtonmenuCheckShowConnections
 checkable button to show connections More...
 
MFXCheckableButtonmenuCheckShowDemandElements
 checkable button to show Demand Elements More...
 
MFXCheckableButtonmenuCheckShowGrid
 checkable button to show grid button More...
 
MFXCheckableButtonmenuCheckShowJunctionBubble
 checkable button to show connection as buuble in "Move" mode. More...
 
MFXCheckableButtonmenuCheckWarnAboutMerge
 checkable button to we should warn about merging junctions More...
 

Private Member Functions

 NetworkViewOptions (const NetworkViewOptions &)=delete
 Invalidated copy constructor. More...
 
NetworkViewOptionsoperator= (const NetworkViewOptions &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

GNEViewNetmyViewNet
 pointer to net More...
 

Detailed Description

struct used to group all variables related to view options in supermode Network

Definition at line 510 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ NetworkViewOptions() [1/2]

GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 1938 of file GNEViewNetHelper.cpp.

◆ NetworkViewOptions() [2/2]

GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions ( const NetworkViewOptions )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildNetworkViewOptionsMenuChecks()

◆ drawSpreadVehicles()

bool GNEViewNetHelper::NetworkViewOptions::drawSpreadVehicles ( ) const

check if vehicles must be drawn spread

Definition at line 2121 of file GNEViewNetHelper.cpp.

Referenced by GNEVehicle::drawGL(), and GNEVehicle::drawPartialGL().

Here is the caller graph for this function:

◆ editingElevation()

bool GNEViewNetHelper::NetworkViewOptions::editingElevation ( ) const

check if we're editing elevation

Definition at line 2164 of file GNEViewNetHelper.cpp.

Referenced by GNEEdge::drawEdgeGeometryPoints(), GNEGeometry::drawGeometryPoints(), and GNEJunction::drawGL().

Here is the caller graph for this function:

◆ getVisibleNetworkMenuCommands()

void GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands ( std::vector< MFXCheckableButton * > &  commands) const

get visible network menu commands

Definition at line 2076 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdToogleEditOptions().

Here is the caller graph for this function:

◆ hideNetworkViewOptionsMenuChecks()

void GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks ( )

hide all options menu checks

Definition at line 2056 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ operator=()

NetworkViewOptions& GNEViewNetHelper::NetworkViewOptions::operator= ( const NetworkViewOptions )
privatedelete

Invalidated assignment operator.

◆ selectEdges()

bool GNEViewNetHelper::NetworkViewOptions::selectEdges ( ) const

check if select edges checkbox is enabled

Definition at line 2138 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::getAttributeCarriersInBoundary(), GNEViewNet::processLeftButtonPressNetwork(), and GNEInspectorFrame::selectedOverlappedElement().

Here is the caller graph for this function:

◆ showConnections()

bool GNEViewNetHelper::NetworkViewOptions::showConnections ( ) const

check if select show connections checkbox is enabled

Definition at line 2149 of file GNEViewNetHelper.cpp.

References NETWORK_CONNECT, and NETWORK_PROHIBITION.

Referenced by GNEConnection::drawGL().

Here is the caller graph for this function:

◆ showDemandElements()

bool GNEViewNetHelper::NetworkViewOptions::showDemandElements ( ) const

check if show demand elements checkbox is enabled

Definition at line 2127 of file GNEViewNetHelper.cpp.

Referenced by GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawGL(), and GNERoute::drawPartialGL().

Here is the caller graph for this function:

Field Documentation

◆ menuCheckAutoOppositeEdge

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge

◆ menuCheckChainEdges

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges

checkable button to the endpoint for a created edge should be set as the new source

Definition at line 573 of file GNEViewNetHelper.h.

Referenced by GNEViewNet::onCmdToogleChainEdges(), GNEViewNet::processLeftButtonPressNetwork(), GNEApplicationWindowHelper::toogleEditOptionsNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().

◆ menuCheckChangeAllPhases

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases

◆ menuCheckDrawSpreadVehicles

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles

checkable button to draw vehicles in begin position or spread in lane

Definition at line 543 of file GNEViewNetHelper.h.

Referenced by GNEViewNet::onCmdToogleDrawSpreadVehicles(), GNEApplicationWindowHelper::toogleEditOptionsNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().

◆ menuCheckExtendSelection

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection

◆ menuCheckHideConnections

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections

checkable button to hide connections in connect mode

Definition at line 555 of file GNEViewNetHelper.h.

Referenced by GNEViewNet::onCmdToogleHideConnections(), GNEApplicationWindowHelper::toogleEditOptionsNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().

◆ menuCheckMoveElevation

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation

◆ menuCheckSelectEdges

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges

◆ menuCheckShowConnections

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections

◆ menuCheckShowDemandElements

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements

◆ menuCheckShowGrid

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowGrid

◆ menuCheckShowJunctionBubble

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble

◆ menuCheckWarnAboutMerge

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge

◆ myViewNet

GNEViewNet* GNEViewNetHelper::NetworkViewOptions::myViewNet
private

pointer to net

Definition at line 580 of file GNEViewNetHelper.h.


The documentation for this struct was generated from the following files: