17 #ifndef GNEFrameModuls_h 18 #define GNEFrameModuls_h 132 const std::vector<SumoXMLTag>& getAllowedTags()
const;
138 void showDemandElementSelector();
141 void hideDemandElementSelector();
144 bool isDemandElementSelectorShown()
const;
147 void refreshDemandElementSelector();
152 long onCmdSelectDemandElement(FXObject*, FXSelector,
void*);
185 GNE_EDGEPATHCREATOR_CONSECUTIVE = 1 << 0,
186 GNE_EDGEPATHCREATOR_FROM_TO_VIA = 1 << 1,
187 GNE_EDGEPATHCREATOR_FROM_BUSSTOP = 1 << 2,
188 GNE_EDGEPATHCREATOR_TO_BUSSTOP = 1 << 3,
198 void edgePathCreatorName(
const std::string& name);
201 void showEdgePathCreator();
204 void hideEdgePathCreator();
210 void setEdgePathCreatorModes(
int edgePathCreatorModes);
213 std::vector<GNEEdge*> getClickedEdges()
const;
228 void drawTemporalRoute()
const;
231 void abortEdgePathCreation();
234 void finishEdgePathCreation();
237 void removeLastInsertedElement();
242 long onCmdAbortRouteCreation(FXObject*, FXSelector,
void*);
245 long onCmdFinishRouteCreation(FXObject*, FXSelector,
void*);
248 long onCmdRemoveLastInsertedElement(FXObject*, FXSelector,
void*);
284 void restoreEdgeColor(
const GNEEdge* edge);
306 void hideAttributeCarrierHierarchy();
309 void refreshAttributeCarrierHierarchy();
314 long onCmdShowChildMenu(FXObject*, FXSelector,
void* data);
317 long onCmdCenterItem(FXObject*, FXSelector,
void*);
320 long onCmdInspectItem(FXObject*, FXSelector,
void*);
323 long onCmdDeleteItem(FXObject*, FXSelector,
void*);
326 long onCmdMoveItemUp(FXObject*, FXSelector,
void*);
329 long onCmdMoveItemDown(FXObject*, FXSelector,
void*);
340 FXTreeItem* showAttributeCarrierParents();
346 FXTreeItem* addListItem(
GNEAttributeCarrier* AC, FXTreeItem* itemParent =
nullptr, std::string prefix =
"", std::string sufix =
"");
349 FXTreeItem* addListItem(FXTreeItem* itemParent,
const std::string& text, FXIcon* icon,
bool expanded);
410 void showDrawingShape();
413 void hideDrawingShape();
425 void addNewPoint(
const Position& P);
428 void removeLastPoint();
434 bool isDrawing()
const;
437 void setDeleteLastCreatedPoint(
bool value);
440 bool getDeleteLastCreatedPoint();
445 long onCmdStartDrawing(FXObject*, FXSelector,
void*);
448 long onCmdStopDrawing(FXObject*, FXSelector,
void*);
451 long onCmdAbortDrawing(FXObject*, FXSelector,
void*);
494 std::string getIdSelected()
const;
497 void setIDSelected(
const std::string&
id);
500 bool showSelectorParentModul(
SumoXMLTag additionalTypeParent);
503 void hideSelectorParentModul();
506 void refreshSelectorParentModul();
int myEdgePathCreatorModes
current edge path creator modes
FXButton * myStopDrawingButton
button for stop drawing
SumoXMLTag
Numbers representing SUMO-XML - element names.
GNEFrame * myFrameParent
pointer to frame Parent
FXComboBox * myDemandElementsMatchBox
comboBox with the list of elements type
FXLabel * myInformationLabel
Label with information.
EdgePathCreator()
FOX needs this.
void showTagSelector()
show item selector
GNEAttributeCarrier * myClickedAC
pointer to current clicked Attribute Carrier
AttributeCarrierHierarchy()
FOX needs this.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
DemandElementSelector()
FOX needs this.
struct with the attribute Properties
GNEDemandElement * myClickedDemandElement
demand element (casted from myClickedAC)
std::vector< GNEEdge * > myClickedEdges
current clicked edges
GNELane * myClickedLane
lane (casted from myClickedAC)
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the Tree items with their AC
FXButton * myStartDrawingButton
button for start drawing
bool myDeleteLastCreatedPoint
flag to enable/disable delete point mode
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
GNEFrame * myFrameParent
pointer to Frame Parent
PositionVector myTemporalShapeShape
current drawed shape
std::vector< std::pair< std::string, GNEAttributeCarrier::TagType > > myListOfTagTypes
list of tags types that will be shown in Match Box
GNEShape * myClickedShape
shape (casted from myClickedAC)
SumoXMLTag myParentTag
current additional parent tag
EdgePathCreatorModes
FOX-declaration.
std::set< FXTreeItem * > myTreeItemsConnections
set used to save tree items without AC assigned, the Incoming/Outcoming connections ...
TagSelector()
FOX needs this.
void hideTagSelector()
hide item selector
FXTreeList * myTreelist
tree list to show the children of the element to erase
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
void setCurrentTagType(GNEAttributeCarrier::TagType tagType)
set current type manually
long onCmdSelectTag(FXObject *, FXSelector, void *)
Called when the user select an elementin ComboBox.
GNEFrame * myFrameParent
pointer to frame parent
GNEConnection * myClickedConnection
junction (casted from myClickedAC)
A point in 2D or 3D with translation and scaling methods.
GNEJunction * myClickedJunction
junction (casted from myClickedAC)
void refreshTagProperties()
due myCurrentTagProperties is a Reference, we need to refresh it when frameParent is show ...
GNEDemandElement * myCurrentDemandElement
current demand element
GNEFrame * myFrameParent
pointer to GNEFrame Parent
FXLabel * myParentsLabel
Label with parent name.
FXComboBox * myTagTypesMatchBox
comboBox with tag type
std::vector< SumoXMLTag > myListOfTags
list of tags that will be shown in Match Box
SUMOVehicleClass myVClass
VClass used for this trip.
FXComboBox * myTagsMatchBox
comboBox with the list of tags
DrawingShape()
FOX needs this.
A road/street connecting two junctions (netedit-version)
FXButton * myRemoveLastInsertedEdge
button for removing last inserted edge
GNEAttributeCarrier::TagProperties myInvalidTagProperty
dummy tag properties used if user select an invalid tag
GNEAdditional * mySelectedBusStop
pointer to selected busStop
GNEFrame * myFrameParent
pointer to Frame Parent
std::vector< GNEEdge * > myTemporalRoute
vector with temporal route edges
GNEFrame * myFrameParent
Frame Parent.
An Element which don't belongs to GNENet but has influency in the simulation.
const GNEAttributeCarrier::TagProperties & getCurrentTagProperties() const
get current type tag
GNEEdge * myClickedEdge
edge (casted from myClickedAC)
FXButton * myAbortDrawingButton
button for abort drawing
GNECrossing * myClickedCrossing
crossing (casted from myClickedAC)
std::vector< SumoXMLTag > myDemandElementTags
demand element tags
void setCurrentTag(SumoXMLTag newTag)
set current type manually
GNEAdditional * myClickedAdditional
additional (casted from myClickedAC)
FXButton * myAbortCreationButton
button for abort route creation
GNEAttributeCarrier::TagProperties myCurrentTagProperties
current tag properties
long onCmdSelectTagType(FXObject *, FXSelector, void *)
FXButton * myFinishCreationButton
button for finish route creation
FXList * myParentsList
List of parents.
An Element which don't belongs to GNENet but has influency in the simulation.
GNEAttributeCarrier * myAC
Attribute carrier.