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 364 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ NetworkViewOptions() [1/2]

GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 1468 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 1652 of file GNEViewNetHelper.cpp.

References menuCheckMoveElevation.

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

◆ getVisibleNetworkMenuCommands()

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

◆ hideNetworkViewOptionsMenuChecks()

◆ operator=()

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

Invalidated assignment operator.

◆ selectEdges()

◆ showConnections()

◆ showDemandElements()

bool GNEViewNetHelper::NetworkViewOptions::showDemandElements ( ) const

check if show demand elements checkbox is enabled

Definition at line 1615 of file GNEViewNetHelper.cpp.

References menuCheckShowDemandElements.

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

Field Documentation

◆ menuCheckAutoOppositeEdge

◆ menuCheckChainEdges

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges

◆ menuCheckChangeAllPhases

◆ menuCheckExtendSelection

◆ menuCheckHideConnections

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections

◆ menuCheckMoveElevation

◆ menuCheckSelectEdges

◆ menuCheckShowConnections

◆ menuCheckShowDemandElements

◆ menuCheckShowJunctionBubble

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble

◆ menuCheckWarnAboutMerge

FXMenuCheck* GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge

◆ myViewNet

GNEViewNet* GNEViewNetHelper::NetworkViewOptions::myViewNet
private

pointer to viewNet

Definition at line 424 of file GNEViewNetHelper.h.

Referenced by buildNetworkViewOptionsMenuChecks(), hideNetworkViewOptionsMenuChecks(), and showConnections().


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