 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNECrossingFrame_h
18 #define GNECrossingFrame_h
173 long onCmdHelp(FXObject*, FXSelector,
void*);
bool isCrossingParametersEnabled() const
check if currently the CrossingParameters is enabled
void enableCrossingParameters(bool hasTLS)
enable crossing parameters and set the default value of parameters
void markEdge(GNEEdge *edge)
mark or dismark edge
void updateCurrentJunctionLabel(const std::string &junctionID)
set current junction label
GNECrossingFrame::EdgesSelector * myEdgeSelector
edge selector modul
FXButton * myCreateCrossingButton
@field FXButton for create Crossing
void restoreEdgeColors()
restore colors of all edges
bool isCurrentParametersValid() const
check if current parameters are valid
FXButton * myInvertEdgesSelection
button for invert selection
long onCmdHelp(FXObject *, FXSelector, void *)
Called when help button is pressed.
void clearEdges()
clear edges
GNECrossingFrame * myCrossingFrameParent
pointer to GNECrossingFrame parent
~CreateCrossing()
destructor
A road/street connecting two junctions (netedit-version)
GNECrossingFrame::CreateCrossing * myCreateCrossing
create crossing modul
std::vector< GNEEdge * > myCurrentSelectedEdges
current selected edges
~EdgesSelector()
destructor
CreateCrossing()
FOX needs this.
void createCrossingHotkey()
create crossing (used when user press ENTER key in Crossing mode)
double getCrossingWidth() const
get crossing width
class used to group all variables related with objects under cursor after a click over view
void hide()
hide crossing frame
void disableCrossingParameters()
disable crossing parameters and clear parameters
void invertEdges(GNEJunction *parentJunction)
invert edges
void enableEdgeSelector(GNEJunction *currentJunction)
enable edgeSelector
GNECrossingFrame::CurrentJunction * myCurrentJunction
current junction modul
bool myCurrentParametersValid
flag to check if current parameters are valid
CrossingParameters()
FOX needs this.
CurrentJunction(GNECrossingFrame *crossingFrameParent)
constructor
void setCreateCrossingButton(bool value)
enable or disable button create crossing
long onCmdCreateCrossing(FXObject *, FXSelector, void *)
void disableEdgeSelector()
disable edgeSelector
GNEJunction * getCurrentJunction() const
get current junction
GNECrossingFrame * myCrossingFrameParent
pointer to GNECrossingFrame parent
GNEJunction * myCurrentJunction
current Junction
long onCmdClearSelection(FXObject *, FXSelector, void *)
called when clear selection button is pressed
GNECrossingFrame()
FOX needs this.
GNECrossingFrame::CrossingParameters * myCrossingParameters
crossing parameters modul
FXLabel * myCrossingPriorityLabel
Label for Priority.
~GNECrossingFrame()
Destructor.
EdgesSelector()
FOX needs this.
GNECrossingFrame * myCrossingFrameParent
pointer to crossingFrame parent
FXButton * myHelpCrossingAttribute
button for help
void useSelectedEdges(GNEJunction *parentJunction)
use selected eges
long onCmdInvertSelection(FXObject *, FXSelector, void *)
called when invert selection button is pressed
FXCheckButton * myCrossingPriorityCheckButton
CheckBox for Priority.
long onCmdSetAttribute(FXObject *, FXSelector, void *)
~CurrentJunction()
destructor
~CrossingParameters()
destructor
void addCrossing(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
add Crossing element
FXTextField * myCrossingEdges
TextField for edges.
FXTextField * myCrossingWidth
TextField for width.
FXLabel * myCrossingEdgesLabel
Label for edges.
FXLabel * myCrossingWidthLabel
Label for width.
bool getCrossingPriority() const
get crossing priority
FXButton * myClearEdgesSelection
button for clear selection
long onCmdUseSelectedEdges(FXObject *, FXSelector, void *)
FXButton * myUseSelectedEdges
CheckBox for selected edges.
FXLabel * myCurrentJunctionLabel
Label for current Junction.
std::vector< NBEdge * > getCrossingEdges() const
get crossing NBedges