Eclipse SUMO - Simulation of Urban MObility
GNEViewNet Class Reference

#include <GNEViewNet.h>

Inheritance diagram for GNEViewNet:
[legend]
Collaboration diagram for GNEViewNet:
[legend]

Public Member Functions

void abortOperation (bool clearSelection=true)
 abort current edition operation More...
 
void addDecals (const std::vector< Decal > &decals)
 add decals More...
 
bool addRestrictedLane (GNELane *lane, SUMOVehicleClass vclass, const bool insertAtFront)
 add restricted lane More...
 
bool aksChangeSupermode (const std::string &operation, Supermode expectedSupermode)
 ask about change supermode More...
 
bool autoSelectNodes ()
 whether to autoselect nodes or to lanes More...
 
void buildColorRainbow (const GUIVisualizationSettings &s, GUIColorScheme &scheme, int active, GUIGlObjectType objectType, bool hide=false, double hideThreshold=0, bool hide2=false, double hideThreshold2=0)
 recalibrate color scheme according to the current value range More...
 
void buildSelectionACPopupEntry (GUIGLObjectPopupMenu *ret, GNEAttributeCarrier *AC)
 Builds an entry which allows to (de)select the object. More...
 
void buildViewToolBars (GUIGlChildWindow *v)
 builds the view toolbars More...
 
void centerTo (const Boundary &bound)
 centers to the chosen artifact More...
 
virtual void centerTo (const Position &pos, bool applyZoom, double zoomDist=20)
 centers to the chosen position More...
 
virtual void centerTo (GUIGlID id, bool applyZoom, double zoomDist=20)
 centers to the chosen artifact More...
 
bool changeAllPhases () const
 change all phases More...
 
virtual void changePedestrianNetworkColor (const GUIVisualizationSettings &) const
 Change the color of the JuPedSim pedestrian network. More...
 
bool checkOverLockedElement (const GUIGlObject *GLObject, const bool isSelected) const
 check if given element is locked (used for drawing select and delete contour) More...
 
bool checkSelectEdges () const
 check if select edges (toggle using button or shift) More...
 
virtual void copyViewportTo (GUISUMOAbstractView *view)
 copy the viewport to the given view More...
 
void destroyPopup ()
 destroys the popup More...
 
virtual void drawPedestrianNetwork (const GUIVisualizationSettings &) const
 Draw (or not) the JuPedSim pedestrian network. More...
 
void drawTranslateFrontAttributeCarrier (const GNEAttributeCarrier *AC, double typeOrLayer, const double extraOffset=0)
 draw front attributeCarrier More...
 
GUIVisualizationSettingseditVisualisationSettings () const
 edit visualization settings (allow modify VisualizationSetings, use carefully) More...
 
std::vector< GUIGlObject * > filterContextObjects (const std::vector< GUIGlObject * > &objects)
 filter out duplicate and forbidden objects More...
 
void forceSupemodeNetwork ()
 force supermode network(used after load/create new network) More...
 
GUIPerspectiveChangergetChanger () const
 get changer More...
 
MFXComboBoxIcongetColoringSchemesCombo ()
 get coloring schemes combo More...
 
const GNEViewNetHelper::DataViewOptionsgetDataViewOptions () const
 get data view options More...
 
std::vector< Decal > & getDecals ()
 The list of decals to show. More...
 
FXMutex & getDecalsLockMutex ()
 The mutex to use before accessing the decals list in order to avoid thread conflicts. More...
 
double getDelay () const
 Returns the delay of the parent application. More...
 
const GNEViewNetHelper::DemandViewOptionsgetDemandViewOptions () const
 get demand view options More...
 
int getDrawingToggle () const
 get draw toggle (used to avoid drawing junctions twice) More...
 
std::vector< std::string > getEdgeDataAttrs () const
 return list of loaded edgeData attributes More...
 
std::vector< std::string > getEdgeLaneParamKeys (bool edgeKeys) const
 return list of available edge parameters More...
 
const GNEViewNetHelper::EditModesgetEditModes () const
 get edit modes More...
 
const GNEViewNetHelper::EditNetworkElementShapesgetEditNetworkElementShapes () const
 get Edit Shape module More...
 
double getFPS () const
 retrieve FPS More...
 
const GNEAttributeCarriergetFrontAttributeCarrier () const
 get front attributeCarrier More...
 
const GUIGlObjectgetFrontGLObject () const
 get front glObject More...
 
double getGridHeight () const
 get grid height More...
 
double getGridWidth () const
 get grid width More...
 
GUIGlChildWindowgetGUIGlChildWindow ()
 get GUIGlChildWindow More...
 
const std::vector< GNEAttributeCarrier * > & getInspectedAttributeCarriers () const
 get inspected attribute carriers More...
 
GNEViewNetHelper::IntervalBargetIntervalBar ()
 get interval bar More...
 
GNEDemandElementgetLastCreatedRoute () const
 get last created route More...
 
GNEViewNetHelper::LockManagergetLockManager ()
 get lock manager More...
 
GUIMainWindowgetMainWindow () const
 get main window More...
 
virtual std::vector< std::string > getMeanDataAttrs (const std::string &meanDataID) const
 return list of available attributes for the given meanData id More...
 
virtual std::vector< std::string > getMeanDataIDs () const
 return list of loaded edgeData ids (being computed in the current simulation) More...
 
const GNEViewNetHelper::MouseButtonKeyPressedgetMouseButtonKeyPressed () const
 get Key Pressed module More...
 
const GNEViewNetHelper::MoveMultipleElementModulgetMoveMultipleElementValues () const
 get move multiple element values More...
 
GNENetgetNet () const
 get the net object More...
 
const GNEViewNetHelper::NetworkViewOptionsgetNetworkViewOptions () const
 get network view options More...
 
virtual std::vector< std::string > getPOIParamKeys () const
 return list of available vehicle parameters More...
 
const PositiongetPopupPosition () const
 get position of current popup More...
 
virtual Position getPositionInformation () const
 Returns the cursor's x/y position within the network. More...
 
std::vector< std::string > getRelDataAttrs () const
 return list of loaded edgeRelation and tazRelation attributes More...
 
GNEViewNetHelper::SaveElementsgetSaveElements ()
 get variable used to save elements More...
 
const GNEViewNetHelper::TestingModegetTestingMode () const
 get testing mode More...
 
GNEViewNetHelper::TimeFormatgetTimeFormat ()
 get variable used to switch between time formats More...
 
virtual GUIGlID getTrackedID () const
 get tracked id More...
 
GNEUndoListgetUndoList () const
 get the undoList object More...
 
virtual std::vector< std::string > getVehicleParamKeys (bool) const
 return list of available vehicle parameters More...
 
const GNEViewNetHelper::ViewObjectsSelectorgetViewObjectsSelector () const
 get objects under cursor More...
 
GNEViewParentgetViewParent () const
 get the net object More...
 
GUIDialog_EditViewportgetViewportEditor ()
 get the viewport and create it on first access More...
 
Boundary getVisibleBoundary () const
 get visible boundary More...
 
const GUIVisualizationSettingsgetVisualisationSettings () const
 get visualization settings (read only) More...
 
Position getWindowCursorPosition () const
 return windows cursor position More...
 
 GNEViewNet (FXComposite *tmpParent, FXComposite *actualParent, GUIMainWindow &app, GNEViewParent *viewParent, GNENet *net, GNEUndoList *undoList, FXGLVisual *glVis, FXGLCanvas *share)
 
void hotkeyBackSpace ()
 handle backspace keypress More...
 
void hotkeyDel ()
 handle del keypress More...
 
void hotkeyEnter ()
 handle enter keypress More...
 
void hotkeyFocusFrame ()
 handle focus frame keypress More...
 
virtual bool is3DView () const
 return whether this is a 3D view More...
 
bool isAttributeCarrierInspected (const GNEAttributeCarrier *AC) const
 check if attribute carrier is being inspected More...
 
bool isInEditMode ()
 returns true, if the edit button was pressed More...
 
bool isMovingElement () const
 check if an element is being moved More...
 
double m2p (double meter) const
 meter-to-pixels conversion method More...
 
FXbool makeCurrent ()
 A reimplementation due to some internal reasons. More...
 
bool mergeJunctions (GNEJunction *movedJunction, GNEJunction *targetJunction)
 try to merge moved junction with another junction in that spot return true if merging did take place More...
 
long onCmdAddEdgeSelected (FXObject *, FXSelector, void *)
 select Edge under cursor More...
 
long onCmdAddJoinTLS (FXObject *, FXSelector, void *)
 add Join TLS More...
 
virtual long onCmdAddRerouter (FXObject *, FXSelector, void *)
 
long onCmdAddReverse (FXObject *, FXSelector, void *)
 add a reverse demand element More...
 
long onCmdAddReversedEdge (FXObject *, FXSelector, void *)
 add reversed edge More...
 
long onCmdAddReversedEdgeDisconnected (FXObject *, FXSelector, void *)
 add reversed edge disconnected More...
 
long onCmdAddSelected (FXObject *, FXSelector, void *)
 select AC under cursor More...
 
long onCmdAddTLS (FXObject *, FXSelector, void *)
 add TLS More...
 
long onCmdClearConnections (FXObject *, FXSelector, void *)
 clear junction connections More...
 
virtual long onCmdCloseEdge (FXObject *, FXSelector, void *)
 
virtual long onCmdCloseLane (FXObject *, FXSelector, void *)
 interaction with the simulation More...
 
long onCmdClosePolygon (FXObject *, FXSelector, void *)
 close opened polygon More...
 
long onCmdConvertRoundabout (FXObject *, FXSelector, void *)
 convert junction to roundabout More...
 
long onCmdDeleteGeometryPoint (FXObject *, FXSelector, void *)
 delete the closes geometry point More...
 
long onCmdDuplicateLane (FXObject *, FXSelector, void *)
 duplicate selected lane More...
 
long onCmdEdgeUseAsTemplate (FXObject *, FXSelector, void *)
 use edge as template More...
 
long onCmdEditConnectionShape (FXObject *, FXSelector, void *)
 edit connection shape More...
 
long onCmdEditCrossingShape (FXObject *, FXSelector, void *)
 edit crossing shape More...
 
long onCmdEditEdgeEndpoint (FXObject *, FXSelector, void *)
 change geometry endpoint More...
 
long onCmdEditJunctionShape (FXObject *, FXSelector, void *)
 edit junction shape More...
 
long onCmdEditLaneShape (FXObject *, FXSelector, void *)
 edit lane shape More...
 
long onCmdEditWalkingAreaShape (FXObject *, FXSelector, void *)
 edit walkingArea shape More...
 
long onCmdEgeApplyTemplate (FXObject *, FXSelector, void *)
 apply template to edge More...
 
long onCmdLaneOperation (FXObject *, FXSelector sel, void *)
 add/remove/restrict lane More...
 
long onCmdLaneReachability (FXObject *, FXSelector sel, void *)
 show lane reachability More...
 
long onCmdOpenAdditionalDialog (FXObject *, FXSelector, void *)
 open additional dialog More...
 
long onCmdOpenPolygon (FXObject *, FXSelector, void *)
 open closed polygon More...
 
long onCmdRemoveEdgeSelected (FXObject *, FXSelector, void *)
 unselect Edge under cursor More...
 
long onCmdRemoveSelected (FXObject *, FXSelector, void *)
 unselect AC under cursor More...
 
long onCmdReplaceJunction (FXObject *, FXSelector, void *)
 replace node by geometry More...
 
long onCmdResetConnections (FXObject *, FXSelector, void *)
 reset junction connections More...
 
long onCmdResetEdgeEndpoint (FXObject *, FXSelector, void *)
 change geometry endpoint More...
 
long onCmdResetEdgeEndPoints (FXObject *, FXSelector, void *)
 edit junction shape More...
 
long onCmdResetEndPoints (FXObject *, FXSelector, void *)
 reset edge end points More...
 
long onCmdResetJunctionShape (FXObject *, FXSelector, void *)
 reset junction shape More...
 
long onCmdResetLaneCustomShape (FXObject *, FXSelector, void *)
 reset custom shapes of selected lanes More...
 
long onCmdResetLength (FXObject *, FXSelector, void *)
 reset custom edge lengths More...
 
long onCmdResetOppositeLane (FXObject *, FXSelector, void *)
 reset oppositeLane of current lane More...
 
long onCmdReverse (FXObject *, FXSelector, void *)
 reverse current demand element More...
 
long onCmdReverseEdge (FXObject *, FXSelector, void *)
 reverse edge More...
 
long onCmdSelectPolygonElements (FXObject *, FXSelector, void *)
 select elements within polygon boundary More...
 
long onCmdSelectRoundabout (FXObject *, FXSelector, void *)
 select all roundabout nodes and edges More...
 
long onCmdSetCustomGeometryPoint (FXObject *, FXSelector, void *)
 set custom geometry point More...
 
long onCmdSetFirstGeometryPoint (FXObject *, FXSelector, void *)
 set as first geometry point the closes geometry point More...
 
long onCmdSetNeteditView (FXObject *, FXSelector sel, void *)
 called when a new view is set More...
 
virtual long onCmdShowReachability (FXObject *, FXSelector, void *)
 highlight edges according to reachability More...
 
long onCmdSimplifyShape (FXObject *, FXSelector, void *)
 simply shape of current polygon More...
 
long onCmdSmoothConnectionShape (FXObject *, FXSelector, void *)
 edit connection shape More...
 
long onCmdSmoothEdges (FXObject *, FXSelector, void *)
 smooth geometry More...
 
long onCmdSmoothEdgesElevation (FXObject *, FXSelector, void *)
 smooth elevation with regard to adjoining edges More...
 
long onCmdSplitEdge (FXObject *, FXSelector, void *)
 split edge at cursor position More...
 
long onCmdSplitEdgeBidi (FXObject *, FXSelector, void *)
 split edge at cursor position More...
 
long onCmdSplitJunction (FXObject *, FXSelector, void *)
 split junction into multiple junctions More...
 
long onCmdSplitJunctionReconnect (FXObject *, FXSelector, void *)
 split junction into multiple junctions and reconnect them More...
 
long onCmdStraightenEdges (FXObject *, FXSelector, void *)
 makes selected edges straight More...
 
long onCmdStraightenEdgesElevation (FXObject *, FXSelector, void *)
 interpolate z values linear between junctions More...
 
long onCmdTransformPOI (FXObject *, FXSelector, void *)
 transform POI to POILane, and vice versa More...
 
virtual long onConfigure (FXObject *, FXSelector, void *)
 mouse functions More...
 
virtual long onDoubleClicked (FXObject *, FXSelector, void *)
 
long onEnterConvertRoundabout (FXObject *, FXSelector, void *)
 enter to convert junction to roundabout More...
 
virtual void onGamingClick (Position)
 on gaming click More...
 
virtual void onGamingRightClick (Position)
 
long onLeaveConvertRoundabout (FXObject *, FXSelector, void *)
 leave to convert junction to roundabout More...
 
virtual long onMouseLeft (FXObject *, FXSelector, void *)
 
virtual long onMouseWheel (FXObject *, FXSelector, void *)
 
virtual long onPaint (FXObject *, FXSelector, void *)
 
virtual long onVisualizationChange (FXObject *, FXSelector, void *)
 hook to react on change in visualization settings More...
 
void openDeleteDialogAtCursor (const std::vector< GUIGlObject * > &GLObjects)
 open delete dialog at cursor More...
 
void openObjectDialog (const std::vector< GUIGlObject * > &objects, const bool filter=true)
 open object dialog for the given object More...
 
void openObjectDialogAtCursor (const FXEvent *ev)
 open object dialog More...
 
void openSelectDialogAtCursor (const std::vector< GUIGlObject * > &GLObjects)
 open select dialog at cursor More...
 
double p2m (double pixel) const
 pixels-to-meters conversion method More...
 
void recalculateBoundaries ()
 recalculate boundaries More...
 
virtual void recenterView ()
 recenters the view More...
 
void remove (GUIDialog_EditViewport *)
 remove viewport More...
 
void remove (GUIDialog_ViewSettings *)
 remove view settings More...
 
void removeFromAttributeCarrierInspected (const GNEAttributeCarrier *AC)
 remove given AC of list of inspected Attribute Carriers More...
 
bool removeRestrictedLane (GNELane *lane, SUMOVehicleClass vclass)
 remove restricted lane More...
 
void replacePopup (GUIGLObjectPopupMenu *popUp)
 replace PopUp More...
 
void resetLastClickedPosition ()
 reset last clicked position More...
 
bool restrictLane (GNELane *lane, SUMOVehicleClass vclass)
 restrict lane More...
 
virtual const std::vector< SUMOTimeretrieveBreakpoints () const
 retrieve breakpoints if provided by the application More...
 
void saveVisualizationSettings () const
 
Position screenPos2NetPos (int x, int y) const
 Translate screen position to network position. More...
 
bool selectingDetectorsTLSMode () const
 check if we're selecting detectors in TLS mode More...
 
bool selectingJunctionsTLSMode () const
 check if we're selecting junctions in TLS mode More...
 
void setBreakpoints (const std::vector< SUMOTime > &breakpoints)
 Sets the breakpoints of the parent application. More...
 
bool setColorScheme (const std::string &name)
 set color scheme More...
 
void setDelay (double delay)
 Sets the delay of the parent application. More...
 
void setFrontAttributeCarrier (GNEAttributeCarrier *AC)
 set front attributeCarrier More...
 
void setInspectedAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs)
 set inspected attributeCarrier More...
 
void setLastCreatedRoute (GNEDemandElement *lastCreatedRoute)
 set last created route More...
 
void setSelectorFrameScale (double selectionScale)
 set selection scaling (in GNESelectorFrame) More...
 
void setStatusBarText (const std::string &text)
 set statusBar text More...
 
virtual void setViewportFromToRot (const Position &lookFrom, const Position &lookAt, double rotation)
 applies the given viewport settings More...
 
void setWindowCursorPosition (FXint x, FXint y)
 Returns the gl-id of the object under the given coordinates. More...
 
bool showJunctionAsBubbles () const
 return true if junction must be showed as bubbles More...
 
virtual void showViewportEditor ()
 show viewport editor More...
 
void showViewschemeEditor ()
 show viewsscheme editor More...
 
Position snapToActiveGrid (const Position &pos, bool snapXY=true) const
 Returns a position that is mapped to the closest grid point if the grid is active. More...
 
virtual void startTrack (int)
 star track More...
 
virtual void stopTrack ()
 stop track More...
 
void updateControls ()
 update control contents after undo/redo or recompute More...
 
void updateObjectsInBoundary (const Boundary &boundary)
 get objects in the given boundary More...
 
void updateObjectsInPosition (const Position &pos)
 get objects in the given position More...
 
void updateToolTip ()
 A method that updates the tooltip. More...
 
void updateViewNet () const
 Mark the entire GNEViewNet to be repainted later. More...
 
virtual void updateViewportValues ()
 update the viewport chooser with the current view values More...
 
void viewUpdated ()
 called when view is updated More...
 
virtual void zoom2Pos (Position &camera, Position &lookAt, double zoom)
 zoom interface for 3D view More...
 
 ~GNEViewNet ()
 destructor More...
 
overloaded handlers

called when user press mouse's left button

long onLeftBtnPress (FXObject *, FXSelector, void *)
 
long onLeftBtnRelease (FXObject *, FXSelector, void *)
 called when user releases mouse's left button More...
 
long onMiddleBtnPress (FXObject *, FXSelector, void *)
 called when user press mouse's left button More...
 
long onMiddleBtnRelease (FXObject *, FXSelector, void *)
 called when user releases mouse's left button More...
 
long onRightBtnPress (FXObject *, FXSelector, void *)
 called when user press mouse's right button More...
 
long onRightBtnRelease (FXObject *, FXSelector, void *)
 called when user releases mouse's right button More...
 
long onMouseMove (FXObject *, FXSelector, void *)
 called when user moves mouse More...
 
long onKeyPress (FXObject *o, FXSelector sel, void *data)
 called when user press a key More...
 
long onKeyRelease (FXObject *o, FXSelector sel, void *data)
 called when user release a key More...
 
set modes call backs

called when user press a supermode button

long onCmdSetSupermode (FXObject *, FXSelector sel, void *)
 
long onCmdSetMode (FXObject *, FXSelector sel, void *)
 called when user press a mode button (Network or demand) More...
 
View options network call backs
long onCmdToggleSelectEdges (FXObject *, FXSelector, void *)
 toggle select edges More...
 
long onCmdToggleShowConnections (FXObject *, FXSelector, void *)
 toggle show connections More...
 
long onCmdToggleHideConnections (FXObject *, FXSelector, void *)
 toggle hide connections More...
 
long onCmdToggleShowAdditionalSubElements (FXObject *, FXSelector, void *)
 toggle show additional sub-elements More...
 
long onCmdToggleShowTAZElements (FXObject *, FXSelector, void *)
 toggle show TAZ elements More...
 
long onCmdToggleExtendSelection (FXObject *, FXSelector, void *)
 toggle extend selection More...
 
long onCmdToggleChangeAllPhases (FXObject *, FXSelector, void *)
 toggle change all phases More...
 
long onCmdToggleShowGrid (FXObject *, FXSelector, void *)
 toggle show grid More...
 
long onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *)
 toggle draw junction shape More...
 
long onCmdToggleDrawSpreadVehicles (FXObject *, FXSelector, void *)
 toggle draw vehicles in begin position or spread in lane More...
 
long onCmdToggleWarnAboutMerge (FXObject *, FXSelector, void *)
 toggle warn for merge More...
 
long onCmdToggleShowJunctionBubbles (FXObject *, FXSelector, void *)
 toggle show junction bubbles More...
 
long onCmdToggleMoveElevation (FXObject *, FXSelector, void *)
 toggle move elevation More...
 
long onCmdToggleChainEdges (FXObject *, FXSelector, void *)
 toggle chain edges More...
 
long onCmdToggleAutoOppositeEdge (FXObject *, FXSelector, void *)
 toggle autoOpposite edge More...
 
long onCmdToggleHideNonInspecteDemandElements (FXObject *, FXSelector, void *)
 toggle hide non inspected demand elements More...
 
long onCmdToggleShowOverlappedRoutes (FXObject *, FXSelector, void *)
 toggle hide non inspected demand elements More...
 
long onCmdToggleHideShapes (FXObject *, FXSelector, void *)
 toggle hide shapes in super mode demand More...
 
long onCmdToggleShowTrips (FXObject *, FXSelector, void *)
 toggle show all trips in super mode demand More...
 
long onCmdToggleShowAllPersonPlans (FXObject *, FXSelector, void *)
 toggle show all person plans in super mode demand More...
 
long onCmdToggleLockPerson (FXObject *, FXSelector, void *)
 toggle lock person in super mode demand More...
 
long onCmdToggleShowAllContainerPlans (FXObject *, FXSelector, void *)
 toggle show all container plans in super mode demand More...
 
long onCmdToggleLockContainer (FXObject *, FXSelector, void *)
 toggle lock container in super mode demand More...
 
long onCmdToggleShowAdditionals (FXObject *, FXSelector, void *)
 toggle show additionals in super mode data More...
 
long onCmdToggleShowShapes (FXObject *, FXSelector, void *)
 toggle show shapes in super mode data More...
 
long onCmdToggleShowDemandElementsNetwork (FXObject *, FXSelector, void *)
 toggle show demand elements (network) More...
 
long onCmdToggleShowDemandElementsData (FXObject *, FXSelector, void *)
 toggle show demand elements (data) More...
 
long onCmdToggleTAZRelDrawing (FXObject *, FXSelector, void *)
 toggle TAZRel drawing More...
 
long onCmdToggleTAZDrawFill (FXObject *, FXSelector, void *)
 toggle TAZdrawFill More...
 
long onCmdToggleTAZRelOnlyFrom (FXObject *, FXSelector, void *)
 toggle TAZRez only from More...
 
long onCmdToggleTAZRelOnlyTo (FXObject *, FXSelector, void *)
 toggle TAZRez only to More...
 
interval bar functions
long onCmdIntervalBarGenericDataType (FXObject *, FXSelector, void *)
 change generic data type in interval bar More...
 
long onCmdIntervalBarDataSet (FXObject *, FXSelector, void *)
 change data set in interval bar More...
 
long onCmdIntervalBarLimit (FXObject *, FXSelector, void *)
 change limit interval in interval bar More...
 
long onCmdIntervalBarSetBegin (FXObject *, FXSelector, void *)
 change begin in interval bar More...
 
long onCmdIntervalBarSetEnd (FXObject *, FXSelector, void *)
 change end in interval bar More...
 
long onCmdIntervalBarSetParameter (FXObject *, FXSelector, void *)
 change parameter in interval bar More...
 
Dealing with snapshots
void addSnapshot (SUMOTime time, const std::string &file, const int w=-1, const int h=-1)
 Sets the snapshot time to file map. More...
 
std::string makeSnapshot (const std::string &destFile, const int w=-1, const int h=-1)
 Takes a snapshots and writes it into the given file. More...
 
virtual void saveFrame (const std::string &destFile, FXColor *buf)
 Adds a frame to a video snapshot which will be initialized if necessary. More...
 
virtual void endSnapshot ()
 Ends a video snapshot. More...
 
virtual void checkSnapshots ()
 Checks whether it is time for a snapshot. More...
 
void waitForSnapshots (const SUMOTime snapshotTime)
 
virtual SUMOTime getCurrentTimeStep () const
 get the current simulation time More...
 
Additional visualisations
bool addAdditionalGLVisualisation (GUIGlObject *const which)
 Adds an object to call its additional visualisation method. More...
 
bool removeAdditionalGLVisualisation (GUIGlObject *const which)
 Removes an object from the list of objects that show additional things. More...
 
bool isAdditionalGLVisualisationEnabled (GUIGlObject *const which) const
 Check if an object is added in the additional GL visualitation. More...
 

Protected Member Functions

Boundary applyGLTransform (bool fixRatio=true)
 applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections) More...
 
FXImage * checkGDALImage (Decal &d)
 check whether we can read image data or position with gdal More...
 
void displayColorLegend (const GUIColorScheme &scheme, bool leftSide)
 Draws a legend for the given scheme. More...
 
void displayLegend ()
 Draws a line with ticks, and the length information. More...
 
void displayLegends ()
 Draws the configured legends. More...
 
void doInit ()
 called after some features are already initialized More...
 
int doPaintGL (int mode, const Boundary &bound)
 do paintGL More...
 
void drawDecals ()
 Draws the stored decals. More...
 
void drawFPS ()
 Draws frames-per-second indicator. More...
 
std::vector< GUIGlObject * > filterInternalLanes (const std::vector< GUIGlObject * > &objects) const
 filter internal lanes in Objects under cursor More...
 
std::vector< GUIGlObject * > getGUIGlObjectsAtPosition (Position pos, double radius)
 returns the GUIGlObjects at position within the given (rectangular) radius using GL_SELECT More...
 
std::vector< GUIGlObject * > getGUIGlObjectsUnderCursor ()
 returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects) More...
 
std::vector< GUIGlObject * > getGUIGlObjectsUnderSnappedCursor ()
 returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects) More...
 
virtual GUILanegetLaneUnderCursor ()
 returns the GUILane at cursor position (implementation depends on view) More...
 
GUIGlID getObjectAtPosition (Position pos)
 returns the id of the object at position using GL_SELECT More...
 
std::vector< GUIGlIDgetObjectsAtPosition (Position pos, double radius)
 returns the ids of the object at position within the given (rectangular) radius using GL_SELECT More...
 
std::vector< GUIGlIDgetObjectsInBoundary (Boundary bound)
 returns the ids of all objects in the given boundary More...
 
std::vector< GUIGlIDgetObjectsUnderCursor ()
 returns the id of the objects under the cursor using GL_SELECT (including overlapped objects) More...
 
GUIGlID getObjectUnderCursor ()
 returns the id of the front object under the cursor using GL_SELECT More...
 
GUIGlID getToolTipID ()
 returns the id of object under cursor to show their tooltip More...
 
 GNEViewNet ()
 FOX needs this. More...
 
void openPopupDialog ()
 open popup dialog More...
 
void paintGL ()
 FOX needs this. More...
 
void paintGLGrid () const
 paints a grid More...
 
bool showToolTipFor (const GUIGlID idToolTip)
 invokes the tooltip for the given object More...
 
virtual void updatePositionInformationLabel () const
 update position information labels More...
 

Protected Attributes

std::map< GUIGlObject *, int > myAdditionallyDrawn
 List of objects for which GUIGlObject::drawGLAdditional is called. More...
 
bool myAmInitialised = false
 Internal information whether doInit() was called. More...
 
GUIMainWindowmyApp
 The application. More...
 
GUIPerspectiveChangermyChanger = nullptr
 The perspective changer. More...
 
Position myClickedPopupPosition = Position::INVALID
 clicked poup position More...
 
std::vector< GUIGlObject * > myCurrentObjectsDialog
 vector with current objects dialog More...
 
long myFrameDrawTime = 0
 counter for measuring rendering time More...
 
GUIGlChildWindowmyGlChildWindowParent
 The parent window. More...
 
const SUMORTreemyGrid
 The visualization speed-up. More...
 
GUIDialog_EditViewportmyGUIDialogEditViewport = nullptr
 viewport chooser More...
 
GUIDialog_ViewSettingsmyGUIDialogViewSettings = nullptr
 Visualization changer. More...
 
bool myInEditMode = false
 Information whether too-tip informations shall be generated. More...
 
int myMouseHotspotX
 Offset to the mouse-hotspot from the mouse position. More...
 
int myMouseHotspotY
 
bool myPanning = false
 Panning flag. More...
 
FXMutex myPolyDrawLock
 poly draw lock More...
 
GUIGLObjectPopupMenumyPopup = nullptr
 The current popup-menu. More...
 
Position myPopupPosition = Position(0, 0)
 The current popup-menu position. More...
 
FXCondition mySnapshotCondition
 the semaphore when waiting for snapshots to finish More...
 
std::map< SUMOTime, std::vector< std::tuple< std::string, int, int > > > mySnapshots
 Snapshots. More...
 
FXMutex mySnapshotsMutex
 The mutex to use before accessing the decals list in order to avoid thread conflicts. More...
 
GUIVisualizationSettingsmyVisualizationSettings
 visualization settings More...
 
FXint myWindowCursorPositionX
 Position of the cursor relative to the window. More...
 
FXint myWindowCursorPositionY
 
Optionally shown decals
std::vector< DecalmyDecals
 The list of decals to show. More...
 
FXMutex myDecalsLockMutex
 The mutex to use before accessing the decals list in order to avoid thread conflicts. More...
 

Private Member Functions

void processLeftButtonPressNetwork (void *eventData)
 mouse process functions More...
 
void processLeftButtonReleaseNetwork ()
 process left button release function in Supermode Network More...
 
void processMoveMouseNetwork (const bool mouseLeftButtonPressed)
 process move mouse function in Supermode Network More...
 
void processLeftButtonPressDemand (void *eventData)
 process left button press function in Supermode Demand More...
 
void processLeftButtonReleaseDemand ()
 process left button release function in Supermode Demand More...
 
void processMoveMouseDemand (const bool mouseLeftButtonPressed)
 process move mouse function in Supermode Demand More...
 
void processLeftButtonPressData (void *eventData)
 process left button press function in Supermode Data More...
 
void processLeftButtonReleaseData ()
 process left button release function in Supermode Data More...
 
void processMoveMouseData (const bool mouseLeftButtonPressed)
 process move mouse function in Supermode Data More...
 
 GNEViewNet (const GNEViewNet &)=delete
 Invalidated copy constructor. More...
 
GNEViewNetoperator= (const GNEViewNet &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

GNEViewNetHelper::IntervalBar myIntervalBar
 variable used to save IntervalBar More...
 
GNEViewNetHelper::ViewObjectsSelector myViewObjectsSelector
 variable use to select objects in view More...
 
structs related with modes and testing mode
GNEViewNetHelper::EditModes myEditModes
 variable used to save variables related with edit moves modes More...
 
GNEViewNetHelper::TestingMode myTestingMode
 variable used to save variables related with testing mode More...
 
structs related with input (keyboard and mouse)
GNEViewNetHelper::MouseButtonKeyPressed myMouseButtonKeyPressed
 variable used to save key status after certain events More...
 
structs related with checkable buttons
GNEViewNetHelper::CommonCheckableButtons myCommonCheckableButtons
 variable used to save checkable buttons for common supermodes More...
 
GNEViewNetHelper::NetworkCheckableButtons myNetworkCheckableButtons
 variable used to save checkable buttons for Supermode Network More...
 
GNEViewNetHelper::DemandCheckableButtons myDemandCheckableButtons
 variable used to save checkable buttons for Supermode Demand More...
 
GNEViewNetHelper::DataCheckableButtons myDataCheckableButtons
 variable used to save checkable buttons for Supermode Data More...
 
structs related with view options
GNEViewNetHelper::NetworkViewOptions myNetworkViewOptions
 variable used to save variables related with view options in supermode Network More...
 
GNEViewNetHelper::DemandViewOptions myDemandViewOptions
 variable used to save variables related with view options in supermode Demand More...
 
GNEViewNetHelper::DataViewOptions myDataViewOptions
 variable used to save variables related with view options in supermode Data More...
 
structs related with move elements
GNEViewNetHelper::MoveSingleElementModul myMoveSingleElement
 modul used for moving single element More...
 
GNEViewNetHelper::MoveMultipleElementModul myMoveMultipleElements
 modul used for moving multiple elements More...
 

Static Private Attributes

static const double SENSITIVITY = 0.1
 

Friends

struct GNEViewNetHelper
 FOX-declaration. More...
 

structs related with Demand options

GNEViewNetHelper::VehicleOptions myVehicleOptions
 variable used to save variables related with vehicle options More...
 
GNEViewNetHelper::VehicleTypeOptions myVehicleTypeOptions
 variable used to save variables related with vehicle type options More...
 
GNEViewNetHelper::SaveElements mySaveElements
 variable used for grouping all variables related with salve elements More...
 
GNEViewNetHelper::TimeFormat myTimeFormat
 variable used for grouping all variables related with switch time More...
 
GNEViewNetHelper::SelectingArea mySelectingArea
 variable used for grouping all variables related with selecting areas More...
 
GNEViewNetHelper::EditNetworkElementShapes myEditNetworkElementShapes
 struct for grouping all variables related with edit shapes More...
 
GNEViewNetHelper::LockManager myLockManager
 lock manager More...
 
GNEViewParentmyViewParent = nullptr
 view parent More...
 
GNENetmyNet = nullptr
 Pointer to current net. (We are not responsible for deletion) More...
 
GNEFramemyCurrentFrame = nullptr
 the current frame More...
 
GNEUndoListmyUndoList = nullptr
 a reference to the undolist maintained in the application More...
 
std::vector< GNEAttributeCarrier * > myInspectedAttributeCarriers
 current inspected attribute carrier More...
 
GNEAttributeCarriermyFrontAttributeCarrier = nullptr
 front attribute carrier More...
 
GNEDemandElementmyLastCreatedRoute = nullptr
 last created route More...
 
bool myDrawPreviewRoundabout = false
 draw preview roundabout More...
 
Position myLastClickedPosition = Position::INVALID
 last clicked position More...
 
bool myCreatedPopup = false
 flag for mark if during this frame a popup was created (needed to avoid problems in linux with CursorDialogs) More...
 
int myDrawingToggle = 0
 drawin toggle (used in drawGLElements to avoid draw elements twice) More...
 
void buildEditModeControls ()
 create edit mode buttons and elements More...
 
void updateNetworkModeSpecificControls ()
 updates Network mode specific controls More...
 
void updateDemandModeSpecificControls ()
 updates Demand mode specific controls More...
 
void updateDataModeSpecificControls ()
 updates Data mode specific controls More...
 
void deleteNetworkAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs)
 delete given network attribute carriers More...
 
void deleteDemandAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs)
 delete given demand attribute carriers More...
 
void deleteDataAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs)
 delete data attribute carriers More...
 
GNEEdgegetEdgeAtPopupPosition ()
 try to retrieve an edge at popup position More...
 
GNELanegetLaneAtPopupPosition ()
 try to retrieve a lane at popup position More...
 
GNEJunctiongetJunctionAtPopupPosition ()
 try to retrieve a junction at popup position More...
 
GNEConnectiongetConnectionAtPopupPosition ()
 try to retrieve a connection at popup position More...
 
GNECrossinggetCrossingAtPopupPosition ()
 try to retrieve a crossing at popup position More...
 
GNEWalkingAreagetWalkingAreaAtPopupPosition ()
 try to retrieve a walkingArea at popup position More...
 
GNEAdditionalgetAdditionalAtPopupPosition ()
 try to retrieve a additional at popup position More...
 
GNEDemandElementgetDemandElementAtPopupPosition ()
 try to retrieve a demand element at popup position More...
 
GNEPolygetPolygonAtPopupPosition ()
 try to retrieve a polygon at popup position More...
 
GNEPOIgetPOIAtPopupPosition ()
 try to retrieve a POILane at popup position More...
 
GNETAZgetTAZAtPopupPosition ()
 try to retrieve a TAZ at popup position More...
 
void processClick (void *eventData)
 Auxiliary function used by onLeftBtnPress(...) More...
 
void updateCursor ()
 update cursor after every click/key press/release More...
 
int drawGLElements (const Boundary &bound)
 draw functions More...
 
void drawGrid () const
 draw grid and update grid button More...
 
void drawTemporalDrawingShape () const
 draw temporal polygon shape in Polygon Mode More...
 
void drawTemporalJunction () const
 draw temporal junction in create edge mode More...
 
void drawTemporalSplitJunction () const
 draw temporal split junction in create edge mode More...
 
void drawTemporalRoundabout () const
 draw temporal roundabout More...
 
void drawTemporalE1TLSLines () const
 draw temporal E1 TLS Lines More...
 
void drawTemporalJunctionTLSLines () const
 draw temporal Junction TLS Lines More...
 
void drawNeteditAttributesReferences ()
 draw circle in testing mode (needed for grid) More...
 
void drawTestsCircle () const
 draw circle in testing mode (needed for grid) More...
 

Detailed Description

Microscopic view at the simulation

Definition at line 43 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ GNEViewNet() [1/3]

GNEViewNet::GNEViewNet ( FXComposite *  tmpParent,
FXComposite *  actualParent,
GUIMainWindow app,
GNEViewParent viewParent,
GNENet net,
GNEUndoList undoList,
FXGLVisual *  glVis,
FXGLCanvas *  share 
)

Definition at line 244 of file GNEViewNet.cpp.

References GUITextureSubSys::resetTextures().

◆ ~GNEViewNet()

GNEViewNet::~GNEViewNet ( )

destructor

Definition at line 294 of file GNEViewNet.cpp.

◆ GNEViewNet() [2/3]

GNEViewNet::GNEViewNet ( )
protected

FOX needs this.

Definition at line 1209 of file GNEViewNet.cpp.

◆ GNEViewNet() [3/3]

GNEViewNet::GNEViewNet ( const GNEViewNet )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ abortOperation()

void GNEViewNet::abortOperation ( bool  clearSelection = true)

abort current edition operation

Definition at line 1582 of file GNEViewNet.cpp.

References GNEUndoList::abortAllChangeGroups(), GNEDrawingShape::abortDrawing(), GNECreateEdgeFrame::abortEdgeCreation(), GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNESelectorFrame::clearCurrentSelection(), GNECrossingFrame::clearEdgesHotkey(), GNENetworkSelector::clearSelection(), GNETAZRelDataFrame::clearTAZSelection(), DATA_EDGERELDATA, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNETLSEditorFrame::TLSAttributes::disableE1DetectorMode(), GNETLSEditorFrame::TLSDefinition::discardChanges(), GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEWireFrame::getConsecutiveLaneSelector(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNETAZFrame::getCurrentTAZModule(), GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GNEViewParent::getEdgeRelDataFrame(), GNEAdditionalFrame::getEdgesSelector(), GNEAdditionalFrame::getLanesSelector(), GNEGenericDataFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEContainerFrame::getPlanCreator(), GNEContainerPlanFrame::getPlanCreator(), GNEPersonFrame::getPlanCreator(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getRouteFrame(), GNEProhibitionFrame::getSelectionModul(), GNEViewParent::getSelectorFrame(), GNEViewParent::getShapeFrame(), GNETAZFrame::CurrentTAZ::getTAZ(), GNEViewParent::getTAZFrame(), GNEViewParent::getTAZRelDataFrame(), GNETLSEditorFrame::getTLSAttributes(), GNETLSEditorFrame::getTLSDefinition(), GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GNEViewParent::getVehicleFrame(), GNEViewParent::getWireFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEDrawingShape::isDrawing(), GNETLSEditorFrame::TLSJunction::isJoiningJunctions(), GNETLSEditorFrame::TLSAttributes::isSetDetectorsToggleButtonEnabled(), myEditModes, myEditNetworkElementShapes, mySelectingArea, myUndoList, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNEProhibitionFrame::Selection::onCmdCancel(), GNETLSEditorFrame::TLSJunction::onCmdCancelJoin(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEPersonPlanFrame::resetSelectedPerson(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNETAZFrame::CurrentTAZ::setTAZ(), GNEViewNetHelper::EditNetworkElementShapes::stopEditCustomShape(), and updateViewNet().

Referenced by GNEApplicationWindow::onCmdAbort().

Here is the caller graph for this function:

◆ addAdditionalGLVisualisation()

bool GUISUMOAbstractView::addAdditionalGLVisualisation ( GUIGlObject *const  which)
inherited

Adds an object to call its additional visualisation method.

Parameters
[in]whichThe object to add
Returns
Always true
See also
GUIGlObject::drawGLAdditional

Definition at line 1854 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myAdditionallyDrawn.

Referenced by GUIBaseVehicle::addActiveAddVisualisation(), GUIPerson::addActiveAddVisualisation(), and GUIVehicle::drawOutsideNetwork().

Here is the caller graph for this function:

◆ addDecals()

void GUISUMOAbstractView::addDecals ( const std::vector< Decal > &  decals)
inherited

add decals

Definition at line 239 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myDecals.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().

Here is the caller graph for this function:

◆ addRestrictedLane()

◆ addSnapshot()

void GUISUMOAbstractView::addSnapshot ( SUMOTime  time,
const std::string &  file,
const int  w = -1,
const int  h = -1 
)
inherited

Sets the snapshot time to file map.

Parameters
[in]snapsThe snapshots to take at certain times
[in]wThe snapshot image width
[in]wThe snapshot image height

Definition at line 1346 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::mySnapshots, and GUISUMOAbstractView::mySnapshotsMutex.

Referenced by GUIViewTraffic::checkSnapshots(), and GUISettingsHandler::setSnapshots().

Here is the caller graph for this function:

◆ aksChangeSupermode()

bool GNEViewNet::aksChangeSupermode ( const std::string &  operation,
Supermode  expectedSupermode 
)

ask about change supermode

Definition at line 915 of file GNEViewNet.cpp.

References DATA, DEMAND, OptionsCont::getOptions(), GUISUMOAbstractView::myApp, myEditModes, NETWORK, GNEViewNetHelper::EditModes::setSupermode(), and TL.

Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().

Here is the caller graph for this function:

◆ applyGLTransform()

Boundary GUISUMOAbstractView::applyGLTransform ( bool  fixRatio = true)
protectedinherited

applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections)

Definition at line 1892 of file GUISUMOAbstractView.cpp.

References Boundary::add(), GUIVisualizationSettings::angle, DEG2RAD, Boundary::getCenter(), Boundary::getHeight(), GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GLO_MAX, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, Position::rotateAround2D(), Position::x(), Boundary::xmax(), Boundary::xmin(), Position::y(), Boundary::ymax(), and Boundary::ymin().

Referenced by GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().

Here is the caller graph for this function:

◆ autoSelectNodes()

bool GNEViewNet::autoSelectNodes ( )

whether to autoselect nodes or to lanes

Definition at line 853 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GLO_JUNCTION, GNEViewNetHelper::LockManager::isObjectLocked(), GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, myLockManager, and myNetworkViewOptions.

Referenced by GNESelectorFrame::handleIDs().

Here is the caller graph for this function:

◆ buildColorRainbow()

◆ buildEditModeControls()

◆ buildSelectionACPopupEntry()

◆ buildViewToolBars()

◆ centerTo() [1/3]

void GUISUMOAbstractView::centerTo ( const Boundary bound)
inherited

centers to the chosen artifact

Definition at line 949 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::setViewport().

◆ centerTo() [2/3]

void GUISUMOAbstractView::centerTo ( const Position pos,
bool  applyZoom,
double  zoomDist = 20 
)
virtualinherited

centers to the chosen position

Parameters
[in]posPosition to center view
[in]applyZoomWhether to zoom in
[in]zoomDistThe distance in m to use for the zoom, values < 0 means: use the centeringBoundary
Note
caller is responsible for calling update

Definition at line 941 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::centerTo(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::updatePositionInformationLabel().

◆ centerTo() [3/3]

void GUISUMOAbstractView::centerTo ( GUIGlID  id,
bool  applyZoom,
double  zoomDist = 20 
)
virtualinherited

centers to the chosen artifact

Parameters
[in]idThe id of the artifact to center to
[in]applyZoomWhether to zoom in
[in]zoomDistThe distance in m to use for the zoom, values < 0 means: use the centeringBoundary
Note
caller is responsible for calling update

Definition at line 921 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::centerTo(), Boundary::getCenter(), GUIGlObject::getCenteringBoundary(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, Position::INVALID, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewport(), GUIGlObjectStorage::unblockObject(), and GUISUMOAbstractView::updatePositionInformationLabel().

Referenced by GNERouteHandler::buildContainerPlan(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEAdditionalHandler::buildLaneCalibrator(), GNERouteHandler::buildPersonPlan(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GNEVehicleFrame::buildVehicleOverRoute(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUISUMOAbstractView::paintGL(), and GUIGlChildWindow::setView().

Here is the caller graph for this function:

◆ changeAllPhases()

bool GNEViewNet::changeAllPhases ( ) const

change all phases

Definition at line 869 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, and myNetworkViewOptions.

Referenced by GNETLSEditorFrame::handleChange().

Here is the caller graph for this function:

◆ changePedestrianNetworkColor()

virtual void GUISUMOAbstractView::changePedestrianNetworkColor ( const GUIVisualizationSettings ) const
inlinevirtualinherited

Change the color of the JuPedSim pedestrian network.

Parameters
sThe visualization settings

Reimplemented in GUIViewTraffic.

Definition at line 475 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::onCmdColorChange().

Here is the caller graph for this function:

◆ checkGDALImage()

FXImage * GUISUMOAbstractView::checkGDALImage ( Decal d)
protectedinherited

check whether we can read image data or position with gdal

Definition at line 1702 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::Decal::centerX, GUISUMOAbstractView::Decal::centerY, GUISUMOAbstractView::Decal::filename, GUISUMOAbstractView::getGridHeight(), GUISUMOAbstractView::getGridWidth(), GeoConvHelper::getProcessing(), GUISUMOAbstractView::Decal::height, TL, GUISUMOAbstractView::Decal::width, WRITE_WARNINGF, Position::x(), and Position::y().

Referenced by GUISUMOAbstractView::drawDecals().

Here is the caller graph for this function:

◆ checkOverLockedElement()

bool GNEViewNet::checkOverLockedElement ( const GUIGlObject GLObject,
const bool  isSelected 
) const

check if given element is locked (used for drawing select and delete contour)

Definition at line 1956 of file GNEViewNet.cpp.

References GNEViewNetHelper::ViewObjectsSelector::getGLObjects(), GNEViewNetHelper::ViewObjectsSelector::getGUIGlObjectFront(), GUIGlObject::getType(), GNEViewNetHelper::LockManager::isObjectLocked(), myLockManager, and myViewObjectsSelector.

Referenced by GNEAdditional::checkDrawDeleteContour(), GNEGenericData::checkDrawDeleteContour(), GNEDemandElement::checkDrawDeleteContour(), GNEConnection::checkDrawDeleteContour(), GNECrossing::checkDrawDeleteContour(), GNEEdge::checkDrawDeleteContour(), GNEJunction::checkDrawDeleteContour(), GNELane::checkDrawDeleteContour(), GNEWalkingArea::checkDrawDeleteContour(), GNEAccess::checkDrawMoveContour(), GNECalibrator::checkDrawMoveContour(), GNEDetector::checkDrawMoveContour(), GNEMultiEntryExitDetector::checkDrawMoveContour(), GNEParkingSpace::checkDrawMoveContour(), GNERerouter::checkDrawMoveContour(), GNERerouterSymbol::checkDrawMoveContour(), GNEStoppingPlace::checkDrawMoveContour(), GNETAZ::checkDrawMoveContour(), GNETractionSubstation::checkDrawMoveContour(), GNEVariableSpeedSign::checkDrawMoveContour(), GNEDemandElement::checkDrawMoveContour(), GNEConnection::checkDrawMoveContour(), GNECrossing::checkDrawMoveContour(), GNEEdge::checkDrawMoveContour(), GNEJunction::checkDrawMoveContour(), GNEPOI::checkDrawMoveContour(), GNEPoly::checkDrawMoveContour(), GNEAdditional::checkDrawSelectContour(), GNEGenericData::checkDrawSelectContour(), GNEDemandElement::checkDrawSelectContour(), GNEConnection::checkDrawSelectContour(), GNECrossing::checkDrawSelectContour(), GNEEdge::checkDrawSelectContour(), GNEJunction::checkDrawSelectContour(), GNELane::checkDrawSelectContour(), and GNEWalkingArea::checkDrawSelectContour().

Here is the caller graph for this function:

◆ checkSelectEdges()

bool GNEViewNet::checkSelectEdges ( ) const

check if select edges (toggle using button or shift)

Definition at line 1295 of file GNEViewNet.cpp.

References myMouseButtonKeyPressed, myNetworkViewOptions, GNEViewNetHelper::NetworkViewOptions::selectEdges(), and GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed().

Referenced by GNEEdge::checkDrawDeleteContour(), GNELane::checkDrawDeleteContour(), GNEEdge::checkDrawSelectContour(), GNELane::checkDrawSelectContour(), onCmdSelectPolygonElements(), processLeftButtonPressNetwork(), and updateCursor().

Here is the caller graph for this function:

◆ checkSnapshots()

void GUISUMOAbstractView::checkSnapshots ( )
virtualinherited

Checks whether it is time for a snapshot.

Reimplemented in GUIViewTraffic.

Definition at line 1512 of file GUISUMOAbstractView.cpp.

References DELTA_T, GUISUMOAbstractView::getCurrentTimeStep(), joinToString(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::mySnapshotCondition, GUISUMOAbstractView::mySnapshots, GUISUMOAbstractView::mySnapshotsMutex, toString(), and WRITE_WARNING.

Referenced by GUIViewTraffic::checkSnapshots(), GUISUMOAbstractView::onConfigure(), and GUISUMOViewParent::onSimStep().

Here is the caller graph for this function:

◆ copyViewportTo()

void GUISUMOAbstractView::copyViewportTo ( GUISUMOAbstractView view)
virtualinherited

copy the viewport to the given view

Definition at line 1608 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::setViewportFromToRot().

Referenced by GUIApplicationWindow::openNewView().

Here is the caller graph for this function:

◆ deleteDataAttributeCarriers()

void GNEViewNet::deleteDataAttributeCarriers ( const std::vector< GNEAttributeCarrier * >  ACs)
private

delete data attribute carriers

Definition at line 5163 of file GNEViewNet.cpp.

References GNENet::deleteDataInterval(), GNENet::deleteDataSet(), GNENet::deleteGenericData(), GNENet::getAttributeCarriers(), myNet, myUndoList, GNENetHelper::AttributeCarriers::retrieveDataInterval(), GNENetHelper::AttributeCarriers::retrieveDataSet(), GNENetHelper::AttributeCarriers::retrieveGenericData(), SUMO_TAG_DATAINTERVAL, and SUMO_TAG_DATASET.

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteDemandAttributeCarriers()

void GNEViewNet::deleteDemandAttributeCarriers ( const std::vector< GNEAttributeCarrier * >  ACs)
private

delete given demand attribute carriers

Definition at line 5149 of file GNEViewNet.cpp.

References GNENet::deleteDemandElement(), GNENet::getAttributeCarriers(), myNet, myUndoList, and GNENetHelper::AttributeCarriers::retrieveDemandElement().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteNetworkAttributeCarriers()

◆ destroyPopup()

void GUISUMOAbstractView::destroyPopup ( )
inherited

◆ displayColorLegend()

void GUISUMOAbstractView::displayColorLegend ( const GUIColorScheme scheme,
bool  leftSide 
)
protectedinherited

◆ displayLegend()

void GUISUMOAbstractView::displayLegend ( )
protectedinherited

Draws a line with ticks, and the length information.

Definition at line 637 of file GUISUMOAbstractView.cpp.

References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, GUISUMOAbstractView::m2p(), GLHelper::popMatrix(), and GLHelper::pushMatrix().

Referenced by GUISUMOAbstractView::displayLegends().

Here is the caller graph for this function:

◆ displayLegends()

void GUISUMOAbstractView::displayLegends ( )
protectedinherited

◆ doInit()

void GNEViewNet::doInit ( )
protectedvirtual

called after some features are already initialized

Reimplemented from GUISUMOAbstractView.

Definition at line 327 of file GNEViewNet.cpp.

◆ doPaintGL()

int GNEViewNet::doPaintGL ( int  mode,
const Boundary bound 
)
protectedvirtual

do paintGL

Reimplemented from GUISUMOAbstractView.

Definition at line 1312 of file GNEViewNet.cpp.

References GNEPathManager::PathDraw::clearPathDraw(), GUIVisualizationSettings::colorSettings, GUIVisualizationSettings::disableLaneIcons, GUISUMOAbstractView::drawDecals(), GUIVisualizationSettings::drawForRectangleSelection, GNENet::drawGL(), drawGLElements(), drawGrid(), drawNeteditAttributesReferences(), GNEViewNetHelper::SelectingArea::drawRectangleSelection(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), drawTemporalDrawingShape(), drawTemporalE1TLSLines(), drawTemporalJunction(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), GNEPathCreator::drawTemporalRoute(), GNEPlanCreator::drawTemporalRoute(), drawTemporalSplitJunction(), GNEViewNetHelper::TestingMode::drawTestingElements(), drawTestsCircle(), GNEViewParent::getAdditionalFrame(), OptionsCont::getBool(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEWireFrame::getConsecutiveLaneSelector(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), OptionsCont::getOptions(), GNEGenericDataFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEPathManager::getPathDraw(), GNENet::getPathManager(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEContainerFrame::getPlanCreator(), GNEContainerPlanFrame::getPlanCreator(), GNEPersonFrame::getPlanCreator(), GNEPersonPlanFrame::getPlanCreator(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getRouteFrame(), GNEViewParent::getVehicleFrame(), GNENet::getViewNet(), GNEViewParent::getWireFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GUIVisualizationSettings::lefthand, GNEViewNetHelper::IntervalBar::markForUpdate(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GUISUMOAbstractView::myApp, myDemandViewOptions, myEditModes, myIntervalBar, myNet, myNetworkViewOptions, mySelectingArea, myTestingMode, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), GUIVisualizationColorSettings::selectionColor, MFXCheckableButton::setChecked(), GUIVisualizationSettings::showLane2Lane, and updateObjectsInPosition().

◆ drawDecals()

◆ drawFPS()

void GUISUMOAbstractView::drawFPS ( )
protectedinherited

Draws frames-per-second indicator.

Definition at line 880 of file GUISUMOAbstractView.cpp.

References GLHelper::drawText(), FONS_ALIGN_LEFT, GUISUMOAbstractView::getFPS(), GLHelper::getMatrixCounter(), GLHelper::getVertexCounter(), GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::RED, and toString().

Referenced by GUISUMOAbstractView::paintGL().

Here is the caller graph for this function:

◆ drawGLElements()

int GNEViewNet::drawGLElements ( const Boundary bound)
private

draw functions

draw all gl elements of netedit

Definition at line 3289 of file GNEViewNet.cpp.

References GUISUMOAbstractView::m2p(), myDrawingToggle, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::scale, SUMORTree::Search(), SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().

Referenced by doPaintGL(), updateObjectsInBoundary(), and updateObjectsInPosition().

Here is the caller graph for this function:

◆ drawGrid()

◆ drawNeteditAttributesReferences()

void GNEViewNet::drawNeteditAttributesReferences ( )
private

draw circle in testing mode (needed for grid)

Definition at line 5490 of file GNEViewNet.cpp.

References GNENeteditAttributes::drawLaneReference(), GNEViewParent::getAdditionalFrame(), GNEAdditionalFrame::getNeteditAttributes(), gViewObjectsHandler, GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUIViewObjectsHandler::markedLane, myEditModes, myViewParent, NETWORK_ADDITIONAL, and GNEViewNetHelper::EditModes::networkEditMode.

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawPedestrianNetwork()

virtual void GUISUMOAbstractView::drawPedestrianNetwork ( const GUIVisualizationSettings ) const
inlinevirtualinherited

Draw (or not) the JuPedSim pedestrian network.

Parameters
sThe visualization settings

Reimplemented in GUIViewTraffic.

Definition at line 471 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::onCmdColorChange().

Here is the caller graph for this function:

◆ drawTemporalDrawingShape()

◆ drawTemporalE1TLSLines()

◆ drawTemporalJunction()

void GNEViewNet::drawTemporalJunction ( ) const
private

draw temporal junction in create edge mode

Definition at line 5296 of file GNEViewNet.cpp.

References GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), MFXCheckableButton::amChecked(), RGBColor::BLACK, GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), Position::distanceSquaredTo(), GUIGeometry::drawGeometry(), GLHelper::drawOutlineCircle(), GUIPropertyScheme< T >::getColor(), GNEViewParent::getCreateEdgeFrame(), GUIVisualizationSizeSettings::getExaggeration(), GNECreateEdgeFrame::getJunctionSource(), GUISUMOAbstractView::getPositionInformation(), GNEJunction::getPositionInView(), GUIPropertySchemeStorage< T >::getScheme(), GLO_TEMPORALSHAPE, GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUIVisualizationNeteditSizeSettings::junctionBubbleRadius, GUIVisualizationSettings::junctionColorer, GUIVisualizationSettings::junctionSize, GUIVisualizationSettings::Level0, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, PositionVector::move2side(), myEditModes, myMouseButtonKeyPressed, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::neteditSizeSettings, NETWORK_CREATE_EDGE, GNEViewNetHelper::EditModes::networkEditMode, GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::setAlpha(), GLHelper::setColor(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GUISUMOAbstractView::snapToActiveGrid(), GUIGeometry::updateGeometry(), Position::x(), and Position::y().

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTemporalJunctionTLSLines()

◆ drawTemporalRoundabout()

void GNEViewNet::drawTemporalRoundabout ( ) const
private

draw temporal roundabout

Definition at line 5405 of file GNEViewNet.cpp.

References GLHelper::drawOutlineCircle(), GNENet::getAttributeCarriers(), GLO_JUNCTION, GLO_TEMPORALSHAPE, RGBColor::GREEN, GUISUMOAbstractView::myCurrentObjectsDialog, myDrawPreviewRoundabout, myNet, GLHelper::popMatrix(), GLHelper::pushMatrix(), GNENetHelper::AttributeCarriers::retrieveJunction(), and GLHelper::setColor().

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTemporalSplitJunction()

◆ drawTestsCircle()

void GNEViewNet::drawTestsCircle ( ) const
private

draw circle in testing mode (needed for grid)

Definition at line 5498 of file GNEViewNet.cpp.

References GLHelper::drawFilledCircle(), OptionsCont::getBool(), OptionsCont::getOptions(), GUISUMOAbstractView::getPositionInformation(), GLO_TESTELEMENT, GUISUMOAbstractView::myVisualizationSettings, RGBColor::ORANGE, GLHelper::popMatrix(), GLHelper::pushMatrix(), GLHelper::setColor(), GUIVisualizationSettings::showGrid, GUISUMOAbstractView::snapToActiveGrid(), Position::x(), and Position::y().

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTranslateFrontAttributeCarrier()

void GNEViewNet::drawTranslateFrontAttributeCarrier ( const GNEAttributeCarrier AC,
double  typeOrLayer,
const double  extraOffset = 0 
)

◆ editVisualisationSettings()

GUIVisualizationSettings * GUISUMOAbstractView::editVisualisationSettings ( ) const
inherited

edit visualization settings (allow modify VisualizationSetings, use carefully)

Definition at line 1629 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myVisualizationSettings.

Referenced by GUILane::getParameterWindow(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), and GUIApplicationWindow::onCmdToggleSecondaryShape().

Here is the caller graph for this function:

◆ endSnapshot()

virtual void GUISUMOAbstractView::endSnapshot ( )
inlinevirtualinherited

Ends a video snapshot.

Reimplemented in GUIViewTraffic.

Definition at line 230 of file GUISUMOAbstractView.h.

Referenced by GUISUMOViewParent::onCmdMakeSnapshot().

Here is the caller graph for this function:

◆ filterContextObjects()

std::vector< GUIGlObject * > GUISUMOAbstractView::filterContextObjects ( const std::vector< GUIGlObject * > &  objects)
inherited

filter out duplicate and forbidden objects

Definition at line 1222 of file GUISUMOAbstractView.cpp.

References GUIGlObject::INVALID_PRIORITY.

Referenced by GUISUMOAbstractView::openObjectDialogAtCursor().

Here is the caller graph for this function:

◆ filterInternalLanes()

std::vector< GUIGlObject * > GUISUMOAbstractView::filterInternalLanes ( const std::vector< GUIGlObject * > &  objects) const
protectedinherited

filter internal lanes in Objects under cursor

Definition at line 555 of file GUISUMOAbstractView.cpp.

References GUIVisualizationSettings::drawJunctionShape, GLO_LANE, and GUISUMOAbstractView::myVisualizationSettings.

◆ forceSupemodeNetwork()

void GNEViewNet::forceSupemodeNetwork ( )

force supermode network(used after load/create new network)

Definition at line 417 of file GNEViewNet.cpp.

References myEditModes, NETWORK, and GNEViewNetHelper::EditModes::setSupermode().

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and viewUpdated().

Here is the caller graph for this function:

◆ getAdditionalAtPopupPosition()

GNEAdditional * GNEViewNet::getAdditionalAtPopupPosition ( )
private

try to retrieve a additional at popup position

Definition at line 2082 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, and GNENetHelper::AttributeCarriers::retrieveAdditional().

Referenced by onCmdOpenAdditionalDialog().

Here is the caller graph for this function:

◆ getChanger()

GUIPerspectiveChanger & GUISUMOAbstractView::getChanger ( ) const
inherited

get changer

Definition at line 185 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myChanger.

Referenced by GUISettingsHandler::applyViewport(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdLoad(), GUIApplicationWindow::onCmdOpenInNetedit(), GNEApplicationWindow::onCmdOpenSUMOGUI(), and GUIDialog_EditViewport::setValues().

Here is the caller graph for this function:

◆ getColoringSchemesCombo()

MFXComboBoxIcon * GUISUMOAbstractView::getColoringSchemesCombo ( )
inherited

get coloring schemes combo

Definition at line 1696 of file GUISUMOAbstractView.cpp.

References GUIGlChildWindow::getColoringSchemesCombo(), and GUISUMOAbstractView::myGlChildWindowParent.

Referenced by GUISettingsHandler::addSettings(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::onCmdSaveSetting().

Here is the caller graph for this function:

◆ getConnectionAtPopupPosition()

GNEConnection * GNEViewNet::getConnectionAtPopupPosition ( )
private

try to retrieve a connection at popup position

Definition at line 2007 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, and GNENetHelper::AttributeCarriers::retrieveConnection().

Referenced by onCmdEditConnectionShape(), and onCmdSmoothConnectionShape().

Here is the caller graph for this function:

◆ getCrossingAtPopupPosition()

GNECrossing * GNEViewNet::getCrossingAtPopupPosition ( )
private

try to retrieve a crossing at popup position

Definition at line 2022 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, and GNENetHelper::AttributeCarriers::retrieveCrossing().

Referenced by onCmdEditCrossingShape().

Here is the caller graph for this function:

◆ getCurrentTimeStep()

SUMOTime GUISUMOAbstractView::getCurrentTimeStep ( ) const
virtualinherited

get the current simulation time

Reimplemented in GUIViewTraffic.

Definition at line 1554 of file GUISUMOAbstractView.cpp.

Referenced by GUISUMOAbstractView::checkSnapshots().

Here is the caller graph for this function:

◆ getDataViewOptions()

◆ getDecals()

◆ getDecalsLockMutex()

FXMutex & GUISUMOAbstractView::getDecalsLockMutex ( )
inherited

The mutex to use before accessing the decals list in order to avoid thread conflicts.

Definition at line 1690 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myDecalsLockMutex.

Referenced by GUIDialog_ViewSettings::loadDecals(), GUIDialog_ViewSettings::loadSettings(), and GUIDialog_ViewSettings::onCmdClearDecals().

Here is the caller graph for this function:

◆ getDelay()

double GUISUMOAbstractView::getDelay ( ) const
inherited

Returns the delay of the parent application.

Definition at line 1926 of file GUISUMOAbstractView.cpp.

References GUIMainWindow::getDelay(), and GUISUMOAbstractView::myApp.

Referenced by GUIDialog_ViewSettings::onCmdExportSetting().

Here is the caller graph for this function:

◆ getDemandElementAtPopupPosition()

GNEDemandElement * GNEViewNet::getDemandElementAtPopupPosition ( )
private

try to retrieve a demand element at popup position

Definition at line 2097 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, and GNENetHelper::AttributeCarriers::retrieveDemandElement().

Referenced by onCmdAddReverse(), and onCmdReverse().

Here is the caller graph for this function:

◆ getDemandViewOptions()

◆ getDrawingToggle()

int GNEViewNet::getDrawingToggle ( ) const

get draw toggle (used to avoid drawing junctions twice)

Definition at line 1306 of file GNEViewNet.cpp.

References myDrawingToggle.

Referenced by GNEJunction::drawGL().

Here is the caller graph for this function:

◆ getEdgeAtPopupPosition()

GNEEdge * GNEViewNet::getEdgeAtPopupPosition ( )
private

◆ getEdgeDataAttrs()

std::vector< std::string > GNEViewNet::getEdgeDataAttrs ( ) const
virtual

return list of loaded edgeData attributes

Reimplemented from GUISUMOAbstractView.

Definition at line 1266 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getGenericDatas(), GNE_TAG_EDGEREL_SINGLE, and myNet.

◆ getEdgeLaneParamKeys()

std::vector< std::string > GNEViewNet::getEdgeLaneParamKeys ( bool  edgeKeys) const
virtual

return list of available edge parameters

Reimplemented from GUISUMOAbstractView.

Definition at line 1234 of file GNEViewNet.cpp.

References NBEdgeCont::getAllEdges(), GNENet::getEdgeCont(), and myNet.

◆ getEditModes()

const GNEViewNetHelper::EditModes & GNEViewNet::getEditModes ( ) const

get edit modes

Definition at line 703 of file GNEViewNet.cpp.

References myEditModes.

Referenced by GNEUndoList::begin(), GNEAdditional::calculateContourPolygons(), GNEEdge::calculateEdgeContour(), GNEConnection::checkDrawConnection(), GNECrossing::checkDrawCrossing(), GNEAdditional::checkDrawDeleteContour(), GNEGenericData::checkDrawDeleteContour(), GNEDemandElement::checkDrawDeleteContour(), GNEConnection::checkDrawDeleteContour(), GNECrossing::checkDrawDeleteContour(), GNEEdge::checkDrawDeleteContour(), GNEJunction::checkDrawDeleteContour(), GNELane::checkDrawDeleteContour(), GNEWalkingArea::checkDrawDeleteContour(), GNEAdditional::checkDrawFromContour(), GNEEdge::checkDrawFromContour(), GNEJunction::checkDrawFromContour(), GNEAccess::checkDrawMoveContour(), GNECalibrator::checkDrawMoveContour(), GNEDetector::checkDrawMoveContour(), GNEMultiEntryExitDetector::checkDrawMoveContour(), GNEParkingSpace::checkDrawMoveContour(), GNERerouter::checkDrawMoveContour(), GNERerouterSymbol::checkDrawMoveContour(), GNEStoppingPlace::checkDrawMoveContour(), GNETAZ::checkDrawMoveContour(), GNETractionSubstation::checkDrawMoveContour(), GNEVariableSpeedSign::checkDrawMoveContour(), GNEDemandElement::checkDrawMoveContour(), GNEConnection::checkDrawMoveContour(), GNECrossing::checkDrawMoveContour(), GNEEdge::checkDrawMoveContour(), GNEJunction::checkDrawMoveContour(), GNEPOI::checkDrawMoveContour(), GNEPoly::checkDrawMoveContour(), GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNEEdge::checkDrawOverContour(), GNEJunction::checkDrawOverContour(), GNELane::checkDrawOverContour(), GNEVehicle::checkDrawRelatedContour(), GNEAdditional::checkDrawSelectContour(), GNEGenericData::checkDrawSelectContour(), GNEDemandElement::checkDrawSelectContour(), GNEConnection::checkDrawSelectContour(), GNECrossing::checkDrawSelectContour(), GNEEdge::checkDrawSelectContour(), GNEJunction::checkDrawSelectContour(), GNELane::checkDrawSelectContour(), GNEWalkingArea::checkDrawSelectContour(), GNEAdditional::checkDrawToContour(), GNEEdge::checkDrawToContour(), GNEJunction::checkDrawToContour(), GNENet::computeDemandElements(), GNEJunction::drawAsBubble(), GNEEdge::drawBigGeometryPoints(), GNECrossing::drawCrossing(), GNEEdge::drawEdgeGeometryPoints(), GNEStop::drawGeometryPoints(), GNEPoly::drawGeometryPoints(), GNETAZ::drawGL(), GNEWalkingArea::drawInContourMode(), GNEJunction::drawJunctionAsShape(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEEdgeRelData::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawMovingGeometryPoints(), GNETAZRelData::drawTAZRel(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEUndoList::end(), GNECrossing::getCrossingColor(), GNEDetector::getMoveOperation(), GNEOverheadWire::getMoveOperation(), GNEParkingSpace::getMoveOperation(), GNEStop::getMoveOperation(), GNEPOI::getMoveOperation(), GNETAZ::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEPOI::isAttributeEnabled(), GNEPoly::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GNEFrameAttributeModules::isSupermodeValid(), GNEApplicationWindow::onCmdProcessButton(), GNEApplicationWindow::onCmdRedo(), GNEElementSet::onCmdSelectElementSet(), GNEApplicationWindow::onCmdUndo(), GNEApplicationWindow::onUpdComputePathManager(), GNEApplicationWindow::onUpdLockMenuTitle(), GNEAttributesCreator::refreshRows(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEOverlappedInspection::showOverlappedInspection(), GNELane::updateGeometry(), and GNEApplicationWindow::updateSuperModeMenuCommands().

◆ getEditNetworkElementShapes()

const GNEViewNetHelper::EditNetworkElementShapes & GNEViewNet::getEditNetworkElementShapes ( ) const

get Edit Shape module

Definition at line 739 of file GNEViewNet.cpp.

References myEditNetworkElementShapes.

Referenced by GNEConnection::checkDrawConnection(), and GNEConnection::drawConnection().

Here is the caller graph for this function:

◆ getFPS()

double GUISUMOAbstractView::getFPS ( ) const
inherited

retrieve FPS

Definition at line 868 of file GUISUMOAbstractView.cpp.

References MAX2(), and GUISUMOAbstractView::myFrameDrawTime.

Referenced by GUISUMOAbstractView::drawFPS(), and GUINet::getParameterWindow().

Here is the caller graph for this function:

◆ getFrontAttributeCarrier()

const GNEAttributeCarrier * GNEViewNet::getFrontAttributeCarrier ( ) const

◆ getFrontGLObject()

const GUIGlObject * GNEViewNet::getFrontGLObject ( ) const

get front glObject

Definition at line 1923 of file GNEViewNet.cpp.

References GNEAttributeCarrier::getGUIGlObject(), and myFrontAttributeCarrier.

◆ getGridHeight()

double GUISUMOAbstractView::getGridHeight ( ) const
inherited

get grid height

Definition at line 1653 of file GUISUMOAbstractView.cpp.

References Boundary::getHeight(), and GUISUMOAbstractView::myGrid.

Referenced by GUISUMOAbstractView::checkGDALImage().

Here is the caller graph for this function:

◆ getGridWidth()

double GUISUMOAbstractView::getGridWidth ( ) const
inherited

get grid width

Definition at line 1647 of file GUISUMOAbstractView.cpp.

References Boundary::getWidth(), and GUISUMOAbstractView::myGrid.

Referenced by GUISUMOAbstractView::checkGDALImage().

Here is the caller graph for this function:

◆ getGUIGlChildWindow()

GUIGlChildWindow * GUISUMOAbstractView::getGUIGlChildWindow ( )
inherited

get GUIGlChildWindow

Definition at line 874 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myGlChildWindowParent.

Referenced by MFXDecalsTable::Column::Column().

Here is the caller graph for this function:

◆ getGUIGlObjectsAtPosition()

std::vector< GUIGlObject * > GUISUMOAbstractView::getGUIGlObjectsAtPosition ( Position  pos,
double  radius 
)
protectedinherited

returns the GUIGlObjects at position within the given (rectangular) radius using GL_SELECT

Definition at line 485 of file GUISUMOAbstractView.cpp.

References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObjectStorage::gIDStorage, Boundary::grow(), and GUIGlObjectStorage::unblockObject().

Referenced by GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), and GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor().

Here is the caller graph for this function:

◆ getGUIGlObjectsUnderCursor()

std::vector< GUIGlObject * > GUISUMOAbstractView::getGUIGlObjectsUnderCursor ( )
protectedinherited

returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects)

Definition at line 402 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::SENSITIVITY.

Referenced by GUISUMOAbstractView::openObjectDialogAtCursor().

Here is the caller graph for this function:

◆ getGUIGlObjectsUnderSnappedCursor()

std::vector< GUIGlObject * > GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor ( )
protectedinherited

returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects)

Definition at line 408 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::SENSITIVITY, and GUISUMOAbstractView::snapToActiveGrid().

◆ getInspectedAttributeCarriers()

◆ getIntervalBar()

GNEViewNetHelper::IntervalBar & GNEViewNet::getIntervalBar ( )

get interval bar

Definition at line 1866 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by GNEGenericData::isVisibleInspectDeleteSelect(), GNEDataInterval::setAttribute(), GNEDataSet::setAttribute(), GNEEdgeRelData::setAttribute(), and GNETAZRelData::setAttribute().

Here is the caller graph for this function:

◆ getJunctionAtPopupPosition()

GNEJunction * GNEViewNet::getJunctionAtPopupPosition ( )
private

◆ getLaneAtPopupPosition()

GNELane * GNEViewNet::getLaneAtPopupPosition ( )
private

try to retrieve a lane at popup position

Definition at line 2067 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, and GNENetHelper::AttributeCarriers::retrieveLane().

Referenced by onCmdDuplicateLane(), onCmdEditLaneShape(), onCmdLaneOperation(), onCmdLaneReachability(), onCmdResetEndPoints(), onCmdResetLaneCustomShape(), onCmdResetOppositeLane(), and onCmdSetCustomGeometryPoint().

Here is the caller graph for this function:

◆ getLaneUnderCursor()

GUILane * GUISUMOAbstractView::getLaneUnderCursor ( )
protectedvirtualinherited

returns the GUILane at cursor position (implementation depends on view)

Reimplemented in GUIViewTraffic.

Definition at line 377 of file GUISUMOAbstractView.cpp.

◆ getLastCreatedRoute()

GNEDemandElement * GNEViewNet::getLastCreatedRoute ( ) const

get last created route

Definition at line 1980 of file GNEViewNet.cpp.

References myLastCreatedRoute.

Referenced by GNEVehicleFrame::createPath(), GNEPathCreator::onUpdUseLastRoute(), and GNEPlanCreator::onUpdUseLastRoute().

Here is the caller graph for this function:

◆ getLockManager()

GNEViewNetHelper::LockManager & GNEViewNet::getLockManager ( )

get lock manager

Definition at line 1878 of file GNEViewNet.cpp.

References myLockManager.

Referenced by GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GNEApplicationWindow::onCmdLockAllElements(), GNEApplicationWindow::onCmdLockElements(), GNEApplicationWindow::onCmdUnlockAllElements(), and GNESelectorFrame::selectAttributeCarrier().

Here is the caller graph for this function:

◆ getMainWindow()

GUIMainWindow * GUISUMOAbstractView::getMainWindow ( ) const
inherited

get main window

Definition at line 956 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myApp.

Referenced by GUICursorDialog::buildDialogElements(), and GUICursorDialog::onCmdOpenPropertiesPopUp().

Here is the caller graph for this function:

◆ getMeanDataAttrs()

virtual std::vector<std::string> GUISUMOAbstractView::getMeanDataAttrs ( const std::string &  meanDataID) const
inlinevirtualinherited

return list of available attributes for the given meanData id

Reimplemented in GUIViewTraffic.

Definition at line 284 of file GUISUMOAbstractView.h.

References UNUSED_PARAMETER.

Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getMeanDataIDs()

virtual std::vector<std::string> GUISUMOAbstractView::getMeanDataIDs ( ) const
inlinevirtualinherited

return list of loaded edgeData ids (being computed in the current simulation)

Reimplemented in GUIViewTraffic.

Definition at line 279 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getMouseButtonKeyPressed()

◆ getMoveMultipleElementValues()

const GNEViewNetHelper::MoveMultipleElementModul & GNEViewNet::getMoveMultipleElementValues ( ) const

get move multiple element values

Definition at line 532 of file GNEViewNet.cpp.

References myMoveMultipleElements.

Referenced by GNEEdge::getMoveOperation(), and GNEEdge::processNoneJunctionSelected().

Here is the caller graph for this function:

◆ getNet()

GNENet * GNEViewNet::getNet ( ) const

get the net object

Definition at line 1854 of file GNEViewNet.cpp.

References myNet.

Referenced by GNEEdgeDataFrame::addEdgeData(), GNETAZFrame::addOrRemoveTAZMember(), GNEShapeFrame::addShape(), GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEPathCreator::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNEEdgeRelDataFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEAttributesCreatorRow::generateID(), GNESelectorFrame::getMatches(), GNETypeFrame::GNETypeFrame(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEAttributesCreatorRow::isValidID(), GNEApplicationWindow::loadDataElements(), GNENetDiffTool::loadShapes(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEFixAdditionalElements::onCmdAccept(), GNEFixElementsDialog::onCmdAccept(), GNECalibratorDialog::onCmdAddFlow(), GNECalibratorDialog::onCmdAddVehicleType(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEApplicationWindow::onCmdComputePathManager(), GNEElementTree::onCmdDeleteItem(), GNEViewParent::onCmdLocate(), GNEApplicationWindow::onCmdOpenDataElements(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEApplicationWindow::onCmdReloadDataElements(), GNEApplicationWindow::onCmdSaveNetwork(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), onCmdToggleShowConnections(), GNENetworkSelector::onCmdUseSelectedElements(), GNEApplicationWindow::onUpdComputePathManager(), GNETLSEditorFrame::parseTLSPrograms(), GNEPathCreator::Path::Path(), GNEPlanCreator::PlanPath::PlanPath(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEDemandElementSelector::refreshDemandElementSelector(), GNESelectorParent::refreshSelectorParentModule(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDeleteFrame::selectedACsToDelete(), GNETagSelector::setCurrentTagType(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEAdditionalFrame::tagSelected(), GNETAZFrame::TAZParameters::TAZParameters(), GNEPathCreator::updateEdgeColors(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), GNEApplicationWindow::updateRecomputingLabel(), GNECalibratorDialog::updateRouteTable(), GNEMatchGenericDataAttribute::updateTAZComboBox(), and GNECalibratorDialog::updateVehicleTypeTable().

◆ getNetworkViewOptions()

◆ getObjectAtPosition()

GUIGlID GUISUMOAbstractView::getObjectAtPosition ( Position  pos)
protectedinherited

returns the id of the object at position using GL_SELECT

Definition at line 414 of file GUISUMOAbstractView.cpp.

References Boundary::add(), GUIGlObject::getClickPriority(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObjectStorage::gIDStorage, Boundary::grow(), GUISUMOAbstractView::SENSITIVITY, and GUIGlObjectStorage::unblockObject().

Referenced by GUISUMOAbstractView::getObjectUnderCursor(), onCmdAddEdgeSelected(), onCmdAddSelected(), onCmdRemoveEdgeSelected(), and onCmdRemoveSelected().

Here is the caller graph for this function:

◆ getObjectsAtPosition()

std::vector< GUIGlID > GUISUMOAbstractView::getObjectsAtPosition ( Position  pos,
double  radius 
)
protectedinherited

returns the ids of the object at position within the given (rectangular) radius using GL_SELECT

Definition at line 450 of file GUISUMOAbstractView.cpp.

References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_NETWORK, Boundary::grow(), and GUIGlObjectStorage::unblockObject().

Referenced by GUISUMOAbstractView::getObjectsUnderCursor().

Here is the caller graph for this function:

◆ getObjectsInBoundary()

◆ getObjectsUnderCursor()

std::vector< GUIGlID > GUISUMOAbstractView::getObjectsUnderCursor ( )
protectedinherited

returns the id of the objects under the cursor using GL_SELECT (including overlapped objects)

Definition at line 395 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::getObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::SENSITIVITY.

◆ getObjectUnderCursor()

GUIGlID GUISUMOAbstractView::getObjectUnderCursor ( )
protectedinherited

returns the id of the front object under the cursor using GL_SELECT

Definition at line 389 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getPositionInformation().

Referenced by GUIViewTraffic::getLaneUnderCursor(), GUISUMOAbstractView::getToolTipID(), and GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ getPOIAtPopupPosition()

GNEPOI * GNEViewNet::getPOIAtPopupPosition ( )
private

try to retrieve a POILane at popup position

Definition at line 2127 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, POI, and GNENetHelper::AttributeCarriers::retrieveAdditional().

Referenced by onCmdTransformPOI().

Here is the caller graph for this function:

◆ getPOIParamKeys()

virtual std::vector<std::string> GUISUMOAbstractView::getPOIParamKeys ( ) const
inlinevirtualinherited

return list of available vehicle parameters

Reimplemented in GUIViewTraffic.

Definition at line 305 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::updatePOIParams().

Here is the caller graph for this function:

◆ getPolygonAtPopupPosition()

GNEPoly * GNEViewNet::getPolygonAtPopupPosition ( )
private

try to retrieve a polygon at popup position

Definition at line 2112 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, and GNENetHelper::AttributeCarriers::retrieveAdditional().

Referenced by onCmdClosePolygon(), onCmdDeleteGeometryPoint(), onCmdOpenPolygon(), onCmdSelectPolygonElements(), onCmdSetCustomGeometryPoint(), onCmdSetFirstGeometryPoint(), and onCmdSimplifyShape().

Here is the caller graph for this function:

◆ getPopupPosition()

const Position & GUISUMOAbstractView::getPopupPosition ( ) const
inherited

get position of current popup

Definition at line 1013 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myPopupPosition.

Referenced by onCmdAddEdgeSelected(), onCmdAddSelected(), onCmdDeleteGeometryPoint(), onCmdEditEdgeEndpoint(), onCmdRemoveEdgeSelected(), onCmdRemoveSelected(), onCmdResetEdgeEndpoint(), onCmdSetFirstGeometryPoint(), onCmdSplitEdge(), and onCmdSplitEdgeBidi().

Here is the caller graph for this function:

◆ getPositionInformation()

Position GUISUMOAbstractView::getPositionInformation ( ) const
virtualinherited

Returns the cursor's x/y position within the network.

Definition at line 199 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myWindowCursorPositionX, GUISUMOAbstractView::myWindowCursorPositionY, and GUISUMOAbstractView::screenPos2NetPos().

Referenced by GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEWireFrame::buildWireOverView(), GNEMoveElement::calculateNewLane(), doPaintGL(), GNEDemandElementPlan::drawEndPosition(), GNETAZ::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawJunctionAsShape(), GNEVehicle::drawLanePartialGL(), GNENeteditAttributes::drawLaneReference(), drawTemporalDrawingShape(), drawTemporalJunction(), drawTemporalSplitJunction(), drawTestsCircle(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GNEParkingSpace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEEdge::getMoveOperation(), GNEPOI::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNENeteditAttributes::getNeteditAttributesAndValues(), GUISUMOAbstractView::getObjectsUnderCursor(), GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GNEDemandElementPlan::getPlanMoveOperation(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEPoly::getPopUpMenu(), onCmdSetCustomGeometryPoint(), GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUIDanielPerspectiveChanger::onMiddleBtnPress(), GUISUMOAbstractView::onMouseMove(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), openDeleteDialogAtCursor(), openObjectDialogAtCursor(), GUISUMOAbstractView::openPopupDialog(), openSelectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeGeometryPoint(), and GUISUMOAbstractView::updatePositionInformationLabel().

◆ getRelDataAttrs()

std::vector< std::string > GNEViewNet::getRelDataAttrs ( ) const
virtual

return list of loaded edgeRelation and tazRelation attributes

Reimplemented from GUISUMOAbstractView.

Definition at line 1278 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getGenericDatas(), myNet, SUMO_TAG_EDGEREL, and SUMO_TAG_TAZREL.

◆ getSaveElements()

GNEViewNetHelper::SaveElements & GNEViewNet::getSaveElements ( )

get variable used to save elements

Definition at line 963 of file GNEViewNet.cpp.

References mySaveElements.

Referenced by GNEApplicationWindow::onUpdSaveNeteditConfig().

Here is the caller graph for this function:

◆ getTAZAtPopupPosition()

GNETAZ * GNEViewNet::getTAZAtPopupPosition ( )
private

try to retrieve a TAZ at popup position

Definition at line 2142 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), and TAZ.

Referenced by onCmdSetCustomGeometryPoint().

Here is the caller graph for this function:

◆ getTestingMode()

const GNEViewNetHelper::TestingMode & GNEViewNet::getTestingMode ( ) const

get testing mode

Definition at line 709 of file GNEViewNet.cpp.

References myTestingMode.

◆ getTimeFormat()

GNEViewNetHelper::TimeFormat & GNEViewNet::getTimeFormat ( )

get variable used to switch between time formats

Definition at line 969 of file GNEViewNet.cpp.

References myTimeFormat.

Referenced by GNEApplicationWindow::onCmdToggleTimeFormat(), and GNEApplicationWindow::onUpdToggleTimeFormat().

Here is the caller graph for this function:

◆ getToolTipID()

GUIGlID GNEViewNet::getToolTipID ( )
protectedvirtual

returns the id of object under cursor to show their tooltip

Reimplemented from GUISUMOAbstractView.

Definition at line 331 of file GNEViewNet.cpp.

References GUIGlObject::getGlID(), GNEViewNetHelper::ViewObjectsSelector::getGUIGlObjectFront(), and myViewObjectsSelector.

◆ getTrackedID()

GUIGlID GUISUMOAbstractView::getTrackedID ( ) const
virtualinherited

get tracked id

Reimplemented in GUIViewTraffic.

Definition at line 1669 of file GUISUMOAbstractView.cpp.

References GUIGlObject::INVALID_ID.

Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), and GUISUMOAbstractView::paintGL().

Here is the caller graph for this function:

◆ getUndoList()

GNEUndoList * GNEViewNet::getUndoList ( ) const

get the undoList object

Definition at line 1860 of file GNEViewNet.cpp.

References myUndoList.

Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNECreateEdgeFrame::addBikelane(), GNETAZFrame::addOrRemoveTAZMember(), GNECreateEdgeFrame::addSidewalk(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEConnectorFrame::buildConnection(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerStop(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEMeanDataHandler::buildEdgeMeanData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildWalk(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEPoly::changeFirstGeometryPoint(), GNEPoly::closePolygon(), GNENet::computeAndUpdate(), GNERoute::copyRoute(), GNEVehicle::copyVehicle(), GNEContainerFrame::createPath(), GNEPersonFrame::createPath(), GNEPoly::deleteGeometryPoint(), GNEAdditional::deleteGLObject(), GNEGenericData::deleteGLObject(), GNEDemandElement::deleteGLObject(), GNEConnection::deleteGLObject(), GNECrossing::deleteGLObject(), GNEEdge::deleteGLObject(), GNEEdgeType::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNELaneType::deleteGLObject(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEAccess::fixAdditionalProblem(), GNEEntryExitDetector::fixAdditionalProblem(), GNEInductionLoopDetector::fixAdditionalProblem(), GNEInstantInductionLoopDetector::fixAdditionalProblem(), GNELaneAreaDetector::fixAdditionalProblem(), GNEOverheadWire::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEPOI::fixAdditionalProblem(), GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixStopPositionOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNESelectorFrame::handleIDs(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEAllowVClassesDialog::onCmdAccept(), GNEFixAdditionalElements::onCmdAccept(), GNEFixElementsDialog::onCmdAccept(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), onCmdAddJoinTLS(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), onCmdAddTLS(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), onCmdClosePolygon(), GNEElementTree::onCmdDeleteItem(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEFrameAttributeModules::AttributesEditorRow::onCmdOpenAllowDialog(), GNEFrameAttributeModules::AttributesEditorRow::onCmdOpenColorDialog(), GNEApplicationWindow::onCmdOpenEdgeTypes(), onCmdOpenPolygon(), GNEApplicationWindow::onCmdRedo(), GNEApplicationWindow::onCmdReloadEdgeTypes(), onCmdSelectPolygonElements(), GNEFlowEditor::onCmdSetFlowAttribute(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), onCmdSimplifyShape(), GNEApplicationWindow::onCmdUndo(), GNEPoly::openPolygon(), GNEAdditionalHandler::overwriteAdditional(), GNERouteHandler::overwriteDemandElement(), GNETLSEditorFrame::parseTLSPrograms(), GNECreateEdgeFrame::processClick(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNERouteHandler::reverse(), GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNEConnection::smootShape(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), and GNERouteHandler::transformToVehicle().

◆ getVehicleParamKeys()

virtual std::vector<std::string> GUISUMOAbstractView::getVehicleParamKeys ( bool  ) const
inlinevirtualinherited

return list of available vehicle parameters

Reimplemented in GUIViewTraffic.

Definition at line 300 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::updateVehicleParams().

Here is the caller graph for this function:

◆ getViewObjectsSelector()

const GNEViewNetHelper::ViewObjectsSelector & GNEViewNet::getViewObjectsSelector ( ) const

◆ getViewParent()

GNEViewParent * GNEViewNet::getViewParent ( ) const

get the net object

Definition at line 1848 of file GNEViewNet.cpp.

References myViewParent.

Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPathCreator::addTAZ(), GNELane::buildTemplateOperations(), GNEAdditional::calculateContourPolygons(), GNEEdge::calculateEdgeContour(), GNETLSTable::Cell::Cell(), GNEAdditional::checkDrawFromContour(), GNEEdge::checkDrawFromContour(), GNEJunction::checkDrawFromContour(), GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNEEdge::checkDrawOverContour(), GNEJunction::checkDrawOverContour(), GNELane::checkDrawOverContour(), GNEInductionLoopDetector::checkDrawRelatedContour(), GNEVehicle::checkDrawRelatedContour(), GNEAdditional::checkDrawToContour(), GNEEdge::checkDrawToContour(), GNEJunction::checkDrawToContour(), GNETLSTable::Column::Column(), GNEMoveElement::commitMove(), GNENet::computeAndUpdate(), GNEElementTree::createPopUpMenu(), GNENet::deleteDemandElement(), GNEEdge::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEGenericData::drawAttribute(), GNEEdge::drawBigGeometryPoints(), GNEEdge::drawEndGeometryPoint(), GNETAZ::drawGL(), GNEPoly::drawGL(), GNEStop::drawIndex(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNEEdge::drawStartGeometryPoint(), GNETAZRelData::drawTAZRel(), GNEUndoList::end(), GNEStop::getColor(), GNEAccess::getMoveOperation(), GNEDetector::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationSingleLane(), GNELane::getPopUpMenu(), GNEContainerPlanFrame::hide(), GNEPersonPlanFrame::hide(), GNEFrame::hide(), GNEInspectorFrame::inspectMultisection(), GNEEdgeType::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEProhibitionFrame::Legend::Legend(), GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEElementTree::onCmdDeleteItem(), MFXGroupBoxModule::onCmdExtendButton(), GNEInspectorFrame::onCmdGoBack(), GNEElementTree::onCmdInspectItem(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdRedo(), GNEApplicationWindow::onCmdReloadEdgeTypes(), GNEApplicationWindow::onCmdReloadTLSPrograms(), MFXGroupBoxModule::onCmdResetButton(), GNEApplicationWindow::onCmdSetFrontElement(), GNEApplicationWindow::onCmdSetTemplate(), GNEOptionsDialog::onCmdShowToolTipsMenu(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), GNEApplicationWindow::onCmdToggleTimeFormat(), GNEApplicationWindow::onCmdUndo(), GNELane::onDefault(), MFXGroupBoxModule::onUpdResetButton(), GNEApplicationWindow::onUpdSaveAdditionals(), GNENetDiffTool::postProcessing(), GNECreateEdgeFrame::processClick(), GNETLSTable::recalcTableWidth(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNETLSTable::Row::Row(), GNENet::saveDataElements(), GNENet::saveDemandElements(), GNENet::saveNetwork(), GNEAdditional::selectGLObject(), GNEGenericData::selectGLObject(), GNEDemandElement::selectGLObject(), GNENetworkElement::selectGLObject(), GNEProhibitionFrame::Selection::Selection(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEEdge::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNELane::setLaneColor(), GNEFrame::show(), GNEAdditionalFrame::tagSelected(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), and GNEChange_EdgeType::undo().

◆ getViewportEditor()

GUIDialog_EditViewport * GUISUMOAbstractView::getViewportEditor ( )
inherited

get the viewport and create it on first access

Definition at line 1573 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myGUIDialogEditViewport, TLC, and GUISUMOAbstractView::updateViewportValues().

Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), and GUISUMOAbstractView::showViewportEditor().

Here is the caller graph for this function:

◆ getVisibleBoundary()

Boundary GUISUMOAbstractView::getVisibleBoundary ( ) const
inherited

get visible boundary

Definition at line 281 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getViewport(), and GUISUMOAbstractView::myChanger.

Referenced by GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildPersonPlan(), GNEVehicleFrame::buildVehicleOverRoute(), and GUIGLObjectPopupMenu::onCmdCopyViewGeoBoundary().

Here is the caller graph for this function:

◆ getVisualisationSettings()

const GUIVisualizationSettings & GUISUMOAbstractView::getVisualisationSettings ( ) const
inherited

get visualization settings (read only)

Definition at line 1623 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myVisualizationSettings.

Referenced by GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEPersonTrip::getColor(), GNERide::getColor(), GNEStop::getColor(), GNEStopPlan::getColor(), GNETranship::getColor(), GNETransport::getColor(), GNEWalk::getColor(), GNEEdge::getGeometryPointRadius(), GNEParkingSpace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEPOI::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GUILane::getPopUpMenu(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEConnectorFrame::initTargets(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), GNEApplicationWindow::onCmdToggleDrawJunctionShape(), GNEApplicationWindow::onCmdToggleGrid(), GUIApplicationWindow::onCmdToggleSecondaryShape(), GNECreateEdgeFrame::processClick(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNELane::removeGeometryPoint(), GNEPoly::removeGeometryPoint(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), and GNEContainerStop::updateGeometry().

Here is the caller graph for this function:

◆ getWalkingAreaAtPopupPosition()

GNEWalkingArea * GNEViewNet::getWalkingAreaAtPopupPosition ( )
private

try to retrieve a walkingArea at popup position

Definition at line 2037 of file GNEViewNet.cpp.

References GNENet::getAttributeCarriers(), GUIViewObjectsHandler::getSelectedObjects(), gViewObjectsHandler, myNet, and GNENetHelper::AttributeCarriers::retrieveWalkingArea().

Referenced by onCmdEditWalkingAreaShape().

Here is the caller graph for this function:

◆ getWindowCursorPosition()

Position GUISUMOAbstractView::getWindowCursorPosition ( ) const
inherited

return windows cursor position

Definition at line 962 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.

Referenced by GUISUMOAbstractView::updatePositionInformationLabel().

Here is the caller graph for this function:

◆ hotkeyBackSpace()

void GNEViewNet::hotkeyBackSpace ( )

◆ hotkeyDel()

◆ hotkeyEnter()

void GNEViewNet::hotkeyEnter ( )

handle enter keypress

Definition at line 1738 of file GNEViewNet.cpp.

References GNETAZRelDataFrame::buildTAZRelationData(), GNETLSEditorFrame::TLSDefinition::checkHaveModifications(), GNEViewNetHelper::EditNetworkElementShapes::commitEditedShape(), GNECrossingFrame::createCrossingHotkey(), GNEPathCreator::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), DATA_EDGERELDATA, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNETLSEditorFrame::TLSAttributes::disableE1DetectorMode(), GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getCrossingFrame(), GNETAZFrame::getCurrentTAZModule(), GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GNEGenericDataFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEContainerFrame::getPlanCreator(), GNEContainerPlanFrame::getPlanCreator(), GNEPersonFrame::getPlanCreator(), GNEPersonPlanFrame::getPlanCreator(), GNEViewParent::getRouteFrame(), GNEViewParent::getShapeFrame(), GNETAZFrame::CurrentTAZ::getTAZ(), GNEViewParent::getTAZFrame(), GNEViewParent::getTAZRelDataFrame(), GNETAZFrame::getTAZSaveChangesModule(), GNETLSEditorFrame::getTLSAttributes(), GNETLSEditorFrame::getTLSDefinition(), GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GNEViewParent::getVehicleFrame(), GNEViewParent::getWireFrame(), GNETAZFrame::TAZSaveChanges::isChangesPending(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEDrawingShape::isDrawing(), GNETLSEditorFrame::TLSJunction::isJoiningJunctions(), GNETLSEditorFrame::TLSAttributes::isSetDetectorsToggleButtonEnabled(), myEditModes, myEditNetworkElementShapes, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNETLSEditorFrame::TLSJunction::onCmdAcceptJoin(), GNEPathCreator::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNETLSEditorFrame::TLSDefinition::onCmdSaveChanges(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEDrawingShape::startDrawing(), and GNEDrawingShape::stopDrawing().

Referenced by GNEApplicationWindow::onCmdEnter().

Here is the caller graph for this function:

◆ hotkeyFocusFrame()

void GNEViewNet::hotkeyFocusFrame ( )

handle focus frame keypress

Definition at line 1837 of file GNEViewNet.cpp.

References GNEFrame::focusUpperElement(), and myCurrentFrame.

Referenced by GNEApplicationWindow::onCmdFocusFrame().

Here is the caller graph for this function:

◆ is3DView()

bool GUISUMOAbstractView::is3DView ( ) const
virtualinherited

return whether this is a 3D view

Definition at line 287 of file GUISUMOAbstractView.cpp.

Referenced by GUISettingsHandler::applyViewport(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_ViewSettings::onCmdExportSetting(), GUIDialog_EditViewport::setValues(), and GUIDialog_EditViewport::writeXML().

Here is the caller graph for this function:

◆ isAdditionalGLVisualisationEnabled()

bool GUISUMOAbstractView::isAdditionalGLVisualisationEnabled ( GUIGlObject *const  which) const
inherited

Check if an object is added in the additional GL visualitation.

Parameters
[in]whichThe object to check
See also
GUIGlObject::drawGLAdditional

Definition at line 1882 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myAdditionallyDrawn.

◆ isAttributeCarrierInspected()

◆ isInEditMode()

bool GUISUMOAbstractView::isInEditMode ( )
inherited

returns true, if the edit button was pressed

Definition at line 179 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myInEditMode.

◆ isMovingElement()

◆ m2p()

double GUISUMOAbstractView::m2p ( double  meter) const
inherited

meter-to-pixels conversion method

Definition at line 903 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.

Referenced by GUISUMOAbstractView::displayLegend(), GUIViewTraffic::doPaintGL(), drawGLElements(), GUISUMOAbstractView::getObjectsInBoundary(), and GUISUMOAbstractView::makeSnapshot().

Here is the caller graph for this function:

◆ makeCurrent()

FXbool GUISUMOAbstractView::makeCurrent ( )
inherited

A reimplementation due to some internal reasons.

Definition at line 975 of file GUISUMOAbstractView.cpp.

Referenced by GUIViewTraffic::getLaneUnderCursor(), GUISUMOAbstractView::makeSnapshot(), onCmdAddEdgeSelected(), onCmdAddSelected(), onCmdRemoveEdgeSelected(), onCmdRemoveSelected(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onPaint(), GUISUMOAbstractView::openObjectDialogAtCursor(), and recalculateBoundaries().

Here is the caller graph for this function:

◆ makeSnapshot()

std::string GUISUMOAbstractView::makeSnapshot ( const std::string &  destFile,
const int  w = -1,
const int  h = -1 
)
inherited

Takes a snapshots and writes it into the given file.

The format to use is determined from the extension. If compiled with ffmpeg and a video format is requested it will instantiate a video encoder.

Parameters
[in]destFileThe name of the file to write the snapshot into
[in]wThe snapshot image width
[in]wThe snapshot image height
Returns
The error message, if an error occurred; "" otherwise

Definition at line 1356 of file GUISUMOAbstractView.cpp.

References RGBColor::alpha(), GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::displayLegends(), GUIVisualizationSettings::dither, GUISUMOAbstractView::doPaintGL(), GUISUMOAbstractView::drawDecals(), GUIPerspectiveChanger::getViewport(), RGBColor::green(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), GLHelper::pushMatrix(), RGBColor::red(), GUISUMOAbstractView::saveFrame(), MFXImageHelper::saveImage(), GUIVisualizationSettings::scale, SUMORTree::Search(), GLHelper::setGL2PS(), GUIVisualizationSettings::showGrid, MFXSingleEventThread::sleep(), SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().

Referenced by GUISUMOAbstractView::checkSnapshots(), GUISUMOViewParent::onCmdMakeSnapshot(), and GNEViewParent::onCmdMakeSnapshot().

Here is the caller graph for this function:

◆ mergeJunctions()

bool GNEViewNet::mergeJunctions ( GNEJunction movedJunction,
GNEJunction targetJunction 
)

try to merge moved junction with another junction in that spot return true if merging did take place

Definition at line 881 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GUIGlObject::getMicrosimID(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNENet::mergeJunctions(), myNet, myNetworkViewOptions, myUndoList, TL, TLF, and WRITE_DEBUG.

Referenced by GNEJunction::commitMoveShape().

Here is the caller graph for this function:

◆ onCmdAddEdgeSelected()

long GNEViewNet::onCmdAddEdgeSelected ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdAddJoinTLS()

◆ onCmdAddRerouter()

long GUISUMOAbstractView::onCmdAddRerouter ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

Reimplemented in GUIViewTraffic.

Definition at line 359 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddReverse()

long GNEViewNet::onCmdAddReverse ( FXObject *  ,
FXSelector  ,
void *   
)

add a reverse demand element

Definition at line 2870 of file GNEViewNet.cpp.

References GNERouteHandler::addReverse(), GNEUndoList::begin(), GNEUndoList::end(), getDemandElementAtPopupPosition(), GNEAttributeCarrier::getTagStr(), myUndoList, and TLF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddReversedEdge()

long GNEViewNet::onCmdAddReversedEdge ( FXObject *  ,
FXSelector  ,
void *   
)

add reversed edge

Definition at line 2416 of file GNEViewNet.cpp.

References GNENet::addReversedEdge(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddReversedEdgeDisconnected()

long GNEViewNet::onCmdAddReversedEdgeDisconnected ( FXObject *  ,
FXSelector  ,
void *   
)

add reversed edge disconnected

Definition at line 2437 of file GNEViewNet.cpp.

References GNENet::addReversedEdge(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddSelected()

long GNEViewNet::onCmdAddSelected ( FXObject *  ,
FXSelector  ,
void *   
)

select AC under cursor

Definition at line 4458 of file GNEViewNet.cpp.

References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GNEAttributeCarrier::selectAttributeCarrier(), and GUIGlObjectStorage::unblockObject().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddTLS()

◆ onCmdClearConnections()

◆ onCmdCloseEdge()

long GUISUMOAbstractView::onCmdCloseEdge ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

Reimplemented in GUIViewTraffic.

Definition at line 353 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCloseLane()

long GUISUMOAbstractView::onCmdCloseLane ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

interaction with the simulation

Reimplemented in GUIViewTraffic.

Definition at line 347 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClosePolygon()

long GNEViewNet::onCmdClosePolygon ( FXObject *  ,
FXSelector  ,
void *   
)

close opened polygon

Definition at line 2669 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getPolygonAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedShapes(), getUndoList(), GNENet::getViewNet(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::simplifyShape(), SUMO_TAG_POLY, TL, and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdConvertRoundabout()

long GNEViewNet::onCmdConvertRoundabout ( FXObject *  ,
FXSelector  ,
void *   
)

convert junction to roundabout

Definition at line 3488 of file GNEViewNet.cpp.

References GNENet::createRoundabout(), GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDeleteGeometryPoint()

long GNEViewNet::onCmdDeleteGeometryPoint ( FXObject *  ,
FXSelector  ,
void *   
)

delete the closes geometry point

Definition at line 2658 of file GNEViewNet.cpp.

References GNEPoly::deleteGeometryPoint(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDuplicateLane()

long GNEViewNet::onCmdDuplicateLane ( FXObject *  ,
FXSelector  ,
void *   
)

duplicate selected lane

Definition at line 3004 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNENet::duplicateLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedLanes(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEdgeUseAsTemplate()

long GNEViewNet::onCmdEdgeUseAsTemplate ( FXObject *  ,
FXSelector  ,
void *   
)

use edge as template

Definition at line 2598 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), myViewParent, and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditConnectionShape()

long GNEViewNet::onCmdEditConnectionShape ( FXObject *  ,
FXSelector  ,
void *   
)

edit connection shape

Definition at line 3654 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), myEditNetworkElementShapes, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::showGrid, GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape(), TL, and WRITE_WARNING.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditCrossingShape()

long GNEViewNet::onCmdEditCrossingShape ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdEditEdgeEndpoint()

long GNEViewNet::onCmdEditEdgeEndpoint ( FXObject *  ,
FXSelector  ,
void *   
)

change geometry endpoint

Definition at line 2458 of file GNEViewNet.cpp.

References GNEEdge::editEndpoint(), getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), and myUndoList.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditJunctionShape()

long GNEViewNet::onCmdEditJunctionShape ( FXObject *  ,
FXSelector  ,
void *   
)

edit junction shape

Definition at line 3384 of file GNEViewNet.cpp.

References GNENet::computeAndUpdate(), GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getShape(), myEditNetworkElementShapes, myNet, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::showGrid, GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape(), TL, and WRITE_WARNING.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditLaneShape()

long GNEViewNet::onCmdEditLaneShape ( FXObject *  ,
FXSelector  ,
void *   
)

edit lane shape

Definition at line 3027 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getLaneAtPopupPosition(), myEditNetworkElementShapes, and GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditWalkingAreaShape()

long GNEViewNet::onCmdEditWalkingAreaShape ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdEgeApplyTemplate()

long GNEViewNet::onCmdEgeApplyTemplate ( FXObject *  ,
FXSelector  ,
void *   
)

apply template to edge

Definition at line 2608 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEEdge::copyTemplate(), GNEUndoList::end(), getEdgeAtPopupPosition(), GNEInspectorFrame::TemplateEditor::getEdgeTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), myUndoList, myViewParent, TL, and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarDataSet()

long GNEViewNet::onCmdIntervalBarDataSet ( FXObject *  ,
FXSelector  ,
void *   
)

change data set in interval bar

Definition at line 4423 of file GNEViewNet.cpp.

References myIntervalBar, and GNEViewNetHelper::IntervalBar::setDataSet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarGenericDataType()

long GNEViewNet::onCmdIntervalBarGenericDataType ( FXObject *  ,
FXSelector  ,
void *   
)

change generic data type in interval bar

Definition at line 4416 of file GNEViewNet.cpp.

References myIntervalBar, and GNEViewNetHelper::IntervalBar::setGenericDataType().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarLimit()

long GNEViewNet::onCmdIntervalBarLimit ( FXObject *  ,
FXSelector  ,
void *   
)

change limit interval in interval bar

Definition at line 4430 of file GNEViewNet.cpp.

References myIntervalBar, and GNEViewNetHelper::IntervalBar::setInterval().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarSetBegin()

long GNEViewNet::onCmdIntervalBarSetBegin ( FXObject *  ,
FXSelector  ,
void *   
)

change begin in interval bar

Definition at line 4437 of file GNEViewNet.cpp.

References myIntervalBar, and GNEViewNetHelper::IntervalBar::setBegin().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarSetEnd()

long GNEViewNet::onCmdIntervalBarSetEnd ( FXObject *  ,
FXSelector  ,
void *   
)

change end in interval bar

Definition at line 4444 of file GNEViewNet.cpp.

References myIntervalBar, and GNEViewNetHelper::IntervalBar::setEnd().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarSetParameter()

long GNEViewNet::onCmdIntervalBarSetParameter ( FXObject *  ,
FXSelector  ,
void *   
)

change parameter in interval bar

Definition at line 4451 of file GNEViewNet.cpp.

References myIntervalBar, and GNEViewNetHelper::IntervalBar::setParameter().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLaneOperation()

long GNEViewNet::onCmdLaneOperation ( FXObject *  ,
FXSelector  sel,
void *   
)

◆ onCmdLaneReachability()

long GNEViewNet::onCmdLaneReachability ( FXObject *  menu,
FXSelector  sel,
void *   
)

show lane reachability

Definition at line 3128 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEPathManager::PathCalculator::calculateReachability(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNEPathManager::getPathCalculator(), GNENet::getPathManager(), GNE_ATTR_SELECTED, myNet, myUndoList, SumoVehicleClassStrings, TL, and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenAdditionalDialog()

long GNEViewNet::onCmdOpenAdditionalDialog ( FXObject *  ,
FXSelector  ,
void *   
)

open additional dialog

Definition at line 3153 of file GNEViewNet.cpp.

References getAdditionalAtPopupPosition(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::hasDialog(), and GNEAdditional::openAdditionalDialog().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenPolygon()

long GNEViewNet::onCmdOpenPolygon ( FXObject *  ,
FXSelector  ,
void *   
)

open closed polygon

Definition at line 2702 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getPolygonAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedShapes(), getUndoList(), GNENet::getViewNet(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::openPolygon(), SUMO_TAG_POLY, TL, and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRemoveEdgeSelected()

long GNEViewNet::onCmdRemoveEdgeSelected ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdRemoveSelected()

long GNEViewNet::onCmdRemoveSelected ( FXObject *  ,
FXSelector  ,
void *   
)

unselect AC under cursor

Definition at line 4476 of file GNEViewNet.cpp.

References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GUIGlObjectStorage::unblockObject(), and GNEAttributeCarrier::unselectAttributeCarrier().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReplaceJunction()

long GNEViewNet::onCmdReplaceJunction ( FXObject *  ,
FXSelector  ,
void *   
)

replace node by geometry

Definition at line 3434 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::replaceJunctionByGeometry(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetConnections()

◆ onCmdResetEdgeEndpoint()

long GNEViewNet::onCmdResetEdgeEndpoint ( FXObject *  ,
FXSelector  ,
void *   
)

change geometry endpoint

Definition at line 2469 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::resetEndpoint(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetEdgeEndPoints()

long GNEViewNet::onCmdResetEdgeEndPoints ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdResetEndPoints()

long GNEViewNet::onCmdResetEndPoints ( FXObject *  ,
FXSelector  ,
void *   
)

reset edge end points

Definition at line 2968 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetJunctionShape()

long GNEViewNet::onCmdResetJunctionShape ( FXObject *  ,
FXSelector  ,
void *   
)

reset junction shape

Definition at line 3408 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GUISUMOAbstractView::destroyPopup(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getJunctionAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEJunction::setAttribute(), SUMO_ATTR_SHAPE, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetLaneCustomShape()

long GNEViewNet::onCmdResetLaneCustomShape ( FXObject *  ,
FXSelector  ,
void *   
)

reset custom shapes of selected lanes

Definition at line 3041 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedLanes(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNELane::setAttribute(), SUMO_ATTR_CUSTOMSHAPE, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetLength()

long GNEViewNet::onCmdResetLength ( FXObject *  ,
FXSelector  ,
void *   
)

reset custom edge lengths

Definition at line 2579 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), SUMO_ATTR_LENGTH, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetOppositeLane()

long GNEViewNet::onCmdResetOppositeLane ( FXObject *  ,
FXSelector  ,
void *   
)

reset oppositeLane of current lane

Definition at line 3064 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedLanes(), GNE_ATTR_OPPOSITE, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNELane::setAttribute(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReverse()

long GNEViewNet::onCmdReverse ( FXObject *  ,
FXSelector  ,
void *   
)

reverse current demand element

Definition at line 2856 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), getDemandElementAtPopupPosition(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myUndoList, GNERouteHandler::reverse(), and TLF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReverseEdge()

long GNEViewNet::onCmdReverseEdge ( FXObject *  ,
FXSelector  ,
void *   
)

reverse edge

Definition at line 2395 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNENet::reverseEdge(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSelectPolygonElements()

long GNEViewNet::onCmdSelectPolygonElements ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSelectRoundabout()

long GNEViewNet::onCmdSelectRoundabout ( FXObject *  ,
FXSelector  ,
void *   
)

select all roundabout nodes and edges

Definition at line 3475 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::selectRoundabout(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetCustomGeometryPoint()

long GNEViewNet::onCmdSetCustomGeometryPoint ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSetFirstGeometryPoint()

long GNEViewNet::onCmdSetFirstGeometryPoint ( FXObject *  ,
FXSelector  ,
void *   
)

set as first geometry point the closes geometry point

Definition at line 2776 of file GNEViewNet.cpp.

References GNEPoly::changeFirstGeometryPoint(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEPoly::getVertexIndex(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetMode()

long GNEViewNet::onCmdSetMode ( FXObject *  ,
FXSelector  sel,
void *   
)

called when user press a mode button (Network or demand)

Definition at line 2183 of file GNEViewNet.cpp.

References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_MEANDATA, DATA_SELECT, DATA_TAZRELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_ROUTEDISTRIBUTION, DEMAND_SELECT, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEViewNetHelper::EditModes::isJuPedSimView(), MID_HOTKEY_A_MODE_STARTSIMULATION_ADDITIONALS_STOPS, MID_HOTKEY_C_MODE_CONNECT_CONTAINER, MID_HOTKEY_D_MODE_SINGLESIMULATIONSTEP_DELETE, MID_HOTKEY_E_MODE_EDGE_EDGEDATA, MID_HOTKEY_H_MODE_PROHIBITION_CONTAINERPLAN, MID_HOTKEY_I_MODE_INSPECT, MID_HOTKEY_L_MODE_PERSONPLAN, MID_HOTKEY_M_MODE_MOVE_MEANDATA, MID_HOTKEY_P_MODE_POLYGON_PERSON, MID_HOTKEY_R_MODE_CROSSING_ROUTE_EDGERELDATA, MID_HOTKEY_S_MODE_STOPSIMULATION_SELECT, MID_HOTKEY_T_MODE_TLS_TYPE, MID_HOTKEY_U_MODE_DECAL_TYPEDISTRIBUTION, MID_HOTKEY_V_MODE_VEHICLE, MID_HOTKEY_W_MODE_WIRE_ROUTEDISTRIBUTION, MID_HOTKEY_Z_MODE_TAZ_TAZREL, myEditModes, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DECAL, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::setDataEditMode(), GNEViewNetHelper::EditModes::setDemandEditMode(), and GNEViewNetHelper::EditModes::setNetworkEditMode().

Referenced by FXDEFMAP(), and GNEApplicationWindow::onCmdSetMode().

Here is the caller graph for this function:

◆ onCmdSetNeteditView()

long GNEViewNet::onCmdSetNeteditView ( FXObject *  ,
FXSelector  sel,
void *   
)

called when a new view is set

Definition at line 4532 of file GNEViewNet.cpp.

References myEditModes, and GNEViewNetHelper::EditModes::setView().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetSupermode()

long GNEViewNet::onCmdSetSupermode ( FXObject *  ,
FXSelector  sel,
void *   
)

◆ onCmdShowReachability()

long GUISUMOAbstractView::onCmdShowReachability ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

highlight edges according to reachability

Reimplemented in GUIViewTraffic.

Definition at line 365 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSimplifyShape()

long GNEViewNet::onCmdSimplifyShape ( FXObject *  ,
FXSelector  ,
void *   
)

simply shape of current polygon

Definition at line 2625 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getPolygonAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedShapes(), getUndoList(), GNENet::getViewNet(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::simplifyShape(), SUMO_TAG_POLY, TL, and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSmoothConnectionShape()

long GNEViewNet::onCmdSmoothConnectionShape ( FXObject *  ,
FXSelector  ,
void *   
)

edit connection shape

Definition at line 3672 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), and GNEConnection::smootShape().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSmoothEdges()

long GNEViewNet::onCmdSmoothEdges ( FXObject *  ,
FXSelector  ,
void *   
)

smooth geometry

Definition at line 2516 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smooth(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSmoothEdgesElevation()

long GNEViewNet::onCmdSmoothEdgesElevation ( FXObject *  ,
FXSelector  ,
void *   
)

smooth elevation with regard to adjoining edges

Definition at line 2558 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smoothElevation(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitEdge()

long GNEViewNet::onCmdSplitEdge ( FXObject *  ,
FXSelector  ,
void *   
)

split edge at cursor position

Definition at line 2363 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, myUndoList, and GNENet::splitEdge().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitEdgeBidi()

long GNEViewNet::onCmdSplitEdgeBidi ( FXObject *  ,
FXSelector  ,
void *   
)

split edge at cursor position

Definition at line 2373 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEEdge::getOppositeEdges(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, myUndoList, and GNENet::splitEdgesBidi().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitJunction()

long GNEViewNet::onCmdSplitJunction ( FXObject *  ,
FXSelector  ,
void *   
)

split junction into multiple junctions

Definition at line 3448 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::splitJunction(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitJunctionReconnect()

long GNEViewNet::onCmdSplitJunctionReconnect ( FXObject *  ,
FXSelector  ,
void *   
)

split junction into multiple junctions and reconnect them

Definition at line 3462 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::splitJunction(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdStraightenEdges()

long GNEViewNet::onCmdStraightenEdges ( FXObject *  ,
FXSelector  ,
void *   
)

makes selected edges straight

Definition at line 2494 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdStraightenEdgesElevation()

long GNEViewNet::onCmdStraightenEdgesElevation ( FXObject *  ,
FXSelector  ,
void *   
)

interpolate z values linear between junctions

Definition at line 2537 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::straightenElevation(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToggleAutoOppositeEdge()

long GNEViewNet::onCmdToggleAutoOppositeEdge ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle autoOpposite edge

Definition at line 4057 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleChainEdges()

long GNEViewNet::onCmdToggleChainEdges ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle chain edges

Definition at line 4038 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleChangeAllPhases()

long GNEViewNet::onCmdToggleChangeAllPhases ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle change all phases

Definition at line 3854 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleDrawJunctionShape()

◆ onCmdToggleDrawSpreadVehicles()

◆ onCmdToggleExtendSelection()

long GNEViewNet::onCmdToggleExtendSelection ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle extend selection

Definition at line 3835 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleHideConnections()

long GNEViewNet::onCmdToggleHideConnections ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle hide connections

Definition at line 3778 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleHideNonInspecteDemandElements()

long GNEViewNet::onCmdToggleHideNonInspecteDemandElements ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle hide non inspected demand elements

Definition at line 4076 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleHideShapes()

long GNEViewNet::onCmdToggleHideShapes ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle hide shapes in super mode demand

Definition at line 4114 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleLockContainer()

◆ onCmdToggleLockPerson()

◆ onCmdToggleMoveElevation()

long GNEViewNet::onCmdToggleMoveElevation ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle move elevation

Definition at line 4019 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleSelectEdges()

long GNEViewNet::onCmdToggleSelectEdges ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle select edges

Definition at line 3734 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, myNetworkViewOptions, and MFXCheckableButton::setChecked().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleShowAdditionals()

long GNEViewNet::onCmdToggleShowAdditionals ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show additionals in super mode data

Definition at line 4260 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().

Here is the caller graph for this function:

◆ onCmdToggleShowAdditionalSubElements()

long GNEViewNet::onCmdToggleShowAdditionalSubElements ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show additional sub-elements

Definition at line 3797 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleShowAllContainerPlans()

long GNEViewNet::onCmdToggleShowAllContainerPlans ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show all container plans in super mode demand

Definition at line 4206 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleShowAllPersonPlans()

long GNEViewNet::onCmdToggleShowAllPersonPlans ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show all person plans in super mode demand

Definition at line 4152 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleShowConnections()

long GNEViewNet::onCmdToggleShowConnections ( FXObject *  ,
FXSelector  sel,
void *   
)

◆ onCmdToggleShowDemandElementsData()

long GNEViewNet::onCmdToggleShowDemandElementsData ( FXObject *  ,
FXSelector  sel,
void *   
)

◆ onCmdToggleShowDemandElementsNetwork()

long GNEViewNet::onCmdToggleShowDemandElementsNetwork ( FXObject *  ,
FXSelector  sel,
void *   
)

◆ onCmdToggleShowGrid()

◆ onCmdToggleShowJunctionBubbles()

long GNEViewNet::onCmdToggleShowJunctionBubbles ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show junction bubbles

Definition at line 4000 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleShowOverlappedRoutes()

long GNEViewNet::onCmdToggleShowOverlappedRoutes ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle hide non inspected demand elements

Definition at line 4095 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleShowShapes()

long GNEViewNet::onCmdToggleShowShapes ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show shapes in super mode data

Definition at line 4279 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().

Here is the caller graph for this function:

◆ onCmdToggleShowTAZElements()

long GNEViewNet::onCmdToggleShowTAZElements ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show TAZ elements

Definition at line 3816 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleShowTrips()

long GNEViewNet::onCmdToggleShowTrips ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle show all trips in super mode demand

Definition at line 4133 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleTAZDrawFill()

long GNEViewNet::onCmdToggleTAZDrawFill ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle TAZdrawFill

Definition at line 4359 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toggleEditOptionsData().

Here is the caller graph for this function:

◆ onCmdToggleTAZRelDrawing()

long GNEViewNet::onCmdToggleTAZRelDrawing ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle TAZRel drawing

Definition at line 4340 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().

Here is the caller graph for this function:

◆ onCmdToggleTAZRelOnlyFrom()

long GNEViewNet::onCmdToggleTAZRelOnlyFrom ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle TAZRez only from

Definition at line 4378 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().

Here is the caller graph for this function:

◆ onCmdToggleTAZRelOnlyTo()

long GNEViewNet::onCmdToggleTAZRelOnlyTo ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle TAZRez only to

Definition at line 4397 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().

Here is the caller graph for this function:

◆ onCmdToggleWarnAboutMerge()

long GNEViewNet::onCmdToggleWarnAboutMerge ( FXObject *  ,
FXSelector  sel,
void *   
)

toggle warn for merge

Definition at line 3981 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().

Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdTransformPOI()

◆ onConfigure()

long GUISUMOAbstractView::onConfigure ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

mouse functions

Definition at line 982 of file GUISUMOAbstractView.cpp.

References RGBColor::alpha(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::checkSnapshots(), GUISUMOAbstractView::doInit(), RGBColor::green(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myVisualizationSettings, and RGBColor::red().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onDoubleClicked()

long GUISUMOAbstractView::onDoubleClicked ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

Reimplemented in GUIViewTraffic.

Definition at line 1167 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onEnterConvertRoundabout()

long GNEViewNet::onEnterConvertRoundabout ( FXObject *  ,
FXSelector  ,
void *   
)

enter to convert junction to roundabout

Definition at line 3502 of file GNEViewNet.cpp.

References myDrawPreviewRoundabout.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onGamingClick()

void GUISUMOAbstractView::onGamingClick ( Position  )
virtualinherited

on gaming click

Reimplemented in GUIViewTraffic.

Definition at line 1675 of file GUISUMOAbstractView.cpp.

Referenced by GUISUMOAbstractView::onLeftBtnRelease().

Here is the caller graph for this function:

◆ onGamingRightClick()

void GUISUMOAbstractView::onGamingRightClick ( Position  )
virtualinherited

Reimplemented in GUIViewTraffic.

Definition at line 1679 of file GUISUMOAbstractView.cpp.

Referenced by GUISUMOAbstractView::onRightBtnRelease().

Here is the caller graph for this function:

◆ onKeyPress()

◆ onKeyRelease()

◆ onLeaveConvertRoundabout()

long GNEViewNet::onLeaveConvertRoundabout ( FXObject *  ,
FXSelector  ,
void *   
)

leave to convert junction to roundabout

Definition at line 3510 of file GNEViewNet.cpp.

References myDrawPreviewRoundabout.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onLeftBtnPress()

◆ onLeftBtnRelease()

◆ onMiddleBtnPress()

long GNEViewNet::onMiddleBtnPress ( FXObject *  obj,
FXSelector  sel,
void *  eventData 
)
virtual

called when user press mouse's left button

Reimplemented from GUISUMOAbstractView.

Definition at line 1451 of file GNEViewNet.cpp.

References GUISUMOAbstractView::onMiddleBtnPress(), updateCursor(), and updateViewNet().

◆ onMiddleBtnRelease()

long GNEViewNet::onMiddleBtnRelease ( FXObject *  obj,
FXSelector  sel,
void *  eventData 
)
virtual

called when user releases mouse's left button

Reimplemented from GUISUMOAbstractView.

Definition at line 1463 of file GNEViewNet.cpp.

References GUISUMOAbstractView::onMiddleBtnRelease(), updateCursor(), and updateViewNet().

◆ onMouseLeft()

long GUISUMOAbstractView::onMouseLeft ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

Definition at line 1217 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMouseMove()

◆ onMouseWheel()

long GUISUMOAbstractView::onMouseWheel ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
virtualinherited

◆ onPaint()

long GUISUMOAbstractView::onPaint ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

Definition at line 1000 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, and GUISUMOAbstractView::paintGL().

Referenced by FXDEFMAP(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ onRightBtnPress()

long GNEViewNet::onRightBtnPress ( FXObject *  obj,
FXSelector  sel,
void *  eventData 
)
virtual

◆ onRightBtnRelease()

long GNEViewNet::onRightBtnRelease ( FXObject *  obj,
FXSelector  sel,
void *  eventData 
)
virtual

◆ onVisualizationChange()

long GUISUMOAbstractView::onVisualizationChange ( FXObject *  ,
FXSelector  ,
void *   
)
virtualinherited

hook to react on change in visualization settings

Definition at line 371 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openDeleteDialogAtCursor()

void GNEViewNet::openDeleteDialogAtCursor ( const std::vector< GUIGlObject * > &  GLObjects)

open delete dialog at cursor

Definition at line 645 of file GNEViewNet.cpp.

References GUIGLObjectPopupMenu::DELETE_ELEMENT, GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myClickedPopupPosition, myCreatedPopup, GUISUMOAbstractView::myPopup, and GUISUMOAbstractView::openPopupDialog().

Referenced by GNEDeleteFrame::removeAttributeCarrier().

Here is the caller graph for this function:

◆ openObjectDialog()

void GUISUMOAbstractView::openObjectDialog ( const std::vector< GUIGlObject * > &  objects,
const bool  filter = true 
)
inherited

open object dialog for the given object

Definition at line 1263 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myApp, GUISUMOAbstractView::myCurrentObjectsDialog, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::openPopupDialog(), and GUIGLObjectPopupMenu::PROPERTIES.

Referenced by openObjectDialogAtCursor().

Here is the caller graph for this function:

◆ openObjectDialogAtCursor()

◆ openPopupDialog()

void GUISUMOAbstractView::openPopupDialog ( )
protectedinherited

◆ openSelectDialogAtCursor()

void GNEViewNet::openSelectDialogAtCursor ( const std::vector< GUIGlObject * > &  GLObjects)

open select dialog at cursor

Definition at line 660 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myClickedPopupPosition, myCreatedPopup, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::openPopupDialog(), and GUIGLObjectPopupMenu::SELECT_ELEMENT.

Referenced by GNESelectorFrame::selectAttributeCarrier().

Here is the caller graph for this function:

◆ operator=()

GNEViewNet& GNEViewNet::operator= ( const GNEViewNet )
privatedelete

Invalidated assignment operator.

◆ p2m()

double GUISUMOAbstractView::p2m ( double  pixel) const
inherited

pixels-to-meters conversion method

Definition at line 909 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.

Referenced by GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), GUISUMOAbstractView::drawDecals(), and GUIDanielPerspectiveChanger::move().

Here is the caller graph for this function:

◆ paintGL()

◆ paintGLGrid()

void GUISUMOAbstractView::paintGLGrid ( ) const
protectedinherited

◆ processClick()

void GNEViewNet::processClick ( void *  eventData)
private

Auxiliary function used by onLeftBtnPress(...)

Definition at line 3165 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onLeftBtnPress().

Referenced by processLeftButtonPressData(), processLeftButtonPressDemand(), and processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ processLeftButtonPressData()

void GNEViewNet::processLeftButtonPressData ( void *  eventData)
private

◆ processLeftButtonPressDemand()

void GNEViewNet::processLeftButtonPressDemand ( void *  eventData)
private

process left button press function in Supermode Demand

Definition at line 5843 of file GNEViewNet.cpp.

References GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNERouteFrame::addEdgeRoute(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementModul::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementModul::beginMoveSingleElementDemandMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::ViewObjectsSelector::filterLockedElements(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getDeleteFrame(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), GNELane::getParentEdge(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::LockManager::isObjectLocked(), myEditModes, myLastClickedPosition, myLockManager, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, mySelectingArea, myViewObjectsSelector, myViewParent, processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), TL, updateViewNet(), and WRITE_WARNING.

Referenced by onLeftBtnPress().

Here is the caller graph for this function:

◆ processLeftButtonPressNetwork()

void GNEViewNet::processLeftButtonPressNetwork ( void *  eventData)
private

mouse process functions

process left button press function in Supermode Network

Definition at line 5517 of file GNEViewNet.cpp.

References GNEAdditionalFrame::addAdditional(), GNECrossingFrame::addCrossing(), GNEWireFrame::addWire(), GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), MFXCheckableButton::amChecked(), GNEViewNetHelper::MoveSingleElementModul::beginMoveNetworkElementShape(), GNEViewNetHelper::MoveMultipleElementModul::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementModul::beginMoveSingleElementNetworkMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), checkSelectEdges(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEDeleteFrame::DeleteOptions::deleteOnlyGeometryPoints(), GNETLSEditorFrame::editTLS(), GNEViewNetHelper::ViewObjectsSelector::filterEdges(), GNEViewNetHelper::ViewObjectsSelector::filterLanes(), GNEViewNetHelper::ViewObjectsSelector::filterLockedElements(), GNEViewParent::getAdditionalFrame(), GNEViewNetHelper::ViewObjectsSelector::getAdditionalFront(), GNEViewNetHelper::ViewObjectsSelector::getAttributeCarrierFront(), GNEViewNetHelper::ViewObjectsSelector::getConnectionFront(), GNEViewParent::getConnectorFrame(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNETAZFrame::getCurrentTAZModule(), GNEViewParent::getDeleteFrame(), GNEDeleteFrame::getDeleteOptions(), GNEViewNetHelper::ViewObjectsSelector::getEdgeFront(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GNEAttributeCarrier::getGUIGlObject(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ViewObjectsSelector::getJunctionFront(), GNEViewNetHelper::ViewObjectsSelector::getLaneFrontNonLocked(), GNEInspectorFrame::getNeteditAttributesEditor(), GNEViewNetHelper::ViewObjectsSelector::getNetworkElementFront(), GNEEdge::getOppositeEdges(), GNEViewNetHelper::ViewObjectsSelector::getPOIFront(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getShapeFrame(), GNEEdge::getSplitPos(), GNETAZFrame::CurrentTAZ::getTAZ(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getWireFrame(), GLO_WALKINGAREA, GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEAttributeCarrier::isAttributeCarrierSelected(), GUIGlObject::isGLObjectLocked(), GNEInspectorFrame::NeteditAttributesEditor::isSelectingParent(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, myEditModes, myEditNetworkElementShapes, myLastClickedPosition, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, myNet, myNetworkViewOptions, mySelectingArea, myUndoList, myViewObjectsSelector, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DECAL, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNETAZFrame::processClick(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), processClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEMoveElement::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEViewNetHelper::MoveMultipleElementModul::resetMovingSelectedEdge(), GNESelectorFrame::selectAttributeCarrier(), GNEInspectorFrame::NeteditAttributesEditor::setNewParent(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GUISUMOAbstractView::snapToActiveGrid(), GNENet::splitEdge(), GNENet::splitEdgesBidi(), TL, updateViewNet(), and WRITE_WARNING.

Referenced by onLeftBtnPress().

Here is the caller graph for this function:

◆ processLeftButtonReleaseData()

void GNEViewNet::processLeftButtonReleaseData ( )
private

◆ processLeftButtonReleaseDemand()

void GNEViewNet::processLeftButtonReleaseDemand ( )
private

◆ processLeftButtonReleaseNetwork()

◆ processMoveMouseData()

void GNEViewNet::processMoveMouseData ( const bool  mouseLeftButtonPressed)
private

process move mouse function in Supermode Data

Definition at line 6133 of file GNEViewNet.cpp.

References GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveSingleElementModul::moveSingleElement(), myMoveSingleElement, mySelectingArea, and GNEViewNetHelper::SelectingArea::selectingUsingRectangle.

Referenced by onMouseMove().

Here is the caller graph for this function:

◆ processMoveMouseDemand()

void GNEViewNet::processMoveMouseDemand ( const bool  mouseLeftButtonPressed)
private

process move mouse function in Supermode Demand

Definition at line 5999 of file GNEViewNet.cpp.

References GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveSingleElementModul::moveSingleElement(), myMoveSingleElement, mySelectingArea, and GNEViewNetHelper::SelectingArea::selectingUsingRectangle.

Referenced by onMouseMove().

Here is the caller graph for this function:

◆ processMoveMouseNetwork()

◆ recalculateBoundaries()

◆ recenterView()

void GUISUMOAbstractView::recenterView ( )
virtualinherited

recenters the view

Definition at line 915 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGrid, and GUIPerspectiveChanger::setViewport().

Referenced by GUISettingsHandler::applyViewport(), GUIGlChildWindow::onCmdRecenterView(), GUIDanielPerspectiveChanger::onKeyPress(), and GUICompleteSchemeStorage::setViewport().

Here is the caller graph for this function:

◆ remove() [1/2]

void GUISUMOAbstractView::remove ( GUIDialog_EditViewport )
inherited

remove viewport

Definition at line 1635 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myGUIDialogEditViewport.

Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().

Here is the caller graph for this function:

◆ remove() [2/2]

void GUISUMOAbstractView::remove ( GUIDialog_ViewSettings )
inherited

remove view settings

Definition at line 1641 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myGUIDialogViewSettings.

◆ removeAdditionalGLVisualisation()

bool GUISUMOAbstractView::removeAdditionalGLVisualisation ( GUIGlObject *const  which)
inherited

Removes an object from the list of objects that show additional things.

Parameters
[in]whichThe object to remove
Returns
True if the object was known, false otherwise
See also
GUIGlObject::drawGLAdditional

Definition at line 1866 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myAdditionallyDrawn.

Referenced by GUIVehicle::drawOutsideNetwork(), GUIBaseVehicle::removeActiveAddVisualisation(), and GUIPerson::removeActiveAddVisualisation().

Here is the caller graph for this function:

◆ removeFromAttributeCarrierInspected()

void GNEViewNet::removeFromAttributeCarrierInspected ( const GNEAttributeCarrier AC)

remove given AC of list of inspected Attribute Carriers

Definition at line 1906 of file GNEViewNet.cpp.

References GNEViewParent::getInspectorFrame(), GNEInspectorFrame::inspectMultisection(), myInspectedAttributeCarriers, and myViewParent.

Referenced by GNEJunction::clearWalkingAreas(), GNEJunction::rebuildGNECrossings(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), and GNEEdge::removeLane().

Here is the caller graph for this function:

◆ removeRestrictedLane()

bool GNEViewNet::removeRestrictedLane ( GNELane lane,
SUMOVehicleClass  vclass 
)

remove restricted lane

Definition at line 1136 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNELane::getParentEdge(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNENetHelper::AttributeCarriers::getSelectedLanes(), myNet, myUndoList, GNENet::removeRestrictedLane(), GNENetHelper::AttributeCarriers::retrieveEdge(), TL, TLF, toString(), and WRITE_DEBUG.

Referenced by onCmdLaneOperation().

Here is the caller graph for this function:

◆ replacePopup()

void GUISUMOAbstractView::replacePopup ( GUIGLObjectPopupMenu popUp)
inherited

replace PopUp

Definition at line 1031 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, GUIPerspectiveChanger::onRightBtnRelease(), and GUIGLObjectPopupMenu::removePopupFromObject().

Referenced by GUICursorDialog::onCmdOpenPropertiesPopUp().

Here is the caller graph for this function:

◆ resetLastClickedPosition()

void GNEViewNet::resetLastClickedPosition ( )

reset last clicked position

Definition at line 847 of file GNEViewNet.cpp.

References Position::INVALID, and myLastClickedPosition.

Referenced by GNEStopFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().

Here is the caller graph for this function:

◆ restrictLane()

bool GNEViewNet::restrictLane ( GNELane lane,
SUMOVehicleClass  vclass 
)

restrict lane

Definition at line 975 of file GNEViewNet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getSelectedLanes(), myNet, myUndoList, GNENet::restrictLane(), GNENetHelper::AttributeCarriers::retrieveEdge(), TL, TLF, toString(), and WRITE_DEBUG.

Referenced by onCmdLaneOperation().

Here is the caller graph for this function:

◆ retrieveBreakpoints()

virtual const std::vector<SUMOTime> GUISUMOAbstractView::retrieveBreakpoints ( ) const
inlinevirtualinherited

retrieve breakpoints if provided by the application

Reimplemented in GUIViewTraffic.

Definition at line 459 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::onCmdExportSetting().

Here is the caller graph for this function:

◆ saveFrame()

void GUISUMOAbstractView::saveFrame ( const std::string &  destFile,
FXColor *  buf 
)
virtualinherited

Adds a frame to a video snapshot which will be initialized if necessary.

Reimplemented in GUIViewTraffic.

Definition at line 1505 of file GUISUMOAbstractView.cpp.

References UNUSED_PARAMETER.

Referenced by GUISUMOAbstractView::makeSnapshot().

Here is the caller graph for this function:

◆ saveVisualizationSettings()

◆ screenPos2NetPos()

Position GUISUMOAbstractView::screenPos2NetPos ( int  x,
int  y 
) const
inherited

Translate screen position to network position.

Definition at line 224 of file GUISUMOAbstractView.cpp.

References DEG2RAD, Boundary::getCenter(), Boundary::getHeight(), GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GUISUMOAbstractView::myChanger, Position::rotateAround2D(), Boundary::xmin(), and Boundary::ymin().

Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::getPositionInformation().

Here is the caller graph for this function:

◆ selectingDetectorsTLSMode()

◆ selectingJunctionsTLSMode()

bool GNEViewNet::selectingJunctionsTLSMode ( ) const

check if we're selecting junctions in TLS mode

Definition at line 954 of file GNEViewNet.cpp.

References GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETLSEditorFrame::TLSJunction::isJoiningJunctions(), myEditModes, myViewParent, NETWORK_TLS, and GNEViewNetHelper::EditModes::networkEditMode.

Referenced by drawTemporalJunctionTLSLines().

Here is the caller graph for this function:

◆ setBreakpoints()

void GUISUMOAbstractView::setBreakpoints ( const std::vector< SUMOTime > &  breakpoints)
inherited

Sets the breakpoints of the parent application.

Definition at line 1938 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myApp, and GUIMainWindow::setBreakpoints().

Referenced by GUIDialog_ViewSettings::loadSettings().

Here is the caller graph for this function:

◆ setColorScheme()

◆ setDelay()

void GUISUMOAbstractView::setDelay ( double  delay)
inherited

Sets the delay of the parent application.

Definition at line 1932 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myApp, and GUIMainWindow::setDelay().

Referenced by GUIDialog_ViewSettings::loadSettings().

Here is the caller graph for this function:

◆ setFrontAttributeCarrier()

void GNEViewNet::setFrontAttributeCarrier ( GNEAttributeCarrier AC)

set front attributeCarrier

Definition at line 1933 of file GNEViewNet.cpp.

References myFrontAttributeCarrier.

Referenced by GNEAdditional::markAsFrontElement(), GNEDemandElement::markAsFrontElement(), GNENetworkElement::markAsFrontElement(), and GNEApplicationWindow::onCmdSetFrontElement().

Here is the caller graph for this function:

◆ setInspectedAttributeCarriers()

void GNEViewNet::setInspectedAttributeCarriers ( const std::vector< GNEAttributeCarrier * >  ACs)

set inspected attributeCarrier

Definition at line 1884 of file GNEViewNet.cpp.

References myInspectedAttributeCarriers.

Referenced by GNETypeFrame::attributesEditorExtendedDialogOpened(), GNEInspectorFrame::clearInspectedAC(), GNEInspectorFrame::hide(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), and GNETypeFrame::show().

Here is the caller graph for this function:

◆ setLastCreatedRoute()

void GNEViewNet::setLastCreatedRoute ( GNEDemandElement lastCreatedRoute)

set last created route

Definition at line 1986 of file GNEViewNet.cpp.

References myLastCreatedRoute.

Referenced by GNERouteFrame::createPath().

Here is the caller graph for this function:

◆ setSelectorFrameScale()

void GNEViewNet::setSelectorFrameScale ( double  selectionScale)

◆ setStatusBarText()

◆ setViewportFromToRot()

void GUISUMOAbstractView::setViewportFromToRot ( const Position lookFrom,
const Position lookAt,
double  rotation 
)
virtualinherited

◆ setWindowCursorPosition()

void GUISUMOAbstractView::setWindowCursorPosition ( FXint  x,
FXint  y 
)
inherited

Returns the gl-id of the object under the given coordinates.

Definition at line 968 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myMouseHotspotX, GUISUMOAbstractView::myMouseHotspotY, GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.

Referenced by GUIDanielPerspectiveChanger::onMouseMove().

Here is the caller graph for this function:

◆ showJunctionAsBubbles()

bool GNEViewNet::showJunctionAsBubbles ( ) const

return true if junction must be showed as bubbles

Definition at line 875 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, myEditModes, myNetworkViewOptions, NETWORK_MOVE, and GNEViewNetHelper::EditModes::networkEditMode.

Referenced by GNEJunction::drawAsBubble().

Here is the caller graph for this function:

◆ showToolTipFor()

bool GUISUMOAbstractView::showToolTipFor ( const GUIGlID  idToolTip)
protectedinherited

invokes the tooltip for the given object

Definition at line 580 of file GUISUMOAbstractView.cpp.

References GUIGlChildWindow::getGUIMainWindowParent(), GUIGlObjectStorage::getObjectBlocking(), GUIMainWindow::getStaticTooltipView(), GUIGlObjectStorage::gIDStorage, MFXStaticToolTip::hideStaticToolTip(), GUIGlObject::INVALID_ID, GUISUMOAbstractView::myGlChildWindowParent, and MFXStaticToolTip::showStaticToolTip().

Referenced by GUISUMOAbstractView::paintGL().

Here is the caller graph for this function:

◆ showViewportEditor()

void GUISUMOAbstractView::showViewportEditor ( )
virtualinherited

◆ showViewschemeEditor()

void GUISUMOAbstractView::showViewschemeEditor ( )
inherited

show viewsscheme editor

Definition at line 1560 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myGUIDialogViewSettings, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrent(), and GUIDialog_ViewSettings::show().

Referenced by GNEApplicationWindow::onCmdEditViewScheme(), and GUIGlChildWindow::onCmdEditViewScheme().

Here is the caller graph for this function:

◆ snapToActiveGrid()

◆ startTrack()

void GUISUMOAbstractView::startTrack ( int  )
virtualinherited

star track

Reimplemented in GUIViewTraffic.

Definition at line 1659 of file GUISUMOAbstractView.cpp.

Referenced by GUIDialog_ChooserAbstract::onCmdTrack(), and GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ stopTrack()

void GUISUMOAbstractView::stopTrack ( )
virtualinherited

stop track

Reimplemented in GUIViewTraffic.

Definition at line 1664 of file GUISUMOAbstractView.cpp.

Referenced by GUIDialog_ChooserAbstract::onCmdCenter(), and GUISUMOViewParent::onUpdSpeedFactor().

Here is the caller graph for this function:

◆ updateControls()

void GNEViewNet::updateControls ( )

update control contents after undo/redo or recompute

Definition at line 5193 of file GNEViewNet.cpp.

References DATA_INSPECT, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_INSPECT, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTEDISTRIBUTION, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNERouteDistributionFrame::getDistributionSelector(), GNETypeDistributionFrame::getDistributionSelector(), GNEViewParent::getInspectorFrame(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteDistributionFrame(), GNEViewParent::getStopFrame(), GNEViewParent::getTypeDistributionFrame(), GNEViewParent::getTypeFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEViewNetHelper::IntervalBar::markForUpdate(), myEditModes, myIntervalBar, myViewParent, NETWORK_INSPECT, GNEViewNetHelper::EditModes::networkEditMode, GNEDistributionFrame::DistributionSelector::refreshDistributionSelector(), GNEContainerFrame::show(), GNEContainerPlanFrame::show(), GNEPersonFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNETypeFrame::show(), GNEVehicleFrame::show(), and updateViewNet().

Referenced by GNEApplicationWindow::updateControls().

Here is the caller graph for this function:

◆ updateCursor()

◆ updateDataModeSpecificControls()

void GNEViewNet::updateDataModeSpecificControls ( )
private

updates Data mode specific controls

Definition at line 4958 of file GNEViewNet.cpp.

References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_MEANDATA, DATA_SELECT, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::edgeDataButton, GNEViewNetHelper::DataCheckableButtons::edgeRelDataButton, GNEFrame::focusUpperElement(), GNEViewParent::getDeleteFrame(), GNEViewParent::getEdgeDataFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEApplicationWindow::getEditMenuCommands(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMeanDataFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTAZRelDataFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::hideAllFrames(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DataCheckableButtons::meanDataButton, GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo, GNEApplicationWindowHelper::ToolbarsGrip::modes, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNESelectorFrame::show(), GNEGenericDataFrame::show(), GNEMeanDataFrame::show(), GNEViewNetHelper::IntervalBar::showIntervalBar(), GNEViewNetHelper::DataCheckableButtons::TAZRelDataButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::updateDataCheckableButtons(), and updateViewNet().

◆ updateDemandModeSpecificControls()

void GNEViewNet::updateDemandModeSpecificControls ( )
private

updates Demand mode specific controls

Definition at line 4786 of file GNEViewNet.cpp.

References GNEViewNetHelper::DemandCheckableButtons::containerButton, GNEViewNetHelper::DemandCheckableButtons::containerPlanButton, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEViewNetHelper::CommonCheckableButtons::deleteButton, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_ROUTEDISTRIBUTION, DEMAND_SELECT, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::disableDemandCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getDeleteFrame(), GNEApplicationWindow::getEditMenuCommands(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteDistributionFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::getTypeDistributionFrame(), GNEViewParent::getTypeFrame(), GNEViewParent::getVehicleFrame(), GNEViewParent::hideAllFrames(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::DemandCheckableButtons::moveDemandElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::DemandCheckableButtons::personButton, GNEViewNetHelper::DemandCheckableButtons::personPlanButton, GNEViewNetHelper::DemandCheckableButtons::routeButton, GNEViewNetHelper::DemandCheckableButtons::routeDistributionButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerFrame::show(), GNEContainerPlanFrame::show(), GNEPersonFrame::show(), GNEPersonPlanFrame::show(), GNERouteDistributionFrame::show(), GNERouteFrame::show(), GNEStopFrame::show(), GNETypeDistributionFrame::show(), GNETypeFrame::show(), GNEVehicleFrame::show(), GNEViewNetHelper::DemandCheckableButtons::stopButton, GNEViewNetHelper::DemandCheckableButtons::typeButton, GNEViewNetHelper::DemandCheckableButtons::typeDistributionButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::updateDemandCheckableButtons(), updateViewNet(), and GNEViewNetHelper::DemandCheckableButtons::vehicleButton.

◆ updateNetworkModeSpecificControls()

void GNEViewNet::updateNetworkModeSpecificControls ( )
private

updates Network mode specific controls

Definition at line 4586 of file GNEViewNet.cpp.

References GNEViewNetHelper::NetworkCheckableButtons::additionalButton, GNEViewNetHelper::NetworkCheckableButtons::connectionButton, GNEViewNetHelper::NetworkCheckableButtons::createEdgeButton, GNEViewNetHelper::NetworkCheckableButtons::crossingButton, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEViewNetHelper::NetworkCheckableButtons::decalButton, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::NetworkCheckableButtons::disableNetworkCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getAdditionalFrame(), GNEViewParent::getConnectorFrame(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDecalFrame(), GNEViewParent::getDeleteFrame(), GNEApplicationWindow::getEditMenuCommands(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getShapeFrame(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::getWireFrame(), GNEViewParent::hideAllFrames(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::NetworkCheckableButtons::moveNetworkElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myLockManager, myNetworkCheckableButtons, myNetworkViewOptions, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DECAL, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::NetworkCheckableButtons::prohibitionButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEViewNetHelper::NetworkCheckableButtons::shapeButton, GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNECreateEdgeFrame::show(), GNEProhibitionFrame::show(), GNEShapeFrame::show(), GNETLSEditorFrame::show(), GNEWireFrame::show(), GNEViewNetHelper::NetworkCheckableButtons::TAZButton, GNEViewNetHelper::NetworkCheckableButtons::trafficLightButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::LockManager::updateLockMenuBar(), GNEViewNetHelper::NetworkCheckableButtons::updateNetworkCheckableButtons(), updateViewNet(), and GNEViewNetHelper::NetworkCheckableButtons::wireButton.

◆ updateObjectsInBoundary()

◆ updateObjectsInPosition()

◆ updatePositionInformationLabel()

void GUISUMOAbstractView::updatePositionInformationLabel ( ) const
protectedvirtualinherited

◆ updateToolTip()

void GUISUMOAbstractView::updateToolTip ( )
inherited

A method that updates the tooltip.

Definition at line 191 of file GUISUMOAbstractView.cpp.

References GUIGlChildWindow::getGUIMainWindowParent(), GUIMainWindow::getStaticTooltipView(), MFXStaticToolTip::isStaticToolTipEnabled(), and GUISUMOAbstractView::myGlChildWindowParent.

Referenced by GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIDanielPerspectiveChanger::onMouseWheel().

Here is the caller graph for this function:

◆ updateViewNet()

void GNEViewNet::updateViewNet ( ) const

Mark the entire GNEViewNet to be repainted later.

Definition at line 410 of file GNEViewNet.cpp.

Referenced by abortOperation(), GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNECrossingFrame::addCrossing(), GNERouteFrame::addEdgeRoute(), GNEUndoList::end(), hotkeyDel(), GNEElementTree::onCmdCenterItem(), onCmdClearConnections(), onCmdClosePolygon(), onCmdConvertRoundabout(), onCmdDeleteGeometryPoint(), GNEElementTree::onCmdDeleteItem(), onCmdEgeApplyTemplate(), onCmdLaneReachability(), onCmdOpenPolygon(), onCmdReplaceJunction(), onCmdResetConnections(), GNEApplicationWindow::onCmdSaveNetwork(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetFirstGeometryPoint(), onCmdSimplifyShape(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleMoveElevation(), onCmdToggleShowAdditionals(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowShapes(), onCmdToggleShowTAZElements(), onCmdToggleShowTrips(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), onCmdToggleWarnAboutMerge(), onCmdTransformPOI(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNENet::saveAdditionals(), GNENet::saveDemandElements(), GNEInspectorFrame::selectedOverlappedElement(), setColorScheme(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and updateNetworkModeSpecificControls().

◆ updateViewportValues()

void GUISUMOAbstractView::updateViewportValues ( )
virtualinherited

update the viewport chooser with the current view values

Definition at line 1583 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGUIDialogEditViewport, and GUIDialog_EditViewport::setValues().

Referenced by GUISUMOAbstractView::getViewportEditor().

Here is the caller graph for this function:

◆ viewUpdated()

◆ waitForSnapshots()

void GUISUMOAbstractView::waitForSnapshots ( const SUMOTime  snapshotTime)
inherited

◆ zoom2Pos()

void GUISUMOAbstractView::zoom2Pos ( Position camera,
Position lookAt,
double  zoom 
)
virtualinherited

zoom interface for 3D view

Definition at line 292 of file GUISUMOAbstractView.cpp.

Referenced by GUIDialog_EditViewport::onCmdChanged().

Here is the caller graph for this function:

Friends And Related Function Documentation

◆ GNEViewNetHelper

friend struct GNEViewNetHelper
friend

FOX-declaration.

declare GNEViewNetHelper as friend struct

Definition at line 48 of file GNEViewNet.h.

Field Documentation

◆ myAdditionallyDrawn

◆ myAmInitialised

bool GUISUMOAbstractView::myAmInitialised = false
protectedinherited

◆ myApp

◆ myChanger

◆ myClickedPopupPosition

Position GUISUMOAbstractView::myClickedPopupPosition = Position::INVALID
protectedinherited

clicked poup position

Definition at line 583 of file GUISUMOAbstractView.h.

Referenced by openDeleteDialogAtCursor(), openObjectDialogAtCursor(), and openSelectDialogAtCursor().

◆ myCommonCheckableButtons

GNEViewNetHelper::CommonCheckableButtons GNEViewNet::myCommonCheckableButtons
private

variable used to save checkable buttons for common supermodes

Definition at line 637 of file GNEViewNet.h.

Referenced by buildEditModeControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().

◆ myCreatedPopup

bool GNEViewNet::myCreatedPopup = false
private

flag for mark if during this frame a popup was created (needed to avoid problems in linux with CursorDialogs)

Definition at line 732 of file GNEViewNet.h.

Referenced by onLeftBtnRelease(), openDeleteDialogAtCursor(), and openSelectDialogAtCursor().

◆ myCurrentFrame

GNEFrame* GNEViewNet::myCurrentFrame = nullptr
private

◆ myCurrentObjectsDialog

std::vector<GUIGlObject*> GUISUMOAbstractView::myCurrentObjectsDialog
protectedinherited

vector with current objects dialog

Definition at line 589 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::destroyPopup(), drawTemporalRoundabout(), and GUISUMOAbstractView::openObjectDialog().

◆ myDataCheckableButtons

GNEViewNetHelper::DataCheckableButtons GNEViewNet::myDataCheckableButtons
private

variable used to save checkable buttons for Supermode Data

Definition at line 646 of file GNEViewNet.h.

Referenced by buildEditModeControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().

◆ myDataViewOptions

◆ myDecals

std::vector<Decal> GUISUMOAbstractView::myDecals
protectedinherited

◆ myDecalsLockMutex

FXMutex GUISUMOAbstractView::myDecalsLockMutex
protectedinherited

The mutex to use before accessing the decals list in order to avoid thread conflicts.

Definition at line 613 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::getDecalsLockMutex().

◆ myDemandCheckableButtons

GNEViewNetHelper::DemandCheckableButtons GNEViewNet::myDemandCheckableButtons
private

variable used to save checkable buttons for Supermode Demand

Definition at line 643 of file GNEViewNet.h.

Referenced by buildEditModeControls(), and updateDemandModeSpecificControls().

◆ myDemandViewOptions

◆ myDrawingToggle

int GNEViewNet::myDrawingToggle = 0
private

drawin toggle (used in drawGLElements to avoid draw elements twice)

Definition at line 735 of file GNEViewNet.h.

Referenced by drawGLElements(), and getDrawingToggle().

◆ myDrawPreviewRoundabout

bool GNEViewNet::myDrawPreviewRoundabout = false
private

draw preview roundabout

Definition at line 726 of file GNEViewNet.h.

Referenced by drawTemporalRoundabout(), onEnterConvertRoundabout(), and onLeaveConvertRoundabout().

◆ myEditModes

◆ myEditNetworkElementShapes

◆ myFrameDrawTime

long GUISUMOAbstractView::myFrameDrawTime = 0
protectedinherited

counter for measuring rendering time

Definition at line 633 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::getFPS(), and GUISUMOAbstractView::paintGL().

◆ myFrontAttributeCarrier

◆ myGlChildWindowParent

◆ myGrid

const SUMORTree* GUISUMOAbstractView::myGrid
protectedinherited

◆ myGUIDialogEditViewport

◆ myGUIDialogViewSettings

GUIDialog_ViewSettings* GUISUMOAbstractView::myGUIDialogViewSettings = nullptr
protectedinherited

◆ myInEditMode

bool GUISUMOAbstractView::myInEditMode = false
protectedinherited

Information whether too-tip informations shall be generated.

Definition at line 574 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::isInEditMode().

◆ myInspectedAttributeCarriers

◆ myIntervalBar

◆ myLastClickedPosition

Position GNEViewNet::myLastClickedPosition = Position::INVALID
private

last clicked position

Definition at line 729 of file GNEViewNet.h.

Referenced by processLeftButtonPressDemand(), processLeftButtonPressNetwork(), and resetLastClickedPosition().

◆ myLastCreatedRoute

GNEDemandElement* GNEViewNet::myLastCreatedRoute = nullptr
private

last created route

Definition at line 723 of file GNEViewNet.h.

Referenced by getLastCreatedRoute(), and setLastCreatedRoute().

◆ myLockManager

◆ myMouseButtonKeyPressed

◆ myMouseHotspotX

int GUISUMOAbstractView::myMouseHotspotX
protectedinherited

Offset to the mouse-hotspot from the mouse position.

Definition at line 577 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::setWindowCursorPosition().

◆ myMouseHotspotY

int GUISUMOAbstractView::myMouseHotspotY
protectedinherited

Definition at line 577 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::setWindowCursorPosition().

◆ myMoveMultipleElements

◆ myMoveSingleElement

◆ myNet

GNENet* GNEViewNet::myNet = nullptr
private

Pointer to current net. (We are not responsible for deletion)

Definition at line 708 of file GNEViewNet.h.

Referenced by addRestrictedLane(), buildColorRainbow(), deleteDataAttributeCarriers(), deleteDemandAttributeCarriers(), deleteNetworkAttributeCarriers(), doPaintGL(), drawTemporalE1TLSLines(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getDemandElementAtPopupPosition(), getEdgeAtPopupPosition(), getEdgeDataAttrs(), getEdgeLaneParamKeys(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), getNet(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), getRelDataAttrs(), getTAZAtPopupPosition(), getWalkingAreaAtPopupPosition(), hotkeyDel(), mergeJunctions(), onCmdAddJoinTLS(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddTLS(), onCmdClearConnections(), onCmdClosePolygon(), onCmdConvertRoundabout(), onCmdDuplicateLane(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdEditWalkingAreaShape(), onCmdLaneReachability(), onCmdOpenPolygon(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSimplifyShape(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdToggleDrawSpreadVehicles(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdTransformPOI(), openObjectDialogAtCursor(), processLeftButtonPressNetwork(), recalculateBoundaries(), removeRestrictedLane(), and restrictLane().

◆ myNetworkCheckableButtons

GNEViewNetHelper::NetworkCheckableButtons GNEViewNet::myNetworkCheckableButtons
private

variable used to save checkable buttons for Supermode Network

Definition at line 640 of file GNEViewNet.h.

Referenced by buildEditModeControls(), and updateNetworkModeSpecificControls().

◆ myNetworkViewOptions

◆ myPanning

bool GUISUMOAbstractView::myPanning = false
protectedinherited

◆ myPolyDrawLock

FXMutex GUISUMOAbstractView::myPolyDrawLock
mutableprotectedinherited

poly draw lock

Definition at line 627 of file GUISUMOAbstractView.h.

◆ myPopup

◆ myPopupPosition

Position GUISUMOAbstractView::myPopupPosition = Position(0, 0)
protectedinherited

◆ mySaveElements

GNEViewNetHelper::SaveElements GNEViewNet::mySaveElements
private

variable used for grouping all variables related with salve elements

Definition at line 690 of file GNEViewNet.h.

Referenced by buildEditModeControls(), and getSaveElements().

◆ mySelectingArea

◆ mySnapshotCondition

FXCondition GUISUMOAbstractView::mySnapshotCondition
protectedinherited

the semaphore when waiting for snapshots to finish

Definition at line 624 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::waitForSnapshots().

◆ mySnapshots

std::map<SUMOTime, std::vector<std::tuple<std::string, int, int> > > GUISUMOAbstractView::mySnapshots
protectedinherited

◆ mySnapshotsMutex

FXMutex GUISUMOAbstractView::mySnapshotsMutex
protectedinherited

The mutex to use before accessing the decals list in order to avoid thread conflicts.

Definition at line 621 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::addSnapshot(), GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::waitForSnapshots().

◆ myTestingMode

GNEViewNetHelper::TestingMode GNEViewNet::myTestingMode
private

variable used to save variables related with testing mode

Definition at line 621 of file GNEViewNet.h.

Referenced by doPaintGL(), and getTestingMode().

◆ myTimeFormat

GNEViewNetHelper::TimeFormat GNEViewNet::myTimeFormat
private

variable used for grouping all variables related with switch time

Definition at line 693 of file GNEViewNet.h.

Referenced by buildEditModeControls(), and getTimeFormat().

◆ myUndoList

◆ myVehicleOptions

GNEViewNetHelper::VehicleOptions GNEViewNet::myVehicleOptions
private

variable used to save variables related with vehicle options

Definition at line 682 of file GNEViewNet.h.

◆ myVehicleTypeOptions

GNEViewNetHelper::VehicleTypeOptions GNEViewNet::myVehicleTypeOptions
private

variable used to save variables related with vehicle type options

Definition at line 685 of file GNEViewNet.h.

◆ myViewObjectsSelector

◆ myViewParent

◆ myVisualizationSettings

◆ myWindowCursorPositionX

FXint GUISUMOAbstractView::myWindowCursorPositionX
protectedinherited

◆ myWindowCursorPositionY

FXint GUISUMOAbstractView::myWindowCursorPositionY
protectedinherited

◆ SENSITIVITY


The documentation for this class was generated from the following files: