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 = nullptr
 menu check to show Additionals
MFXCheckableButtonmenuCheckShowDemandElements = nullptr
 menu check to show Demand Elements
MFXCheckableButtonmenuCheckShowShapes = nullptr
 menu check to show Shapes
MFXCheckableButtonmenuCheckToggleDrawJunctionShape = nullptr
 checkable button to show junction shapes
MFXCheckableButtonmenuCheckToggleTAZDrawFill = nullptr
 menu check to toggle TAZ draw fill
MFXCheckableButtonmenuCheckToggleTAZRelDrawing = nullptr
 menu check to toggle TAZ Rel drawing
MFXCheckableButtonmenuCheckToggleTAZRelOnlyFrom = nullptr
 menu check to toggle TAZRel only from
MFXCheckableButtonmenuCheckToggleTAZRelOnlyTo = nullptr
 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 1009 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ DataViewOptions() [1/2]

GNEViewNetHelper::DataViewOptions::DataViewOptions ( GNEViewNet * viewNet)

default constructor

Definition at line 3259 of file GNEViewNetHelper.cpp.

References myViewNet.

Referenced by DataViewOptions(), and operator=().

Here is the caller graph for this function:

◆ DataViewOptions() [2/2]

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

Invalidated copy constructor.

References DataViewOptions().

Member Function Documentation

◆ buildDataViewOptionsMenuChecks()

◆ getVisibleDataMenuCommands()

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

◆ hideDataViewOptionsMenuChecks()

void GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks ( )

◆ operator=()

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

Invalidated assignment operator.

References DataViewOptions().

◆ showAdditionals()

bool GNEViewNetHelper::DataViewOptions::showAdditionals ( ) const

check if additionals has to be drawn

Definition at line 3369 of file GNEViewNetHelper.cpp.

References menuCheckShowAdditionals.

◆ showDemandElements()

bool GNEViewNetHelper::DataViewOptions::showDemandElements ( ) const

check if show demand elements checkbox is enabled

Definition at line 3389 of file GNEViewNetHelper.cpp.

References menuCheckShowDemandElements.

◆ showShapes()

bool GNEViewNetHelper::DataViewOptions::showShapes ( ) const

check if shapes has to be drawn

Definition at line 3379 of file GNEViewNetHelper.cpp.

References menuCheckShowShapes.

◆ TAZDrawFill()

bool GNEViewNetHelper::DataViewOptions::TAZDrawFill ( ) const

check if toggle TAZ draw fill checkbox is enabled

Definition at line 3405 of file GNEViewNetHelper.cpp.

References menuCheckToggleTAZDrawFill.

◆ TAZRelDrawing()

bool GNEViewNetHelper::DataViewOptions::TAZRelDrawing ( ) const

check if toggle TAZRel drawing checkbox is enabled

Definition at line 3399 of file GNEViewNetHelper.cpp.

References menuCheckToggleTAZRelDrawing.

◆ TAZRelOnlyFrom()

bool GNEViewNetHelper::DataViewOptions::TAZRelOnlyFrom ( ) const

check if toggle TAZRel only from checkbox is enabled

Definition at line 3415 of file GNEViewNetHelper.cpp.

References menuCheckToggleTAZRelOnlyFrom.

◆ TAZRelOnlyTo()

bool GNEViewNetHelper::DataViewOptions::TAZRelOnlyTo ( ) const

check if toggle TAZRel only to checkbox is enabled

Definition at line 3425 of file GNEViewNetHelper.cpp.

References menuCheckToggleTAZRelOnlyTo.

Field Documentation

◆ menuCheckShowAdditionals

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals = nullptr

◆ menuCheckShowDemandElements

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements = nullptr

◆ menuCheckShowShapes

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckShowShapes = nullptr

◆ menuCheckToggleDrawJunctionShape

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape = nullptr

◆ menuCheckToggleTAZDrawFill

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill = nullptr

◆ menuCheckToggleTAZRelDrawing

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing = nullptr

◆ menuCheckToggleTAZRelOnlyFrom

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom = nullptr

◆ menuCheckToggleTAZRelOnlyTo

MFXCheckableButton* GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo = nullptr

◆ myViewNet

GNEViewNet* GNEViewNetHelper::DataViewOptions::myViewNet
private

pointer to net

Definition at line 1070 of file GNEViewNetHelper.h.

Referenced by buildDataViewOptionsMenuChecks(), and DataViewOptions().


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