Eclipse SUMO - Simulation of Urban MObility
GNEFrameModules.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2022 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials are made available under the
5 // terms of the Eclipse Public License 2.0 which is available at
6 // https://www.eclipse.org/legal/epl-2.0/
7 // This Source Code may also be made available under the following Secondary
8 // Licenses when the conditions for such availability set forth in the Eclipse
9 // Public License 2.0 are satisfied: GNU General Public License, version 2
10 // or later which is available at
11 // https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
12 // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
13 /****************************************************************************/
18 // Auxiliar class for GNEFrame Modules
19 /****************************************************************************/
20 #pragma once
21 #include <config.h>
22 
28 
29 // ===========================================================================
30 // class declaration
31 // ===========================================================================
32 
33 class GNEFrame;
34 class GNEDataSet;
35 class GNEDataInterval;
36 
37 // ===========================================================================
38 // class definitions
39 // ===========================================================================
40 
42 
43 public:
44  // ===========================================================================
45  // class TagSelector
46  // ===========================================================================
47 
48  class TagSelector : public FXGroupBoxModule {
51 
52  public:
54  TagSelector(GNEFrame* frameParent, GNETagProperties::TagType type, SumoXMLTag tag, bool onlyDrawables = true);
55 
57  ~TagSelector();
58 
60  void showTagSelector();
61 
63  void hideTagSelector();
64 
67 
70 
72  void setCurrentTagType(GNETagProperties::TagType tagType, const bool onlyDrawables, const bool notifyFrameParent = true);
73 
75  void setCurrentTag(SumoXMLTag newTag, const bool notifyFrameParent = true);
76 
78  void refreshTagSelector();
79 
83  long onCmdSelectTag(FXObject*, FXSelector, void*);
85 
86  protected:
88  FOX_CONSTRUCTOR(TagSelector)
89 
90  private:
91  class ACTemplate {
92 
93  public:
95  ACTemplate(GNENet* net, const GNETagProperties tagProperty);
96 
98  ~ACTemplate();
99 
101  GNEAttributeCarrier* getAC() const;
102 
103  private:
106 
108  ACTemplate(const ACTemplate&) = delete;
109 
111  ACTemplate& operator=(const ACTemplate& src) = delete;
112  };
113 
116 
119 
122 
125 
127  std::vector<ACTemplate*> myACTemplates;
128  };
129 
130  // ===========================================================================
131  // class DemandElementSelector
132  // ===========================================================================
133 
137 
138  public:
140  DemandElementSelector(GNEFrame* frameParent, SumoXMLTag demandElementTag, GNEDemandElement* defaultElement = nullptr);
141 
143  DemandElementSelector(GNEFrame* frameParent, const std::vector<GNETagProperties::TagType>& tagTypes);
144 
147 
150 
151  // @brief obtain allowed tags (derived from tagTypes)
152  const std::vector<SumoXMLTag>& getAllowedTags() const;
153 
155  void setDemandElement(GNEDemandElement* demandElement);
156 
159 
162 
164  bool isDemandElementSelectorShown() const;
165 
168 
171 
174 
178  long onCmdSelectDemandElement(FXObject*, FXSelector, void*);
180 
181  protected:
182  FOX_CONSTRUCTOR(DemandElementSelector)
183 
184  private:
187 
190 
193 
195  std::vector<SumoXMLTag> myDemandElementTags;
196  };
197 
198  // ===========================================================================
199  // class HierarchicalElementTree
200  // ===========================================================================
201 
205 
206  public:
208  HierarchicalElementTree(GNEFrame* frameParent);
209 
212 
215 
218 
221 
224 
228  long onCmdShowChildMenu(FXObject*, FXSelector, void* data);
229 
231  long onCmdCenterItem(FXObject*, FXSelector, void*);
232 
234  long onCmdInspectItem(FXObject*, FXSelector, void*);
235 
237  long onCmdDeleteItem(FXObject*, FXSelector, void*);
238 
240  long onCmdMoveItemUp(FXObject*, FXSelector, void*);
241 
243  long onCmdMoveItemDown(FXObject*, FXSelector, void*);
245 
246  protected:
247  FOX_CONSTRUCTOR(HierarchicalElementTree)
248 
249  // @brief create pop-up menu in the positions X-Y for the clicked attribute carrier
250  void createPopUpMenu(int X, int Y, GNEAttributeCarrier* clickedAC);
251 
253  FXTreeItem* showAttributeCarrierParents();
254 
256  void showHierarchicalElementChildren(GNEHierarchicalElement* HE, FXTreeItem* itemParent);
257 
259  FXTreeItem* addListItem(GNEAttributeCarrier* AC, FXTreeItem* itemParent = nullptr, std::string prefix = "", std::string sufix = "");
260 
262  FXTreeItem* addListItem(FXTreeItem* itemParent, const std::string& text, FXIcon* icon, bool expanded);
263 
264  private:
267 
270 
273 
276 
279 
282 
285 
288 
291 
294 
297 
300 
303 
306 
308  std::map<FXTreeItem*, GNEAttributeCarrier*> myTreeItemToACMap;
309 
311  std::set<FXTreeItem*> myTreeItemsConnections;
312  };
313 
314  // ===========================================================================
315  // class DrawingShape
316  // ===========================================================================
317 
321 
322  public:
324  DrawingShape(GNEFrame* frameParent);
325 
327  ~DrawingShape();
328 
330  void showDrawingShape();
331 
333  void hideDrawingShape();
334 
336  void startDrawing();
337 
339  void stopDrawing();
340 
342  void abortDrawing();
343 
345  void addNewPoint(const Position& P);
346 
348  void removeLastPoint();
349 
351  const PositionVector& getTemporalShape() const;
352 
354  bool isDrawing() const;
355 
357  void setDeleteLastCreatedPoint(bool value);
358 
361 
365  long onCmdStartDrawing(FXObject*, FXSelector, void*);
366 
368  long onCmdStopDrawing(FXObject*, FXSelector, void*);
369 
371  long onCmdAbortDrawing(FXObject*, FXSelector, void*);
373 
374  protected:
375  FOX_CONSTRUCTOR(DrawingShape)
376 
377  private:
380 
383 
386 
389 
392 
395 
398  };
399 
400  // ===========================================================================
401  // class SelectorParent
402  // ===========================================================================
403 
405  public:
407  SelectorParent(GNEFrame* frameParent);
408 
410  ~SelectorParent();
411 
413  std::string getIdSelected() const;
414 
416  void setIDSelected(const std::string& id);
417 
419  void showSelectorParentModule(const std::vector<SumoXMLTag>& parentTags);
420 
423 
426 
427  private:
430 
432  std::vector<SumoXMLTag> myParentTags;
433 
435  FXLabel* myParentsLabel;
436 
438  FXList* myParentsList;
439  };
440 
441  // ===========================================================================
442  // class OverlappedInspection
443  // ===========================================================================
444 
448 
449  public:
451  OverlappedInspection(GNEFrame* frameParent);
452 
454  OverlappedInspection(GNEFrame* frameParent, const SumoXMLTag filteredTag);
455 
458 
460  void showOverlappedInspection(const GNEViewNetHelper::ObjectsUnderCursor& objectsUnderCursor, const Position& clickedPosition);
461 
464 
466  bool overlappedInspectionShown() const;
467 
469  int getNumberOfOverlappedACs() const;
470 
472  bool checkSavedPosition(const Position& clickedPosition) const;
473 
475  bool nextElement(const Position& clickedPosition);
476 
478  bool previousElement(const Position& clickedPosition);
479 
482 
484  long onCmdNextElement(FXObject*, FXSelector, void*);
485 
487  long onCmdPreviousElement(FXObject*, FXSelector, void*);
488 
490  long onCmdShowList(FXObject*, FXSelector, void*);
491 
493  long onCmdListItemSelected(FXObject*, FXSelector, void*);
494 
496  long onCmdOverlappingHelp(FXObject*, FXSelector, void*);
498 
499  protected:
502 
504  void buildFXElements();
505 
506  private:
509 
511  FXButton* myPreviousElement;
512 
515 
517  FXButton* myNextElement;
518 
521 
523  FXButton* myHelpButton;
524 
527 
529  std::vector<GNEAttributeCarrier*> myOverlappedACs;
530 
532  size_t myItemIndex;
533 
536  };
537 
538  // ===========================================================================
539  // class PathCreator
540  // ===========================================================================
541 
542  class PathCreator : public FXGroupBoxModule {
545 
546  public:
548  class Path {
549 
550  public:
552  Path(const SUMOVehicleClass vClass, GNEEdge* edge);
553 
555  Path(GNEViewNet* viewNet, const SUMOVehicleClass vClass, GNEEdge* edgeFrom, GNEEdge* edgeTo);
556 
558  const std::vector<GNEEdge*>& getSubPath() const;
559 
561  GNEAdditional* getFromBusStop() const;
562 
564  GNEAdditional* getToBusStop() const;
565 
567  bool isConflictVClass() const;
568 
570  bool isConflictDisconnected() const;
571 
572  protected:
574  std::vector<GNEEdge*> mySubPath;
575 
578 
581 
584 
587 
588  private:
590  Path();
591 
593  Path(Path*) = delete;
594 
596  Path& operator=(Path*) = delete;
597  };
598 
600  PathCreator(GNEFrame* frameParent);
601 
603  ~PathCreator();
604 
606  void showPathCreatorModule(SumoXMLTag element, const bool firstElement, const bool consecutives);
607 
609  void hidePathCreatorModule();
610 
612  SUMOVehicleClass getVClass() const;
613 
615  void setVClass(SUMOVehicleClass vClass);
616 
618  bool addJunction(GNEJunction* junction, const bool shiftKeyPressed, const bool controlKeyPressed);
619 
621  bool addEdge(GNEEdge* edge, const bool shiftKeyPressed, const bool controlKeyPressed);
622 
624  const std::vector<GNEEdge*>& getSelectedEdges() const;
625 
627  const std::vector<GNEJunction*>& getSelectedJunctions() const;
628 
630  bool addStoppingPlace(GNEAdditional* stoppingPlace, const bool shiftKeyPressed, const bool controlKeyPressed);
631 
633  GNEAdditional* getToStoppingPlace(SumoXMLTag expectedTag) const;
634 
636  bool addRoute(GNEDemandElement* route, const bool shiftKeyPressed, const bool controlKeyPressed);
637 
639  GNEDemandElement* getRoute() const;
640 
642  void removeRoute();
643 
645  const std::vector<Path>& getPath() const;
646 
649 
651  void updateJunctionColors();
652 
654  void updateEdgeColors();
655 
657  void clearJunctionColors();
658 
660  void clearEdgeColors();
661 
663  void drawTemporalRoute(const GUIVisualizationSettings& s) const;
664 
666  void createPath();
667 
669  void abortPathCreation();
670 
672  void removeLastElement();
673 
677  long onCmdCreatePath(FXObject*, FXSelector, void*);
678 
680  long onCmdAbortPathCreation(FXObject*, FXSelector, void*);
681 
683  long onCmdRemoveLastElement(FXObject*, FXSelector, void*);
684 
686  long onCmdShowCandidateEdges(FXObject*, FXSelector, void*);
688 
689  protected:
690  FOX_CONSTRUCTOR(PathCreator)
691 
692  // @brief creation mode
693  enum Mode {
694  CONSECUTIVE_EDGES = 1 << 0, // Path's edges are consecutives
695  NONCONSECUTIVE_EDGES = 1 << 1, // Path's edges aren't consecutives
696  START_EDGE = 1 << 2, // Path begins in an edge
697  END_EDGE = 1 << 3, // Path ends in an edge
698  START_JUNCTION = 1 << 4, // Path begins in an edge
699  END_JUNCTION = 1 << 5, // Path ends in an edge
700  SINGLE_ELEMENT = 1 << 6, // Path only had one element
701  ONLY_FROMTO = 1 << 7, // Path only had two elements (first and last)
702  END_BUSSTOP = 1 << 8, // Path ends in a busStop
703  ROUTE = 1 << 9, // Path uses a route
704  REQUIRE_FIRSTELEMENT = 1 << 10, // Path start always in a previous element
705  SHOW_CANDIDATE_EDGES = 1 << 11, // Show candidate edges
706  SHOW_CANDIDATE_JUNCTIONS = 1 << 12, // show candidate junctions
707  };
708 
710  void updateInfoRouteLabel();
711 
713  void clearPath();
714 
716  void recalculatePath();
717 
719  void setSpecialCandidates(GNEEdge* originEdge);
720 
722  void setPossibleCandidates(GNEEdge* originEdge, const SUMOVehicleClass vClass);
723 
726 
729 
732 
734  std::vector<GNEJunction*> mySelectedJunctions;
735 
737  std::vector<GNEEdge*> mySelectedEdges;
738 
741 
744 
746  std::vector<Path> myPath;
747 
750 
753 
756 
759 
761  FXCheckButton* myShowCandidateEdges;
762 
764  FXLabel* myShiftLabel;
765 
767  FXLabel* myControlLabel;
768 
769  private:
771  PathCreator(PathCreator*) = delete;
772 
774  PathCreator& operator=(PathCreator*) = delete;
775  };
776 
777  // ===========================================================================
778  // class PathLegend
779  // ===========================================================================
780 
781  class PathLegend : public FXGroupBoxModule {
782 
783  public:
785  PathLegend(GNEFrame* frameParent);
786 
788  ~PathLegend();
789 
791  void showPathLegendModule();
792 
794  void hidePathLegendModule();
795  };
796 
797  // ===========================================================================
798  // Functions
799  // ===========================================================================
800 
802  static FXLabel* buildRainbow(FXComposite* parent);
803 };
GNEFrameModules::PathCreator::onCmdCreatePath
long onCmdCreatePath(FXObject *, FXSelector, void *)
Definition: GNEFrameModules.cpp:2968
GNEFrameModules::HierarchicalElementTree::myClickedEdge
GNEEdge * myClickedEdge
edge (casted from myClickedAC)
Definition: GNEFrameModules.h:278
GNEFrameModules::DemandElementSelector
Definition: GNEFrameModules.h:134
GNEFrameModules::DrawingShape::hideDrawingShape
void hideDrawingShape()
hide Drawing mode
Definition: GNEFrameModules.cpp:1750
GNEFrameModules::PathCreator::END_JUNCTION
@ END_JUNCTION
Definition: GNEFrameModules.h:699
GNEFrameModules::PathCreator::Path::Path
Path()
default constructor
Definition: GNEFrameModules.cpp:2301
SUMOVehicleClass
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
Definition: SUMOVehicleClass.h:133
GNEFrameModules::PathCreator::REQUIRE_FIRSTELEMENT
@ REQUIRE_FIRSTELEMENT
Definition: GNEFrameModules.h:704
GNEFrameModules::PathCreator
Definition: GNEFrameModules.h:542
GNEDemandElement
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEDemandElement.h:53
GNEAdditional
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEAdditional.h:48
GNEFrameModules::HierarchicalElementTree::myClickedCrossing
GNECrossing * myClickedCrossing
crossing (casted from myClickedAC)
Definition: GNEFrameModules.h:284
GNEFrameModules::OverlappedInspection::~OverlappedInspection
~OverlappedInspection()
destructor
Definition: GNEFrameModules.cpp:1986
GNEFrameModules::SelectorParent::hideSelectorParentModule
void hideSelectorParentModule()
hide SelectorParent Module
Definition: GNEFrameModules.cpp:1922
GNEFrameModules::TagSelector::myACTemplates
std::vector< ACTemplate * > myACTemplates
list with ACTemplates
Definition: GNEFrameModules.h:127
GNEFrameModules::HierarchicalElementTree
Definition: GNEFrameModules.h:202
GNEFrameModules::OverlappedInspection::hideOverlappedInspection
void hideOverlappedInspection()
hide template editor
Definition: GNEFrameModules.cpp:2042
GNEFrameModules::HierarchicalElementTree::showHierarchicalElementTree
void showHierarchicalElementTree(GNEAttributeCarrier *AC)
show HierarchicalElementTree
Definition: GNEFrameModules.cpp:833
GNEFrameModules::DrawingShape::addNewPoint
void addNewPoint(const Position &P)
add new point to temporal shape
Definition: GNEFrameModules.cpp:1799
GNEFrameModules::SelectorParent::showSelectorParentModule
void showSelectorParentModule(const std::vector< SumoXMLTag > &parentTags)
Show list of SelectorParent Module.
Definition: GNEFrameModules.cpp:1908
GNEFrameModules::PathCreator::mySelectedJunctions
std::vector< GNEJunction * > mySelectedJunctions
vector with selected junctions
Definition: GNEFrameModules.h:734
GNEFrameModules::DrawingShape::abortDrawing
void abortDrawing()
abort drawing
Definition: GNEFrameModules.cpp:1788
GNEFrameModules::HierarchicalElementTree::onCmdMoveItemDown
long onCmdMoveItemDown(FXObject *, FXSelector, void *)
called when user click over option "Move down" of child menu
Definition: GNEFrameModules.cpp:1022
GNEFrameModules::PathLegend::showPathLegendModule
void showPathLegendModule()
show Legend modul
Definition: GNEFrameModules.cpp:3147
GNEFrameModules::HierarchicalElementTree::myClickedGenericData
GNEGenericData * myClickedGenericData
generic data element (casted from myClickedAC)
Definition: GNEFrameModules.h:302
GNEFrameModules::PathCreator::onCmdShowCandidateEdges
long onCmdShowCandidateEdges(FXObject *, FXSelector, void *)
Called when the user click over check button "show candidate edges".
Definition: GNEFrameModules.cpp:2992
GNENet
A NBNetBuilder extended by visualisation and editing capabilities.
Definition: GNENet.h:42
GNEFrameModules::PathCreator::myShiftLabel
FXLabel * myShiftLabel
label for shift information
Definition: GNEFrameModules.h:764
GNEFrameModules::SelectorParent::refreshSelectorParentModule
void refreshSelectorParentModule()
Refresh list of Additional Parents Module.
Definition: GNEFrameModules.cpp:1929
GNETagProperties::TagType
TagType
Definition: GNETagProperties.h:42
GNEFrameModules::DemandElementSelector::myFrameParent
GNEFrame * myFrameParent
pointer to frame Parent
Definition: GNEFrameModules.h:186
GNEFrameModules::OverlappedInspection::previousElement
bool previousElement(const Position &clickedPosition)
try to go to previous element if clicked position is near to saved position
Definition: GNEFrameModules.cpp:2086
GNEFrameModules::PathCreator::Path::getSubPath
const std::vector< GNEEdge * > & getSubPath() const
get sub path
Definition: GNEFrameModules.cpp:2274
GNEFrameModules::DemandElementSelector::getAllowedTags
const std::vector< SumoXMLTag > & getAllowedTags() const
Definition: GNEFrameModules.cpp:584
GNEFrameModules::PathCreator::ONLY_FROMTO
@ ONLY_FROMTO
Definition: GNEFrameModules.h:701
GNEFrameModules::PathCreator::START_JUNCTION
@ START_JUNCTION
Definition: GNEFrameModules.h:698
GNEFrameModules::OverlappedInspection::myPreviousElement
FXButton * myPreviousElement
Previous element button.
Definition: GNEFrameModules.h:511
GNEFrameModules::PathCreator::myControlLabel
FXLabel * myControlLabel
label for control information
Definition: GNEFrameModules.h:767
GNEFrameModules::OverlappedInspection::myFrameParent
GNEFrame * myFrameParent
current frame parent
Definition: GNEFrameModules.h:508
GNEFrameModules::PathCreator::ROUTE
@ ROUTE
Definition: GNEFrameModules.h:703
GNEFrameModules::TagSelector::showTagSelector
void showTagSelector()
show item selector
Definition: GNEFrameModules.cpp:169
GNEFrameModules::PathCreator::myShowCandidateEdges
FXCheckButton * myShowCandidateEdges
CheckBox for show candidate edges.
Definition: GNEFrameModules.h:761
GNEFrameModules::HierarchicalElementTree::~HierarchicalElementTree
~HierarchicalElementTree()
destructor
Definition: GNEFrameModules.cpp:829
GNEFrameModules::PathCreator::showPathCreatorModule
void showPathCreatorModule(SumoXMLTag element, const bool firstElement, const bool consecutives)
show PathCreator for the given tag
Definition: GNEFrameModules.cpp:2349
GNEFrameModules::PathCreator::Path::getToBusStop
GNEAdditional * getToBusStop() const
to additional
Definition: GNEFrameModules.cpp:2284
GNEFrameModules::TagSelector::myCurrentTemplateAC
GNEAttributeCarrier * myCurrentTemplateAC
current templateAC;
Definition: GNEFrameModules.h:124
GNEFrameModules::HierarchicalElementTree::myHE
GNEHierarchicalElement * myHE
hierarchical element
Definition: GNEFrameModules.h:269
GNEFrame
Definition: GNEFrame.h:33
GNEGenericData
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEGenericData.h:54
GNEFrameModules::PathCreator::Path::operator=
Path & operator=(Path *)=delete
Invalidated assignment operator.
GNEFrameModules::DemandElementSelector::getContainerPlanPreviousEdge
GNEEdge * getContainerPlanPreviousEdge() const
get previous edge for the current container plan
Definition: GNEFrameModules.cpp:740
GNEFrameModules::PathCreator::PathCreator
PathCreator(GNEFrame *frameParent)
default constructor
Definition: GNEFrameModules.cpp:2309
GNEViewNet
Definition: GNEViewNet.h:43
GNEFrameModules::OverlappedInspection::onCmdOverlappingHelp
long onCmdOverlappingHelp(FXObject *, FXSelector, void *)
Called when user press the help button.
Definition: GNEFrameModules.cpp:2189
GNEFrameModules::PathCreator::removeRoute
void removeRoute()
remove route
Definition: GNEFrameModules.cpp:2699
GNEFrameModules::DrawingShape::myStopDrawingButton
FXButton * myStopDrawingButton
button for stop drawing
Definition: GNEFrameModules.h:391
GNEFrameModules::PathCreator::myInfoRouteLabel
FXLabel * myInfoRouteLabel
label with route info
Definition: GNEFrameModules.h:749
GNEFrameModules::DemandElementSelector::myCurrentDemandElement
GNEDemandElement * myCurrentDemandElement
current demand element
Definition: GNEFrameModules.h:192
GNEFrameModules::PathCreator::myFrameParent
GNEFrame * myFrameParent
current frame parent
Definition: GNEFrameModules.h:725
GNEFrameModules::PathCreator::operator=
PathCreator & operator=(PathCreator *)=delete
Invalidated assignment operator.
GNEFrameModules::OverlappedInspection::getNumberOfOverlappedACs
int getNumberOfOverlappedACs() const
get number of overlapped ACSs
Definition: GNEFrameModules.cpp:2056
GNEFrameModules::TagSelector::refreshTagSelector
void refreshTagSelector()
refresh tagSelector (used when frameParent is show)
Definition: GNEFrameModules.cpp:304
GNEFrameModules::DrawingShape::showDrawingShape
void showDrawingShape()
show Drawing mode
Definition: GNEFrameModules.cpp:1742
GNEFrameModules::PathCreator::drawCandidateEdgesWithSpecialColor
bool drawCandidateEdgesWithSpecialColor() const
draw candidate edges with special color (Only for candidates, special and conflicted)
Definition: GNEFrameModules.cpp:2722
GNEFrameModules::HierarchicalElementTree::myClickedAC
GNEAttributeCarrier * myClickedAC
pointer to current clicked Attribute Carrier
Definition: GNEFrameModules.h:272
GNEFrameModules::HierarchicalElementTree::showHierarchicalElementChildren
void showHierarchicalElementChildren(GNEHierarchicalElement *HE, FXTreeItem *itemParent)
show children of given hierarchical element
Definition: GNEFrameModules.cpp:1520
PositionVector
A list of positions.
Definition: PositionVector.h:43
GNEFrameModules::PathLegend
Definition: GNEFrameModules.h:781
GNEFrameModules::HierarchicalElementTree::myClickedAdditional
GNEAdditional * myClickedAdditional
additional (casted from myClickedAC)
Definition: GNEFrameModules.h:290
GNEFrameModules::DemandElementSelector::DemandElementSelector
DemandElementSelector(GNEFrame *frameParent, SumoXMLTag demandElementTag, GNEDemandElement *defaultElement=nullptr)
FOX-declaration.
Definition: GNEFrameModules.cpp:540
GNEFrameModules::HierarchicalElementTree::myFrameParent
GNEFrame * myFrameParent
frame Parent
Definition: GNEFrameModules.h:266
SumoXMLTag
SumoXMLTag
Numbers representing SUMO-XML - element names.
Definition: SUMOXMLDefinitions.h:39
GNEFrameModules::PathCreator::updateEdgeColors
void updateEdgeColors()
update edge colors
Definition: GNEFrameModules.cpp:2756
GNEFrameModules::PathCreator::getVClass
SUMOVehicleClass getVClass() const
get vClass
Definition: GNEFrameModules.cpp:2477
GNEFrameModules::PathCreator::Path::getFromBusStop
GNEAdditional * getFromBusStop() const
get from additional
Definition: GNEFrameModules.cpp:2279
GNEFrameModules::DrawingShape::removeLastPoint
void removeLastPoint()
remove last added point
Definition: GNEFrameModules.cpp:1809
GNEFrameModules::DemandElementSelector::~DemandElementSelector
~DemandElementSelector()
destructor
Definition: GNEFrameModules.cpp:574
GNEFrameModules::PathCreator::Mode
Mode
Definition: GNEFrameModules.h:693
GNEFrameModules::PathCreator::clearJunctionColors
void clearJunctionColors()
clear junction colors
Definition: GNEFrameModules.cpp:2803
GNEFrameModules::PathCreator::updateJunctionColors
void updateJunctionColors()
update junction colors
Definition: GNEFrameModules.cpp:2728
GNEFrameModules::SelectorParent::~SelectorParent
~SelectorParent()
destructor
Definition: GNEFrameModules.cpp:1876
GNEFrameModules::TagSelector::setCurrentTag
void setCurrentTag(SumoXMLTag newTag, const bool notifyFrameParent=true)
set current type manually
Definition: GNEFrameModules.cpp:283
GNEFrameModules::PathCreator::SINGLE_ELEMENT
@ SINGLE_ELEMENT
Definition: GNEFrameModules.h:700
GNEEdge
A road/street connecting two junctions (netedit-version)
Definition: GNEEdge.h:53
GNEFrameModules::PathCreator::setVClass
void setVClass(SUMOVehicleClass vClass)
set vClass
Definition: GNEFrameModules.cpp:2483
GNEFrameModules::PathCreator::onCmdAbortPathCreation
long onCmdAbortPathCreation(FXObject *, FXSelector, void *)
Called when the user click over button "Abort route creation".
Definition: GNEFrameModules.cpp:2976
GNEFrameModules::DemandElementSelector::myDemandElementTags
std::vector< SumoXMLTag > myDemandElementTags
demand element tags
Definition: GNEFrameModules.h:195
GNEFrameModules::HierarchicalElementTree::myClickedDataSet
GNEDataSet * myClickedDataSet
data set element (casted from myClickedAC)
Definition: GNEFrameModules.h:296
GNEFrameModules::PathCreator::removeLastElement
void removeLastElement()
remove path element
Definition: GNEFrameModules.cpp:2936
GNEFrameModules::SelectorParent::SelectorParent
SelectorParent(GNEFrame *frameParent)
constructor
Definition: GNEFrameModules.cpp:1864
GNEFrameModules::DemandElementSelector::refreshDemandElementSelector
void refreshDemandElementSelector()
refresh demand element selector
Definition: GNEFrameModules.cpp:634
GNEFrameModules::PathCreator::clearEdgeColors
void clearEdgeColors()
clear edge colors
Definition: GNEFrameModules.cpp:2812
GNEFrameModules::SelectorParent
Definition: GNEFrameModules.h:404
GNEFrameModules::HierarchicalElementTree::addListItem
FXTreeItem * addListItem(GNEAttributeCarrier *AC, FXTreeItem *itemParent=nullptr, std::string prefix="", std::string sufix="")
add item into list
Definition: GNEFrameModules.cpp:1687
GNEDataSet
Definition: GNEDataSet.h:43
GNEFrameModules::PathCreator::Path
FOX-declaration.
Definition: GNEFrameModules.h:548
GNEFrameModules::DemandElementSelector::hideDemandElementSelector
void hideDemandElementSelector()
hide demand element selector
Definition: GNEFrameModules.cpp:622
GNEFrameModules::TagSelector::ACTemplate::ACTemplate
ACTemplate(GNENet *net, const GNETagProperties tagProperty)
constructor
Definition: GNEFrameModules.cpp:345
GNEFrameModules::HierarchicalElementTree::myClickedConnection
GNEConnection * myClickedConnection
junction (casted from myClickedAC)
Definition: GNEFrameModules.h:287
GNEFrameModules::TagSelector::ACTemplate
FOX need this.
Definition: GNEFrameModules.h:91
GNEFrameModules::PathCreator::getRoute
GNEDemandElement * getRoute() const
get route
Definition: GNEFrameModules.cpp:2710
GNEFrameModules::PathCreator::addRoute
bool addRoute(GNEDemandElement *route, const bool shiftKeyPressed, const bool controlKeyPressed)
add route
Definition: GNEFrameModules.cpp:2679
GNEFrameModules::TagSelector
Definition: GNEFrameModules.h:48
GNEFrameModules::PathCreator::myCreationMode
int myCreationMode
current creation mode
Definition: GNEFrameModules.h:731
GNEFrameModules::OverlappedInspection::showOverlappedInspection
void showOverlappedInspection(const GNEViewNetHelper::ObjectsUnderCursor &objectsUnderCursor, const Position &clickedPosition)
show template editor
Definition: GNEFrameModules.cpp:1990
GNECrossing
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
Definition: GNECrossing.h:42
GNEFrameModules::PathLegend::hidePathLegendModule
void hidePathLegendModule()
hide Legend modul
Definition: GNEFrameModules.cpp:3152
FXGroupBoxModule.h
GNEFrameModules::TagSelector::onCmdSelectTag
long onCmdSelectTag(FXObject *, FXSelector, void *)
Definition: GNEFrameModules.cpp:311
GNEFrameModules::PathCreator::Path::myFromBusStop
GNEAdditional * myFromBusStop
from additional (usually a busStop)
Definition: GNEFrameModules.h:577
GNEFrameModules::PathCreator::onCmdRemoveLastElement
long onCmdRemoveLastElement(FXObject *, FXSelector, void *)
Called when the user click over button "Remove las inserted edge".
Definition: GNEFrameModules.cpp:2984
GNEFrameModules::PathCreator::Path::mySubPath
std::vector< GNEEdge * > mySubPath
sub path
Definition: GNEFrameModules.h:574
GNEFrameModules::DrawingShape::myTemporalShape
PositionVector myTemporalShape
current drawed shape
Definition: GNEFrameModules.h:385
GNEFrameModules::PathCreator::setPossibleCandidates
void setPossibleCandidates(GNEEdge *originEdge, const SUMOVehicleClass vClass)
set edgereachability (This function will be called recursively)
Definition: GNEFrameModules.cpp:3102
GNEViewNetHelper::ObjectsUnderCursor
class used to group all variables related with objects under cursor after a click over view
Definition: GNEViewNetHelper.h:157
GNEFrameModules::OverlappedInspection::buildFXElements
void buildFXElements()
build Fox Toolkit elemements
Definition: GNEFrameModules.cpp:2220
GNEFrameModules::PathCreator::clearPath
void clearPath()
clear edges (and restore colors)
Definition: GNEFrameModules.cpp:3039
GNEFrameModules::HierarchicalElementTree::showAttributeCarrierParents
FXTreeItem * showAttributeCarrierParents()
show child of current attributeCarrier
Definition: GNEFrameModules.cpp:1132
GNEFrameModules::OverlappedInspection::myNextElement
FXButton * myNextElement
Next element button.
Definition: GNEFrameModules.h:517
GNEFrameModules::PathCreator::hidePathCreatorModule
void hidePathCreatorModule()
show PathCreator
Definition: GNEFrameModules.cpp:2468
GNEFrameModules::PathCreator::myRemoveLastInsertedElement
FXButton * myRemoveLastInsertedElement
button for removing last inserted element
Definition: GNEFrameModules.h:758
GNEFrameModules::PathCreator::addJunction
bool addJunction(GNEJunction *junction, const bool shiftKeyPressed, const bool controlKeyPressed)
add junction
Definition: GNEFrameModules.cpp:2491
GNEFrameModules::OverlappedInspection::overlappedInspectionShown
bool overlappedInspectionShown() const
check if overlappedInspection modul is shown
Definition: GNEFrameModules.cpp:2049
GNEFrameModules::PathCreator::getPath
const std::vector< Path > & getPath() const
get path route
Definition: GNEFrameModules.cpp:2716
GNEFrameModules::DemandElementSelector::showDemandElementSelector
void showDemandElementSelector()
show demand element selector
Definition: GNEFrameModules.cpp:604
GNEFrameModules::HierarchicalElementTree::refreshHierarchicalElementTree
void refreshHierarchicalElementTree()
refresh HierarchicalElementTree
Definition: GNEFrameModules.cpp:870
GNEFrameModules::TagSelector::myTagType
GNETagProperties::TagType myTagType
current tagType
Definition: GNEFrameModules.h:118
GNEFrameModules::PathCreator::setSpecialCandidates
void setSpecialCandidates(GNEEdge *originEdge)
set special candidates (This function will be called recursively)
Definition: GNEFrameModules.cpp:3087
GNEFrameModules::HierarchicalElementTree::myTreeListDinamic
FXTreeListDinamic * myTreeListDinamic
tree list dinamic to show the children of the element to erase
Definition: GNEFrameModules.h:305
GNEFrameModules::PathCreator::~PathCreator
~PathCreator()
destructor
Definition: GNEFrameModules.cpp:2345
GNEFrameModules::OverlappedInspection::OverlappedInspection
OverlappedInspection()
FOX needs this.
Definition: GNEFrameModules.cpp:2207
GNEFrameModules::HierarchicalElementTree::myClickedJunction
GNEJunction * myClickedJunction
junction (casted from myClickedAC)
Definition: GNEFrameModules.h:275
GNEFrameModules::OverlappedInspection::myCurrentIndexButton
FXButton * myCurrentIndexButton
Button for current index.
Definition: GNEFrameModules.h:514
GNEFrameModules::HierarchicalElementTree::onCmdMoveItemUp
long onCmdMoveItemUp(FXObject *, FXSelector, void *)
called when user click over option "Move up" of child menu
Definition: GNEFrameModules.cpp:1006
Position
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:37
GNEFrameModules::SelectorParent::myParentTags
std::vector< SumoXMLTag > myParentTags
current parent additional tag
Definition: GNEFrameModules.h:432
GNEFrameModules::PathLegend::~PathLegend
~PathLegend()
destructor
Definition: GNEFrameModules.cpp:3143
GNEFrameModules::DemandElementSelector::myDemandElementsMatchBox
MFXIconComboBox * myDemandElementsMatchBox
comboBox with the list of elements type
Definition: GNEFrameModules.h:189
GNEFrameModules::HierarchicalElementTree::myClickedDataInterval
GNEDataInterval * myClickedDataInterval
data interval element (casted from myClickedAC)
Definition: GNEFrameModules.h:299
GNEFrameModules::HierarchicalElementTree::myTreeItemsConnections
std::set< FXTreeItem * > myTreeItemsConnections
set used to save tree items without AC assigned, the Incoming/Outcoming connections
Definition: GNEFrameModules.h:311
GNEFrameModules::SelectorParent::myParentsLabel
FXLabel * myParentsLabel
Label with parent name.
Definition: GNEFrameModules.h:435
GNEFrameModules::DrawingShape
Definition: GNEFrameModules.h:318
GNEFrameModules::HierarchicalElementTree::onCmdInspectItem
long onCmdInspectItem(FXObject *, FXSelector, void *)
called when user click over option "inspect" of child menu
Definition: GNEFrameModules.cpp:932
GNEFrameModules::TagSelector::ACTemplate::operator=
ACTemplate & operator=(const ACTemplate &src)=delete
Invalidated assignment operator.
GNEFrameModules::DrawingShape::startDrawing
void startDrawing()
start drawing
Definition: GNEFrameModules.cpp:1759
GNEFrameModules::PathCreator::SHOW_CANDIDATE_JUNCTIONS
@ SHOW_CANDIDATE_JUNCTIONS
Definition: GNEFrameModules.h:706
GNEFrameModules::HierarchicalElementTree::myClickedDemandElement
GNEDemandElement * myClickedDemandElement
demand element (casted from myClickedAC)
Definition: GNEFrameModules.h:293
GNEFrameModules::OverlappedInspection::checkSavedPosition
bool checkSavedPosition(const Position &clickedPosition) const
check if given position is near to saved position
Definition: GNEFrameModules.cpp:2062
GNEFrameModules::DrawingShape::onCmdAbortDrawing
long onCmdAbortDrawing(FXObject *, FXSelector, void *)
Called when the user press abort drawing button.
Definition: GNEFrameModules.cpp:1855
GNEFrameModules::PathCreator::END_EDGE
@ END_EDGE
Definition: GNEFrameModules.h:697
GNEFrameModules::PathCreator::Path::myConflictVClass
bool myConflictVClass
flag to mark this path as conflicted
Definition: GNEFrameModules.h:583
GNEFrameModules::PathCreator::Path::myConflictDisconnected
bool myConflictDisconnected
flag to mark this path as disconnected
Definition: GNEFrameModules.h:586
GNEFrameModules::PathCreator::myVClass
SUMOVehicleClass myVClass
current vClass
Definition: GNEFrameModules.h:728
GNEFrameModules::OverlappedInspection::mySavedClickedPosition
Position mySavedClickedPosition
saved clicked position
Definition: GNEFrameModules.h:535
GNEFrameModules::DrawingShape::onCmdStartDrawing
long onCmdStartDrawing(FXObject *, FXSelector, void *)
Definition: GNEFrameModules.cpp:1841
GNEFrameModules::DrawingShape::~DrawingShape
~DrawingShape()
destructor
Definition: GNEFrameModules.cpp:1739
GNEFrameModules::PathCreator::getSelectedJunctions
const std::vector< GNEJunction * > & getSelectedJunctions() const
get current selected junctions
Definition: GNEFrameModules.cpp:2629
GNEFrameModules::TagSelector::~TagSelector
~TagSelector()
destructor
Definition: GNEFrameModules.cpp:159
GNEDataInterval
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEDataInterval.h:48
GNEFrameModules::TagSelector::ACTemplate::~ACTemplate
~ACTemplate()
destructor
Definition: GNEFrameModules.cpp:532
GNEFrameModules::PathCreator::getToStoppingPlace
GNEAdditional * getToStoppingPlace(SumoXMLTag expectedTag) const
get to stoppingPlace
Definition: GNEFrameModules.cpp:2669
GNEFrameModules::TagSelector::TagSelector
TagSelector(GNEFrame *frameParent, GNETagProperties::TagType type, SumoXMLTag tag, bool onlyDrawables=true)
FOX-declaration.
Definition: GNEFrameModules.cpp:143
GNEFrameModules::PathCreator::updateInfoRouteLabel
void updateInfoRouteLabel()
update InfoRouteLabel
Definition: GNEFrameModules.cpp:3010
GNEFrameModules::PathCreator::drawTemporalRoute
void drawTemporalRoute(const GUIVisualizationSettings &s) const
draw temporal route
Definition: GNEFrameModules.cpp:2821
GNEFrameModules::DemandElementSelector::onCmdSelectDemandElement
long onCmdSelectDemandElement(FXObject *, FXSelector, void *)
Definition: GNEFrameModules.cpp:776
FXTreeListDinamic
FXTreeListDinamic.
Definition: FXTreeListDinamic.h:28
GNEFrameModules::PathCreator::NONCONSECUTIVE_EDGES
@ NONCONSECUTIVE_EDGES
Definition: GNEFrameModules.h:695
GNEFrameModules::OverlappedInspection::myOverlappedACs
std::vector< GNEAttributeCarrier * > myOverlappedACs
objects under cursor
Definition: GNEFrameModules.h:529
GNEFrameModules::PathCreator::myToStoppingPlace
GNEAdditional * myToStoppingPlace
to additional (usually a busStop)
Definition: GNEFrameModules.h:740
GNEFrameModules::DrawingShape::myInformationLabel
FXLabel * myInformationLabel
Label with information.
Definition: GNEFrameModules.h:397
GNEFrameModules::DrawingShape::DrawingShape
DrawingShape(GNEFrame *frameParent)
FOX-declaration.
Definition: GNEFrameModules.cpp:1713
GNEFrameModules::HierarchicalElementTree::onCmdCenterItem
long onCmdCenterItem(FXObject *, FXSelector, void *)
called when user click over option "center" of child Menu
Definition: GNEFrameModules.cpp:906
GNEFrameModules::PathCreator::createPath
void createPath()
create path
Definition: GNEFrameModules.cpp:2905
GNEFrameModules::PathCreator::abortPathCreation
void abortPathCreation()
abort path creation
Definition: GNEFrameModules.cpp:2912
GNEFrameModules::DrawingShape::getDeleteLastCreatedPoint
bool getDeleteLastCreatedPoint()
get flag delete last created point
Definition: GNEFrameModules.cpp:1835
GNEFrameModules::TagSelector::getTemplateAC
GNEAttributeCarrier * getTemplateAC(SumoXMLTag ACTag) const
get templateAC
Definition: GNEFrameModules.cpp:181
GNEFrameModules::HierarchicalElementTree::myClickedLane
GNELane * myClickedLane
lane (casted from myClickedAC)
Definition: GNEFrameModules.h:281
GNEFrameModules::DrawingShape::myStartDrawingButton
FXButton * myStartDrawingButton
button for start drawing
Definition: GNEFrameModules.h:388
GNEFrameModules::DrawingShape::isDrawing
bool isDrawing() const
return true if currently a shape is drawed
Definition: GNEFrameModules.cpp:1823
GNEFrameModules::PathLegend::PathLegend
PathLegend(GNEFrame *frameParent)
constructor
Definition: GNEFrameModules.cpp:3120
GNEFrameModules::TagSelector::hideTagSelector
void hideTagSelector()
hide item selector
Definition: GNEFrameModules.cpp:175
GNEFrameModules::DrawingShape::onCmdStopDrawing
long onCmdStopDrawing(FXObject *, FXSelector, void *)
Called when the user press stop drawing button.
Definition: GNEFrameModules.cpp:1848
GNEFrameModules::PathCreator::myFinishCreationButton
FXButton * myFinishCreationButton
button for finish route creation
Definition: GNEFrameModules.h:752
GNEFrameModules::PathCreator::addStoppingPlace
bool addStoppingPlace(GNEAdditional *stoppingPlace, const bool shiftKeyPressed, const bool controlKeyPressed)
add stoppingPlace
Definition: GNEFrameModules.cpp:2635
GNEFrameModules::PathCreator::Path::myToBusStop
GNEAdditional * myToBusStop
to additional (usually a busStop)
Definition: GNEFrameModules.h:580
GNEFrameModules::PathCreator::recalculatePath
void recalculatePath()
recalculate path
Definition: GNEFrameModules.cpp:3056
GNEFrameModules::PathCreator::myRoute
GNEDemandElement * myRoute
route (usually a busStop)
Definition: GNEFrameModules.h:743
GNEFrameModules::PathCreator::START_EDGE
@ START_EDGE
Definition: GNEFrameModules.h:696
GNEFrameModules::PathCreator::mySelectedEdges
std::vector< GNEEdge * > mySelectedEdges
vector with selected edges
Definition: GNEFrameModules.h:737
GNEFrameModules::TagSelector::ACTemplate::myAC
GNEAttributeCarrier * myAC
editedAC
Definition: GNEFrameModules.h:105
GNEFrameModules::DrawingShape::myFrameParent
GNEFrame * myFrameParent
pointer to frame parent
Definition: GNEFrameModules.h:379
GNEFrameModules::SelectorParent::getIdSelected
std::string getIdSelected() const
get currently parent additional selected
Definition: GNEFrameModules.cpp:1880
GNEFrameModules::HierarchicalElementTree::HierarchicalElementTree
HierarchicalElementTree(GNEFrame *frameParent)
FOX-declaration.
Definition: GNEFrameModules.cpp:808
GNEFrameModules::TagSelector::myFrameParent
GNEFrame * myFrameParent
pointer to Frame Parent
Definition: GNEFrameModules.h:115
FXGroupBoxModule
FXGroupBoxModule (based on FXGroupBox)
Definition: FXGroupBoxModule.h:27
GNEFrameModules::PathCreator::getSelectedEdges
const std::vector< GNEEdge * > & getSelectedEdges() const
get current selected edges
Definition: GNEFrameModules.cpp:2623
GNEFrameModules::DrawingShape::myAbortDrawingButton
FXButton * myAbortDrawingButton
button for abort drawing
Definition: GNEFrameModules.h:394
GNEFrameModules::OverlappedInspection::onCmdShowList
long onCmdShowList(FXObject *, FXSelector, void *)
show list of overlapped elements
Definition: GNEFrameModules.cpp:2152
GNEFrameModules::TagSelector::ACTemplate::getAC
GNEAttributeCarrier * getAC() const
get template AC
Definition: GNEFrameModules.cpp:340
GNEFrameModules::HierarchicalElementTree::myTreeItemToACMap
std::map< FXTreeItem *, GNEAttributeCarrier * > myTreeItemToACMap
map used to save the FXTreeItems items with their vinculated AC
Definition: GNEFrameModules.h:308
GNEFrameModules::DemandElementSelector::isDemandElementSelectorShown
bool isDemandElementSelectorShown() const
check if demand element selector is shown
Definition: GNEFrameModules.cpp:628
GNEFrameModules::PathCreator::Path::isConflictDisconnected
bool isConflictDisconnected() const
check if current path is conflict due is disconnected
Definition: GNEFrameModules.cpp:2296
GNEFrameModules::OverlappedInspection::onCmdNextElement
long onCmdNextElement(FXObject *, FXSelector, void *)
Inspect next Element (from top to bot)
Definition: GNEFrameModules.cpp:2130
GNEConnection
Definition: GNEConnection.h:36
GNEAttributeCarrier.h
GNEFrameModules::TagSelector::setCurrentTagType
void setCurrentTagType(GNETagProperties::TagType tagType, const bool onlyDrawables, const bool notifyFrameParent=true)
set current type manually
Definition: GNEFrameModules.cpp:199
GNEHierarchicalElement
Definition: GNEHierarchicalElement.h:37
GNEFrameModules::OverlappedInspection::myHelpButton
FXButton * myHelpButton
button for help
Definition: GNEFrameModules.h:523
config.h
GNEFrameModules::OverlappedInspection
Definition: GNEFrameModules.h:445
GNEFrameModules::DemandElementSelector::getPersonPlanPreviousEdge
GNEEdge * getPersonPlanPreviousEdge() const
get previous edge for the current person plan
Definition: GNEFrameModules.cpp:697
GNEFrameModules::PathCreator::END_BUSSTOP
@ END_BUSSTOP
Definition: GNEFrameModules.h:702
GNEFrameModules::HierarchicalElementTree::onCmdShowChildMenu
long onCmdShowChildMenu(FXObject *, FXSelector, void *data)
Definition: GNEFrameModules.cpp:892
GNEFrameModules::SelectorParent::myParentsList
FXList * myParentsList
List of parents.
Definition: GNEFrameModules.h:438
GNEViewNetHelper.h
GNEFrameModules::SelectorParent::setIDSelected
void setIDSelected(const std::string &id)
select manually a element of the list
Definition: GNEFrameModules.cpp:1891
GNEFrameModules::DrawingShape::setDeleteLastCreatedPoint
void setDeleteLastCreatedPoint(bool value)
enable or disable delete last created point
Definition: GNEFrameModules.cpp:1829
GNEFrameModules::HierarchicalElementTree::removeCurrentEditedAttributeCarrier
void removeCurrentEditedAttributeCarrier(const GNEAttributeCarrier *HE)
if given AttributeCarrier is the same of myHE, set it as nullptr
Definition: GNEFrameModules.cpp:883
GNEFrameModules::OverlappedInspection::myFilteredTag
const SumoXMLTag myFilteredTag
filtered tag
Definition: GNEFrameModules.h:526
GNEFrameModules::PathCreator::Path::isConflictVClass
bool isConflictVClass() const
check if current path is conflict due vClass
Definition: GNEFrameModules.cpp:2290
GNEFrameModules::DrawingShape::myDeleteLastCreatedPoint
bool myDeleteLastCreatedPoint
flag to enable/disable delete point mode
Definition: GNEFrameModules.h:382
GNEFrameModules::OverlappedInspection::myOverlappedElementList
FXList * myOverlappedElementList
list of overlapped elements
Definition: GNEFrameModules.h:520
FXTreeListDinamic.h
GNEFrameModules::DemandElementSelector::setDemandElement
void setDemandElement(GNEDemandElement *demandElement)
set current demand element
Definition: GNEFrameModules.cpp:590
MFXIconComboBox.h
GNEFrameModules::OverlappedInspection::onCmdPreviousElement
long onCmdPreviousElement(FXObject *, FXSelector, void *)
Inspect previous element (from top to bot)
Definition: GNEFrameModules.cpp:2104
GNEFrameModules::HierarchicalElementTree::createPopUpMenu
void createPopUpMenu(int X, int Y, GNEAttributeCarrier *clickedAC)
Definition: GNEFrameModules.cpp:1038
GNEFrameModules::SelectorParent::myFrameParent
GNEFrame * myFrameParent
pointer to Frame Parent
Definition: GNEFrameModules.h:429
GUIVisualizationSettings
Stores the information about how to visualize structures.
Definition: GUIVisualizationSettings.h:583
GNEFrameModules::PathCreator::addEdge
bool addEdge(GNEEdge *edge, const bool shiftKeyPressed, const bool controlKeyPressed)
add edge
Definition: GNEFrameModules.cpp:2542
GNEJunction
Definition: GNEJunction.h:48
GNEFrameModules::TagSelector::getCurrentTemplateAC
GNEAttributeCarrier * getCurrentTemplateAC() const
get current templateAC
Definition: GNEFrameModules.cpp:193
GNEFrameModules::OverlappedInspection::onCmdListItemSelected
long onCmdListItemSelected(FXObject *, FXSelector, void *)
called when a list item is selected
Definition: GNEFrameModules.cpp:2171
GNELane
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
Definition: GNELane.h:46
GNEFrameModules::OverlappedInspection::nextElement
bool nextElement(const Position &clickedPosition)
try to go to next element if clicked position is near to saved position
Definition: GNEFrameModules.cpp:2068
GNEFrameModules
Definition: GNEFrameModules.h:41
GNEFrameModules::HierarchicalElementTree::hideHierarchicalElementTree
void hideHierarchicalElementTree()
hide HierarchicalElementTree
Definition: GNEFrameModules.cpp:848
MFXIconComboBox
ComboBox with icon.
Definition: MFXIconComboBox.h:53
GNEFrameModules::OverlappedInspection::myItemIndex
size_t myItemIndex
current index item
Definition: GNEFrameModules.h:532
GNEFrameModules::HierarchicalElementTree::onCmdDeleteItem
long onCmdDeleteItem(FXObject *, FXSelector, void *)
called when user click over option "delete" of child menu
Definition: GNEFrameModules.cpp:941
GNEFrameModules::TagSelector::myTagsMatchBox
MFXIconComboBox * myTagsMatchBox
comboBox with the tags
Definition: GNEFrameModules.h:121
GNEAttributeCarrier
Definition: GNEAttributeCarrier.h:48
GNEFrameModules::PathCreator::SHOW_CANDIDATE_EDGES
@ SHOW_CANDIDATE_EDGES
Definition: GNEFrameModules.h:705
GNEFrameModules::DrawingShape::getTemporalShape
const PositionVector & getTemporalShape() const
get Temporal shape
Definition: GNEFrameModules.cpp:1817
GNEFrameModules::PathCreator::CONSECUTIVE_EDGES
@ CONSECUTIVE_EDGES
Definition: GNEFrameModules.h:694
GNEFrameModules::PathCreator::myAbortCreationButton
FXButton * myAbortCreationButton
button for abort route creation
Definition: GNEFrameModules.h:755
GNETagProperties
Definition: GNETagProperties.h:38
GNEFrameModules::PathCreator::myPath
std::vector< Path > myPath
vector with current path
Definition: GNEFrameModules.h:746
GNEFrameModules::buildRainbow
static FXLabel * buildRainbow(FXComposite *parent)
build rainbow in frame modul
Definition: GNEFrameModules.cpp:3161
GNEFrameModules::DemandElementSelector::getCurrentDemandElement
GNEDemandElement * getCurrentDemandElement() const
get current demand element
Definition: GNEFrameModules.cpp:578
GNEFrameModules::DrawingShape::stopDrawing
void stopDrawing()
stop drawing and check if shape can be created
Definition: GNEFrameModules.cpp:1771