FXGroupBoxModule (based on FXGroupBox)
bool drawCandidateLanesWithSpecialColor() const
draw candidate lanes with special color (Only for candidates, special and conflicted)
long onCmdCreatePath(FXObject *, FXSelector, void *)
bool addLane(GNELane *lane)
add lane
GNEAdditionalFrame * myAdditionalFrameParent
current additional frame parent
void updateLaneColors()
update lane colors
E2MultilaneLaneSelector(GNEAdditionalFrame *additionalFrameParent)
FOX-declaration.
void abortPathCreation()
abort path creation
long onCmdRemoveLastElement(FXObject *, FXSelector, void *)
Called when the user click over button "Remove las inserted lane".
void removeLastElement()
remove path element
E2MultilaneLaneSelector & operator=(E2MultilaneLaneSelector *)=delete
Invalidated assignment operator.
void drawTemporalE2Multilane(const GUIVisualizationSettings &s) const
draw temporal E2Multilane
FXButton * myRemoveLastInsertedElement
button for removing last inserted element
std::vector< std::pair< GNELane *, double > > myLanePath
vector with lanes and clicked positions
FXLabel * myInfoRouteLabel
label with route info
void showE2MultilaneLaneSelectorModule()
show E2MultilaneLaneSelector
FXButton * myFinishCreationButton
button for finish route creation
void clearPath()
clear lanes (and restore colors)
E2MultilaneLaneSelector(E2MultilaneLaneSelector *)=delete
Invalidated copy constructor.
void hideE2MultilaneLaneSelectorModule()
show E2MultilaneLaneSelector
FXButton * myAbortCreationButton
button for abort route creation
long onCmdShowCandidateLanes(FXObject *, FXSelector, void *)
Called when the user click over check button "show candidate lanes".
FXCheckButton * myShowCandidateLanes
CheckBox for show candidate lanes.
~E2MultilaneLaneSelector()
destructor
long onCmdAbortPathCreation(FXObject *, FXSelector, void *)
Called when the user click over button "Abort route creation".
void updateInfoRouteLabel()
fox need this
bool createPath()
create path
std::vector< std::string > getEdgeIdsSelected() const
get list of selecte id's in string format
~SelectorChildEdges()
destructor
long onCmdTypeInSearchBox(FXObject *, FXSelector, void *)
called when user type in search box
long onCmdSelectEdge(FXObject *, FXSelector, void *)
called when user select a edge of the list
FXButton * myClearEdgesSelection
button for clear selection
FXButton * myInvertEdgesSelection
button for invert selection
void updateUseSelectedEdges()
Update use selectedEdges.
FXCheckButton * myUseSelectedEdgesCheckButton
CheckBox for selected edges.
void showSelectorChildEdgesModule(std::string search="")
Show SelectorChildEdges Module.
void hideSelectorChildEdgesModule()
hide SelectorChildEdges Module
long onCmdInvertSelection(FXObject *, FXSelector, void *)
called when invert selection button is pressed
long onCmdClearSelection(FXObject *, FXSelector, void *)
called when clear selection button is pressed
FXList * myList
List of SelectorChildEdges.
FXTextField * myEdgesSearch
text field for search edge IDs
SelectorChildEdges(GNEAdditionalFrame *additionalFrameParent)
FOX-declaration.
GNEAdditionalFrame * myAdditionalFrameParent
pointer to additional frame parent
long onCmdUseSelectedEdges(FXObject *, FXSelector, void *)
FXList * myList
List of SelectorChildLanes.
GNEAdditionalFrame * myAdditionalFrameParent
pointer to additional frame parent
void hideSelectorChildLanesModule()
hide SelectorChildLanes Module
~SelectorChildLanes()
destructor
void showSelectorChildLanesModule(std::string search="")
Show list of SelectorChildLanes Module.
long onCmdUseSelectedLanes(FXObject *, FXSelector, void *)
long onCmdClearSelection(FXObject *, FXSelector, void *)
called when clear selection button is pressed
FXTextField * myLanesSearch
text field for search lane IDs
long onCmdTypeInSearchBox(FXObject *, FXSelector, void *)
called when user type in search box
void updateUseSelectedLanes()
std::vector< std::string > getLaneIdsSelected() const
get list of selecte lane ids in string format
FXButton * clearLanesSelection
button for clear selection
SelectorChildLanes(GNEAdditionalFrame *additionalFrameParent)
FOX-declaration.
long onCmdInvertSelection(FXObject *, FXSelector, void *)
called when invert selection button is pressed
long onCmdSelectLane(FXObject *, FXSelector, void *)
called when user select a lane of the list
FXButton * invertLanesSelection
button for invert selection
FXCheckButton * myUseSelectedLanesCheckButton
CheckBox for selected lanes.
bool isSelectingLanes() const
return true if modul is selecting lane
~SelectorParentLanes()
destructor
const std::vector< std::pair< GNELane *, double > > & getSelectedLanes() const
get current selected lanes
bool isShown() const
return true if modul is shown
bool isLaneSelected(GNELane *lane) const
check if certain lane is selected
void showSelectorParentLanesModule()
show SelectorParentLanes modul
long onCmdStopSelection(FXObject *, FXSelector, void *)
FXButton * myAbortSelectingButton
button for abort selecting
std::vector< std::pair< GNELane *, double > > mySelectedLanes
Vector with the selected lanes and the clicked position.
bool stopConsecutiveLaneSelector()
stop selection of consecutive lanes
void removeLastSelectedLane()
remove last added point
GNEAdditionalFrame * myAdditionalFrameParent
pointer to additionalFrameParent
std::vector< GNELane * > myCandidateLanes
Vector with the colored lanes.
void hideSelectorParentLanesModule()
hide SelectorParentLanes
long onCmdAbortSelection(FXObject *, FXSelector, void *)
Called when the user press abort selection button.
void startConsecutiveLaneSelector(GNELane *lane, const Position &clickedPosition)
start selection of consecutive lanes
bool addSelectedLane(GNELane *lane, const Position &clickedPosition)
return true if lane can be selected as consecutive lane
SelectorParentLanes(GNEAdditionalFrame *additionalFrameParent)
FOX-declaration.
FXButton * myStopSelectingButton
button for stop selecting
void abortConsecutiveLaneSelector()
abort selection of consecutive lanes
GNEFrameModules::TagSelector * myAdditionalTagSelector
item selector
SelectorChildEdges * mySelectorChildEdges
Module for select child edges.
GNEAdditionalFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
bool buildAdditionalOverLane(GNELane *lane, const GNETagProperties &tagValues)
build additional over a single lane
SelectorChildLanes * mySelectorChildLanes
Module for select child lanes.
GNEAdditionalFrame::SelectorParentLanes * getConsecutiveLaneSelector() const
get consecutive Lane Selector
SelectorParentLanes * mySelectorLaneParents
Module for select parent lanes (currently only consecutives)
void tagSelected()
Tag selected in TagSelector.
bool buildAdditionalOverView(const GNETagProperties &tagValues)
build additional over view
GNEFrameModules::SelectorParent * mySelectorAdditionalParent
Module for select a single parent additional.
bool buildAdditionalCommonAttributes(const GNETagProperties &tagValues)
build common additional attributes
void showSelectorChildLanesModule()
show selector child lane and update use selected edges/lanes
E2MultilaneLaneSelector * myE2MultilaneLaneSelector
Module for E2Multilane lane selector.
~GNEAdditionalFrame()
Destructor.
GNEFrameAttributeModules::NeteditAttributes * myNeteditAttributes
Netedit parameter.
GNEAdditionalFrame::E2MultilaneLaneSelector * getE2MultilaneLaneSelector() const
getConsecutive Lane Selector
CommonXMLStructure::SumoBaseObject * myBaseAdditional
SumoBaseObject used for create additional.
bool addAdditional(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
add additional element
bool createBaseAdditionalObject(const GNETagProperties &tagProperty)
bool buildAdditionalOverEdge(GNELane *lane, const GNETagProperties &tagValues)
build additional over an edge (parent of lane)
GNEFrameAttributeModules::AttributesCreator * myAdditionalAttributes
internal additional attributes
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
class used to group all variables related with objects under cursor after a click over view
Stores the information about how to visualize structures.
A point in 2D or 3D with translation and scaling methods.