 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GNECrossingFrame_h
17 #define GNECrossingFrame_h
171 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
EdgesSelector(GNECrossingFrame *crossingFrameParent)
FOX-declaration.
CrossingParameters(GNECrossingFrame *crossingFrameParent)
FOX-declaration.
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
void createCrossingHotkey()
create crossing (used when user press ENTER key in Crossing mode)
double getCrossingWidth() const
get crossing width
CreateCrossing(GNECrossingFrame *crossingFrameParent)
FOX-declaration.
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
#define FOX_CONSTRUCTOR(classname)
GNECrossingFrame::CurrentJunction * myCurrentJunction
current junction modul
bool myCurrentParametersValid
flag to check if current parameters are valid
GNECrossingFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
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::CrossingParameters * myCrossingParameters
crossing parameters modul
FXLabel * myCrossingPriorityLabel
Label for Priority.
~GNECrossingFrame()
Destructor.
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