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:

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...
 
NetworkViewOptionsoperator= (const NetworkViewOptions &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

GNEViewNetmyViewNet
 pointer to viewNet More...
 

Detailed Description

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

Definition at line 360 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ NetworkViewOptions() [1/2]

GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 1469 of file GNEViewNetHelper.cpp.

◆ NetworkViewOptions() [2/2]

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

Invalidated copy constructor.

Member Function Documentation

◆ buildNetworkViewOptionsMenuChecks()

◆ editingElevation()

bool GNEViewNetHelper::NetworkViewOptions::editingElevation ( ) const

check if we're editing elevation

Definition at line 1653 of file GNEViewNetHelper.cpp.

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

◆ getVisibleNetworkMenuCommands()

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

◆ hideNetworkViewOptionsMenuChecks()

void GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks ( )

hide all options menu checks

Definition at line 1559 of file GNEViewNetHelper.cpp.

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

◆ operator=()

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

Invalidated assignment operator.

◆ selectEdges()

bool GNEViewNetHelper::NetworkViewOptions::selectEdges ( ) const

◆ showConnections()

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

◆ showDemandElements()

bool GNEViewNetHelper::NetworkViewOptions::showDemandElements ( ) const

check if show demand elements checkbox is enabled

Definition at line 1616 of file GNEViewNetHelper.cpp.

Referenced by GNEStop::drawGL(), GNEEdge::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), and GNEJunction::drawJunctionChilds().

Field Documentation

◆ menuCheckAutoOppositeEdge

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge

◆ menuCheckChainEdges

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

◆ menuCheckChangeAllPhases

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases

◆ menuCheckExtendSelection

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection

◆ menuCheckHideConnections

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections

◆ menuCheckMoveElevation

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation

◆ menuCheckSelectEdges

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges

◆ menuCheckShowConnections

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections

◆ menuCheckShowDemandElements

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements

◆ menuCheckShowJunctionBubble

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble

◆ menuCheckWarnAboutMerge

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge

◆ myViewNet

GNEViewNet* GNEViewNetHelper::NetworkViewOptions::myViewNet
private

pointer to viewNet

Definition at line 420 of file GNEViewNetHelper.h.


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