A road/street connecting two junctions (netedit-version)
long onCmdSelectVClass(FXObject *, FXSelector, void *)
Called when the user select another VClass.
FXComboBox * myRouteModeMatchBox
comboBox with the list of route modes
long onCmdSelectRouteMode(FXObject *, FXSelector, void *)
const RouteMode & getCurrentRouteMode() const
get current route mode
FXComboBox * myVClassMatchBox
comboBox with the list of VClass
RouteModeSelector(GNERouteFrame *routeFrameParent)
FOX-declaration.
bool isValidMode() const
check if current mode is Valid
GNERouteFrame * myRouteFrameParent
pointer to Frame Parent
~RouteModeSelector()
destructor
bool isValidVehicleClass() const
check if current VClass is Valid
bool myValidVClass
flag to check if VClass is Valid
std::vector< std::pair< RouteMode, std::string > > myRouteModesStrings
list of Route modes that will be shown in Match Box
void areParametersValid()
called after setting a new route or vclass, for showing moduls
RouteMode myCurrentRouteMode
current selected route mode
GNEFrameModuls::PathCreator * myPathCreator
path creator modul
void show()
show delete frame
~GNERouteFrame()
Destructor.
GNEFrameAttributesModuls::AttributesCreator * myRouteAttributes
internal route attributes
RouteMode
route creation modes
void hide()
hide delete frame
GNEFrameModuls::PathCreator * getPathCreator() const
get path creator modul
RouteModeSelector * myRouteModeSelector
route mode selector
bool addEdgeRoute(GNEEdge *clickedEdge, const GNEViewNetHelper::MouseButtonKeyPressed &mouseButtonKeyPressed)
add route edge
GNEFrameModuls::PathLegend * myPathLegend
path legend modul
GNERouteFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
void createPath()
create path