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 /****************************************************************************/
15 // A file used to reduce the size of GNEViewNet.h grouping structs and classes
16 /****************************************************************************/
17 #ifndef GNEViewNetHelper_h
18 #define GNEViewNetHelper_h
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
28 #include <utils/geom/Position.h>
36 
37 
38 // ===========================================================================
39 // enum
40 // ===========================================================================
41 
43 enum Supermode {
50 };
51 
80 };
81 
108 };
109 
110 // ===========================================================================
111 // class declarations
112 // ===========================================================================
113 
114 // main elements
115 class GNEViewParent;
116 class GNEViewNet;
117 class GNEUndoList;
118 class GNEFrame;
119 class GNEAttributeCarrier;
120 // net elements
121 class GNENet;
122 class GNENetElement;
123 class GNEJunction;
124 class GNEEdge;
125 class GNELane;
126 class GNEConnection;
127 class GNECrossing;
128 class GNEInternalLane;
129 // additional elements
130 class GNEAdditional;
131 class GNEShape;
132 class GNEPoly;
133 class GNEPOI;
134 class GNETAZ;
135 // demand elements
136 class GNEDemandElement;
137 class GNEVehicleType;
138 class GNEFlow;
139 class GNEVehicle;
140 class GNEtrip;
141 
142 // ===========================================================================
143 // classes and structs definitions
144 // ===========================================================================
145 
147 
150  public:
153 
155  void updateObjectUnderCursor(const std::vector<GUIGlObject*>& GUIGlObjects, GNEPoly* editedPolyShape);
156 
158  void swapLane2Edge();
159 
161  void setCreatedJunction(GNEJunction* junction);
162 
164  GUIGlID getGlIDFront() const;
165 
168 
171 
174 
177 
179  GNEShape* getShapeFront() const;
180 
183 
185  GNEJunction* getJunctionFront() const;
186 
188  GNEEdge* getEdgeFront() const;
189 
191  GNELane* getLaneFront() const;
192 
194  GNECrossing* getCrossingFront() const;
195 
198 
200  GNETAZ* getTAZFront() const;
201 
203  GNEPOI* getPOIFront() const;
204 
206  GNEPoly* getPolyFront() const;
207 
209  const std::vector<GNEAttributeCarrier*>& getClickedAttributeCarriers() const;
210 
211  private:
213  std::vector<GUIGlObject*> myGUIGlObjects;
214 
216  std::vector<GNEAttributeCarrier*> myAttributeCarriers;
217 
219  std::vector<GNENetElement*> myNetElements;
220 
222  std::vector<GNEAdditional*> myAdditionals;
223 
225  std::vector<GNEShape*> myShapes;
226 
228  std::vector<GNEDemandElement*> myDemandElements;
229 
231  std::vector<GNEJunction*> myJunctions;
232 
234  std::vector<GNEEdge*> myEdges;
235 
237  std::vector<GNELane*> myLanes;
238 
240  std::vector<GNECrossing*> myCrossings;
241 
243  std::vector<GNEConnection*> myConnections;
244 
246  std::vector<GNETAZ*> myTAZs;
247 
249  std::vector<GNEPOI*> myPOIs;
250 
252  std::vector<GNEPoly*> myPolys;
253 
255  void sortGUIGlObjectsByAltitude(const std::vector<GUIGlObject*>& GUIGlObjects);
256 
258  ObjectsUnderCursor(const ObjectsUnderCursor&) = delete;
259 
262  };
263 
265  struct KeyPressed {
266 
268  KeyPressed();
269 
271  void update(void* eventData);
272 
274  bool shiftKeyPressed() const;
275 
277  bool controlKeyPressed() const;
278 
279  private:
281  FXEvent* myEventInfo;
282 
284  KeyPressed(const KeyPressed&) = delete;
285 
287  KeyPressed& operator=(const KeyPressed&) = delete;
288  };
289 
291  struct EditModes {
292 
294  EditModes(GNEViewNet* viewNet);
295 
297  void buildSuperModeButtons();
298 
300  void setSupermode(Supermode supermode);
301 
303  void setNetworkEditMode(NetworkEditMode networkMode, bool force = false);
304 
306  void setDemandEditMode(DemandEditMode demandMode, bool force = false);
307 
310 
313 
316 
319 
322 
323  private:
326 
328  EditModes(const EditModes&) = delete;
329 
331  EditModes& operator=(const EditModes&) = delete;
332  };
333 
336 
338  CommonViewOptions(GNEViewNet* viewNet);
339 
342 
345 
347  void getVisibleCommonMenuCommands(std::vector<FXMenuCheck*>& commands) const;
348 
350  FXMenuCheck* menuCheckShowGrid;
351 
352  private:
355 
357  CommonViewOptions(const CommonViewOptions&) = delete;
358 
361  };
362 
365 
367  NetworkViewOptions(GNEViewNet* viewNet);
368 
371 
374 
376  void getVisibleNetworkMenuCommands(std::vector<FXMenuCheck*>& commands) const;
377 
379  bool showDemandElements() const;
380 
382  bool selectEdges() const;
383 
385  bool showConnections() const;
386 
388  bool editingElevation() const;
389 
392 
394  FXMenuCheck* menuCheckSelectEdges;
395 
398 
401 
404 
407 
410 
413 
416 
418  FXMenuCheck* menuCheckChainEdges;
419 
422  private:
425 
427  NetworkViewOptions(const NetworkViewOptions&) = delete;
428 
431  };
432 
435 
437  DemandViewOptions(GNEViewNet* viewNet);
438 
441 
444 
446  void getVisibleDemandMenuCommands(std::vector<FXMenuCheck*>& commands) const;
447 
449  bool showNonInspectedDemandElements(const GNEDemandElement* demandElement) const;
450 
452  bool showShapes() const;
453 
455  bool showAllPersonPlans() const;
456 
458  void lockPerson(const GNEDemandElement* person);
459 
461  void unlockPerson();
462 
464  const GNEDemandElement* getLockedPerson() const;
465 
467  FXMenuCheck* menuCheckHideShapes;
468 
471 
474 
476  FXMenuCheck* menuCheckLockPerson;
477 
478  private:
481 
484 
486  DemandViewOptions(const DemandViewOptions&) = delete;
487 
490  };
491 
494 
497 
500 
503 
505  void moveSingleElement();
506 
509 
512 
515 
518 
519  private:
521  bool calculatePolyValues();
522 
524  bool calculateEdgeValues();
525 
527  bool calculateTAZValues();
528 
531 
534 
537 
540 
543 
546 
549 
552 
555 
558 
561  };
562 
565 
568 
570  void beginMoveSelection(GNEAttributeCarrier* originAC);
571 
573  void moveSelection();
574 
576  void finishMoveSelection();
577 
579  bool isMovingSelection() const;
580 
581  private:
584 
587 
590 
592  std::map<GNEJunction*, Position> myMovedJunctionOriginPositions;
593 
595  std::map<GNEEdge*, PositionVector> myMovedEdgesOriginShape;
596 
598  std::map<GNEEdge*, MoveSingleElementValues*> myMovedEgdesGeometryPoints;
599  };
600 
602  struct VehicleOptions {
603 
605  VehicleOptions(GNEViewNet* viewNet);
606 
609 
612 
613  private:
616  };
617 
620 
622  VehicleTypeOptions(GNEViewNet* viewNet);
623 
626 
629 
630  private:
633  };
634 
637  struct SelectingArea {
638 
640  SelectingArea(GNEViewNet* viewNet);
641 
644 
646  void moveRectangleSelection();
647 
650 
653 
655  std::vector<GNEEdge*> processEdgeRectangleSelection();
656 
658  void processShapeSelection(const PositionVector& shape);
659 
661  void drawRectangleSelection(const RGBColor& color) const;
662 
665 
668 
669  private:
671  void processBoundarySelection(const Boundary& boundary);
672 
675 
678 
681  };
682 
684  struct TestingMode {
685 
687  TestingMode(GNEViewNet* viewNet);
688 
690  void initTestingMode();
691 
693  void drawTestingElements(GUIMainWindow* mainWindow);
694 
695  private:
698 
701 
704 
707  };
708 
711 
714 
717 
720 
723 
726 
729 
732 
735 
738 
741 
742  private:
745  };
746 
749 
752 
755 
758 
761 
764 
767 
770 
773 
776 
779 
782 
785 
788 
791 
792  private:
795  };
796 
799 
802 
805 
808 
811 
814 
817 
820 
823 
826 
829 
832 
835 
838 
839  private:
842  };
843 
845  struct EditShapes {
846 
848  EditShapes(GNEViewNet* viewNet);
849 
851  void startEditCustomShape(GNENetElement* element, const PositionVector& shape, bool fill);
852 
854  void stopEditCustomShape();
855 
857  void saveEditedShape();
858 
861 
864 
865  private:
868 
871  };
872 };
873 
874 #endif
875 
876 /****************************************************************************/
GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons
void updateCommonCheckableButtons()
update Common checkable buttons
Definition: GNEViewNetHelper.cpp:1878
GNEViewNetHelper::EditModes::demandButton
MFXCheckableButton * demandButton
chekable button for supermode Demand
Definition: GNEViewNetHelper.h:321
GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection
bool isMovingSelection() const
check if currently there is element being moved
Definition: GNEViewNetHelper.cpp:959
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:339
GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid
FXMenuCheck * menuCheckShowGrid
menu check to show grid button
Definition: GNEViewNetHelper.h:350
GNEDemandElement
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEDemandElement.h:54
GUIGlObjectTypes.h
GNEViewNetHelper::DemandCheckableButtons::disableDemandCheckableButtons
void disableDemandCheckableButtons()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:2068
GNEViewNetHelper::EditShapes::EditShapes
EditShapes(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:2094
GNE_DMODE_VEHICLETYPES
Mode for editing vehicle types.
Definition: GNEViewNetHelper.h:99
GNEViewNetHelper::ObjectsUnderCursor::myLanes
std::vector< GNELane * > myLanes
vector with the clicked lanes
Definition: GNEViewNetHelper.h:237
GNEAdditional
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEAdditional.h:47
GUIPropertyScheme.h
GNEViewNetHelper::KeyPressed::KeyPressed
KeyPressed()
constructor
Definition: GNEViewNetHelper.cpp:375
GNEViewNetHelper::MoveMultipleElementValues::myMovedEgdesGeometryPoints
std::map< GNEEdge *, MoveSingleElementValues * > myMovedEgdesGeometryPoints
container used for move GeometryPoints of edges
Definition: GNEViewNetHelper.h:598
GNEViewNetHelper::KeyPressed::shiftKeyPressed
bool shiftKeyPressed() const
check if SHIFT key was pressed during click
Definition: GNEViewNetHelper.cpp:387
DemandEditMode
DemandEditMode
@brie enum for demand edit modes
Definition: GNEViewNetHelper.h:83
GNEViewNetHelper::MoveMultipleElementValues::moveSelection
void moveSelection()
move selection
Definition: GNEViewNetHelper.cpp:899
GNEViewNetHelper::CommonViewOptions::CommonViewOptions
CommonViewOptions(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1431
GNE_DMODE_PERSONPLAN
Mode for editing person plan.
Definition: GNEViewNetHelper.h:107
GNEViewNetHelper::ObjectsUnderCursor::myDemandElements
std::vector< GNEDemandElement * > myDemandElements
vector with the clicked demand elements
Definition: GNEViewNetHelper.h:228
GNEViewNetHelper::MoveSingleElementValues::calculateTAZValues
bool calculateTAZValues()
calculate TAZ movement values (Position, Index, etc.)
Definition: GNEViewNetHelper.cpp:725
GNEViewNetHelper::SelectingArea::processShapeSelection
void processShapeSelection(const PositionVector &shape)
process shape selection
Definition: GNEViewNetHelper.cpp:1092
GNEViewNetHelper::MoveSingleElementValues::myPOIToMove
GNEPOI * myPOIToMove
the poi which position is being moved
Definition: GNEViewNetHelper.h:551
GNEViewNetHelper::ObjectsUnderCursor::myJunctions
std::vector< GNEJunction * > myJunctions
vector with the clicked junctions
Definition: GNEViewNetHelper.h:231
GNEViewNetHelper::ObjectsUnderCursor::myPolys
std::vector< GNEPoly * > myPolys
vector with the clicked Polys
Definition: GNEViewNetHelper.h:252
GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans
FXMenuCheck * menuCheckShowAllPersonPlans
show all person plans
Definition: GNEViewNetHelper.h:473
GNEViewNetHelper::ObjectsUnderCursor::getPOIFront
GNEPOI * getPOIFront() const
get front POI (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:329
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:772
GNEViewNetHelper::MoveMultipleElementValues
struct used to group all variables related with movement of groups of elements
Definition: GNEViewNetHelper.h:564
GNEViewNetHelper::NetworkCheckableButtons::createEdgeButton
MFXCheckableButton * createEdgeButton
chekable button for edit mode create edge
Definition: GNEViewNetHelper.h:769
GNEViewNetHelper::MoveSingleElementValues::myDemandElementToMove
GNEDemandElement * myDemandElementToMove
the demand element which position is being moved
Definition: GNEViewNetHelper.h:557
GNEViewNetHelper::DemandViewOptions::lockPerson
void lockPerson(const GNEDemandElement *person)
lock person
Definition: GNEViewNetHelper.cpp:1798
GNEViewNetHelper::DemandViewOptions::getLockedPerson
const GNEDemandElement * getLockedPerson() const
get locked person
Definition: GNEViewNetHelper.cpp:1810
GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements
FXMenuCheck * menuCheckShowDemandElements
menu check to show Demand Elements
Definition: GNEViewNetHelper.h:391
GNEViewNetHelper::TestingMode::myTestingEnabled
bool myTestingEnabled
flag to enable or disable testing mode
Definition: GNEViewNetHelper.h:700
GNEViewNetHelper::MoveSingleElementValues::myPolyToMove
GNEPoly * myPolyToMove
the poly of which geometry is being moved
Definition: GNEViewNetHelper.h:548
GNEViewNetHelper::ObjectsUnderCursor::myEdges
std::vector< GNEEdge * > myEdges
vector with the clicked edges
Definition: GNEViewNetHelper.h:234
GNEPOI
Definition: GNEPOI.h:45
GNEViewNetHelper::KeyPressed
class used to group all variables related with key pressed after certain events
Definition: GNEViewNetHelper.h:265
GNENet
A NBNetBuilder extended by visualisation and editing capabilities.
Definition: GNENet.h:78
GNEViewNetHelper::DemandCheckableButtons::DemandCheckableButtons
DemandCheckableButtons(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1996
GNE_DMODE_ROUTE
Mode for editing routes.
Definition: GNEViewNetHelper.h:95
GNEViewNetHelper::CommonCheckableButtons::hideCommonCheckableButtons
void hideCommonCheckableButtons()
hide all Common Checkable Buttons
Definition: GNEViewNetHelper.cpp:1860
GNEViewNetHelper::KeyPressed::controlKeyPressed
bool controlKeyPressed() const
check if CONTROL key was pressed during click
Definition: GNEViewNetHelper.cpp:397
GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks
void hideDemandViewOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1711
GNEViewNetHelper::DemandViewOptions::getVisibleDemandMenuCommands
void getVisibleDemandMenuCommands(std::vector< FXMenuCheck * > &commands) const
get visible demand menu commands
Definition: GNEViewNetHelper.cpp:1722
GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons
void disableCommonCheckableButtons()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1869
GNEViewNetHelper::EditShapes::editedShapePoly
GNEPoly * editedShapePoly
polygon used for edit shapes
Definition: GNEViewNetHelper.h:860
GNEViewNetHelper::DemandViewOptions
struct used to group all variables related to view options in supermode Demand
Definition: GNEViewNetHelper.h:434
GNEViewNetHelper::NetworkCheckableButtons::trafficLightButton
MFXCheckableButton * trafficLightButton
chekable button for edit mode traffic light
Definition: GNEViewNetHelper.h:775
GNEPoly
Definition: GNEPoly.h:46
GNEViewNetHelper::DemandCheckableButtons::vehicleTypeButton
MFXCheckableButton * vehicleTypeButton
chekable button for edit mode create vehicle type
Definition: GNEViewNetHelper.h:825
GNEViewNetHelper::DemandCheckableButtons::routeButton
MFXCheckableButton * routeButton
chekable button for edit mode create routes
Definition: GNEViewNetHelper.h:819
GNEViewNetHelper::MoveMultipleElementValues::myClickedPosition
Position myClickedPosition
original clicked position when moveSelection is called (used for calculate offset during moveSelectio...
Definition: GNEViewNetHelper.h:586
GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor
void updateObjectUnderCursor(const std::vector< GUIGlObject * > &GUIGlObjects, GNEPoly *editedPolyShape)
update objects under cursor (Called only in onLeftBtnPress(...) function)
Definition: GNEViewNetHelper.cpp:59
GNE_DMODE_NONE
empty Demand mode
Definition: GNEViewNetHelper.h:85
GNEViewNetHelper::ObjectsUnderCursor::myAdditionals
std::vector< GNEAdditional * > myAdditionals
vector with the clicked additional elements
Definition: GNEViewNetHelper.h:222
GNE_DMODE_INSPECT
mode for inspecting demand elements
Definition: GNEViewNetHelper.h:87
GNEViewNetHelper::EditModes::setNetworkEditMode
void setNetworkEditMode(NetworkEditMode networkMode, bool force=false)
set Network edit mode
Definition: GNEViewNetHelper.cpp:1348
GNEViewNetHelper::EditModes::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:325
GNEViewNetHelper::CommonCheckableButtons
struct used to group all variables related with common chekable Buttons
Definition: GNEViewNetHelper.h:710
GNEFrame
Definition: GNEFrame.h:35
GNEViewNetHelper::TestingMode::TestingMode
TestingMode(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1211
GNEViewNetHelper::DemandCheckableButtons::personTypeButton
MFXCheckableButton * personTypeButton
chekable button for edit mode create person type
Definition: GNEViewNetHelper.h:831
GNEViewNetHelper::DemandCheckableButtons::personButton
MFXCheckableButton * personButton
chekable button for edit mode create persons
Definition: GNEViewNetHelper.h:834
GNEViewNetHelper::ObjectsUnderCursor::getTAZFront
GNETAZ * getTAZFront() const
get front TAZ (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:319
GNEViewNetHelper::ObjectsUnderCursor::myGUIGlObjects
std::vector< GUIGlObject * > myGUIGlObjects
vector with the clicked GUIGlObjects
Definition: GNEViewNetHelper.h:213
GNE_DMODE_PERSONTYPES
Mode for editing person types.
Definition: GNEViewNetHelper.h:103
GNEViewNetHelper::CommonViewOptions::hideCommonViewOptionsMenuChecks
void hideCommonViewOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1451
GNEViewNetHelper::NetworkViewOptions::showDemandElements
bool showDemandElements() const
check if show demand elements checkbox is enabled
Definition: GNEViewNetHelper.cpp:1615
GNEViewNetHelper::CommonCheckableButtons::moveButton
MFXCheckableButton * moveButton
chekable button for edit mode move
Definition: GNEViewNetHelper.h:740
GNEViewNetHelper::MoveSingleElementValues::calculateEdgeValues
bool calculateEdgeValues()
calculate Edge movement values (Position, Index, etc.)
Definition: GNEViewNetHelper.cpp:654
GNEViewNet
Definition: GNEViewNet.h:43
GNEViewNetHelper::ObjectsUnderCursor::getEdgeFront
GNEEdge * getEdgeFront() const
get front edge (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:279
GNEViewNetHelper::EditShapes::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:870
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:560
GNEViewNetHelper::DemandCheckableButtons::hideDemandCheckableButtons
void hideDemandCheckableButtons()
hide all Demand Checkable Buttons
Definition: GNEViewNetHelper.cpp:2056
GUIVisualizationSettings.h
GNEViewNetHelper::NetworkCheckableButtons::updateNetworkCheckableButtons
void updateNetworkCheckableButtons()
update network checkable buttons
Definition: GNEViewNetHelper.cpp:1981
GNEViewNetHelper::ObjectsUnderCursor::getGlIDFront
GUIGlID getGlIDFront() const
get front GUI GL ID (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:199
GNEViewNetHelper::VehicleOptions::VehicleOptions
VehicleOptions(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:967
GNE_NMODE_CREATE_EDGE
mode for creating new edges
Definition: GNEViewNetHelper.h:65
GNEViewNetHelper::TestingMode::drawTestingElements
void drawTestingElements(GUIMainWindow *mainWindow)
draw testing element
Definition: GNEViewNetHelper.cpp:1236
GNEViewNetHelper::EditModes::demandEditMode
DemandEditMode demandEditMode
the current Demand edit mode
Definition: GNEViewNetHelper.h:315
GNEViewNetHelper::ObjectsUnderCursor::setCreatedJunction
void setCreatedJunction(GNEJunction *junction)
set created junction
Definition: GNEViewNetHelper.cpp:189
GNE_NMODE_TLS
mode for editing tls
Definition: GNEViewNetHelper.h:69
GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble
FXMenuCheck * menuCheckShowJunctionBubble
menu check to show connection as buuble in "Move" mode.
Definition: GNEViewNetHelper.h:412
GNEViewNetHelper::KeyPressed::operator=
KeyPressed & operator=(const KeyPressed &)=delete
Invalidated assignment operator.
PositionVector
A list of positions.
Definition: PositionVector.h:46
GNEViewNetHelper::SelectingArea::selectingUsingRectangle
bool selectingUsingRectangle
whether we have started rectangle-selection
Definition: GNEViewNetHelper.h:664
GNEViewNetHelper::MoveSingleElementValues::myAdditionalToMove
GNEAdditional * myAdditionalToMove
the additional element which position is being moved
Definition: GNEViewNetHelper.h:554
GNEViewNetHelper::EditShapes::myPreviousNetworkEditMode
NetworkEditMode myPreviousNetworkEditMode
the previous edit mode before edit NetElement's shapes
Definition: GNEViewNetHelper.h:867
GNEViewNetHelper::NetworkCheckableButtons::shapeButton
MFXCheckableButton * shapeButton
chekable button for edit mode shape
Definition: GNEViewNetHelper.h:787
GNEViewNetHelper::CommonViewOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:354
GNE_NMODE_POLYGON
Mode for editing Polygons.
Definition: GNEViewNetHelper.h:77
GNEViewNetHelper::DemandCheckableButtons::showDemandCheckableButtons
void showDemandCheckableButtons()
show all Demand Checkable Buttons
Definition: GNEViewNetHelper.cpp:2044
GNEViewParent
A single child window which contains a view of the simulation area.
Definition: GNEViewParent.h:72
GNEViewNetHelper::SelectingArea::moveRectangleSelection
void moveRectangleSelection()
move rectangle selection
Definition: GNEViewNetHelper.cpp:1025
GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection
FXMenuCheck * menuCheckExtendSelection
menu check to extend to edge nodes
Definition: GNEViewNetHelper.h:403
GNEViewNetHelper::NetworkCheckableButtons::hideNetworkCheckableButtons
void hideNetworkCheckableButtons()
hide all Network Checkable Buttons
Definition: GNEViewNetHelper.cpp:1955
GNEViewNetHelper::DemandViewOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:480
GNE_NMODE_DELETE
mode for deleting network elements
Definition: GNEViewNetHelper.h:59
GNEViewNetHelper::DemandViewOptions::DemandViewOptions
DemandViewOptions(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1664
GUIGlObjectType
GUIGlObjectType
Definition: GUIGlObjectTypes.h:40
GNEViewNetHelper::MoveSingleElementValues::originalShapeBeforeMoving
PositionVector originalShapeBeforeMoving
original shape of element before start moving (used by polygons, edges, etc., needed for commmit posi...
Definition: GNEViewNetHelper.h:511
GNEViewNetHelper::TestingMode
struct used to group all variables related with testing
Definition: GNEViewNetHelper.h:684
GNEViewNetHelper::MoveSingleElementValues::movingIndexShape
int movingIndexShape
index moved
Definition: GNEViewNetHelper.h:514
GNEEdge
A road/street connecting two junctions (netedit-version)
Definition: GNEEdge.h:50
GUISUMOAbstractView.h
GNEViewNetHelper::MoveMultipleElementValues::myMovingSelection
bool myMovingSelection
flag to check if a selection is being moved
Definition: GNEViewNetHelper.h:589
GNEViewNetHelper::DemandViewOptions::unlockPerson
void unlockPerson()
unlock person
Definition: GNEViewNetHelper.cpp:1804
RGBColor
Definition: RGBColor.h:40
GNEViewNetHelper::CommonCheckableButtons::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:744
GNE_NMODE_ADDITIONAL
Mode for editing additionals.
Definition: GNEViewNetHelper.h:71
GNEViewNetHelper::DemandViewOptions::buildDemandViewOptionsMenuChecks
void buildDemandViewOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:1675
GNEViewNetHelper::MoveSingleElementValues::myJunctionToMove
GNEJunction * myJunctionToMove
the Junction to be moved.
Definition: GNEViewNetHelper.h:542
GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections
FXMenuCheck * menuCheckShowConnections
menu check to show connections
Definition: GNEViewNetHelper.h:397
GNE_DMODE_SELECT
mode for selecting demand elements
Definition: GNEViewNetHelper.h:91
GNEViewNetHelper::NetworkCheckableButtons::disableNetworkCheckableButtons
void disableNetworkCheckableButtons()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1968
GNECrossing
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
Definition: GNECrossing.h:45
GNE_NMODE_TAZ
Mode for editing TAZ.
Definition: GNEViewNetHelper.h:75
GNEViewNetHelper::ObjectsUnderCursor::myPOIs
std::vector< GNEPOI * > myPOIs
vector with the clicked POIs
Definition: GNEViewNetHelper.h:249
GNEViewNetHelper::EditModes::setSupermode
void setSupermode(Supermode supermode)
set Network edit mode
Definition: GNEViewNetHelper.cpp:1304
GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement
void finishMoveSingleElement()
finish moving single elements in Network AND Demand mode
Definition: GNEViewNetHelper.cpp:552
GNEViewNetHelper::SelectingArea::drawRectangleSelection
void drawRectangleSelection(const RGBColor &color) const
draw rectangle selection
Definition: GNEViewNetHelper.cpp:1098
GNEViewNetHelper::SelectingArea::beginRectangleSelection
void beginRectangleSelection()
begin rectangle selection
Definition: GNEViewNetHelper.cpp:1017
GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements
FXMenuCheck * menuCheckHideNonInspectedDemandElements
Hide non inspected demand elements.
Definition: GNEViewNetHelper.h:470
GNEShape
Definition: GNEShape.h:35
GNEViewNetHelper::CommonCheckableButtons::showCommonCheckableButtons
void showCommonCheckableButtons()
show all Common Checkable Buttons
Definition: GNEViewNetHelper.cpp:1851
GNEViewNetHelper::SelectingArea::processBoundarySelection
void processBoundarySelection(const Boundary &boundary)
Process boundary Selection.
Definition: GNEViewNetHelper.cpp:1117
GNE_DMODE_PERSON
Mode for editing person.
Definition: GNEViewNetHelper.h:105
GNEViewNetHelper::EditModes::buildSuperModeButtons
void buildSuperModeButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:1286
GNEViewNetHelper::NetworkCheckableButtons::crossingButton
MFXCheckableButton * crossingButton
chekable button for edit mode crossing
Definition: GNEViewNetHelper.h:781
GNEViewNetHelper::VehicleOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:615
GNEViewNetHelper::EditModes
struct used to group all variables related with Supermodes
Definition: GNEViewNetHelper.h:291
GNEVehicleType
Definition: GNEVehicleType.h:37
GNEViewNetHelper::ObjectsUnderCursor
class used to group all variables related with objects under cursor after a click over view
Definition: GNEViewNetHelper.h:149
GNEViewNetHelper::CommonCheckableButtons::buildCommonCheckableButtons
void buildCommonCheckableButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:1828
GNEViewNetHelper::NetworkCheckableButtons::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:794
GNEViewNetHelper::NetworkViewOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:424
GNEViewNetHelper::MoveSingleElementValues::originalPositionInView
Position originalPositionInView
original position of geometry position (needed for commmit position changes)
Definition: GNEViewNetHelper.h:517
GNEViewNetHelper::SelectingArea::SelectingArea
SelectingArea(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1009
GNEViewNetHelper::MoveSingleElementValues
struct used to group all variables related with movement of single elements
Definition: GNEViewNetHelper.h:493
GNEViewNetHelper::CommonViewOptions
struct used to group all variables related to view options in all supermodes
Definition: GNEViewNetHelper.h:335
GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection
void beginMoveSelection(GNEAttributeCarrier *originAC)
begin move selection
Definition: GNEViewNetHelper.cpp:776
GNEViewNetHelper::SelectingArea::processRectangleSelection
void processRectangleSelection()
process rectangle Selection
Definition: GNEViewNetHelper.cpp:1048
GNEViewNetHelper::ObjectsUnderCursor::myTAZs
std::vector< GNETAZ * > myTAZs
vector with the clicked TAZ elements (needed because uses a shape instead a position)
Definition: GNEViewNetHelper.h:246
GNEViewNetHelper::NetworkCheckableButtons::showNetworkCheckableButtons
void showNetworkCheckableButtons()
show all Network Checkable Buttons
Definition: GNEViewNetHelper.cpp:1942
SUMOVehicleClass.h
Boundary
A class that stores a 2D geometrical boundary.
Definition: Boundary.h:42
GNEViewNetHelper::DemandCheckableButtons::vehicleButton
MFXCheckableButton * vehicleButton
chekable button for edit mode create vehicles
Definition: GNEViewNetHelper.h:822
GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementNetworkMode
bool beginMoveSingleElementNetworkMode()
begin move single element in Network mode
Definition: GNEViewNetHelper.cpp:425
GNEViewNetHelper::CommonCheckableButtons::inspectButton
MFXCheckableButton * inspectButton
chekable button for edit mode inspect
Definition: GNEViewNetHelper.h:731
GNEViewNetHelper::MoveSingleElementValues::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:530
GNE_NMODE_SELECT
mode for selecting network elements
Definition: GNEViewNetHelper.h:61
GNE_SUPERMODE_NETWORK
Network mode (Edges, junctions, etc..)
Definition: GNEViewNetHelper.h:47
GNEViewNetHelper::EditModes::currentSupermode
Supermode currentSupermode
the current supermode
Definition: GNEViewNetHelper.h:309
GNEViewNetHelper::CommonCheckableButtons::selectButton
MFXCheckableButton * selectButton
chekable button for edit mode select
Definition: GNEViewNetHelper.h:737
GNEViewNetHelper::SelectingArea::startDrawing
bool startDrawing
whether we have started rectangle-selection
Definition: GNEViewNetHelper.h:667
GNEViewNetHelper::MoveMultipleElementValues::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:583
Position
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:39
GNE_NMODE_CONNECT
mode for connecting lanes
Definition: GNEViewNetHelper.h:67
GNEViewNetHelper::CommonViewOptions::getVisibleCommonMenuCommands
void getVisibleCommonMenuCommands(std::vector< FXMenuCheck * > &commands) const
get visible common menu commands
Definition: GNEViewNetHelper.cpp:1457
GNETAZ
Definition: GNETAZ.h:35
GNEViewNetHelper::NetworkViewOptions::getVisibleNetworkMenuCommands
void getVisibleNetworkMenuCommands(std::vector< FXMenuCheck * > &commands) const
get visible network menu commands
Definition: GNEViewNetHelper.cpp:1576
GNEViewNetHelper::MoveMultipleElementValues::finishMoveSelection
void finishMoveSelection()
finish moving selection
Definition: GNEViewNetHelper.cpp:928
GNEViewNetHelper::NetworkViewOptions::editingElevation
bool editingElevation() const
check if we're editing elevation
Definition: GNEViewNetHelper.cpp:1652
GNENetElement
Definition: GNENetElement.h:42
GNEViewNetHelper::ObjectsUnderCursor::getConnectionFront
GNEConnection * getConnectionFront() const
get front connection (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:309
Supermode
Supermode
@brie enum for supermodes
Definition: GNEViewNetHelper.h:43
GNEViewNetHelper::TestingMode::initTestingMode
void initTestingMode()
init testing mode
Definition: GNEViewNetHelper.cpp:1220
GNEViewNetHelper::NetworkViewOptions::showConnections
bool showConnections() const
check if select show connections checkbox is enabled
Definition: GNEViewNetHelper.cpp:1637
GNEViewNetHelper::VehicleTypeOptions
struct used to group all variables related with movement of groups of elements
Definition: GNEViewNetHelper.h:619
GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge
FXMenuCheck * menuCheckWarnAboutMerge
menu check to we should warn about merging junctions
Definition: GNEViewNetHelper.h:409
GNEViewNetHelper::DemandViewOptions::showShapes
bool showShapes() const
check if shapes has to be hide
Definition: GNEViewNetHelper.cpp:1778
GNEViewNetHelper::NetworkCheckableButtons::NetworkCheckableButtons
NetworkCheckableButtons(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1889
GNEViewNetHelper::NetworkViewOptions::buildNetworkViewOptionsMenuChecks
void buildNetworkViewOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:1474
GNEViewNetHelper::DemandCheckableButtons::updateDemandCheckableButtons
void updateDemandCheckableButtons()
update Demand checkable buttons
Definition: GNEViewNetHelper.cpp:2080
GNEViewNetHelper::MoveSingleElementValues::myEdgeToMove
GNEEdge * myEdgeToMove
the edge of which geometry is being moved
Definition: GNEViewNetHelper.h:545
NetworkEditMode
NetworkEditMode
@brie enum for network edit modes
Definition: GNEViewNetHelper.h:53
GNEViewNetHelper::EditShapes::startEditCustomShape
void startEditCustomShape(GNENetElement *element, const PositionVector &shape, bool fill)
start edit custom shape
Definition: GNEViewNetHelper.cpp:2102
GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks
void hideNetworkViewOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1558
GNEViewNetHelper::ObjectsUnderCursor::getJunctionFront
GNEJunction * getJunctionFront() const
get front junction (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:269
GNEViewNetHelper::EditShapes
struct used to group all variables related with edit shapes of NetElements
Definition: GNEViewNetHelper.h:845
GNEViewNetHelper::KeyPressed::update
void update(void *eventData)
update status of KeyPressed
Definition: GNEViewNetHelper.cpp:381
GNEViewNetHelper::TestingMode::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:697
GNEViewNetHelper::ObjectsUnderCursor::ObjectsUnderCursor
ObjectsUnderCursor()
constructor
Definition: GNEViewNetHelper.cpp:55
GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront
GUIGlObjectType getGlTypeFront() const
get front GUI GL object type (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:209
GNE_DMODE_VEHICLE
Mode for editing vehicles.
Definition: GNEViewNetHelper.h:97
GNEViewNetHelper::DemandCheckableButtons::stopButton
MFXCheckableButton * stopButton
chekable button for edit mode create stops
Definition: GNEViewNetHelper.h:828
GNEViewNetHelper::EditShapes::saveEditedShape
void saveEditedShape()
save edited shape
Definition: GNEViewNetHelper.cpp:2137
GNEViewNetHelper::DemandViewOptions::showNonInspectedDemandElements
bool showNonInspectedDemandElements(const GNEDemandElement *demandElement) const
check if non inspected element has to be hidden
Definition: GNEViewNetHelper.cpp:1740
GNE_NMODE_CROSSING
Mode for editing crossing.
Definition: GNEViewNetHelper.h:73
GNEViewNetHelper::NetworkViewOptions
struct used to group all variables related to view options in supermode Network
Definition: GNEViewNetHelper.h:364
Position.h
GNE_NMODE_PROHIBITION
Mode for editing connection prohibitions.
Definition: GNEViewNetHelper.h:79
GNEViewNetHelper::DemandCheckableButtons::personPlanButton
MFXCheckableButton * personPlanButton
chekable button for edit mode create person plans
Definition: GNEViewNetHelper.h:837
GNEViewNetHelper::TestingMode::myTestingWidth
int myTestingWidth
Width of viewNet in testing mode.
Definition: GNEViewNetHelper.h:703
GNEViewNetHelper::SelectingArea::processEdgeRectangleSelection
std::vector< GNEEdge * > processEdgeRectangleSelection()
process rectangle Selection (only limited to Edges)
Definition: GNEViewNetHelper.cpp:1064
GUIMainWindow
Definition: GUIMainWindow.h:47
GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections
FXMenuCheck * menuCheckHideConnections
menu check to hide connections in connect mode
Definition: GNEViewNetHelper.h:400
GNEViewNetHelper::NetworkCheckableButtons
struct used to group all variables related with Network chekable Buttons
Definition: GNEViewNetHelper.h:748
GNEViewNetHelper::VehicleTypeOptions::VehicleTypeOptions
VehicleTypeOptions(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:988
GNEViewNetHelper::MoveSingleElementValues::moveSingleElement
void moveSingleElement()
move single element in Network AND Demand mode
Definition: GNEViewNetHelper.cpp:492
MFXCheckableButton
Definition: MFXCheckableButton.h:31
GNEViewNetHelper::CommonViewOptions::operator=
CommonViewOptions & operator=(const CommonViewOptions &)=delete
Invalidated assignment operator.
GNEViewNetHelper::NetworkViewOptions::NetworkViewOptions
NetworkViewOptions(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1468
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:593
GNE_SUPERMODE_DEMAND
Demanding mode (Routes, Vehicles etc..)
Definition: GNEViewNetHelper.h:49
GNEViewNetHelper::ObjectsUnderCursor::myCrossings
std::vector< GNECrossing * > myCrossings
vector with the clicked crossings
Definition: GNEViewNetHelper.h:240
GUIGlID
unsigned int GUIGlID
Definition: GUIGlObject.h:43
GNEViewNetHelper::ObjectsUnderCursor::myShapes
std::vector< GNEShape * > myShapes
vector with the clicked shape elements (Poly and POIs)
Definition: GNEViewNetHelper.h:225
GNEViewNetHelper::VehicleOptions
struct used to group all variables related with movement of groups of elements
Definition: GNEViewNetHelper.h:602
GNEViewNetHelper::ObjectsUnderCursor::getDemandElementFront
GNEDemandElement * getDemandElementFront() const
get front net element element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:259
GNEViewNetHelper::DemandCheckableButtons::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:841
GNEViewNetHelper::SelectingArea
struct used to group all variables related with selecting using a square or polygon
Definition: GNEViewNetHelper.h:637
GNEInternalLane
This object is responsible for drawing a shape and for supplying a a popup menu. Messages are routete...
Definition: GNEInternalLane.h:43
GNEViewNetHelper::DemandCheckableButtons
struct used to group all variables related with Demand checkable Buttons
Definition: GNEViewNetHelper.h:798
GNEViewNetHelper::NetworkViewOptions::selectEdges
bool selectEdges() const
check if select edges checkbox is enabled
Definition: GNEViewNetHelper.cpp:1626
GNEViewNetHelper::MoveMultipleElementValues::MoveMultipleElementValues
MoveMultipleElementValues(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:769
GNEViewNetHelper::NetworkCheckableButtons::additionalButton
MFXCheckableButton * additionalButton
chekable button for edit mode additional
Definition: GNEViewNetHelper.h:778
GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge
FXMenuCheck * menuCheckAutoOppositeEdge
menu check to create auto create opposite edge
Definition: GNEViewNetHelper.h:421
GNEVehicle
Definition: GNEVehicle.h:36
GNEViewNetHelper::ObjectsUnderCursor::getCrossingFront
GNECrossing * getCrossingFront() const
get front crossing (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:299
GNEViewNetHelper::EditModes::EditModes
EditModes(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1275
GNEViewNetHelper::SelectingArea::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:680
GNEViewNetHelper::MoveMultipleElementValues::myMovedJunctionOriginPositions
std::map< GNEJunction *, Position > myMovedJunctionOriginPositions
container used for move junctions
Definition: GNEViewNetHelper.h:592
GNEViewNetHelper::VehicleOptions::hideVehicleOptionsMenuChecks
void hideVehicleOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:980
GNEViewNetHelper::NetworkCheckableButtons::TAZButton
MFXCheckableButton * TAZButton
chekable button for edit mode TAZ
Definition: GNEViewNetHelper.h:784
GNEViewNetHelper::KeyPressed::myEventInfo
FXEvent * myEventInfo
information of event
Definition: GNEViewNetHelper.h:281
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:533
GNEViewNetHelper::VehicleOptions::buildVehicleOptionsMenuChecks
void buildVehicleOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:973
GNEViewNetHelper::ObjectsUnderCursor::myAttributeCarriers
std::vector< GNEAttributeCarrier * > myAttributeCarriers
vector with the clicked attribute carriers
Definition: GNEViewNetHelper.h:216
GNEViewNetHelper::ObjectsUnderCursor::getLaneFront
GNELane * getLaneFront() const
get front lane (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:289
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:418
GNE_SUPERMODE_NONE
empty super mode
Definition: GNEViewNetHelper.h:45
GNEViewNetHelper::NetworkCheckableButtons::prohibitionButton
MFXCheckableButton * prohibitionButton
checkable button for edit mode polygon
Definition: GNEViewNetHelper.h:790
GNEViewNetHelper
Definition: GNEViewNetHelper.h:146
GNEViewNetHelper::ObjectsUnderCursor::getClickedAttributeCarriers
const std::vector< GNEAttributeCarrier * > & getClickedAttributeCarriers() const
get vector with clicked ACs
Definition: GNEViewNetHelper.cpp:349
GNEViewNetHelper::MoveSingleElementValues::MoveSingleElementValues
MoveSingleElementValues(GNEViewNet *viewNet)
constructor
Definition: GNEViewNetHelper.cpp:409
GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront
GNEAttributeCarrier * getAttributeCarrierFront() const
get front attribute carrier (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:219
GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases
FXMenuCheck * menuCheckChangeAllPhases
menu check to set change all phases
Definition: GNEViewNetHelper.h:406
GNE_DMODE_MOVE
mode for moving demand elements
Definition: GNEViewNetHelper.h:93
GNEViewNetHelper::SelectingArea::selectionCorner1
Position selectionCorner1
firstcorner of the rectangle-selection
Definition: GNEViewNetHelper.h:674
GNEUndoList
Definition: GNEUndoList.h:49
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:1392
GNEViewNetHelper::ObjectsUnderCursor::myNetElements
std::vector< GNENetElement * > myNetElements
vector with the clicked net elements
Definition: GNEViewNetHelper.h:219
GNEViewNetHelper::VehicleTypeOptions::myViewNet
GNEViewNet * myViewNet
pointer to viewNet
Definition: GNEViewNetHelper.h:632
GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes
FXMenuCheck * menuCheckHideShapes
Hide shapes (Polygons and POIs)
Definition: GNEViewNetHelper.h:467
GNEViewNetHelper::NetworkCheckableButtons::buildNetworkCheckableButtons
void buildNetworkCheckableButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:1903
GNEJunction
Definition: GNEJunction.h:48
GNEViewNetHelper::SelectingArea::selectionCorner2
Position selectionCorner2
second corner of the rectangle-selection
Definition: GNEViewNetHelper.h:677
GNEViewNetHelper::CommonCheckableButtons::CommonCheckableButtons
CommonCheckableButtons(GNEViewNet *viewNet)
default constructor
Definition: GNEViewNetHelper.cpp:1818
GNEViewNetHelper::DemandCheckableButtons::buildDemandCheckableButtons
void buildDemandCheckableButtons()
build checkable buttons
Definition: GNEViewNetHelper.cpp:2009
GNEViewNetHelper::DemandViewOptions::showAllPersonPlans
bool showAllPersonPlans() const
check all person plans has to be show
Definition: GNEViewNetHelper.cpp:1788
GNEViewNetHelper::MoveSingleElementValues::myMovingEndPos
bool myMovingEndPos
bool to indicate that end pos of an edge is being moved
Definition: GNEViewNetHelper.h:539
GNEViewNetHelper::EditShapes::editingNetElementShapes
bool editingNetElementShapes
flag to edit net element shapes
Definition: GNEViewNetHelper.h:863
GNE_NMODE_INSPECT
mode for inspecting network elements
Definition: GNEViewNetHelper.h:57
GNEViewNetHelper::EditShapes::stopEditCustomShape
void stopEditCustomShape()
edit edit shape
Definition: GNEViewNetHelper.cpp:2123
GNEViewNetHelper::TestingMode::myTestingHeight
int myTestingHeight
Height of viewNet in testing mode.
Definition: GNEViewNetHelper.h:706
GNEViewNetHelper::MoveMultipleElementValues::myMovedEdgesOriginShape
std::map< GNEEdge *, PositionVector > myMovedEdgesOriginShape
container used for move entire edges
Definition: GNEViewNetHelper.h:595
GNEViewNetHelper::CommonCheckableButtons::deleteButton
MFXCheckableButton * deleteButton
chekable button for edit mode delete
Definition: GNEViewNetHelper.h:734
GNEViewNetHelper::EditModes::networkEditMode
NetworkEditMode networkEditMode
the current Network edit mode
Definition: GNEViewNetHelper.h:312
GNEViewNetHelper::ObjectsUnderCursor::getShapeFront
GNEShape * getShapeFront() const
get front shape element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:249
GNEViewNetHelper::EditModes::networkButton
MFXCheckableButton * networkButton
chekable button for supermode Network
Definition: GNEViewNetHelper.h:318
PositionVector.h
GNELane
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
Definition: GNELane.h:46
GNE_DMODE_DELETE
mode for deleting demand elements
Definition: GNEViewNetHelper.h:89
GNEViewNetHelper::ObjectsUnderCursor::myConnections
std::vector< GNEConnection * > myConnections
vector with the clicked connections
Definition: GNEViewNetHelper.h:243
GNE_NMODE_MOVE
mode for moving network elements
Definition: GNEViewNetHelper.h:63
GNE_DMODE_STOP
Mode for editing stops.
Definition: GNEViewNetHelper.h:101
GNEAttributeCarrier
Definition: GNEAttributeCarrier.h:54
GNEViewNetHelper::ObjectsUnderCursor::sortGUIGlObjectsByAltitude
void sortGUIGlObjectsByAltitude(const std::vector< GUIGlObject * > &GUIGlObjects)
invert GUIGlObjects
Definition: GNEViewNetHelper.cpp:355
GNE_NMODE_NONE
empty Network mode
Definition: GNEViewNetHelper.h:55
GNEViewNetHelper::ObjectsUnderCursor::getAdditionalFront
GNEAdditional * getAdditionalFront() const
get front additional element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:239
GNEViewNetHelper::CommonViewOptions::buildCommonViewOptionsMenuChecks
void buildCommonViewOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:1438
GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson
FXMenuCheck * menuCheckLockPerson
Lock Person.
Definition: GNEViewNetHelper.h:476
GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation
FXMenuCheck * menuCheckMoveElevation
menu check to apply movement to elevation
Definition: GNEViewNetHelper.h:415
GNEViewNetHelper::VehicleTypeOptions::hideVehicleTypeOptionsMenuChecks
void hideVehicleTypeOptionsMenuChecks()
hide all options menu checks
Definition: GNEViewNetHelper.cpp:1001
GNEViewNetHelper::ObjectsUnderCursor::swapLane2Edge
void swapLane2Edge()
swap lane to edge
Definition: GNEViewNetHelper.cpp:172
MFXCheckableButton.h
GNEViewNetHelper::SelectingArea::finishRectangleSelection
void finishRectangleSelection()
finish rectangle selection
Definition: GNEViewNetHelper.cpp:1040
GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementDemandMode
bool beginMoveSingleElementDemandMode()
begin move single element in Demand mode
Definition: GNEViewNetHelper.cpp:471
GNEViewNetHelper::MoveSingleElementValues::myMovingStartPos
bool myMovingStartPos
bool to indicate that startPos of an edge is being moved
Definition: GNEViewNetHelper.h:536
GNEViewNetHelper::DemandViewOptions::myLockedPerson
const GNEDemandElement * myLockedPerson
pointer to locked person
Definition: GNEViewNetHelper.h:483
GNEViewNetHelper::VehicleTypeOptions::buildVehicleTypeOptionsMenuChecks
void buildVehicleTypeOptionsMenuChecks()
build menu checks
Definition: GNEViewNetHelper.cpp:994
GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges
FXMenuCheck * menuCheckSelectEdges
menu check to select only edges
Definition: GNEViewNetHelper.h:394
GNEViewNetHelper::ObjectsUnderCursor::getNetElementFront
GNENetElement * getNetElementFront() const
get front net element (or a pointer to nullptr if there isn't)
Definition: GNEViewNetHelper.cpp:229