 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEAdditionalFrame_h
18 #define GNEAdditionalFrame_h
void showSelectorEdgeChildrenModul(std::string search="")
Show SelectorEdgeChildren Modul.
GNEFrameAttributesModuls::AttributesCreator * myAdditionalAttributes
internal additional attributes
GNEAdditionalFrame * myAdditionalFrameParent
pointer to additional frame parent
An Element which don't belongs to GNENet but has influency in the simulation.
struct with the attribute Properties
const std::vector< std::pair< GNELane *, double > > & getSelectedLanes() const
get current selected lanes
GNEAdditionalFrame * myAdditionalFrameParent
pointer to additional frame parent
SelectorLaneChildren()
FOX needs this.
bool buildAdditionalCommonAttributes(std::map< SumoXMLAttr, std::string > &valuesMap, const GNEAttributeCarrier::TagProperties &tagValues)
build common additional attributes
FXButton * invertLanesSelection
button for invert selection
RGBColor mySelectedLaneColor
color for selected lanes
long onCmdAbortSelection(FXObject *, FXSelector, void *)
Called when the user press abort selection button.
void updateUseSelectedEdges()
Update use selectedEdges.
bool stopConsecutiveLaneSelector()
stop selection of consecutive lanes
void removeLastSelectedLane()
remove last added point
~SelectorLaneChildren()
destructor
FXButton * myInvertEdgesSelection
button for invert selection
GNEFrameModuls::TagSelector * myAdditionalTagSelector
item selector
bool addAdditional(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor)
add additional element
void showSelectorLaneParentsModul()
show SelectorLaneParents modul
long onCmdTypeInSearchBox(FXObject *, FXSelector, void *)
called when user type in search box
std::string getEdgeIdsSelected() const
get list of selecte id's in string format
GNEFrameAttributesModuls::NeteditAttributes * myNeteditAttributes
Netedit parameter.
long onCmdStopSelection(FXObject *, FXSelector, void *)
bool buildAdditionalOverEdge(std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNEAttributeCarrier::TagProperties &tagValues)
build additional over an edge (parent of lane)
FXCheckButton * myUseSelectedLanesCheckButton
CheckBox for selected lanes.
long onCmdSelectEdge(FXObject *, FXSelector, void *)
called when user select a edge of the list
void updateUseSelectedLanes()
SelectorEdgeChildren()
FOX needs this.
const RGBColor & getSelectedLaneColor() const
get selected lane color
long onCmdInvertSelection(FXObject *, FXSelector, void *)
called when invert selection button is pressed
void showSelectorLaneChildrenModul(std::string search="")
Show list of SelectorLaneChildren Modul.
~SelectorEdgeChildren()
destructor
FXButton * myStopSelectingButton
button for stop selecting
long onCmdTypeInSearchBox(FXObject *, FXSelector, void *)
called when user type in search box
GNEAdditionalFrame * myAdditionalFrameParent
pointer to additionalFrameParent
class used to group all variables related with objects under cursor after a click over view
bool buildAdditionalOverLane(std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNEAttributeCarrier::TagProperties &tagValues)
build additional over a single lane
long onCmdUseSelectedEdges(FXObject *, FXSelector, void *)
GNEAdditionalFrame::SelectorLaneParents * getConsecutiveLaneSelector() const
getConsecutive Lane Selector
~GNEAdditionalFrame()
Destructor.
A point in 2D or 3D with translation and scaling methods.
bool isShown() const
return true if modul is shown
GNEFrameModuls::SelectorParent * myAdditionalParent
Modul for select a single additional parent.
RGBColor myCandidateLaneColor
color for candidate lanes
bool addSelectedLane(GNELane *lane, const Position &clickedPosition)
return true if lane can be selected as consecutive lane
void hideSelectorEdgeChildrenModul()
hide SelectorEdgeChildren Modul
SelectorLaneChildren * mySelectorLaneChildren
Modul for select lane children.
long onCmdInvertSelection(FXObject *, FXSelector, void *)
called when invert selection button is pressed
FXCheckButton * myUseSelectedEdgesCheckButton
CheckBox for selected edges.
long onCmdUseSelectedLanes(FXObject *, FXSelector, void *)
~SelectorLaneParents()
destructor
void hideSelectorLaneParentsModul()
hide SelectorLaneParents
void showSelectorLaneChildrenModul()
show selector lane child and update use selected edges/lanes
SelectorLaneParents()
FOX needs this.
long onCmdClearSelection(FXObject *, FXSelector, void *)
called when clear selection button is pressed
long onCmdClearSelection(FXObject *, FXSelector, void *)
called when clear selection button is pressed
void tagSelected()
Tag selected in TagSelector.
FXList * myList
List of SelectorEdgeChildren.
bool buildAdditionalOverView(std::map< SumoXMLAttr, std::string > &valuesMap, const GNEAttributeCarrier::TagProperties &tagValues)
build additional over view
SelectorLaneParents * mySelectorLaneParents
Modul for select lane parents (currently only consecutives)
std::vector< GNELane * > myCandidateLanes
Vector with the colored lanes.
FXList * myList
List of SelectorLaneChildren.
bool isLaneSelected(GNELane *lane) const
check if certain lane is selected
std::string generateID(GNENetElement *netElement) const
generate a ID for an additiona element
FXButton * clearLanesSelection
button for clear selection
bool buildAdditionalOverLanes(std::map< SumoXMLAttr, std::string > &valuesMap, GNELane *lane, const GNEAttributeCarrier::TagProperties &tagValues)
build additional over lanes
SelectorEdgeChildren * mySelectorEdgeChildren
Modul for select edge children.
FXTextField * myLanesSearch
text field for search lane IDs
void hideSelectorLaneChildrenModul()
hide SelectorLaneChildren Modul
FXButton * myClearEdgesSelection
button for clear selection
GNEAdditionalFrame(FXHorizontalFrame *horizontalFrameParent, GNEViewNet *viewNet)
Constructor.
bool buildAdditionalWithParent(std::map< SumoXMLAttr, std::string > &valuesMap, GNEAdditional *parent, const GNEAttributeCarrier::TagProperties &tagValues)
build additional with Parent
std::string getLaneIdsSelected() const
get list of selecte lane ids in string format
void abortConsecutiveLaneSelector()
abort selection of consecutive lanes
bool isSelectingLanes() const
return true if modul is selecting lane
FXButton * myAbortSelectingButton
button for abort selecting
long onCmdSelectLane(FXObject *, FXSelector, void *)
called when user select a lane of the list
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
std::vector< std::pair< GNELane *, double > > mySelectedLanes
Vector with the selected lanes and the clicked position.
void startConsecutiveLaneSelector(GNELane *lane, const Position &clickedPosition)
start selection of consecutive lanes
FXTextField * myEdgesSearch
text field for search edge IDs