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.

◆ 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 3339 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 3326 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 3389 of file GNEViewNetHelper.cpp.

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

Here is the caller graph for this function:

◆ showShapes()

bool GNEViewNetHelper::DataViewOptions::showShapes ( ) const

check if shapes has to be drawn

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

Referenced by 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 3399 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 3415 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 3425 of file GNEViewNetHelper.cpp.

Referenced by GNETAZRelData::drawTAZRel().

Here is the caller graph for this function:

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.


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