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...
 
bool TAZDrawFill () const
 check if toggle TAZ draw fill checkbox is enabled More...
 
bool TAZRelDrawing () const
 check if toggle TAZRel drawing checkbox is enabled More...
 
bool TAZRelOnlyFrom () const
 check if toggle TAZRel only from checkbox is enabled More...
 
bool TAZRelOnlyTo () const
 check if toggle TAZRel only to checkbox is enabled 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...
 
MFXCheckableButtonmenuCheckToggleDrawJunctionShape
 checkable button to show junction shapes More...
 
MFXCheckableButtonmenuCheckToggleTAZDrawFill
 menu check to toggle TAZ draw fill More...
 
MFXCheckableButtonmenuCheckToggleTAZRelDrawing
 menu check to toggle TAZ Rel drawing More...
 
MFXCheckableButtonmenuCheckToggleTAZRelOnlyFrom
 menu check to toggle TAZRel only from More...
 
MFXCheckableButtonmenuCheckToggleTAZRelOnlyTo
 menu check to toggle TAZRel only to 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 758 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ DataViewOptions() [1/2]

GNEViewNetHelper::DataViewOptions::DataViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 2816 of file GNEViewNetHelper.cpp.

◆ DataViewOptions() [2/2]

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

Invalidated copy constructor.

Member Function Documentation

◆ buildDataViewOptionsMenuChecks()

◆ getVisibleDataMenuCommands()

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

get visible demand menu commands

Definition at line 2910 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdToggleEditOptions().

Here is the caller graph for this function:

◆ hideDataViewOptionsMenuChecks()

void GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks ( )

hide all options menu checks

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

Referenced by GNEContainer::drawGL(), GNEPerson::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 2950 of file GNEViewNetHelper.cpp.

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

Here is the caller graph for this function:

◆ TAZDrawFill()

bool GNEViewNetHelper::DataViewOptions::TAZDrawFill ( ) const

check if toggle TAZ draw fill checkbox is enabled

Definition at line 2976 of file GNEViewNetHelper.cpp.

Referenced by GNETAZ::drawDottedContours(), and GNETAZ::drawGL().

Here is the caller graph for this function:

◆ TAZRelDrawing()

bool GNEViewNetHelper::DataViewOptions::TAZRelDrawing ( ) const

check if toggle TAZRel drawing checkbox is enabled

Definition at line 2970 of file GNEViewNetHelper.cpp.

Referenced by GNETAZRelData::drawGL().

Here is the caller graph for this function:

◆ TAZRelOnlyFrom()

bool GNEViewNetHelper::DataViewOptions::TAZRelOnlyFrom ( ) const

check if toggle TAZRel only from checkbox is enabled

Definition at line 2986 of file GNEViewNetHelper.cpp.

Referenced by GNETAZRelData::drawTAZRel().

Here is the caller graph for this function:

◆ TAZRelOnlyTo()

bool GNEViewNetHelper::DataViewOptions::TAZRelOnlyTo ( ) const

check if toggle TAZRel only to checkbox is enabled

Definition at line 2996 of file GNEViewNetHelper.cpp.

Referenced by GNETAZRelData::drawTAZRel().

Here is the caller graph for this function:

Field Documentation

◆ menuCheckShowAdditionals

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals

◆ menuCheckShowDemandElements

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements

◆ menuCheckShowShapes

◆ menuCheckToggleDrawJunctionShape

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape

◆ menuCheckToggleTAZDrawFill

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill

◆ menuCheckToggleTAZRelDrawing

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing

◆ menuCheckToggleTAZRelOnlyFrom

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom

◆ menuCheckToggleTAZRelOnlyTo

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo

◆ myViewNet

GNEViewNet* GNEViewNetHelper::DataViewOptions::myViewNet
private

pointer to net

Definition at line 819 of file GNEViewNetHelper.h.


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