Eclipse SUMO - Simulation of Urban MObility
GNEViewNetHelper.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-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
14 // A file used to reduce the size of GNEViewNet.h grouping structs and classes
15 /****************************************************************************/
16 #ifndef GNEViewNetHelper_h
17 #define GNEViewNetHelper_h
18 
19 
20 // ===========================================================================
21 // included modules
22 // ===========================================================================
23 #include <config.h>
24 
27 #include <utils/geom/Position.h>
35 
36 
37 // ===========================================================================
38 // enum
39 // ===========================================================================
40 
42 enum Supermode {
49 };
50 
79 };
80 
107 };
108 
109 // ===========================================================================
110 // class declarations
111 // ===========================================================================
112 
113 // main elements
114 class GNEViewParent;
115 class GNEViewNet;
116 class GNEUndoList;
117 class GNEFrame;
118 class GNEAttributeCarrier;
119 // net elements
120 class GNENet;
121 class GNENetElement;
122 class GNEJunction;
123 class GNEEdge;
124 class GNELane;
125 class GNEConnection;
126 class GNECrossing;
127 class GNEInternalLane;
128 // additional elements
129 class GNEAdditional;
130 class GNEShape;
131 class GNEPoly;
132 class GNEPOI;
133 class GNETAZ;
134 // demand elements
135 class GNEDemandElement;
136 class GNEVehicleType;
137 class GNEFlow;
138 class GNEVehicle;
139 class GNEtrip;
140 
141 // ===========================================================================
142 // classes and structs definitions
143 // ===========================================================================
144 
146 
149  public:
152 
154  void updateObjectUnderCursor(const std::vector<GUIGlObject*>& GUIGlObjects, GNEPoly* editedPolyShape);
155 
157  void swapLane2Edge();
158 
160  GUIGlID getGlIDFront() const;
161 
164 
167 
170 
173 
175  GNEShape* getShapeFront() const;
176 
179 
181  GNEJunction* getJunctionFront() const;
182 
184  GNEEdge* getEdgeFront() const;
185 
187  GNELane* getLaneFront() const;
188 
190  GNECrossing* getCrossingFront() const;
191 
194 
196  GNETAZ* getTAZFront() const;
197 
199  GNEPOI* getPOIFront() const;
200 
202  GNEPoly* getPolyFront() const;
203 
205  const std::vector<GNEAttributeCarrier*>& getClickedAttributeCarriers() const;
206 
207  private:
209  std::vector<GUIGlObject*> myGUIGlObjects;
210 
212  std::vector<GNEAttributeCarrier*> myAttributeCarriers;
213 
215  std::vector<GNENetElement*> myNetElements;
216 
218  std::vector<GNEAdditional*> myAdditionals;
219 
221  std::vector<GNEShape*> myShapes;
222 
224  std::vector<GNEDemandElement*> myDemandElements;
225 
227  std::vector<GNEJunction*> myJunctions;
228 
230  std::vector<GNEEdge*> myEdges;
231 
233  std::vector<GNELane*> myLanes;
234 
236  std::vector<GNECrossing*> myCrossings;
237 
239  std::vector<GNEConnection*> myConnections;
240 
242  std::vector<GNETAZ*> myTAZs;
243 
245  std::vector<GNEPOI*> myPOIs;
246 
248  std::vector<GNEPoly*> myPolys;
249 
251  void sortGUIGlObjectsByAltitude(const std::vector<GUIGlObject*>& GUIGlObjects);
252 
255 
258  };
259 
261  struct KeyPressed {
262 
264  KeyPressed();
265 
267  void update(void* eventData);
268 
270  bool shiftKeyPressed() const;
271 
273  bool controlKeyPressed() const;
274 
275  private:
277  FXEvent* myEventInfo;
278 
280  KeyPressed(const KeyPressed&) = delete;
281 
283  KeyPressed& operator=(const KeyPressed&) = delete;
284  };
285 
287  struct EditModes {
288 
290  EditModes(GNEViewNet* viewNet);
291 
293  void buildSuperModeButtons();
294 
296  void setSupermode(Supermode supermode);
297 
299  void setNetworkEditMode(NetworkEditMode networkMode, bool force = false);
300 
302  void setDemandEditMode(DemandEditMode demandMode, bool force = false);
303 
306 
309 
312 
315 
318 
319  private:
322 
324  EditModes(const EditModes&) = delete;
325 
327  EditModes& operator=(const EditModes&) = delete;
328  };
329 
332 
334  CommonViewOptions(GNEViewNet* viewNet);
335 
338 
341 
343  void getVisibleCommonMenuCommands(std::vector<FXMenuCheck*>& commands) const;
344 
346  FXMenuCheck* menuCheckShowGrid;
347 
348  private:
351 
354 
357  };
358 
361 
363  NetworkViewOptions(GNEViewNet* viewNet);
364 
367 
370 
372  void getVisibleNetworkMenuCommands(std::vector<FXMenuCheck*>& commands) const;
373 
375  bool showDemandElements() const;
376 
378  bool selectEdges() const;
379 
381  bool showConnections() const;
382 
384  bool editingElevation() const;
385 
388 
390  FXMenuCheck* menuCheckSelectEdges;
391 
394 
397 
400 
403 
406 
409 
412 
414  FXMenuCheck* menuCheckChainEdges;
415 
418  private:
421 
424 
427  };
428 
431 
433  DemandViewOptions(GNEViewNet* viewNet);
434 
437 
440 
442  void getVisibleDemandMenuCommands(std::vector<FXMenuCheck*>& commands) const;
443 
445  bool showNonInspectedDemandElements(const GNEDemandElement* demandElement) const;
446 
448  bool showShapes() const;
449 
451  bool showAllPersonPlans() const;
452 
454  void lockPerson(const GNEDemandElement* person);
455 
457  void unlockPerson();
458 
460  const GNEDemandElement* getLockedPerson() const;
461 
463  FXMenuCheck* menuCheckHideShapes;
464 
467 
470 
472  FXMenuCheck* menuCheckLockPerson;
473 
474  private:
477 
480 
483 
486  };
487 
490 
493 
496 
499 
501  void moveSingleElement();
502 
505 
508 
511 
514 
515  private:
517  bool calculatePolyValues();
518 
520  bool calculateEdgeValues();
521 
523  bool calculateTAZValues();
524 
527 
530 
533 
536 
539 
542 
545 
548 
551 
554 
557  };
558 
561 
564 
566  void beginMoveSelection(GNEAttributeCarrier* originAC);
567 
569  void moveSelection();
570 
572  void finishMoveSelection();
573 
575  bool isMovingSelection() const;
576 
577  private:
580 
583 
586 
588  std::map<GNEJunction*, Position> myMovedJunctionOriginPositions;
589 
591  std::map<GNEEdge*, PositionVector> myMovedEdgesOriginShape;
592 
594  std::map<GNEEdge*, MoveSingleElementValues*> myMovedEgdesGeometryPoints;
595  };
596 
598  struct VehicleOptions {
599 
601  VehicleOptions(GNEViewNet* viewNet);
602 
605 
608 
609  private:
612  };
613 
616 
618  VehicleTypeOptions(GNEViewNet* viewNet);
619 
622 
625 
626  private:
629  };
630 
633  struct SelectingArea {
634 
636  SelectingArea(GNEViewNet* viewNet);
637 
640 
642  void moveRectangleSelection();
643 
646 
649 
651  std::vector<GNEEdge*> processEdgeRectangleSelection();
652 
654  void processShapeSelection(const PositionVector& shape);
655 
657  void drawRectangleSelection(const RGBColor& color) const;
658 
661 
664 
665  private:
667  void processBoundarySelection(const Boundary& boundary);
668 
671 
674 
677  };
678 
680  struct TestingMode {
681 
683  TestingMode(GNEViewNet* viewNet);
684 
686  void initTestingMode();
687 
689  void drawTestingElements(GUIMainWindow* mainWindow);
690 
692  bool isTestingEnabled() const;
693 
694  private:
697 
700 
703 
706  };
707 
710 
713 
716 
719 
722 
725 
728 
731 
734 
737 
740 
741  private:
744  };
745 
748 
751 
754 
757 
760 
763 
766 
769 
772 
775 
778 
781 
784 
787 
790 
791  private:
794  };
795 
798 
801 
804 
807 
810 
813 
816 
819 
822 
825 
828 
831 
834 
837 
838  private:
841  };
842 
844  struct EditShapes {
845 
847  EditShapes(GNEViewNet* viewNet);
848 
850  void startEditCustomShape(GNENetElement* element, const PositionVector& shape, bool fill);
851 
853  void stopEditCustomShape();
854 
856  void saveEditedShape();
857 
860 
863 
864  private:
867 
870  };
871 };
872 
873 #endif
874 
875 /****************************************************************************/
GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons
void updateCommonCheckableButtons()
update Common checkable buttons
Definition: GNEViewNetHelper.cpp:1879
GNEViewNetHelper::EditModes::demandButton
MFXCheckableButton * demandButton
chekable button for supermode Demand
Definition: GNEViewNetHelper.h:317
GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection
bool isMovingSelection() const
check if currently there is element being moved
Definition: GNEViewNetHelper.cpp:956
GNEViewNetHelper::EditModes::operator=
EditModes & operator=(const EditModes &)=delete
Invalidated assignment operator.
GUIGlObject.h
GNEViewNetHelper::ObjectsUnderCursor::getPolyFront
GNEPoly * getPolyFront() const
get front Poly (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:328
GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid
FXMenuCheck * menuCheckShowGrid
menu check to show grid button
Definition: GNEViewNetHelper.h:346
GNEDemandElement
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEDemandElement.h:55
GUIGlObjectTypes.h
GNEViewNetHelper::DemandCheckableButtons::disableDemandCheckableButtons
void disableDemandCheckableButtons()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:2069
GNEViewNetHelper::EditShapes::EditShapes
EditShapes(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:2095
GNE_DMODE_VEHICLETYPES
@ GNE_DMODE_VEHICLETYPES
Mode for editing vehicle types.
Definition: GNEViewNetHelper.h:98
GNEViewNetHelper::ObjectsUnderCursor::myLanes
std::vector< GNELane * > myLanes
vector with the clicked lanes
Definition: GNEViewNetHelper.h:233
GNEAdditional
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEAdditional.h:48
GUIPropertyScheme.h
GNEViewNetHelper::KeyPressed::KeyPressed
KeyPressed()
constructor
Definition: GNEViewNetHelper.cpp:364
GNEViewNetHelper::MoveMultipleElementValues::myMovedEgdesGeometryPoints
std::map< GNEEdge *, MoveSingleElementValues * > myMovedEgdesGeometryPoints
container used for move GeometryPoints of edges
Definition: GNEViewNetHelper.h:594
GNEViewNetHelper::KeyPressed::shiftKeyPressed
bool shiftKeyPressed() const
check if SHIFT key was pressed during click
Definition: GNEViewNetHelper.cpp:376
DemandEditMode
DemandEditMode
@brie enum for demand edit modes
Definition: GNEViewNetHelper.h:82
GNEViewNetHelper::MoveMultipleElementValues::moveSelection
void moveSelection()
move selection
Definition: GNEViewNetHelper.cpp:896
GNEViewNetHelper::CommonViewOptions::CommonViewOptions
CommonViewOptions(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1432
GNE_DMODE_PERSONPLAN
@ GNE_DMODE_PERSONPLAN
Mode for editing person plan.
Definition: GNEViewNetHelper.h:106
GNEViewNetHelper::ObjectsUnderCursor::myDemandElements
std::vector< GNEDemandElement * > myDemandElements
vector with the clicked demand elements
Definition: GNEViewNetHelper.h:224
GNEViewNetHelper::MoveSingleElementValues::calculateTAZValues
bool calculateTAZValues()
calculate TAZ movement values (Position, Index, etc.)
Definition: GNEViewNetHelper.cpp:722
GNEViewNetHelper::SelectingArea::processShapeSelection
void processShapeSelection(const PositionVector &shape)
process shape selection
Definition: GNEViewNetHelper.cpp:1089
GNEViewNetHelper::MoveSingleElementValues::myPOIToMove
GNEPOI * myPOIToMove
the poi which position is being moved
Definition: GNEViewNetHelper.h:547
GNEViewNetHelper::ObjectsUnderCursor::myJunctions
std::vector< GNEJunction * > myJunctions
vector with the clicked junctions
Definition: GNEViewNetHelper.h:227
GNEViewNetHelper::ObjectsUnderCursor::myPolys
std::vector< GNEPoly * > myPolys
vector with the clicked Polys
Definition: GNEViewNetHelper.h:248
GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans
FXMenuCheck * menuCheckShowAllPersonPlans
show all person plans
Definition: GNEViewNetHelper.h:469
GNEViewNetHelper::ObjectsUnderCursor::getPOIFront
GNEPOI * getPOIFront() const
get front POI (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:318
GNEViewNetHelper::NetworkViewOptions::operator=
NetworkViewOptions & operator=(const NetworkViewOptions &)=delete
Invalidated assignment operator.
GNEViewNetHelper::NetworkCheckableButtons::connectionButton
MFXCheckableButton * connectionButton
chekable button for edit mode connection
Definition: GNEViewNetHelper.h:771
GNEViewNetHelper::MoveMultipleElementValues
struct used to group all variables related with movement of groups of elements
Definition: GNEViewNetHelper.h:560
GNEViewNetHelper::NetworkCheckableButtons::createEdgeButton
MFXCheckableButton * createEdgeButton
chekable button for edit mode create edge
Definition: GNEViewNetHelper.h:768
GNEViewNetHelper::MoveSingleElementValues::myDemandElementToMove
GNEDemandElement * myDemandElementToMove
the demand element which position is being moved
Definition: GNEViewNetHelper.h:553
GNEViewNetHelper::DemandViewOptions::lockPerson
void lockPerson(const GNEDemandElement *person)
lock person
Definition: GNEViewNetHelper.cpp:1799
GNEViewNetHelper::DemandViewOptions::getLockedPerson
const GNEDemandElement * getLockedPerson() const
get locked person
Definition: GNEViewNetHelper.cpp:1811
GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements
FXMenuCheck * menuCheckShowDemandElements
menu check to show Demand Elements
Definition: GNEViewNetHelper.h:387
GNEViewNetHelper::TestingMode::myTestingEnabled
bool myTestingEnabled
flag to enable or disable testing mode
Definition: GNEViewNetHelper.h:699
GNEViewNetHelper::MoveSingleElementValues::myPolyToMove
GNEPoly * myPolyToMove
the poly of which geometry is being moved
Definition: GNEViewNetHelper.h:544
GNEViewNetHelper::ObjectsUnderCursor::myEdges
std::vector< GNEEdge * > myEdges
vector with the clicked edges
Definition: GNEViewNetHelper.h:230
GNEPOI
Definition: GNEPOI.h:44
GNEViewNetHelper::KeyPressed
class used to group all variables related with key pressed after certain events
Definition: GNEViewNetHelper.h:261
GNENet
A NBNetBuilder extended by visualisation and editing capabilities.
Definition: GNENet.h:77
GNEViewNetHelper::DemandCheckableButtons::DemandCheckableButtons
DemandCheckableButtons(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1997
GNE_DMODE_ROUTE
@ GNE_DMODE_ROUTE
Mode for editing routes.
Definition: GNEViewNetHelper.h:94
GNEViewNetHelper::CommonCheckableButtons::hideCommonCheckableButtons
void hideCommonCheckableButtons()
hide all Common Checkable Buttons
Definition: GNEViewNetHelper.cpp:1861
GNEViewNetHelper::KeyPressed::controlKeyPressed
bool controlKeyPressed() const
check if CONTROL key was pressed during click
Definition: GNEViewNetHelper.cpp:386
GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks
void hideDemandViewOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1712
GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands
void getVisibleDemandMenuCommands(std::vector< FXMenuCheck * > &commands) const
get visible demand menu commands
Definition: GNEViewNetHelper.cpp:1723
GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons
void disableCommonCheckableButtons()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1870
GNEViewNetHelper::EditShapes::editedShapePoly
GNEPoly * editedShapePoly
polygon used for edit shapes
Definition: GNEViewNetHelper.h:859
GNEViewNetHelper::DemandViewOptions
struct used to group all variables related to view options in supermode Demand
Definition: GNEViewNetHelper.h:430
GNEViewNetHelper::NetworkCheckableButtons::trafficLightButton
MFXCheckableButton * trafficLightButton
chekable button for edit mode traffic light
Definition: GNEViewNetHelper.h:774
GNEPoly
Definition: GNEPoly.h:45
GNEViewNetHelper::DemandCheckableButtons::vehicleTypeButton
MFXCheckableButton * vehicleTypeButton
chekable button for edit mode create vehicle type
Definition: GNEViewNetHelper.h:824
GNEViewNetHelper::DemandCheckableButtons::routeButton
MFXCheckableButton * routeButton
chekable button for edit mode create routes
Definition: GNEViewNetHelper.h:818
GNEViewNetHelper::MoveMultipleElementValues::myClickedPosition
Position myClickedPosition
original clicked position when moveSelection is called (used for calculate offset during moveSelectio...
Definition: GNEViewNetHelper.h:582
GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor
void updateObjectUnderCursor(const std::vector< GUIGlObject * > &GUIGlObjects, GNEPoly *editedPolyShape)
update objects under cursor (Called only in onLeftBtnPress(...) function)
Definition: GNEViewNetHelper.cpp:58
GNE_DMODE_NONE
@ GNE_DMODE_NONE
empty Demand mode
Definition: GNEViewNetHelper.h:84
GNEViewNetHelper::ObjectsUnderCursor::myAdditionals
std::vector< GNEAdditional * > myAdditionals
vector with the clicked additional elements
Definition: GNEViewNetHelper.h:218
GNE_DMODE_INSPECT
@ GNE_DMODE_INSPECT
mode for inspecting demand elements
Definition: GNEViewNetHelper.h:86
GNEViewNetHelper::EditModes::setNetworkEditMode
void setNetworkEditMode(NetworkEditMode networkMode, bool force=false)
set Network edit mode
Definition: GNEViewNetHelper.cpp:1351
GNEViewNetHelper::EditModes::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:321
GNEViewNetHelper::CommonCheckableButtons
struct used to group all variables related with common chekable Buttons
Definition: GNEViewNetHelper.h:709
GNEFrame
Definition: GNEFrame.h:34
GNEViewNetHelper::TestingMode::TestingMode
TestingMode(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1208
GNEViewNetHelper::DemandCheckableButtons::personTypeButton
MFXCheckableButton * personTypeButton
chekable button for edit mode create person type
Definition: GNEViewNetHelper.h:830
GNEViewNetHelper::DemandCheckableButtons::personButton
MFXCheckableButton * personButton
chekable button for edit mode create persons
Definition: GNEViewNetHelper.h:833
GNEViewNetHelper::ObjectsUnderCursor::getTAZFront
GNETAZ * getTAZFront() const
get front TAZ (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:308
GNEViewNetHelper::ObjectsUnderCursor::myGUIGlObjects
std::vector< GUIGlObject * > myGUIGlObjects
vector with the clicked GUIGlObjects
Definition: GNEViewNetHelper.h:209
GNE_DMODE_PERSONTYPES
@ GNE_DMODE_PERSONTYPES
Mode for editing person types.
Definition: GNEViewNetHelper.h:102
GNEViewNetHelper::ObjectsUnderCursor::ObjectsUnderCursor
ObjectsUnderCursor(const ObjectsUnderCursor &)=delete
Invalidated copy constructor.
GNEViewNetHelper::CommonViewOptions::hideCommonViewOptionsMenuChecks
void hideCommonViewOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1452
GNEViewNetHelper::NetworkViewOptions::showDemandElements
bool showDemandElements() const
check if show demand elements checkbox is enabled
Definition: GNEViewNetHelper.cpp:1616
GNEViewNetHelper::CommonCheckableButtons::moveButton
MFXCheckableButton * moveButton
chekable button for edit mode move
Definition: GNEViewNetHelper.h:739
GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues
bool calculateEdgeValues()
calculate Edge movement values (Position, Index, etc.)
Definition: GNEViewNetHelper.cpp:651
GNEViewNet
Definition: GNEViewNet.h:42
GNEViewNetHelper::ObjectsUnderCursor::getEdgeFront
GNEEdge * getEdgeFront() const
get front edge (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:268
GNEViewNetHelper::EditShapes::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:869
GNEViewNetHelper::MoveSingleElementValues::myTAZToMove
GNETAZ * myTAZToMove
the TAZ element which their Shape is being moved (it's the only additional with a shape instead a pos...
Definition: GNEViewNetHelper.h:556
GNEViewNetHelper::DemandCheckableButtons::hideDemandCheckableButtons
void hideDemandCheckableButtons()
hide all Demand Checkable Buttons
Definition: GNEViewNetHelper.cpp:2057
GUIVisualizationSettings.h
GNEViewNetHelper::NetworkCheckableButtons::updateNetworkCheckableButtons
void updateNetworkCheckableButtons()
update network checkable buttons
Definition: GNEViewNetHelper.cpp:1982
GNEViewNetHelper::ObjectsUnderCursor::getGlIDFront
GUIGlID getGlIDFront() const
get front GUI GL ID (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:188
GNEViewNetHelper::VehicleOptions::VehicleOptions
VehicleOptions(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:964
GNE_NMODE_CREATE_EDGE
@ GNE_NMODE_CREATE_EDGE
mode for creating new edges
Definition: GNEViewNetHelper.h:64
GNEViewNetHelper::TestingMode::drawTestingElements
void drawTestingElements(GUIMainWindow *mainWindow)
draw testing element
Definition: GNEViewNetHelper.cpp:1233
GNEViewNetHelper::EditModes::demandEditMode
DemandEditMode demandEditMode
the current Demand edit mode
Definition: GNEViewNetHelper.h:311
GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions
NetworkViewOptions(const NetworkViewOptions &)=delete
Invalidated copy constructor.
GNE_NMODE_TLS
@ GNE_NMODE_TLS
mode for editing tls
Definition: GNEViewNetHelper.h:68
GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble
FXMenuCheck * menuCheckShowJunctionBubble
menu check to show connection as buuble in "Move" mode.
Definition: GNEViewNetHelper.h:408
GNEViewNetHelper::KeyPressed::operator=
KeyPressed & operator=(const KeyPressed &)=delete
Invalidated assignment operator.
PositionVector
A list of positions.
Definition: PositionVector.h:45
GNEViewNetHelper::SelectingArea::selectingUsingRectangle
bool selectingUsingRectangle
whether we have started rectangle-selection
Definition: GNEViewNetHelper.h:660
GNEViewNetHelper::MoveSingleElementValues::myAdditionalToMove
GNEAdditional * myAdditionalToMove
the additional element which position is being moved
Definition: GNEViewNetHelper.h:550
GNEViewNetHelper::EditShapes::myPreviousNetworkEditMode
NetworkEditMode myPreviousNetworkEditMode
the previous edit mode before edit NetElement's shapes
Definition: GNEViewNetHelper.h:866
GNEViewNetHelper::NetworkCheckableButtons::shapeButton
MFXCheckableButton * shapeButton
chekable button for edit mode shape
Definition: GNEViewNetHelper.h:786
GNEViewNetHelper::CommonViewOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:350
GNE_NMODE_POLYGON
@ GNE_NMODE_POLYGON
Mode for editing Polygons.
Definition: GNEViewNetHelper.h:76
GNEViewNetHelper::DemandCheckableButtons::showDemandCheckableButtons
void showDemandCheckableButtons()
show all Demand Checkable Buttons
Definition: GNEViewNetHelper.cpp:2045
GNEViewParent
A single child window which contains a view of the simulation area.
Definition: GNEViewParent.h:71
GNEViewNetHelper::SelectingArea::moveRectangleSelection
void moveRectangleSelection()
move rectangle selection
Definition: GNEViewNetHelper.cpp:1022
GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection
FXMenuCheck * menuCheckExtendSelection
menu check to extend to edge nodes
Definition: GNEViewNetHelper.h:399
GNEViewNetHelper::NetworkCheckableButtons::hideNetworkCheckableButtons
void hideNetworkCheckableButtons()
hide all Network Checkable Buttons
Definition: GNEViewNetHelper.cpp:1956
GNEViewNetHelper::DemandViewOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:476
GNE_NMODE_DELETE
@ GNE_NMODE_DELETE
mode for deleting network elements
Definition: GNEViewNetHelper.h:58
GNEViewNetHelper::DemandViewOptions::DemandViewOptions
DemandViewOptions(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1665
GUIGlObjectType
GUIGlObjectType
Definition: GUIGlObjectTypes.h:39
GNEViewNetHelper::MoveSingleElementValues::originalShapeBeforeMoving
PositionVector originalShapeBeforeMoving
original shape of element before start moving (used by polygons, edges, etc., needed for commmit posi...
Definition: GNEViewNetHelper.h:507
GNEViewNetHelper::TestingMode
struct used to group all variables related with testing
Definition: GNEViewNetHelper.h:680
GNEViewNetHelper::MoveSingleElementValues::movingIndexShape
int movingIndexShape
index moved
Definition: GNEViewNetHelper.h:510
GNEEdge
A road/street connecting two junctions (netedit-version)
Definition: GNEEdge.h:51
GUISUMOAbstractView.h
GNEViewNetHelper::MoveMultipleElementValues::myMovingSelection
bool myMovingSelection
flag to check if a selection is being moved
Definition: GNEViewNetHelper.h:585
GNEViewNetHelper::DemandViewOptions::unlockPerson
void unlockPerson()
unlock person
Definition: GNEViewNetHelper.cpp:1805
RGBColor
Definition: RGBColor.h:39
GNEViewNetHelper::CommonCheckableButtons::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:743
GNEViewNetHelper::TestingMode::isTestingEnabled
bool isTestingEnabled() const
check if testing mode is enabled
Definition: GNEViewNetHelper.cpp:1270
GNE_NMODE_ADDITIONAL
@ GNE_NMODE_ADDITIONAL
Mode for editing additionals.
Definition: GNEViewNetHelper.h:70
GNEViewNetHelper::DemandViewOptions::buildDemandViewOptionsMenuChecks
void buildDemandViewOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:1676
GNEViewNetHelper::MoveSingleElementValues::myJunctionToMove
GNEJunction * myJunctionToMove
the Junction to be moved.
Definition: GNEViewNetHelper.h:538
GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections
FXMenuCheck * menuCheckShowConnections
menu check to show connections
Definition: GNEViewNetHelper.h:393
GNE_DMODE_SELECT
@ GNE_DMODE_SELECT
mode for selecting demand elements
Definition: GNEViewNetHelper.h:90
GNEViewNetHelper::NetworkCheckableButtons::disableNetworkCheckableButtons
void disableNetworkCheckableButtons()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1969
GNECrossing
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
Definition: GNECrossing.h:44
GNE_NMODE_TAZ
@ GNE_NMODE_TAZ
Mode for editing TAZ.
Definition: GNEViewNetHelper.h:74
GNEViewNetHelper::ObjectsUnderCursor::myPOIs
std::vector< GNEPOI * > myPOIs
vector with the clicked POIs
Definition: GNEViewNetHelper.h:245
GNEViewNetHelper::EditModes::setSupermode
void setSupermode(Supermode supermode)
set Network edit mode
Definition: GNEViewNetHelper.cpp:1307
GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement
void finishMoveSingleElement()
finish moving single elements in Network AND Demand mode
Definition: GNEViewNetHelper.cpp:541
GNEViewNetHelper::SelectingArea::drawRectangleSelection
void drawRectangleSelection(const RGBColor &color) const
draw rectangle selection
Definition: GNEViewNetHelper.cpp:1095
GNEViewNetHelper::SelectingArea::beginRectangleSelection
void beginRectangleSelection()
begin rectangle selection
Definition: GNEViewNetHelper.cpp:1014
GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements
FXMenuCheck * menuCheckHideNonInspectedDemandElements
Hide non inspected demand elements.
Definition: GNEViewNetHelper.h:466
GNEShape
Definition: GNEShape.h:34
GNEViewNetHelper::CommonCheckableButtons::showCommonCheckableButtons
void showCommonCheckableButtons()
show all Common Checkable Buttons
Definition: GNEViewNetHelper.cpp:1852
GNEViewNetHelper::SelectingArea::processBoundarySelection
void processBoundarySelection(const Boundary &boundary)
Process boundary Selection.
Definition: GNEViewNetHelper.cpp:1114
GNE_DMODE_PERSON
@ GNE_DMODE_PERSON
Mode for editing person.
Definition: GNEViewNetHelper.h:104
GNEViewNetHelper::EditModes::buildSuperModeButtons
void buildSuperModeButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:1289
GNEViewNetHelper::NetworkCheckableButtons::crossingButton
MFXCheckableButton * crossingButton
chekable button for edit mode crossing
Definition: GNEViewNetHelper.h:780
GNEViewNetHelper::VehicleOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:611
GNEViewNetHelper::EditModes
struct used to group all variables related with Supermodes
Definition: GNEViewNetHelper.h:287
GNEVehicleType
Definition: GNEVehicleType.h:36
GNEViewNetHelper::ObjectsUnderCursor
class used to group all variables related with objects under cursor after a click over view
Definition: GNEViewNetHelper.h:148
GNEViewNetHelper::CommonCheckableButtons::buildCommonCheckableButtons
void buildCommonCheckableButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:1829
GNEViewNetHelper::NetworkCheckableButtons::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:793
GNEViewNetHelper::NetworkViewOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:420
GNEViewNetHelper::MoveSingleElementValues::originalPositionInView
Position originalPositionInView
original position of geometry position (needed for commmit position changes)
Definition: GNEViewNetHelper.h:513
GNEViewNetHelper::SelectingArea::SelectingArea
SelectingArea(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1006
GNEViewNetHelper::MoveSingleElementValues
struct used to group all variables related with movement of single elements
Definition: GNEViewNetHelper.h:489
GNEViewNetHelper::CommonViewOptions
struct used to group all variables related to view options in all supermodes
Definition: GNEViewNetHelper.h:331
GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection
void beginMoveSelection(GNEAttributeCarrier *originAC)
begin move selection
Definition: GNEViewNetHelper.cpp:773
GNEViewNetHelper::SelectingArea::processRectangleSelection
void processRectangleSelection()
process rectangle Selection
Definition: GNEViewNetHelper.cpp:1045
GNEViewNetHelper::ObjectsUnderCursor::myTAZs
std::vector< GNETAZ * > myTAZs
vector with the clicked TAZ elements (needed because uses a shape instead a position)
Definition: GNEViewNetHelper.h:242
GNEViewNetHelper::NetworkCheckableButtons::showNetworkCheckableButtons
void showNetworkCheckableButtons()
show all Network Checkable Buttons
Definition: GNEViewNetHelper.cpp:1943
SUMOVehicleClass.h
Boundary
A class that stores a 2D geometrical boundary.
Definition: Boundary.h:41
GNEViewNetHelper::DemandCheckableButtons::vehicleButton
MFXCheckableButton * vehicleButton
chekable button for edit mode create vehicles
Definition: GNEViewNetHelper.h:821
GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementNetworkMode
bool beginMoveSingleElementNetworkMode()
begin move single element in Network mode
Definition: GNEViewNetHelper.cpp:414
GNEViewNetHelper::CommonCheckableButtons::inspectButton
MFXCheckableButton * inspectButton
chekable button for edit mode inspect
Definition: GNEViewNetHelper.h:730
GNEViewNetHelper::MoveSingleElementValues::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:526
GNE_NMODE_SELECT
@ GNE_NMODE_SELECT
mode for selecting network elements
Definition: GNEViewNetHelper.h:60
GNE_SUPERMODE_NETWORK
@ GNE_SUPERMODE_NETWORK
Network mode (Edges, junctions, etc..)
Definition: GNEViewNetHelper.h:46
GNEViewNetHelper::EditModes::currentSupermode
Supermode currentSupermode
the current supermode
Definition: GNEViewNetHelper.h:305
GNEViewNetHelper::CommonCheckableButtons::selectButton
MFXCheckableButton * selectButton
chekable button for edit mode select
Definition: GNEViewNetHelper.h:736
GNEViewNetHelper::SelectingArea::startDrawing
bool startDrawing
whether we have started rectangle-selection
Definition: GNEViewNetHelper.h:663
GNEViewNetHelper::MoveMultipleElementValues::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:579
Position
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:38
GNE_NMODE_CONNECT
@ GNE_NMODE_CONNECT
mode for connecting lanes
Definition: GNEViewNetHelper.h:66
GNEViewNetHelper::CommonViewOptions::getVisibleCommonMenuCommands
void getVisibleCommonMenuCommands(std::vector< FXMenuCheck * > &commands) const
get visible common menu commands
Definition: GNEViewNetHelper.cpp:1458
GNETAZ
Definition: GNETAZ.h:34
GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands
void getVisibleNetworkMenuCommands(std::vector< FXMenuCheck * > &commands) const
get visible network menu commands
Definition: GNEViewNetHelper.cpp:1577
GNEViewNetHelper::MoveMultipleElementValues::finishMoveSelection
void finishMoveSelection()
finish moving selection
Definition: GNEViewNetHelper.cpp:925
GNEViewNetHelper::NetworkViewOptions::editingElevation
bool editingElevation() const
check if we're editing elevation
Definition: GNEViewNetHelper.cpp:1653
GNEViewNetHelper::KeyPressed::KeyPressed
KeyPressed(const KeyPressed &)=delete
Invalidated copy constructor.
GNENetElement
Definition: GNENetElement.h:43
GNEViewNetHelper::ObjectsUnderCursor::getConnectionFront
GNEConnection * getConnectionFront() const
get front connection (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:298
Supermode
Supermode
@brie enum for supermodes
Definition: GNEViewNetHelper.h:42
GNEViewNetHelper::TestingMode::initTestingMode
void initTestingMode()
init testing mode
Definition: GNEViewNetHelper.cpp:1217
GNEViewNetHelper::NetworkViewOptions::showConnections
bool showConnections() const
check if select show connections checkbox is enabled
Definition: GNEViewNetHelper.cpp:1638
GNEViewNetHelper::VehicleTypeOptions
struct used to group all variables related with movement of groups of elements
Definition: GNEViewNetHelper.h:615
GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge
FXMenuCheck * menuCheckWarnAboutMerge
menu check to we should warn about merging junctions
Definition: GNEViewNetHelper.h:405
GNEViewNetHelper::DemandViewOptions::showShapes
bool showShapes() const
check if shapes has to be hide
Definition: GNEViewNetHelper.cpp:1779
GNEViewNetHelper::NetworkCheckableButtons::NetworkCheckableButtons
NetworkCheckableButtons(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1890
GNEViewNetHelper::NetworkViewOptions::buildNetworkViewOptionsMenuChecks
void buildNetworkViewOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:1475
GNEViewNetHelper::DemandCheckableButtons::updateDemandCheckableButtons
void updateDemandCheckableButtons()
update Demand checkable buttons
Definition: GNEViewNetHelper.cpp:2081
GNEViewNetHelper::MoveSingleElementValues::myEdgeToMove
GNEEdge * myEdgeToMove
the edge of which geometry is being moved
Definition: GNEViewNetHelper.h:541
NetworkEditMode
NetworkEditMode
@brie enum for network edit modes
Definition: GNEViewNetHelper.h:52
GNEViewNetHelper::EditShapes::startEditCustomShape
void startEditCustomShape(GNENetElement *element, const PositionVector &shape, bool fill)
start edit custom shape
Definition: GNEViewNetHelper.cpp:2103
GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks
void hideNetworkViewOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1559
GNEViewNetHelper::ObjectsUnderCursor::getJunctionFront
GNEJunction * getJunctionFront() const
get front junction (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:258
GNEViewNetHelper::EditShapes
struct used to group all variables related with edit shapes of NetElements
Definition: GNEViewNetHelper.h:844
GNEViewNetHelper::KeyPressed::update
void update(void *eventData)
update status of KeyPressed
Definition: GNEViewNetHelper.cpp:370
GNEViewNetHelper::TestingMode::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:696
GNEViewNetHelper::ObjectsUnderCursor::ObjectsUnderCursor
ObjectsUnderCursor()
constructor
Definition: GNEViewNetHelper.cpp:54
GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront
GUIGlObjectType getGlTypeFront() const
get front GUI GL object type (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:198
GNE_DMODE_VEHICLE
@ GNE_DMODE_VEHICLE
Mode for editing vehicles.
Definition: GNEViewNetHelper.h:96
GNEViewNetHelper::DemandCheckableButtons::stopButton
MFXCheckableButton * stopButton
chekable button for edit mode create stops
Definition: GNEViewNetHelper.h:827
GNEViewNetHelper::EditShapes::saveEditedShape
void saveEditedShape()
save edited shape
Definition: GNEViewNetHelper.cpp:2138
GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements
bool showNonInspectedDemandElements(const GNEDemandElement *demandElement) const
check if non inspected element has to be hidden
Definition: GNEViewNetHelper.cpp:1741
GNE_NMODE_CROSSING
@ GNE_NMODE_CROSSING
Mode for editing crossing.
Definition: GNEViewNetHelper.h:72
GNEViewNetHelper::NetworkViewOptions
struct used to group all variables related to view options in supermode Network
Definition: GNEViewNetHelper.h:360
Position.h
GNE_NMODE_PROHIBITION
@ GNE_NMODE_PROHIBITION
Mode for editing connection prohibitions.
Definition: GNEViewNetHelper.h:78
GNEViewNetHelper::DemandCheckableButtons::personPlanButton
MFXCheckableButton * personPlanButton
chekable button for edit mode create person plans
Definition: GNEViewNetHelper.h:836
GNEViewNetHelper::TestingMode::myTestingWidth
int myTestingWidth
Width of viewNet in testing mode.
Definition: GNEViewNetHelper.h:702
GNEViewNetHelper::SelectingArea::processEdgeRectangleSelection
std::vector< GNEEdge * > processEdgeRectangleSelection()
process rectangle Selection (only limited to Edges)
Definition: GNEViewNetHelper.cpp:1061
GUIMainWindow
Definition: GUIMainWindow.h:46
GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections
FXMenuCheck * menuCheckHideConnections
menu check to hide connections in connect mode
Definition: GNEViewNetHelper.h:396
GNEViewNetHelper::NetworkCheckableButtons
struct used to group all variables related with Network chekable Buttons
Definition: GNEViewNetHelper.h:747
GNEViewNetHelper::VehicleTypeOptions::VehicleTypeOptions
VehicleTypeOptions(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:985
GNEViewNetHelper::MoveSingleElementValues::moveSingleElement
void moveSingleElement()
move single element in Network AND Demand mode
Definition: GNEViewNetHelper.cpp:481
MFXCheckableButton
Definition: MFXCheckableButton.h:30
GNEViewNetHelper::CommonViewOptions::operator=
CommonViewOptions & operator=(const CommonViewOptions &)=delete
Invalidated assignment operator.
GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions
NetworkViewOptions(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1469
GNEViewNetHelper::DemandViewOptions::operator=
DemandViewOptions & operator=(const DemandViewOptions &)=delete
Invalidated assignment operator.
GNEViewNetHelper::MoveSingleElementValues::calculatePolyValues
bool calculatePolyValues()
calculate Poly movement values (Position, Index, etc.)
Definition: GNEViewNetHelper.cpp:582
GNE_SUPERMODE_DEMAND
@ GNE_SUPERMODE_DEMAND
Demanding mode (Routes, Vehicles etc..)
Definition: GNEViewNetHelper.h:48
GNEViewNetHelper::ObjectsUnderCursor::myCrossings
std::vector< GNECrossing * > myCrossings
vector with the clicked crossings
Definition: GNEViewNetHelper.h:236
GUIGlID
unsigned int GUIGlID
Definition: GUIGlObject.h:42
GNEViewNetHelper::ObjectsUnderCursor::myShapes
std::vector< GNEShape * > myShapes
vector with the clicked shape elements (Poly and POIs)
Definition: GNEViewNetHelper.h:221
GNEViewNetHelper::VehicleOptions
struct used to group all variables related with movement of groups of elements
Definition: GNEViewNetHelper.h:598
GNEViewNetHelper::ObjectsUnderCursor::getDemandElementFront
GNEDemandElement * getDemandElementFront() const
get front net element element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:248
GNEViewNetHelper::DemandCheckableButtons::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:840
GNEViewNetHelper::CommonViewOptions::CommonViewOptions
CommonViewOptions(const CommonViewOptions &)=delete
Invalidated copy constructor.
GNEViewNetHelper::SelectingArea
struct used to group all variables related with selecting using a square or polygon
Definition: GNEViewNetHelper.h:633
GNEInternalLane
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
Definition: GNEInternalLane.h:42
GNEViewNetHelper::DemandCheckableButtons
struct used to group all variables related with Demand checkable Buttons
Definition: GNEViewNetHelper.h:797
GNEViewNetHelper::NetworkViewOptions::selectEdges
bool selectEdges() const
check if select edges checkbox is enabled
Definition: GNEViewNetHelper.cpp:1627
GNEViewNetHelper::MoveMultipleElementValues::MoveMultipleElementValues
MoveMultipleElementValues(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:766
GNEViewNetHelper::NetworkCheckableButtons::additionalButton
MFXCheckableButton * additionalButton
chekable button for edit mode additional
Definition: GNEViewNetHelper.h:777
GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge
FXMenuCheck * menuCheckAutoOppositeEdge
menu check to create auto create opposite edge
Definition: GNEViewNetHelper.h:417
GNEVehicle
Definition: GNEVehicle.h:35
GNEViewNetHelper::ObjectsUnderCursor::getCrossingFront
GNECrossing * getCrossingFront() const
get front crossing (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:288
GNEViewNetHelper::EditModes::EditModes
EditModes(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1278
GNEViewNetHelper::SelectingArea::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:676
GNEViewNetHelper::MoveMultipleElementValues::myMovedJunctionOriginPositions
std::map< GNEJunction *, Position > myMovedJunctionOriginPositions
container used for move junctions
Definition: GNEViewNetHelper.h:588
GNEViewNetHelper::VehicleOptions::hideVehicleOptionsMenuChecks
void hideVehicleOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:977
GNEViewNetHelper::NetworkCheckableButtons::TAZButton
MFXCheckableButton * TAZButton
chekable button for edit mode TAZ
Definition: GNEViewNetHelper.h:783
GNEViewNetHelper::KeyPressed::myEventInfo
FXEvent * myEventInfo
information of event
Definition: GNEViewNetHelper.h:277
GNEConnection
Definition: GNEConnection.h:38
GNEViewNetHelper::MoveSingleElementValues::myRelativeClickedPosition
Position myRelativeClickedPosition
relative position of Clicked Position regarding to originalGeometryPointPosition (Used when user does...
Definition: GNEViewNetHelper.h:529
GNEViewNetHelper::VehicleOptions::buildVehicleOptionsMenuChecks
void buildVehicleOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:970
GNEViewNetHelper::ObjectsUnderCursor::myAttributeCarriers
std::vector< GNEAttributeCarrier * > myAttributeCarriers
vector with the clicked attribute carriers
Definition: GNEViewNetHelper.h:212
GNEViewNetHelper::ObjectsUnderCursor::getLaneFront
GNELane * getLaneFront() const
get front lane (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:278
config.h
GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges
FXMenuCheck * menuCheckChainEdges
menu check to the endpoint for a created edge should be set as the new source
Definition: GNEViewNetHelper.h:414
GNEViewNetHelper::DemandViewOptions::DemandViewOptions
DemandViewOptions(const DemandViewOptions &)=delete
Invalidated copy constructor.
GNE_SUPERMODE_NONE
@ GNE_SUPERMODE_NONE
empty super mode
Definition: GNEViewNetHelper.h:44
GNEViewNetHelper::NetworkCheckableButtons::prohibitionButton
MFXCheckableButton * prohibitionButton
checkable button for edit mode polygon
Definition: GNEViewNetHelper.h:789
GNEViewNetHelper
Definition: GNEViewNetHelper.h:145
GNEViewNetHelper::ObjectsUnderCursor::getClickedAttributeCarriers
const std::vector< GNEAttributeCarrier * > & getClickedAttributeCarriers() const
get vector with clicked ACs
Definition: GNEViewNetHelper.cpp:338
GNEViewNetHelper::MoveSingleElementValues::MoveSingleElementValues
MoveSingleElementValues(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:398
GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront
GNEAttributeCarrier * getAttributeCarrierFront() const
get front attribute carrier (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:208
GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases
FXMenuCheck * menuCheckChangeAllPhases
menu check to set change all phases
Definition: GNEViewNetHelper.h:402
GNE_DMODE_MOVE
@ GNE_DMODE_MOVE
mode for moving demand elements
Definition: GNEViewNetHelper.h:92
GNEViewNetHelper::SelectingArea::selectionCorner1
Position selectionCorner1
firstcorner of the rectangle-selection
Definition: GNEViewNetHelper.h:670
GNEUndoList
Definition: GNEUndoList.h:48
GNEViewNetHelper::ObjectsUnderCursor::operator=
ObjectsUnderCursor & operator=(const ObjectsUnderCursor &)=delete
Invalidated assignment operator.
GNEViewNetHelper::EditModes::setDemandEditMode
void setDemandEditMode(DemandEditMode demandMode, bool force=false)
set Demand edit mode
Definition: GNEViewNetHelper.cpp:1395
GNEViewNetHelper::ObjectsUnderCursor::myNetElements
std::vector< GNENetElement * > myNetElements
vector with the clicked net elements
Definition: GNEViewNetHelper.h:215
GNEViewNetHelper::VehicleTypeOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:628
GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes
FXMenuCheck * menuCheckHideShapes
Hide shapes (Polygons and POIs)
Definition: GNEViewNetHelper.h:463
GNEViewNetHelper::NetworkCheckableButtons::buildNetworkCheckableButtons
void buildNetworkCheckableButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:1904
GNEJunction
Definition: GNEJunction.h:47
GNEViewNetHelper::SelectingArea::selectionCorner2
Position selectionCorner2
second corner of the rectangle-selection
Definition: GNEViewNetHelper.h:673
GNEViewNetHelper::CommonCheckableButtons::CommonCheckableButtons
CommonCheckableButtons(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1819
GNEViewNetHelper::DemandCheckableButtons::buildDemandCheckableButtons
void buildDemandCheckableButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:2010
GNEViewNetHelper::DemandViewOptions::showAllPersonPlans
bool showAllPersonPlans() const
check all person plans has to be show
Definition: GNEViewNetHelper.cpp:1789
GNEViewNetHelper::MoveSingleElementValues::myMovingEndPos
bool myMovingEndPos
bool to indicate that end pos of an edge is being moved
Definition: GNEViewNetHelper.h:535
GNEViewNetHelper::EditShapes::editingNetElementShapes
bool editingNetElementShapes
flag to edit net element shapes
Definition: GNEViewNetHelper.h:862
GNEViewNetHelper::EditModes::EditModes
EditModes(const EditModes &)=delete
Invalidated copy constructor.
GNE_NMODE_INSPECT
@ GNE_NMODE_INSPECT
mode for inspecting network elements
Definition: GNEViewNetHelper.h:56
GNEViewNetHelper::EditShapes::stopEditCustomShape
void stopEditCustomShape()
edit edit shape
Definition: GNEViewNetHelper.cpp:2124
GNEViewNetHelper::TestingMode::myTestingHeight
int myTestingHeight
Height of viewNet in testing mode.
Definition: GNEViewNetHelper.h:705
GNEViewNetHelper::MoveMultipleElementValues::myMovedEdgesOriginShape
std::map< GNEEdge *, PositionVector > myMovedEdgesOriginShape
container used for move entire edges
Definition: GNEViewNetHelper.h:591
GNEViewNetHelper::CommonCheckableButtons::deleteButton
MFXCheckableButton * deleteButton
chekable button for edit mode delete
Definition: GNEViewNetHelper.h:733
GNEViewNetHelper::EditModes::networkEditMode
NetworkEditMode networkEditMode
the current Network edit mode
Definition: GNEViewNetHelper.h:308
GNEViewNetHelper::ObjectsUnderCursor::getShapeFront
GNEShape * getShapeFront() const
get front shape element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:238
GNEViewNetHelper::EditModes::networkButton
MFXCheckableButton * networkButton
chekable button for supermode Network
Definition: GNEViewNetHelper.h:314
PositionVector.h
GNELane
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
Definition: GNELane.h:45
GNE_DMODE_DELETE
@ GNE_DMODE_DELETE
mode for deleting demand elements
Definition: GNEViewNetHelper.h:88
GNEViewNetHelper::ObjectsUnderCursor::myConnections
std::vector< GNEConnection * > myConnections
vector with the clicked connections
Definition: GNEViewNetHelper.h:239
GNE_NMODE_MOVE
@ GNE_NMODE_MOVE
mode for moving network elements
Definition: GNEViewNetHelper.h:62
GNE_DMODE_STOP
@ GNE_DMODE_STOP
Mode for editing stops.
Definition: GNEViewNetHelper.h:100
GNEAttributeCarrier
Definition: GNEAttributeCarrier.h:54
GNEViewNetHelper::ObjectsUnderCursor::sortGUIGlObjectsByAltitude
void sortGUIGlObjectsByAltitude(const std::vector< GUIGlObject * > &GUIGlObjects)
invert GUIGlObjects
Definition: GNEViewNetHelper.cpp:344
GNE_NMODE_NONE
@ GNE_NMODE_NONE
empty Network mode
Definition: GNEViewNetHelper.h:54
GNEViewNetHelper::ObjectsUnderCursor::getAdditionalFront
GNEAdditional * getAdditionalFront() const
get front additional element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:228
GNEViewNetHelper::CommonViewOptions::buildCommonViewOptionsMenuChecks
void buildCommonViewOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:1439
GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson
FXMenuCheck * menuCheckLockPerson
Lock Person.
Definition: GNEViewNetHelper.h:472
GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation
FXMenuCheck * menuCheckMoveElevation
menu check to apply movement to elevation
Definition: GNEViewNetHelper.h:411
GNEViewNetHelper::VehicleTypeOptions::hideVehicleTypeOptionsMenuChecks
void hideVehicleTypeOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:998
GNEViewNetHelper::ObjectsUnderCursor::swapLane2Edge
void swapLane2Edge()
swap lane to edge
Definition: GNEViewNetHelper.cpp:171
MFXCheckableButton.h
GNEViewNetHelper::SelectingArea::finishRectangleSelection
void finishRectangleSelection()
finish rectangle selection
Definition: GNEViewNetHelper.cpp:1037
GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementDemandMode
bool beginMoveSingleElementDemandMode()
begin move single element in Demand mode
Definition: GNEViewNetHelper.cpp:460
GNEViewNetHelper::MoveSingleElementValues::myMovingStartPos
bool myMovingStartPos
bool to indicate that startPos of an edge is being moved
Definition: GNEViewNetHelper.h:532
GNEViewNetHelper::DemandViewOptions::myLockedPerson
const GNEDemandElement * myLockedPerson
pointer to locked person
Definition: GNEViewNetHelper.h:479
GNEViewNetHelper::VehicleTypeOptions::buildVehicleTypeOptionsMenuChecks
void buildVehicleTypeOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:991
GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges
FXMenuCheck * menuCheckSelectEdges
menu check to select only edges
Definition: GNEViewNetHelper.h:390
GNEViewNetHelper::ObjectsUnderCursor::getNetElementFront
GNENetElement * getNetElementFront() const
get front net element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:218