Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
 
 DataViewOptions (GNEViewNet *viewNet)
 default constructor
 
void getVisibleDataMenuCommands (std::vector< MFXCheckableButton * > &commands) const
 get visible demand menu commands
 
void hideDataViewOptionsMenuChecks ()
 hide all options menu checks
 
bool showAdditionals () const
 check if additionals has to be drawn
 
bool showDemandElements () const
 check if show demand elements checkbox is enabled
 
bool showShapes () const
 check if shapes has to be drawn
 
bool TAZDrawFill () const
 check if toggle TAZ draw fill checkbox is enabled
 
bool TAZRelDrawing () const
 check if toggle TAZRel drawing checkbox is enabled
 
bool TAZRelOnlyFrom () const
 check if toggle TAZRel only from checkbox is enabled
 
bool TAZRelOnlyTo () const
 check if toggle TAZRel only to checkbox is enabled
 

Data Fields

MFXCheckableButtonmenuCheckShowAdditionals
 menu check to show Additionals
 
MFXCheckableButtonmenuCheckShowDemandElements
 menu check to show Demand Elements
 
MFXCheckableButtonmenuCheckShowShapes
 menu check to show Shapes
 
MFXCheckableButtonmenuCheckToggleDrawJunctionShape
 checkable button to show junction shapes
 
MFXCheckableButtonmenuCheckToggleTAZDrawFill
 menu check to toggle TAZ draw fill
 
MFXCheckableButtonmenuCheckToggleTAZRelDrawing
 menu check to toggle TAZ Rel drawing
 
MFXCheckableButtonmenuCheckToggleTAZRelOnlyFrom
 menu check to toggle TAZRel only from
 
MFXCheckableButtonmenuCheckToggleTAZRelOnlyTo
 menu check to toggle TAZRel only to
 

Private Member Functions

 DataViewOptions (const DataViewOptions &)=delete
 Invalidated copy constructor.
 
DataViewOptionsoperator= (const DataViewOptions &)=delete
 Invalidated assignment operator.
 

Private Attributes

GNEViewNetmyViewNet
 pointer to net
 

Detailed Description

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

Definition at line 790 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ DataViewOptions() [1/2]

GNEViewNetHelper::DataViewOptions::DataViewOptions ( GNEViewNet viewNet)

default constructor

Definition at line 2904 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 2998 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 2983 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 3048 of file GNEViewNetHelper.cpp.

Referenced by GNEEdge::drawChildrens(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNERoute::drawPartialGL(), 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 3038 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 3064 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 3058 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 3074 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 3084 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 851 of file GNEViewNetHelper.h.


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