![]() |
Eclipse SUMO - Simulation of Urban MObility
|
struct used to group all variables related to view options in supermode Demand More...
#include <GNEViewNetHelper.h>
Public Member Functions | |
| void | buildDemandViewOptionsMenuChecks () |
| build menu checks | |
| DemandViewOptions (GNEViewNet *viewNet) | |
| default constructor | |
| bool | drawSpreadVehicles () const |
| check if vehicles must be drawn spread | |
| const GNEDemandElement * | getLockedContainer () const |
| get locked container | |
| const GNEDemandElement * | getLockedPerson () const |
| get locked person | |
| void | getVisibleDemandMenuCommands (std::vector< MFXCheckableButton * > &commands) const |
| get visible demand menu commands | |
| void | hideDemandViewOptionsMenuChecks () |
| hide all options menu checks | |
| void | lockContainer (const GNEDemandElement *container) |
| lock container | |
| void | lockPerson (const GNEDemandElement *person) |
| lock person | |
| bool | showAllContainerPlans () const |
| check all container plans has to be show | |
| bool | showAllPersonPlans () const |
| check all person plans has to be show | |
| bool | showAllTrips () const |
| check if trips has to be drawn | |
| bool | showNonInspectedDemandElements (const GNEDemandElement *demandElement) const |
| check if non inspected element has to be hidden | |
| bool | showOverlappedRoutes () const |
| show overlapped routes | |
| bool | showShapes () const |
| check if shapes has to be drawn | |
| void | unlockContainer () |
| unlock container | |
| void | unlockPerson () |
| unlock person | |
Data Fields | |
| MFXCheckableButton * | menuCheckDrawSpreadVehicles = nullptr |
| menu check to draw vehicles in begin position or spread in lane | |
| MFXCheckableButton * | menuCheckHideNonInspectedDemandElements = nullptr |
| Hide non inspected demand elements. | |
| MFXCheckableButton * | menuCheckHideShapes = nullptr |
| Hide shapes (Polygons and POIs). | |
| MFXCheckableButton * | menuCheckLockContainer = nullptr |
| Lock Container. | |
| MFXCheckableButton * | menuCheckLockPerson = nullptr |
| Lock Person. | |
| MFXCheckableButton * | menuCheckShowAllContainerPlans = nullptr |
| show all container plans | |
| MFXCheckableButton * | menuCheckShowAllPersonPlans = nullptr |
| show all person plans | |
| MFXCheckableButton * | menuCheckShowAllTrips = nullptr |
| show all trips | |
| MFXCheckableButton * | menuCheckShowOverlappedRoutes = nullptr |
| show overlapped routes | |
| MFXCheckableButton * | menuCheckToggleDrawJunctionShape = nullptr |
| checkable button to show junction shapes | |
| MFXCheckableButton * | menuCheckToggleGrid = nullptr |
| menu check to show grid button | |
Private Member Functions | |
| DemandViewOptions (const DemandViewOptions &)=delete | |
| Invalidated copy constructor. | |
| DemandViewOptions & | operator= (const DemandViewOptions &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| const GNEDemandElement * | myLockedContainer = nullptr |
| pointer to locked container | |
| const GNEDemandElement * | myLockedPerson = nullptr |
| pointer to locked person | |
| GNEViewNet * | myViewNet |
| pointer to net | |
struct used to group all variables related to view options in supermode Demand
Definition at line 905 of file GNEViewNetHelper.h.
| GNEViewNetHelper::DemandViewOptions::DemandViewOptions | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 2980 of file GNEViewNetHelper.cpp.
References myViewNet.
Referenced by DemandViewOptions(), and operator=().
|
privatedelete |
Invalidated copy constructor.
References DemandViewOptions().
| void GNEViewNetHelper::DemandViewOptions::buildDemandViewOptionsMenuChecks | ( | ) |
build menu checks
Definition at line 2986 of file GNEViewNetHelper.cpp.
References COMMONMODE_CHECKBOX_SPREADVEHICLE, COMMONMODE_CHECKBOX_TOGGLEDRAWJUNCTIONSHAPE, COMMONMODE_CHECKBOX_TOGGLEGRID, DEMANDMODE_CHECKBOX_HIDENONINSPECTEDDEMANDELEMENTS, DEMANDMODE_CHECKBOX_HIDESHAPES, DEMANDMODE_CHECKBOX_LOCKCONTAINER, DEMANDMODE_CHECKBOX_LOCKPERSON, DEMANDMODE_CHECKBOX_SHOWCONTAINERPLANS, DEMANDMODE_CHECKBOX_SHOWOVERLAPPEDROUTES, DEMANDMODE_CHECKBOX_SHOWPERSONPLANS, DEMANDMODE_CHECKBOX_SHOWTRIPS, GUIIconSubSys::getIcon(), GUIDesignMFXCheckableButtonSquare, menuCheckDrawSpreadVehicles, menuCheckHideNonInspectedDemandElements, menuCheckHideShapes, menuCheckLockContainer, menuCheckLockPerson, menuCheckShowAllContainerPlans, menuCheckShowAllPersonPlans, menuCheckShowAllTrips, menuCheckShowOverlappedRoutes, menuCheckToggleDrawJunctionShape, menuCheckToggleGrid, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, myViewNet, and TL.
| bool GNEViewNetHelper::DemandViewOptions::drawSpreadVehicles | ( | ) | const |
check if vehicles must be drawn spread
Definition at line 3130 of file GNEViewNetHelper.cpp.
References menuCheckDrawSpreadVehicles.
| const GNEDemandElement * GNEViewNetHelper::DemandViewOptions::getLockedContainer | ( | ) | const |
get locked container
Definition at line 3251 of file GNEViewNetHelper.cpp.
References myLockedContainer.
| const GNEDemandElement * GNEViewNetHelper::DemandViewOptions::getLockedPerson | ( | ) | const |
| void GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands | ( | std::vector< MFXCheckableButton * > & | commands | ) | const |
get visible demand menu commands
Definition at line 3091 of file GNEViewNetHelper.cpp.
References menuCheckDrawSpreadVehicles, menuCheckHideNonInspectedDemandElements, menuCheckHideShapes, menuCheckLockContainer, menuCheckLockPerson, menuCheckShowAllContainerPlans, menuCheckShowAllPersonPlans, menuCheckShowAllTrips, menuCheckShowOverlappedRoutes, menuCheckToggleDrawJunctionShape, and menuCheckToggleGrid.
| void GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks | ( | ) |
hide all options menu checks
Definition at line 3075 of file GNEViewNetHelper.cpp.
References menuCheckDrawSpreadVehicles, menuCheckHideNonInspectedDemandElements, menuCheckHideShapes, menuCheckLockContainer, menuCheckLockPerson, menuCheckShowAllContainerPlans, menuCheckShowAllPersonPlans, menuCheckShowAllTrips, menuCheckShowOverlappedRoutes, menuCheckToggleDrawJunctionShape, and menuCheckToggleGrid.
| void GNEViewNetHelper::DemandViewOptions::lockContainer | ( | const GNEDemandElement * | container | ) |
| void GNEViewNetHelper::DemandViewOptions::lockPerson | ( | const GNEDemandElement * | person | ) |
|
privatedelete |
Invalidated assignment operator.
References DemandViewOptions().
| bool GNEViewNetHelper::DemandViewOptions::showAllContainerPlans | ( | ) | const |
check all container plans has to be show
Definition at line 3219 of file GNEViewNetHelper.cpp.
References menuCheckShowAllContainerPlans.
| bool GNEViewNetHelper::DemandViewOptions::showAllPersonPlans | ( | ) | const |
check all person plans has to be show
Definition at line 3191 of file GNEViewNetHelper.cpp.
References menuCheckShowAllPersonPlans.
| bool GNEViewNetHelper::DemandViewOptions::showAllTrips | ( | ) | const |
check if trips has to be drawn
Definition at line 3185 of file GNEViewNetHelper.cpp.
References menuCheckShowAllTrips.
| bool GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements | ( | const GNEDemandElement * | demandElement | ) | const |
check if non inspected element has to be hidden
Definition at line 3136 of file GNEViewNetHelper.cpp.
References GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getParentDemandElements(), menuCheckHideNonInspectedDemandElements, and myViewNet.
| bool GNEViewNetHelper::DemandViewOptions::showOverlappedRoutes | ( | ) | const |
show overlapped routes
Definition at line 3241 of file GNEViewNetHelper.cpp.
References menuCheckShowOverlappedRoutes.
Referenced by GNEPathManager::drawLanePathElements().
| bool GNEViewNetHelper::DemandViewOptions::showShapes | ( | ) | const |
check if shapes has to be drawn
Definition at line 3175 of file GNEViewNetHelper.cpp.
References menuCheckHideShapes.
| void GNEViewNetHelper::DemandViewOptions::unlockContainer | ( | ) |
unlock container
Definition at line 3235 of file GNEViewNetHelper.cpp.
References myLockedContainer.
| void GNEViewNetHelper::DemandViewOptions::unlockPerson | ( | ) |
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles = nullptr |
menu check to draw vehicles in begin position or spread in lane
Definition at line 965 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), drawSpreadVehicles(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements = nullptr |
Hide non inspected demand elements.
Definition at line 986 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), showNonInspectedDemandElements(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes = nullptr |
Hide shapes (Polygons and POIs).
Definition at line 968 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), showShapes(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer = nullptr |
Lock Container.
Definition at line 983 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson = nullptr |
Lock Person.
Definition at line 977 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans = nullptr |
show all container plans
Definition at line 980 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), showAllContainerPlans(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans = nullptr |
show all person plans
Definition at line 974 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), showAllPersonPlans(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips = nullptr |
show all trips
Definition at line 971 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), showAllTrips(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes = nullptr |
show overlapped routes
Definition at line 989 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), showOverlappedRoutes(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape = nullptr |
checkable button to show junction shapes
Definition at line 962 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| MFXCheckableButton* GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid = nullptr |
menu check to show grid button
Definition at line 959 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), getVisibleDemandMenuCommands(), hideDemandViewOptionsMenuChecks(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
|
private |
pointer to locked container
Definition at line 999 of file GNEViewNetHelper.h.
Referenced by getLockedContainer(), lockContainer(), and unlockContainer().
|
private |
pointer to locked person
Definition at line 996 of file GNEViewNetHelper.h.
Referenced by getLockedPerson(), lockPerson(), and unlockPerson().
|
private |
pointer to net
Definition at line 993 of file GNEViewNetHelper.h.
Referenced by buildDemandViewOptionsMenuChecks(), DemandViewOptions(), and showNonInspectedDemandElements().