![]() |
SUMO - Simulation of Urban MObility
|
struct used to group all variables related to create edges More...
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... | |
GNEJunction * | createEdgeSource |
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 | |
GNEViewNet * | myViewNet |
pointer to viewNet More... | |
struct used to group all variables related to create edges
Definition at line 741 of file GNEViewNet.h.
GNEViewNet::CreateEdgeOptions::CreateEdgeOptions | ( | GNEViewNet * | viewNet | ) |
default constructor
Definition at line 3823 of file GNEViewNet.cpp.
void GNEViewNet::CreateEdgeOptions::buildCreateEdgeOptionMenuChecks | ( | ) |
build menu checks
Definition at line 3830 of file GNEViewNet.cpp.
References autoCreateOppositeEdge, chainCreateEdge, menuCheckMoveElevation, menuCheckShowBubbleOverJunction, menuCheckWarnAboutMerge, MID_GNE_VIEWNET_MOVE_ELEVATION, MID_GNE_VIEWNET_SHOW_BUBBLES, GNEViewNet::myToolbar, myViewNet, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, and toString().
Referenced by GNEViewNet::buildEditModeControls().
void GNEViewNet::CreateEdgeOptions::hideCreateEdgeOptionMenuChecks | ( | ) |
hide all MenuChecks
Definition at line 3849 of file GNEViewNet.cpp.
References autoCreateOppositeEdge, chainCreateEdge, menuCheckMoveElevation, menuCheckShowBubbleOverJunction, and menuCheckWarnAboutMerge.
Referenced by GNEViewNet::updateModeSpecificControls().
FXMenuCheck* GNEViewNet::CreateEdgeOptions::autoCreateOppositeEdge |
create auto create opposite edge
Definition at line 759 of file GNEViewNet.h.
Referenced by buildCreateEdgeOptionMenuChecks(), hideCreateEdgeOptionMenuChecks(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::updateModeSpecificControls().
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().
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().
FXMenuCheck* GNEViewNet::CreateEdgeOptions::menuCheckMoveElevation |
apply movement to elevation
Definition at line 768 of file GNEViewNet.h.
Referenced by buildCreateEdgeOptionMenuChecks(), GNEViewNet::MoveSingleElementValues::calculateEdgeValues(), GNEViewNet::MoveSingleElementValues::calculateOffsetMovement(), GNEViewNet::MoveSingleElementValues::calculatePolyValues(), GNEViewNet::editingElevation(), hideCreateEdgeOptionMenuChecks(), GNEViewNet::MoveMultipleElementValues::moveSelection(), and GNEViewNet::updateModeSpecificControls().
FXMenuCheck* GNEViewNet::CreateEdgeOptions::menuCheckShowBubbleOverJunction |
show connection as buuble in "Move" mode.
Definition at line 765 of file GNEViewNet.h.
Referenced by buildCreateEdgeOptionMenuChecks(), hideCreateEdgeOptionMenuChecks(), GNEViewNet::showJunctionAsBubbles(), and GNEViewNet::updateModeSpecificControls().
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().
|
private |
pointer to viewNet
Definition at line 772 of file GNEViewNet.h.
Referenced by buildCreateEdgeOptionMenuChecks().