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

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

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::DemandViewOptions:
[legend]

Public Member Functions

void buildDemandViewOptionsMenuChecks ()
 build menu checks More...
 
 DemandViewOptions (GNEViewNet *viewNet)
 default constructor More...
 
bool drawSpreadVehicles () const
 check if vehicles must be drawn spread More...
 
const GNEDemandElement * getLockedContainer () const
 get locked container More...
 
const GNEDemandElement * getLockedPerson () const
 get locked person More...
 
void getVisibleDemandMenuCommands (std::vector< MFXCheckableButton * > &commands) const
 get visible demand menu commands More...
 
void hideDemandViewOptionsMenuChecks ()
 hide all options menu checks More...
 
void lockContainer (const GNEDemandElement *container)
 lock container More...
 
void lockPerson (const GNEDemandElement *person)
 lock person More...
 
bool showAllContainerPlans () const
 check all container plans has to be show More...
 
bool showAllPersonPlans () const
 check all person plans has to be show More...
 
bool showAllTrips () const
 check if trips has to be drawn More...
 
bool showNonInspectedDemandElements (const GNEDemandElement *demandElement) const
 check if non inspected element has to be hidden More...
 
bool showOverlappedRoutes () const
 show overlapped routes More...
 
bool showShapes () const
 check if shapes has to be drawn More...
 
void unlockContainer ()
 unlock container More...
 
void unlockPerson ()
 unlock person More...
 

Data Fields

MFXCheckableButton * menuCheckDrawSpreadVehicles
 menu check to draw vehicles in begin position or spread in lane More...
 
MFXCheckableButton * menuCheckHideNonInspectedDemandElements
 Hide non inspected demand elements. More...
 
MFXCheckableButton * menuCheckHideShapes
 Hide shapes (Polygons and POIs) More...
 
MFXCheckableButton * menuCheckLockContainer
 Lock Container. More...
 
MFXCheckableButton * menuCheckLockPerson
 Lock Person. More...
 
MFXCheckableButton * menuCheckShowAllContainerPlans
 show all container plans More...
 
MFXCheckableButton * menuCheckShowAllPersonPlans
 show all person plans More...
 
MFXCheckableButton * menuCheckShowAllTrips
 show all trips More...
 
MFXCheckableButton * menuCheckShowOverlappedRoutes
 show overlapped routes More...
 
MFXCheckableButton * menuCheckToggleDrawJunctionShape
 checkable button to show junction shapes More...
 
MFXCheckableButton * menuCheckToggleGrid
 menu check to show grid button More...
 

Private Member Functions

 DemandViewOptions (const DemandViewOptions &)=delete
 Invalidated copy constructor. More...
 
DemandViewOptions & operator= (const DemandViewOptions &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

const GNEDemandElement * myLockedContainer
 pointer to locked container More...
 
const GNEDemandElement * myLockedPerson
 pointer to locked person More...
 
GNEViewNet * myViewNet
 pointer to net More...
 

Detailed Description

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

Definition at line 654 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ DemandViewOptions() [1/2]

GNEViewNetHelper::DemandViewOptions::DemandViewOptions ( GNEViewNet *  viewNet)

default constructor

Definition at line 2516 of file GNEViewNetHelper.cpp.

◆ DemandViewOptions() [2/2]

GNEViewNetHelper::DemandViewOptions::DemandViewOptions ( const DemandViewOptions &  )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildDemandViewOptionsMenuChecks()

◆ drawSpreadVehicles()

bool GNEViewNetHelper::DemandViewOptions::drawSpreadVehicles ( ) const

check if vehicles must be drawn spread

Definition at line 2688 of file GNEViewNetHelper.cpp.

Referenced by GNEVehicle::drawGL().

Here is the caller graph for this function:

◆ getLockedContainer()

const GNEDemandElement * GNEViewNetHelper::DemandViewOptions::getLockedContainer ( ) const

get locked container

Definition at line 2808 of file GNEViewNetHelper.cpp.

Referenced by GNEDemandElement::drawContainerPlan().

Here is the caller graph for this function:

◆ getLockedPerson()

const GNEDemandElement * GNEViewNetHelper::DemandViewOptions::getLockedPerson ( ) const

get locked person

Definition at line 2770 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::doPaintGL(), and GNEDemandElement::drawPersonPlan().

Here is the caller graph for this function:

◆ getVisibleDemandMenuCommands()

void GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands ( std::vector< MFXCheckableButton * > &  commands) const

get visible demand menu commands

Definition at line 2649 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdToggleEditOptions().

Here is the caller graph for this function:

◆ hideDemandViewOptionsMenuChecks()

void GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks ( )

hide all options menu checks

Definition at line 2631 of file GNEViewNetHelper.cpp.

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

Here is the caller graph for this function:

◆ lockContainer()

void GNEViewNetHelper::DemandViewOptions::lockContainer ( const GNEDemandElement *  container)

lock container

Definition at line 2786 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdToggleLockContainer().

Here is the caller graph for this function:

◆ lockPerson()

void GNEViewNetHelper::DemandViewOptions::lockPerson ( const GNEDemandElement *  person)

lock person

Definition at line 2758 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdToggleLockPerson().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ showAllContainerPlans()

bool GNEViewNetHelper::DemandViewOptions::showAllContainerPlans ( ) const

check all container plans has to be show

Definition at line 2776 of file GNEViewNetHelper.cpp.

Referenced by GNEDemandElement::drawContainerPlan().

Here is the caller graph for this function:

◆ showAllPersonPlans()

bool GNEViewNetHelper::DemandViewOptions::showAllPersonPlans ( ) const

check all person plans has to be show

Definition at line 2748 of file GNEViewNetHelper.cpp.

Referenced by GNEDemandElement::drawPersonPlan().

Here is the caller graph for this function:

◆ showAllTrips()

bool GNEViewNetHelper::DemandViewOptions::showAllTrips ( ) const

check if trips has to be drawn

Definition at line 2742 of file GNEViewNetHelper.cpp.

Referenced by GNEStop::canDrawVehicleStop(), and GNEVehicle::drawPartialGL().

Here is the caller graph for this function:

◆ showNonInspectedDemandElements()

bool GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements ( const GNEDemandElement *  demandElement) const

check if non inspected element has to be hidden

Definition at line 2694 of file GNEViewNetHelper.cpp.

References GNEHierarchicalElement::getChildDemandElements(), and GNEHierarchicalElement::getParentDemandElements().

Referenced by GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), and GNERoute::drawPartialGL().

Here is the caller graph for this function:

◆ showOverlappedRoutes()

bool GNEViewNetHelper::DemandViewOptions::showOverlappedRoutes ( ) const

show overlapped routes

Definition at line 2798 of file GNEViewNetHelper.cpp.

Referenced by GNEPathManager::drawLanePathElements().

Here is the caller graph for this function:

◆ showShapes()

bool GNEViewNetHelper::DemandViewOptions::showShapes ( ) const

check if shapes has to be drawn

Definition at line 2732 of file GNEViewNetHelper.cpp.

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

Here is the caller graph for this function:

◆ unlockContainer()

void GNEViewNetHelper::DemandViewOptions::unlockContainer ( )

unlock container

Definition at line 2792 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdToggleLockContainer().

Here is the caller graph for this function:

◆ unlockPerson()

void GNEViewNetHelper::DemandViewOptions::unlockPerson ( )

unlock person

Definition at line 2764 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::onCmdToggleLockPerson().

Here is the caller graph for this function:

Field Documentation

◆ menuCheckDrawSpreadVehicles

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles

◆ menuCheckHideNonInspectedDemandElements

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements

◆ menuCheckHideShapes

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes

◆ menuCheckLockContainer

◆ menuCheckLockPerson

◆ menuCheckShowAllContainerPlans

◆ menuCheckShowAllPersonPlans

◆ menuCheckShowAllTrips

◆ menuCheckShowOverlappedRoutes

◆ menuCheckToggleDrawJunctionShape

MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape

◆ menuCheckToggleGrid

◆ myLockedContainer

const GNEDemandElement* GNEViewNetHelper::DemandViewOptions::myLockedContainer
private

pointer to locked container

Definition at line 748 of file GNEViewNetHelper.h.

◆ myLockedPerson

const GNEDemandElement* GNEViewNetHelper::DemandViewOptions::myLockedPerson
private

pointer to locked person

Definition at line 745 of file GNEViewNetHelper.h.

◆ myViewNet

GNEViewNet* GNEViewNetHelper::DemandViewOptions::myViewNet
private

pointer to net

Definition at line 742 of file GNEViewNetHelper.h.


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