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

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

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::DataViewOptions:
[legend]

Public Member Functions

void buildDataViewOptionsMenuChecks ()
 build menu checks More...
 
 DataViewOptions (GNEViewNet *viewNet)
 default constructor More...
 
void getVisibleDataMenuCommands (std::vector< MFXCheckableButton * > &commands) const
 get visible demand menu commands More...
 
void hideDataViewOptionsMenuChecks ()
 hide all options menu checks More...
 
bool showAdditionals () const
 check if additionals has to be drawn More...
 
bool showDemandElements () const
 check if show demand elements checkbox is enabled More...
 
bool showShapes () const
 check if shapes has to be drawn More...
 

Data Fields

MFXCheckableButtonmenuCheckShowAdditionals
 menu check to show Additionals More...
 
MFXCheckableButtonmenuCheckShowDemandElements
 menu check to show Demand Elements More...
 
MFXCheckableButtonmenuCheckShowShapes
 menu check to show Shapes More...
 

Private Member Functions

 DataViewOptions (const DataViewOptions &)=delete
 Invalidated copy constructor. More...
 
DataViewOptionsoperator= (const DataViewOptions &)=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 Data

Definition at line 658 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ DataViewOptions() [1/2]

GNEViewNetHelper::DataViewOptions::DataViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 2360 of file GNEViewNetHelper.cpp.

◆ DataViewOptions() [2/2]

GNEViewNetHelper::DataViewOptions::DataViewOptions ( const DataViewOptions )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildDataViewOptionsMenuChecks()

void GNEViewNetHelper::DataViewOptions::buildDataViewOptionsMenuChecks ( )

build menu checks

Definition at line 2369 of file GNEViewNetHelper.cpp.

References COMMONMODE_CHECKBOX_SHOWDEMANDELEMENTS, DATAMODE_CHECKBOX_SHOWADDITIONALS, DATAMODE_CHECKBOX_SHOWSHAPES, GUIIconSubSys::getIcon(), GUIDesignMFXCheckableButton, MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, and MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES.

Referenced by GNEViewNet::buildEditModeControls().

Here is the caller graph for this function:

◆ getVisibleDataMenuCommands()

void GNEViewNetHelper::DataViewOptions::getVisibleDataMenuCommands ( std::vector< MFXCheckableButton * > &  commands) const

get visible demand menu commands

Definition at line 2408 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdToogleEditOptions().

Here is the caller graph for this function:

◆ hideDataViewOptionsMenuChecks()

void GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks ( )

hide all options menu checks

Definition at line 2398 of file GNEViewNetHelper.cpp.

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

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ showAdditionals()

◆ showDemandElements()

bool GNEViewNetHelper::DataViewOptions::showDemandElements ( ) const

check if show demand elements checkbox is enabled

Definition at line 2443 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:

◆ showShapes()

bool GNEViewNetHelper::DataViewOptions::showShapes ( ) const

check if shapes has to be drawn

Definition at line 2433 of file GNEViewNetHelper.cpp.

Referenced by GNEPOI::drawGL(), GNEPoly::drawGL(), and GNETAZ::drawGL().

Here is the caller graph for this function:

Field Documentation

◆ menuCheckShowAdditionals

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals

◆ menuCheckShowDemandElements

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements

◆ menuCheckShowShapes

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowShapes

◆ myViewNet

GNEViewNet* GNEViewNetHelper::DataViewOptions::myViewNet
private

pointer to net

Definition at line 692 of file GNEViewNetHelper.h.


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