SUMO - Simulation of Urban MObility
GNEViewNet::ViewOptions Struct Reference

struct used to group all variables related to view options More...

Collaboration diagram for GNEViewNet::ViewOptions:
Collaboration graph

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

GNEViewNetmyViewNet
 pointer to viewNet More...
 

Detailed Description

struct used to group all variables related to view options

Definition at line 776 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ ViewOptions()

GNEViewNet::ViewOptions::ViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 3861 of file GNEViewNet.cpp.

Member Function Documentation

◆ buildViewOptionsMenuChecks()

◆ hideViewOptionsMenuChecks()

void GNEViewNet::ViewOptions::hideViewOptionsMenuChecks ( )

◆ selectEdges()

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().

◆ showConnections()

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().

Field Documentation

◆ menuCheckChangeAllPhases

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().

◆ menuCheckExtendSelection

FXMenuCheck* GNEViewNet::ViewOptions::menuCheckExtendSelection

◆ menuCheckHideConnections

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().

◆ menuCheckSelectEdges

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().

◆ menuCheckShowConnections

FXMenuCheck* GNEViewNet::ViewOptions::menuCheckShowConnections

◆ menuCheckShowGrid

FXMenuCheck* GNEViewNet::ViewOptions::menuCheckShowGrid

◆ myViewNet

GNEViewNet* GNEViewNet::ViewOptions::myViewNet
private

pointer to viewNet

Definition at line 813 of file GNEViewNet.h.

Referenced by buildViewOptionsMenuChecks().


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