SUMO - Simulation of Urban MObility
GNEViewNet::CreateEdgeOptions Struct Reference

struct used to group all variables related to create edges More...

Collaboration diagram for GNEViewNet::CreateEdgeOptions:
Collaboration graph

Public Member Functions

void buildCreateEdgeOptionMenuChecks ()
 build menu checks More...
 
 CreateEdgeOptions (GNEViewNet *viewNet)
 default constructor More...
 
void hideCreateEdgeOptionMenuChecks ()
 hide all MenuChecks More...
 

Data Fields

FXMenuCheck * autoCreateOppositeEdge
 create auto create opposite edge More...
 
FXMenuCheck * chainCreateEdge
 whether the endpoint for a created edge should be set as the new source More...
 
GNEJunctioncreateEdgeSource
 source junction for new edge 0 if no edge source is selected an existing (or newly created) junction otherwise More...
 
FXMenuCheck * menuCheckMoveElevation
 apply movement to elevation More...
 
FXMenuCheck * menuCheckShowBubbleOverJunction
 show connection as buuble in "Move" mode. More...
 
FXMenuCheck * menuCheckWarnAboutMerge
 whether we should warn about merging junctions More...
 

Private Attributes

GNEViewNetmyViewNet
 pointer to viewNet More...
 

Detailed Description

struct used to group all variables related to create edges

Definition at line 741 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ CreateEdgeOptions()

GNEViewNet::CreateEdgeOptions::CreateEdgeOptions ( GNEViewNet viewNet)

default constructor

Definition at line 3823 of file GNEViewNet.cpp.

Member Function Documentation

◆ buildCreateEdgeOptionMenuChecks()

◆ hideCreateEdgeOptionMenuChecks()

void GNEViewNet::CreateEdgeOptions::hideCreateEdgeOptionMenuChecks ( )

Field Documentation

◆ autoCreateOppositeEdge

FXMenuCheck* GNEViewNet::CreateEdgeOptions::autoCreateOppositeEdge

◆ chainCreateEdge

FXMenuCheck* GNEViewNet::CreateEdgeOptions::chainCreateEdge

whether the endpoint for a created edge should be set as the new source

Definition at line 756 of file GNEViewNet.h.

Referenced by buildCreateEdgeOptionMenuChecks(), hideCreateEdgeOptionMenuChecks(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::updateModeSpecificControls().

◆ createEdgeSource

GNEJunction* GNEViewNet::CreateEdgeOptions::createEdgeSource

source junction for new edge 0 if no edge source is selected an existing (or newly created) junction otherwise

Definition at line 753 of file GNEViewNet.h.

Referenced by GNEViewNet::abortOperation(), and GNEViewNet::onLeftBtnPress().

◆ menuCheckMoveElevation

◆ menuCheckShowBubbleOverJunction

FXMenuCheck* GNEViewNet::CreateEdgeOptions::menuCheckShowBubbleOverJunction

◆ menuCheckWarnAboutMerge

FXMenuCheck* GNEViewNet::CreateEdgeOptions::menuCheckWarnAboutMerge

whether we should warn about merging junctions

Definition at line 762 of file GNEViewNet.h.

Referenced by buildCreateEdgeOptionMenuChecks(), hideCreateEdgeOptionMenuChecks(), GNEViewNet::mergeJunctions(), and GNEViewNet::updateModeSpecificControls().

◆ myViewNet

GNEViewNet* GNEViewNet::CreateEdgeOptions::myViewNet
private

pointer to viewNet

Definition at line 772 of file GNEViewNet.h.

Referenced by buildCreateEdgeOptionMenuChecks().


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