bool drawCandidateLanesWithSpecialColor() const
draw candidate lanes with special color (Only for candidates, special and conflicted)
long onCmdCreatePath(FXObject *, FXSelector, void *)
void hideE2MultilaneLaneSelectorModul()
show E2MultilaneLaneSelector
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
void showE2MultilaneLaneSelectorModul()
show E2MultilaneLaneSelector
std::vector< std::pair< GNELane *, double > > myLanePath
vector with lanes and clicked positions
FXLabel * myInfoRouteLabel
label with route info
FXButton * myFinishCreationButton
button for finish route creation
void clearPath()
clear lanes (and restore colors)
E2MultilaneLaneSelector(E2MultilaneLaneSelector *)=delete
Invalidated copy constructor.
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
~SelectorChildEdges()
destructor
long onCmdTypeInSearchBox(FXObject *, FXSelector, void *)
called when user type in search box
void showSelectorChildEdgesModul(std::string search="")
Show SelectorChildEdges Modul.
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.
long onCmdInvertSelection(FXObject *, FXSelector, void *)
called when invert selection button is pressed
long onCmdClearSelection(FXObject *, FXSelector, void *)
called when clear selection button is pressed
std::string getEdgeIdsSelected() const
get list of selecte id's in string format
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
void hideSelectorChildEdgesModul()
hide SelectorChildEdges Modul
long onCmdUseSelectedEdges(FXObject *, FXSelector, void *)
FXList * myList
List of SelectorChildLanes.
GNEAdditionalFrame * myAdditionalFrameParent
pointer to additional frame parent
~SelectorChildLanes()
destructor
long onCmdUseSelectedLanes(FXObject *, FXSelector, void *)
void hideSelectorChildLanesModul()
hide SelectorChildLanes Modul
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()
FXButton * clearLanesSelection
button for clear selection
void showSelectorChildLanesModul(std::string search="")
Show list of SelectorChildLanes Modul.
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.
std::string getLaneIdsSelected() const
get list of selecte lane ids in string format
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
void hideSelectorParentLanesModul()
hide SelectorParentLanes
bool isShown() const
return true if modul is shown
bool isLaneSelected(GNELane *lane) const
check if certain lane is selected
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.
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
void showSelectorParentLanesModul()
show SelectorParentLanes modul
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
void showSelectorChildLanesModul()
show selector child lane and update use selected edges/lanes
SelectorChildEdges * mySelectorChildEdges
Modul for select child edges.
GNEAdditionalFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
SelectorParentLanes * mySelectorParentLanes
Modul for select parent lanes (currently only consecutives)
std::string generateID(GNENetworkElement *networkElement) const
generate a ID for an additiona element
bool buildAdditionalOverEdge(std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNETagProperties &tagValues)
build additional over an edge (parent of lane)
bool buildAdditionalCommonAttributes(std::map< SumoXMLAttr, std::string > &valuesMap, const GNETagProperties &tagValues)
build common additional attributes
SelectorChildLanes * mySelectorChildLanes
Modul for select child lanes.
GNEAdditionalFrame::SelectorParentLanes * getConsecutiveLaneSelector() const
get consecutive Lane Selector
bool buildAdditionalOverLane(std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNETagProperties &tagValues)
build additional over a single lane
void tagSelected()
Tag selected in TagSelector.
GNEFrameModuls::SelectorParent * myParentAdditional
Modul for select a single parent additional.
GNEFrameAttributesModuls::NeteditAttributes * myNeteditAttributes
Netedit parameter.
E2MultilaneLaneSelector * myE2MultilaneLaneSelector
Modul for E2Multilane lane selector.
bool buildAdditionalOverView(std::map< SumoXMLAttr, std::string > &valuesMap, const GNETagProperties &tagValues)
build additional over view
GNEFrameModuls::TagSelector * myAdditionalTagSelector
item selector
~GNEAdditionalFrame()
Destructor.
GNEAdditionalFrame::E2MultilaneLaneSelector * getE2MultilaneLaneSelector() const
getConsecutive Lane Selector
bool addAdditional(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
add additional element
GNEFrameAttributesModuls::AttributesCreator * myAdditionalAttributes
internal additional attributes
bool buildSlaveAdditional(std::map< SumoXMLAttr, std::string > &valuesMap, GNEAdditional *parent, const GNETagProperties &tagValues)
build slave additional
An Element which don't belongs to GNENet but has influency in the simulation.
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.