 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
17 #ifndef GNEFrameModuls_h
18 #define GNEFrameModuls_h
349 FXTreeItem*
addListItem(FXTreeItem* itemParent,
const std::string& text, FXIcon* icon,
bool expanded);
FXButton * myFinishCreationButton
button for finish route creation
SumoXMLTag myParentTag
current additional parent tag
GNEDemandElement * myClickedDemandElement
demand element (casted from myClickedAC)
bool showSelectorParentModul(SumoXMLTag additionalTypeParent)
Show list of SelectorParent Modul.
void hideAttributeCarrierHierarchy()
hide AttributeCarrierHierarchy
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
GNEAttributeCarrier * myClickedAC
pointer to current clicked Attribute Carrier
void showAttributeCarrierHierarchy(GNEAttributeCarrier *AC)
show AttributeCarrierHierarchy
An Element which don't belongs to GNENet but has influency in the simulation.
An Element which don't belongs to GNENet but has influency in the simulation.
~EdgePathCreator()
destructor
void finishEdgePathCreation()
finish edge path creation
FXTreeItem * addListItem(GNEAttributeCarrier *AC, FXTreeItem *itemParent=nullptr, std::string prefix="", std::string sufix="")
add item into list
GNEFrame * myFrameParent
pointer to Frame Parent
struct with the attribute Properties
void showDrawingShape()
show Drawing mode
void setVClass(SUMOVehicleClass vClass)
set SUMOVehicleClass
void setDeleteLastCreatedPoint(bool value)
enable or disable delete last created point
long onCmdShowChildMenu(FXObject *, FXSelector, void *data)
long onCmdAbortRouteCreation(FXObject *, FXSelector, void *)
EdgePathCreator()
FOX needs this.
void stopDrawing()
stop drawing and check if shape can be created
void setDemandElement(GNEDemandElement *demandElement)
set current demand element
bool isDemandElementSelectorShown() const
check if demand element selector is shown
std::vector< GNEEdge * > myClickedEdges
current clicked edges
void showEdgePathCreator()
show EdgePathCreator
void setIDSelected(const std::string &id)
select manually a element of the list
long onCmdInspectItem(FXObject *, FXSelector, void *)
called when user click over option "inspect" of child menu
void addNewPoint(const Position &P)
add new point to temporal shape
DemandElementSelector()
FOX needs this.
FXButton * myStopDrawingButton
button for stop drawing
bool myDeleteLastCreatedPoint
flag to enable/disable delete point mode
AttributeCarrierHierarchy()
FOX needs this.
void showAttributeCarrierChildren(GNEAttributeCarrier *AC, FXTreeItem *itemParent)
show child of current attributeCarrier
void refreshDemandElementSelector()
refresh demand element selector
FXLabel * myInformationLabel
Label with information.
void showDemandElementSelector()
show demand element selector
bool addBusStop(GNEAdditional *busStop)
add busStop to route
PositionVector myTemporalShapeShape
current drawed shape
GNEFrame * myFrameParent
pointer to Frame Parent
~DemandElementSelector()
destructor
GNEJunction * myClickedJunction
junction (casted from myClickedAC)
void hideDrawingShape()
hide Drawing mode
long onCmdMoveItemUp(FXObject *, FXSelector, void *)
called when user click over option "Move up" of child menu
void removeLastPoint()
remove last added point
bool getDeleteLastCreatedPoint()
get flag delete last created point
void setCurrentTagType(GNEAttributeCarrier::TagType tagType)
set current type manually
SumoXMLTag
Numbers representing SUMO-XML - element names.
bool addEdge(GNEEdge *edge)
add edge to route
FXButton * myStartDrawingButton
button for start drawing
A road/street connecting two junctions (netedit-version)
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the Tree items with their AC
FXTreeList * myTreelist
tree list to show the children of the element to erase
long onCmdCenterItem(FXObject *, FXSelector, void *)
called when user click over option "center" of child Menu
EdgePathCreatorModes
FOX-declaration.
FXComboBox * myTagTypesMatchBox
comboBox with tag type
std::vector< SumoXMLTag > myListOfTags
list of tags that will be shown in Match Box
void createPopUpMenu(int X, int Y, GNEAttributeCarrier *clickedAC)
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
~AttributeCarrierHierarchy()
destructor
void hideEdgePathCreator()
show EdgePathCreator
void edgePathCreatorName(const std::string &name)
update EdgePathCreator name
std::vector< std::pair< std::string, GNEAttributeCarrier::TagType > > myListOfTagTypes
list of tags types that will be shown in Match Box
GNEDemandElement * myCurrentDemandElement
current demand element
GNEFrame * myFrameParent
Frame Parent.
GNEDemandElement * getCurrentDemandElement() const
get current demand element
long onCmdDeleteItem(FXObject *, FXSelector, void *)
called when user click over option "delete" of child menu
void setEdgePathCreatorModes(int edgePathCreatorModes)
set EdgePathCreatorModes
void startDrawing()
start drawing
const std::vector< SumoXMLTag > & getAllowedTags() const
A point in 2D or 3D with translation and scaling methods.
long onCmdStartDrawing(FXObject *, FXSelector, void *)
GNECrossing * myClickedCrossing
crossing (casted from myClickedAC)
const GNEAttributeCarrier::TagProperties & getCurrentTagProperties() const
get current type tag
void drawTemporalRoute() const
draw temporal route
void restoreEdgeColor(const GNEEdge *edge)
restore colors of given edge
TagSelector()
FOX needs this.
long onCmdMoveItemDown(FXObject *, FXSelector, void *)
called when user click over option "Move down" of child menu
GNEFrame * myFrameParent
pointer to GNEFrame Parent
GNEFrame * myFrameParent
pointer to frame parent
std::string getIdSelected() const
get currently additional parent selected
GNEShape * myClickedShape
shape (casted from myClickedAC)
long onCmdSelectDemandElement(FXObject *, FXSelector, void *)
FXButton * myRemoveLastInsertedEdge
button for removing last inserted edge
long onCmdAbortDrawing(FXObject *, FXSelector, void *)
Called when the user press abort drawing button.
void clearEdges()
clear edges (and restore colors)
void hideTagSelector()
hide item selector
~DrawingShape()
destructor
SelectorParent(GNEFrame *frameParent)
constructor
void setCurrentTag(SumoXMLTag newTag)
set current type manually
long onCmdSelectTag(FXObject *, FXSelector, void *)
Called when the user select an elementin ComboBox.
FXTreeItem * showAttributeCarrierParents()
show child of current attributeCarrier
SUMOVehicleClass myVClass
VClass used for this trip.
GNEEdge * myClickedEdge
edge (casted from myClickedAC)
void abortDrawing()
abort drawing
void refreshTagProperties()
due myCurrentTagProperties is a Reference, we need to refresh it when frameParent is show
GNEAttributeCarrier::TagProperties myCurrentTagProperties
current tag properties
long onCmdSelectTagType(FXObject *, FXSelector, void *)
GNEAdditional * mySelectedBusStop
pointer to selected busStop
std::vector< GNEEdge * > myTemporalRoute
vector with temporal route edges
FXComboBox * myTagsMatchBox
comboBox with the list of tags
bool isDrawing() const
return true if currently a shape is drawed
GNEAttributeCarrier * myAC
Attribute carrier.
GNEAdditional * myClickedAdditional
additional (casted from myClickedAC)
void hideDemandElementSelector()
hide demand element selector
void abortEdgePathCreation()
abort edge path creation
long onCmdStopDrawing(FXObject *, FXSelector, void *)
Called when the user press stop drawing button.
FXButton * myAbortCreationButton
button for abort route creation
GNELane * myClickedLane
lane (casted from myClickedAC)
GNEConnection * myClickedConnection
junction (casted from myClickedAC)
~SelectorParent()
destructor
GNEAttributeCarrier::TagProperties myInvalidTagProperty
dummy tag properties used if user select an invalid tag
std::vector< GNEEdge * > getClickedEdges() const
get current clicked edges
void refreshAttributeCarrierHierarchy()
refresh AttributeCarrierHierarchy
void showTagSelector()
show item selector
FXList * myParentsList
List of parents.
FXLabel * myParentsLabel
Label with parent name.
std::vector< SumoXMLTag > myDemandElementTags
demand element tags
long onCmdFinishRouteCreation(FXObject *, FXSelector, void *)
Called when the user click over button "Finish route creation".
std::set< FXTreeItem * > myTreeItemsConnections
set used to save tree items without AC assigned, the Incoming/Outcoming connections
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
int myEdgePathCreatorModes
current edge path creator modes
GNEAdditional * getClickedBusStop() const
get current clicked edges
long onCmdRemoveLastInsertedElement(FXObject *, FXSelector, void *)
Called when the user click over button "Remove las inserted edge/busStop".
void refreshSelectorParentModul()
Refresh list of Additional Parents Modul.
void hideSelectorParentModul()
hide SelectorParent Modul
const PositionVector & getTemporalShape() const
get Temporal shape
void removeLastInsertedElement()
remove last added element (either a BusStop or an edge)
FXButton * myAbortDrawingButton
button for abort drawing
DrawingShape()
FOX needs this.
GNEFrame * myFrameParent
pointer to frame Parent
FXComboBox * myDemandElementsMatchBox
comboBox with the list of elements type