17 #ifndef GNECrossingFrame_h 18 #define GNECrossingFrame_h 78 void enableEdgeSelector(
GNEJunction* currentJunction);
81 void disableEdgeSelector();
84 void restoreEdgeColors();
89 long onCmdUseSelectedEdges(FXObject*, FXSelector,
void*);
92 long onCmdClearSelection(FXObject*, FXSelector,
void*);
95 long onCmdInvertSelection(FXObject*, FXSelector,
void*);
135 void enableCrossingParameters(
bool hasTLS);
138 void disableCrossingParameters();
141 bool isCrossingParametersEnabled()
const;
153 void useSelectedEdges(
GNEJunction* parentJunction);
156 std::vector<NBEdge*> getCrossingEdges()
const;
159 bool getCrossingPriority()
const;
162 double getCrossingWidth()
const;
165 bool isCurrentParametersValid()
const;
170 long onCmdSetAttribute(FXObject*, FXSelector,
void*);
173 long onCmdHelp(FXObject*, FXSelector,
void*);
228 void setCreateCrossingButton(
bool value);
233 long onCmdCreateCrossing(FXObject*, FXSelector,
void*);
~CurrentJunction()
destructor
FXLabel * myCrossingPriorityLabel
Label for Priority.
GNECrossingFrame * myCrossingFrameParent
pointer to GNECrossingFrame parent
GNECrossingFrame::CurrentJunction * myCurrentJunction
current junction modul
FXLabel * myCurrentJunctionLabel
Label for current Junction.
FXLabel * myCrossingWidthLabel
Label for width.
GNECrossingFrame * myCrossingFrameParent
pointer to GNECrossingFrame parent
FXButton * myCreateCrossingButton
FXButton for create Crossing
void updateCurrentJunctionLabel(const std::string &junctionID)
set current junction label
CrossingParameters()
FOX needs this.
FXButton * myHelpCrossingAttribute
button for help
GNEJunction * myCurrentJunction
current Junction
CreateCrossing()
FOX needs this.
void hide()
hide crossing frame
GNECrossingFrame::EdgesSelector * myEdgeSelector
edge selector modul
FXTextField * myCrossingEdges
TextField for edges.
FXButton * myInvertEdgesSelection
button for invert selection
class used to group all variables related with objects under cursor after a click over view ...
FXButton * myClearEdgesSelection
button for clear selection
FXButton * myUseSelectedEdges
CheckBox for selected edges.
FXTextField * myCrossingWidth
TextField for width.
void createCrossingHotkey()
create crossing (used when user press ENTER key in Crossing mode)
FXLabel * myCrossingEdgesLabel
Label for edges.
~GNECrossingFrame()
Destructor.
GNECrossingFrame::CrossingParameters * myCrossingParameters
crossing parameters modul
GNECrossingFrame::CreateCrossing * myCreateCrossing
create crossing modul
A road/street connecting two junctions (netedit-version)
FXCheckButton * myCrossingPriorityCheckButton
CheckBox for Priority.
CurrentJunction(GNECrossingFrame *crossingFrameParent)
constructor
GNECrossingFrame * myCrossingFrameParent
pointer to crossingFrame parent
GNECrossingFrame()
FOX needs this.
bool myCurrentParametersValid
flag to check if current parameters are valid
EdgesSelector()
FOX needs this.
std::vector< GNEEdge * > myCurrentSelectedEdges
current selected edges
void addCrossing(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
add Crossing element