Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
 
bool drawSpreadVehicles () const
 check if vehicles must be drawn spread
 
bool editingElevation () const
 check if we're editing elevation
 
void getVisibleNetworkMenuCommands (std::vector< MFXCheckableButton * > &commands) const
 get visible network menu commands
 
void hideNetworkViewOptionsMenuChecks ()
 hide all options menu checks
 
 NetworkViewOptions (GNEViewNet *viewNet)
 default constructor
 
bool selectEdges () const
 check if select edges checkbox is enabled
 
bool showConnections () const
 check if select show connections checkbox is enabled
 
bool showDemandElements () const
 check if show demand elements checkbox is enabled
 
bool showSubAdditionals () const
 check if show sub-additionals
 
bool showTAZElements () const
 check if show TAZ Elements
 

Data Fields

MFXCheckableButtonmenuCheckAutoOppositeEdge = nullptr
 check checkable to create auto create opposite edge
 
MFXCheckableButtonmenuCheckChainEdges = nullptr
 checkable button to the endpoint for a created edge should be set as the new source
 
MFXCheckableButtonmenuCheckChangeAllPhases = nullptr
 checkable button to set change all phases
 
MFXCheckableButtonmenuCheckDrawSpreadVehicles = nullptr
 checkable button to draw vehicles in begin position or spread in lane
 
MFXCheckableButtonmenuCheckExtendSelection = nullptr
 checkable button to extend to edge nodes
 
MFXCheckableButtonmenuCheckHideConnections = nullptr
 checkable button to hide connections in connect mode
 
MFXCheckableButtonmenuCheckMergeAutomatically = nullptr
 checkable button to we should't warn about merging junctions
 
MFXCheckableButtonmenuCheckMoveElevation = nullptr
 checkable button to apply movement to elevation
 
MFXCheckableButtonmenuCheckSelectEdges = nullptr
 checkable button to select only edges
 
MFXCheckableButtonmenuCheckShowAdditionalSubElements = nullptr
 checkable button to show additional sub-elements
 
MFXCheckableButtonmenuCheckShowConnections = nullptr
 checkable button to show connections
 
MFXCheckableButtonmenuCheckShowDemandElements = nullptr
 checkable button to show Demand Elements
 
MFXCheckableButtonmenuCheckShowJunctionBubble = nullptr
 checkable button to show connection as bubble in "Move" mode.
 
MFXCheckableButtonmenuCheckShowTAZElements = nullptr
 checkable button to show TAZ elements
 
MFXCheckableButtonmenuCheckToggleDrawJunctionShape = nullptr
 checkable button to show junction shapes
 
MFXCheckableButtonmenuCheckToggleGrid = nullptr
 checkable button to show grid button
 

Private Member Functions

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

Private Attributes

GNEViewNetmyViewNet
 pointer to net
 

Detailed Description

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

Definition at line 810 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ NetworkViewOptions() [1/2]

GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 2696 of file GNEViewNetHelper.cpp.

◆ NetworkViewOptions() [2/2]

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

Invalidated copy constructor.

Member Function Documentation

◆ buildNetworkViewOptionsMenuChecks()

void GNEViewNetHelper::NetworkViewOptions::buildNetworkViewOptionsMenuChecks ( )

build menu checks

Definition at line 2702 of file GNEViewNetHelper.cpp.

References COMMONMODE_CHECKBOX_SHOWDEMANDELEMENTS, COMMONMODE_CHECKBOX_SPREADVEHICLE, COMMONMODE_CHECKBOX_TOGGLEDRAWJUNCTIONSHAPE, COMMONMODE_CHECKBOX_TOGGLEGRID, GUIIconSubSys::getIcon(), GUIDesignMFXCheckableButtonSquare, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_MERGEAUTOMATICALLY, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, NETWORKMODE_CHECKBOX_APPLYTOALLPHASES, NETWORKMODE_CHECKBOX_AUTOSELECTJUNCTIONS, NETWORKMODE_CHECKBOX_BUBBLES, NETWORKMODE_CHECKBOX_CHAIN, NETWORKMODE_CHECKBOX_ELEVATION, NETWORKMODE_CHECKBOX_HIDECONNECTIONS, NETWORKMODE_CHECKBOX_MERGEAUTOMATICALLY, NETWORKMODE_CHECKBOX_SELECTEDGES, NETWORKMODE_CHECKBOX_SHOWCONNECTIONS, NETWORKMODE_CHECKBOX_SHOWSUBADDITIONALS, NETWORKMODE_CHECKBOX_SHOWTAZELEMENTS, NETWORKMODE_CHECKBOX_TWOWAY, and TL.

Referenced by GNEViewNet::buildEditModeControls().

Here is the caller graph for this function:

◆ drawSpreadVehicles()

bool GNEViewNetHelper::NetworkViewOptions::drawSpreadVehicles ( ) const

check if vehicles must be drawn spread

Definition at line 2899 of file GNEViewNetHelper.cpp.

Referenced by GNEVehicle::drawGL().

Here is the caller graph for this function:

◆ editingElevation()

bool GNEViewNetHelper::NetworkViewOptions::editingElevation ( ) const

check if we're editing elevation

Definition at line 2968 of file GNEViewNetHelper.cpp.

Referenced by GNEConnection::drawConnection(), GNECrossing::drawCrossing(), GNEEdge::drawEdgeGeometryPoints(), GNEJunction::drawElevation(), GNEPoly::drawGeometryPoints(), GNETAZ::drawGL(), GNEJunction::drawJunctionAsShape(), GNELane::drawShapeEdited(), and GNEWalkingArea::drawTesselatedWalkingArea().

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 2845 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdToggleEditOptions().

Here is the caller graph for this function:

◆ hideNetworkViewOptionsMenuChecks()

void GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks ( )

hide all options menu checks

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

Referenced by GNEViewNet::checkSelectEdges().

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 2927 of file GNEViewNetHelper.cpp.

References NETWORK_CONNECT, and NETWORK_PROHIBITION.

Referenced by GNEConnection::checkDrawConnection(), and GNELaneAreaDetector::drawJunctionPartialGL().

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 2905 of file GNEViewNetHelper.cpp.

Referenced by GNEEdge::drawChildrens(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEEdge::updateGeometry(), and GNELane::updateGeometry().

Here is the caller graph for this function:

◆ showSubAdditionals()

bool GNEViewNetHelper::NetworkViewOptions::showSubAdditionals ( ) const

check if show sub-additionals

Definition at line 2944 of file GNEViewNetHelper.cpp.

Referenced by GNECalibrator::drawGL(), GNERerouter::drawGL(), and GNEVariableSpeedSign::drawGL().

Here is the caller graph for this function:

◆ showTAZElements()

bool GNEViewNetHelper::NetworkViewOptions::showTAZElements ( ) const

check if show TAZ Elements

Definition at line 2956 of file GNEViewNetHelper.cpp.

Referenced by GNEEdge::drawTAZElements().

Here is the caller graph for this function:

Field Documentation

◆ menuCheckAutoOppositeEdge

◆ menuCheckChainEdges

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges = nullptr

◆ menuCheckChangeAllPhases

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases = nullptr

◆ menuCheckDrawSpreadVehicles

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles = nullptr

◆ menuCheckExtendSelection

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection = nullptr

◆ menuCheckHideConnections

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections = nullptr

checkable button to hide connections in connect mode

Definition at line 864 of file GNEViewNetHelper.h.

Referenced by GNEViewNet::onCmdToggleHideConnections(), GNEApplicationWindow::onUpdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

◆ menuCheckMergeAutomatically

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckMergeAutomatically = nullptr

◆ menuCheckMoveElevation

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation = nullptr

◆ menuCheckSelectEdges

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges = nullptr

◆ menuCheckShowAdditionalSubElements

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements = nullptr

◆ menuCheckShowConnections

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections = nullptr

◆ menuCheckShowDemandElements

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements = nullptr

◆ menuCheckShowJunctionBubble

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble = nullptr

◆ menuCheckShowTAZElements

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements = nullptr

◆ menuCheckToggleDrawJunctionShape

MFXCheckableButton* GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape = nullptr

◆ menuCheckToggleGrid

◆ myViewNet

GNEViewNet* GNEViewNetHelper::NetworkViewOptions::myViewNet
private

pointer to net

Definition at line 895 of file GNEViewNetHelper.h.


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