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

called when user press mouse's left button

long onLeftBtnPress (FXObject *, FXSelector, void *) override
long onLeftBtnRelease (FXObject *, FXSelector, void *) override
 called when user releases mouse's left button
long onMiddleBtnPress (FXObject *, FXSelector, void *) override
 called when user press mouse's left button
long onMiddleBtnRelease (FXObject *, FXSelector, void *) override
 called when user releases mouse's left button
long onRightBtnPress (FXObject *, FXSelector, void *) override
 called when user press mouse's right button
long onRightBtnRelease (FXObject *, FXSelector, void *) override
 called when user releases mouse's right button
long onMouseMove (FXObject *, FXSelector, void *) override
 called when user moves mouse
long onKeyPress (FXObject *o, FXSelector sel, void *data) override
 called when user press a key
long onKeyRelease (FXObject *o, FXSelector sel, void *data) override
 called when user release a key
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)
specific of shape edited

simply shape edited

long onCmdSimplifyShape (FXObject *, FXSelector, void *)
 simply shape of current polygon
long onCmdDeleteGeometryPoint (FXObject *, FXSelector, void *)
 delete the closes geometry point
long onCmdClosePolygon (FXObject *, FXSelector, void *)
 close opened polygon
long onCmdOpenPolygon (FXObject *, FXSelector, void *)
 open closed polygon
long onCmdSelectPolygonElements (FXObject *, FXSelector, void *)
 select elements within polygon boundary
long onCmdTriangulatePolygon (FXObject *, FXSelector, void *)
 triangulate polygon
long onCmdSetFirstGeometryPoint (FXObject *, FXSelector, void *)
 set as first geometry point the closes geometry point
long onCmdSimplifyShapeEdited (FXObject *, FXSelector, void *)
long onCmdStraightenShapeEdited (FXObject *, FXSelector, void *)
 straight shape edited
long onCmdCloseShapeEdited (FXObject *, FXSelector, void *)
 close opened shape edited
long onCmdOpenShapeEdited (FXObject *, FXSelector, void *)
 open closed shape edited
long onCmdSetFirstGeometryPointShapeEdited (FXObject *, FXSelector, void *)
 set first geometry point in shape edited
long onCmdDeleteGeometryPointShapeEdited (FXObject *, FXSelector, void *)
 delete the closes geometry point in shape edited
long onCmdResetShapeEdited (FXObject *, FXSelector, void *)
 reset shape edited
long onCmdFinishShapeEdited (FXObject *, FXSelector, void *)
 finish shape edited
View options network call backs
long onCmdToggleSelectEdges (FXObject *, FXSelector, void *)
 toggle select edges
long onCmdToggleShowConnections (FXObject *, FXSelector, void *)
 toggle show connections
long onCmdToggleHideConnections (FXObject *, FXSelector, void *)
 toggle hide connections
long onCmdToggleShowAdditionalSubElements (FXObject *, FXSelector, void *)
 toggle show additional sub-elements
long onCmdToggleShowTAZElements (FXObject *, FXSelector, void *)
 toggle show TAZ elements
long onCmdToggleExtendSelection (FXObject *, FXSelector, void *)
 toggle extend selection
long onCmdToggleChangeAllPhases (FXObject *, FXSelector, void *)
 toggle change all phases
long onCmdToggleShowGrid (FXObject *, FXSelector, void *)
 toggle show grid
long onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *)
 toggle draw junction shape
long onCmdToggleDrawSpreadVehicles (FXObject *, FXSelector, void *)
 toggle draw vehicles in begin position or spread in lane
long onCmdToggleMergeAutomatically (FXObject *, FXSelector, void *)
 toggle warn for merge
long onCmdToggleShowJunctionBubbles (FXObject *, FXSelector, void *)
 toggle show junction bubbles
long onCmdToggleMoveElevation (FXObject *, FXSelector, void *)
 toggle move elevation
long onCmdToggleChainEdges (FXObject *, FXSelector, void *)
 toggle chain edges
long onCmdToggleAutoOppositeEdge (FXObject *, FXSelector, void *)
 toggle autoOpposite edge
long onCmdToggleHideNonInspecteDemandElements (FXObject *, FXSelector, void *)
 toggle hide non inspected demand elements
long onCmdToggleShowOverlappedRoutes (FXObject *, FXSelector, void *)
 toggle hide non inspected demand elements
long onCmdToggleHideShapes (FXObject *, FXSelector, void *)
 toggle hide shapes in super mode demand
long onCmdToggleShowTrips (FXObject *, FXSelector, void *)
 toggle show all trips in super mode demand
long onCmdToggleShowAllPersonPlans (FXObject *, FXSelector, void *)
 toggle show all person plans in super mode demand
long onCmdToggleLockPerson (FXObject *, FXSelector, void *)
 toggle lock person in super mode demand
long onCmdToggleShowAllContainerPlans (FXObject *, FXSelector, void *)
 toggle show all container plans in super mode demand
long onCmdToggleLockContainer (FXObject *, FXSelector, void *)
 toggle lock container in super mode demand
long onCmdToggleShowAdditionals (FXObject *, FXSelector, void *)
 toggle show additionals in super mode data
long onCmdToggleShowShapes (FXObject *, FXSelector, void *)
 toggle show shapes in super mode data
long onCmdToggleShowDemandElementsNetwork (FXObject *, FXSelector, void *)
 toggle show demand elements (network)
long onCmdToggleShowDemandElementsData (FXObject *, FXSelector, void *)
 toggle show demand elements (data)
long onCmdToggleTAZRelDrawing (FXObject *, FXSelector, void *)
 toggle TAZRel drawing
long onCmdToggleTAZDrawFill (FXObject *, FXSelector, void *)
 toggle TAZdrawFill
long onCmdToggleTAZRelOnlyFrom (FXObject *, FXSelector, void *)
 toggle TAZRez only from
long onCmdToggleTAZRelOnlyTo (FXObject *, FXSelector, void *)
 toggle TAZRez only to
interval bar functions
long onCmdIntervalBarGenericDataType (FXObject *, FXSelector, void *)
 change generic data type in interval bar
long onCmdIntervalBarDataSet (FXObject *, FXSelector, void *)
 change data set in interval bar
long onCmdIntervalBarLimit (FXObject *, FXSelector, void *)
 change limit interval in interval bar
long onCmdIntervalBarSetBegin (FXObject *, FXSelector, void *)
 change begin in interval bar
long onCmdIntervalBarSetEnd (FXObject *, FXSelector, void *)
 change end in interval bar
long onCmdIntervalBarSetParameter (FXObject *, FXSelector, void *)
 change parameter in interval bar
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.
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.
virtual void saveFrame (const std::string &destFile, FXColor *buf)
 Adds a frame to a video snapshot which will be initialized if necessary.
virtual void endSnapshot ()
 Ends a video snapshot.
virtual void checkSnapshots ()
 Checks whether it is time for a snapshot.
void waitForSnapshots (const SUMOTime snapshotTime)
virtual SUMOTime getCurrentTimeStep () const
 get the current simulation time
Additional visualisations
bool addAdditionalGLVisualisation (GUIGlObject *const which)
 Adds an object to call its additional visualisation method.
bool removeAdditionalGLVisualisation (GUIGlObject *const which)
 Removes an object from the list of objects that show additional things.
bool isAdditionalGLVisualisationEnabled (GUIGlObject *const which) const
 Check if an object is added in the additional GL visualitation.

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)
void buildMinMaxRainbow (const GUIVisualizationSettings &s, GUIColorScheme &scheme, const GUIVisualizationRainbowSettings &rs, double minValue, double maxValue, bool hasMissingData)
 helper function for buildColorRainbow
FXImage * checkGDALImage (Decal &d)
 check whether we can read image data or position with gdal
void displayColorLegend (const GUIColorScheme &scheme, bool leftSide, const std::string &key)
 Draws a legend for the given scheme.
void displayLegend ()
 Draws a line with ticks, and the length information.
void displayLegends ()
 Draws the configured legends.
void doInit () override
 called after some features are already initialized
int doPaintGL (int mode, const Boundary &drawingBoundary) override
 do paintGL
void drawDecals ()
 Draws the stored decals.
void drawFPS ()
 Draws frames-per-second indicator.
std::vector< GUIGlObject * > filterInternalLanes (const std::vector< GUIGlObject * > &objects) const
 filter internal lanes in Objects under cursor
std::vector< GUIGlObject * > getGUIGlObjectsAtPosition (Position pos, double radius)
 returns the GUIGlObjects at position within the given (rectangular) radius using GL_SELECT
std::vector< GUIGlObject * > getGUIGlObjectsUnderCursor ()
 returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects)
std::vector< GUIGlObject * > getGUIGlObjectsUnderSnappedCursor ()
 returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects)
virtual GUILanegetLaneUnderCursor ()
 returns the GUILane at cursor position (implementation depends on view)
GUIGlID getObjectAtPosition (Position pos, double sensitivity=SENSITIVITY)
 returns the id of the object at position using GL_SELECT
std::vector< GUIGlIDgetObjectsAtPosition (Position pos, double radius)
 returns the ids of the object at position within the given (rectangular) radius using GL_SELECT
std::vector< GUIGlIDgetObjectsInBoundary (Boundary bound)
 returns the ids of all objects in the given boundary
std::vector< GUIGlIDgetObjectsUnderCursor ()
 returns the id of the objects under the cursor using GL_SELECT (including overlapped objects)
GUIGlID getObjectUnderCursor (double sensitivity=SENSITIVITY)
 returns the id of the front object under the cursor using GL_SELECT
GUIGlID getToolTipID () override
 returns the id of object under cursor to show their tooltip
 GNEViewNet ()
 FOX needs this.
void openPopupDialog ()
 open popup dialog
void paintGL ()
 FOX needs this.
void paintGLGrid () const
 paints a grid
bool showToolTipFor (const GUIGlID idToolTip)
 invokes the tooltip for the given object
virtual void updatePositionInformationLabel () const
 update position information labels

Protected Attributes

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

Static Protected Attributes

static const double SENSITIVITY = 0.1

Private Member Functions

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

Private Attributes

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

Friends

struct GNEViewNetHelper
 FOX-declaration.

structs related with Demand options

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

Detailed Description

Definition at line 31 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ GNEViewNet() [1/3]

◆ ~GNEViewNet()

GNEViewNet::~GNEViewNet ( )

destructor

Definition at line 325 of file GNEViewNet.cpp.

◆ GNEViewNet() [2/3]

◆ GNEViewNet() [3/3]

GNEViewNet::GNEViewNet ( const GNEViewNet & )
privatedelete

Invalidated copy constructor.

References GNEViewNet().

Member Function Documentation

◆ abortOperation()

void GNEViewNet::abortOperation ( bool clearSelection = true)

abort current edition operation

Definition at line 1662 of file GNEViewNet.cpp.

References DATA_EDGERELDATA, DATA_SELECT, DATA_TAZRELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_VEHICLE, 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, and updateViewNet().

Referenced by GNEViewNetHelper.

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 1874 of file GUISUMOAbstractView.cpp.

References myAdditionallyDrawn.

Referenced by 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 236 of file GUISUMOAbstractView.cpp.

References myDecals.

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

Here is the caller graph for this function:

◆ addRestrictedLane()

bool GNEViewNet::addRestrictedLane ( GNELane * lane,
SUMOVehicleClass vclass,
const bool insertAtFront )

add restricted lane

Definition at line 1079 of file GNEViewNet.cpp.

References GNEDialog::ACCEPT, GNEHierarchicalElement::getChildLanes(), GNELane::getIndex(), GNELane::getParentEdge(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, myViewParent, SVC_IGNORING, SVC_PEDESTRIAN, TL, TLF, toString(), and GNEDialog::YES_NO.

Referenced by GNECreateEdgeFrame::addBikelane(), GNECreateEdgeFrame::addSidewalk(), GNEViewNetHelper, and onCmdLaneOperation().

Here is the caller graph for this function:

◆ 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 1364 of file GUISUMOAbstractView.cpp.

References mySnapshots, and 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 953 of file GNEViewNet.cpp.

References GNEDialog::ACCEPT, DATA, DEMAND, OptionsCont::getOptions(), myEditModes, myViewParent, NETWORK, TL, TLF, and GNEDialog::YES_NO.

Referenced by GNEViewNetHelper.

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 1912 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ askMergeJunctions()

bool GNEViewNet::askMergeJunctions ( const GNEJunction * movedJunction,
const GNEJunction * targetJunction,
bool & alreadyAsked )

ask merge junctions

Definition at line 927 of file GNEViewNet.cpp.

References GNEDialog::ACCEPT, GUIGlObject::getMicrosimID(), myNetworkViewOptions, myViewParent, TL, TLF, and GNEDialog::YES_NO.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ autoSelectNodes()

bool GNEViewNet::autoSelectNodes ( )

whether to autoselect nodes or to lanes

Definition at line 898 of file GNEViewNet.cpp.

References GLO_JUNCTION, myLockManager, and myNetworkViewOptions.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ buildColorRainbow()

void GNEViewNet::buildColorRainbow ( const GUIVisualizationSettings & s,
GUIColorScheme & scheme,
int active,
GUIGlObjectType objectType,
const GUIVisualizationRainbowSettings & rs )
overridevirtual

recalibrate color scheme according to the current value range

Reimplemented from GUISUMOAbstractView.

Definition at line 818 of file GNEViewNet.cpp.

References GUIPropertyScheme< T >::addColor(), GUISUMOAbstractView::buildMinMaxRainbow(), GUIPropertyScheme< T >::clear(), RGBColor::fromHSV(), GUIPropertyScheme< T >::getName(), GLO_JUNCTION, GLO_LANE, GLO_TAZRELDATA, GLO_VEHICLE, invalid_return< std::string >::value, GUIPropertyScheme< T >::isFixed(), MAX2(), MIN2(), GUIVisualizationSettings::MISSING_DATA, myNet, GUIVisualizationSettings::SCHEME_NAME_PERMISSION_CODE, and SUMO_TAG_TAZREL.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ buildEditModeControls()

void GNEViewNet::buildEditModeControls ( )
private

create edit mode buttons and elements

Definition at line 4751 of file GNEViewNet.cpp.

References GUIDesignVerticalSeparator, myCommonCheckableButtons, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkCheckableButtons, myNetworkViewOptions, mySaveElements, myTimeFormat, and myViewParent.

Referenced by GNEViewNet().

Here is the caller graph for this function:

◆ buildMinMaxRainbow()

◆ buildViewToolBars()

◆ centerTo() [1/3]

void GUISUMOAbstractView::centerTo ( const Boundary & bound)
inherited

centers to the chosen artifact

Definition at line 975 of file GUISUMOAbstractView.cpp.

References myChanger.

◆ 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 967 of file GUISUMOAbstractView.cpp.

References myChanger, and 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

Reimplemented in GUIViewTraffic.

Definition at line 947 of file GUISUMOAbstractView.cpp.

References GUIGlObject::getCenteringBoundary(), GUIGlObjectStorage::gIDStorage, Position::INVALID, myChanger, and updatePositionInformationLabel().

Referenced by GUIViewTraffic::centerTo(), and paintGL().

Here is the caller graph for this function:

◆ changeAllPhases()

bool GNEViewNet::changeAllPhases ( ) const

change all phases

Definition at line 914 of file GNEViewNet.cpp.

References myNetworkViewOptions.

Referenced by GNEViewNetHelper.

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 473 of file GUISUMOAbstractView.h.

◆ checkGDALImage()

FXImage * GUISUMOAbstractView::checkGDALImage ( Decal & d)
protectedinherited

check whether we can read image data or position with gdal

Definition at line 1720 of file GUISUMOAbstractView.cpp.

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

Referenced by 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 1985 of file GNEViewNet.cpp.

References GUIGlObject::getType(), myLockManager, and myViewObjectsSelector.

Referenced by GNEViewNetHelper.

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 1325 of file GNEViewNet.cpp.

References myMouseButtonKeyPressed, and myNetworkViewOptions.

Referenced by GNEViewNetHelper, 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 1530 of file GUISUMOAbstractView.cpp.

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

Referenced by GUIViewTraffic::checkSnapshots(), and onConfigure().

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 1626 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView(), myChanger, and setViewportFromToRot().

Referenced by GUIApplicationWindow::openNewView().

Here is the caller graph for this function:

◆ deleteDataAttributeCarrier()

void GNEViewNet::deleteDataAttributeCarrier ( const GNEAttributeCarrier * AC)
private

delete data attribute carriers

Definition at line 5380 of file GNEViewNet.cpp.

References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), myNet, myUndoList, SUMO_TAG_DATAINTERVAL, and SUMO_TAG_DATASET.

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteDemandAttributeCarrier()

void GNEViewNet::deleteDemandAttributeCarrier ( const GNEAttributeCarrier * AC)
private

delete given demand attribute carriers

Definition at line 5369 of file GNEViewNet.cpp.

References GNEAttributeCarrier::getGUIGlObject(), myNet, and myUndoList.

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteNetworkAttributeCarrier()

void GNEViewNet::deleteNetworkAttributeCarrier ( const GNEAttributeCarrier * AC)
private

delete given network attribute carriers

Definition at line 5314 of file GNEViewNet.cpp.

References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isAdditionalElement(), myNet, myUndoList, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_TAZSINK, and SUMO_TAG_TAZSOURCE.

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ destroyPopup()

◆ displayColorLegend()

◆ displayLegend()

void GUISUMOAbstractView::displayLegend ( )
protectedinherited

Draws a line with ticks, and the length information.

Definition at line 640 of file GUISUMOAbstractView.cpp.

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

Referenced by displayLegends().

Here is the caller graph for this function:

◆ displayLegends()

void GUISUMOAbstractView::displayLegends ( )
protectedinherited

Draws the configured legends.

Definition at line 706 of file GUISUMOAbstractView.cpp.

References displayColorLegend(), displayLegend(), myVisualizationSettings, GUIVisualizationSettings::SCHEME_NAME_EDGE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_LANE_PARAM_NUMERICAL, and GUIVisualizationSettings::SCHEME_NAME_PARAM_NUMERICAL.

Referenced by makeSnapshot(), and paintGL().

Here is the caller graph for this function:

◆ doInit()

void GNEViewNet::doInit ( )
overrideprotectedvirtual

called after some features are already initialized

Reimplemented from GUISUMOAbstractView.

Definition at line 359 of file GNEViewNet.cpp.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ doPaintGL()

◆ drawDecals()

void GUISUMOAbstractView::drawDecals ( )
protectedinherited

◆ drawFPS()

void GUISUMOAbstractView::drawFPS ( )
protectedinherited

Draws frames-per-second indicator.

Definition at line 906 of file GUISUMOAbstractView.cpp.

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

Referenced by 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 3528 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ drawGrid()

void GNEViewNet::drawGrid ( ) const
private

draw grid and update grid button

Definition at line 3552 of file GNEViewNet.cpp.

References myDemandViewOptions, myEditModes, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, and GUISUMOAbstractView::paintGLGrid().

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawNeteditAttributesReferences()

void GNEViewNet::drawNeteditAttributesReferences ( )
private

draw circle in testing mode (needed for grid)

Definition at line 5704 of file GNEViewNet.cpp.

References myEditModes, and NETWORK_ADDITIONAL.

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 469 of file GUISUMOAbstractView.h.

◆ drawTemporalDrawingShape()

void GNEViewNet::drawTemporalDrawingShape ( ) const
private

draw temporal polygon shape in Polygon Mode

Definition at line 5473 of file GNEViewNet.cpp.

References RGBColor::BLUE, GLHelper::drawLine(), GUISUMOAbstractView::getPositionInformation(), GLO_TEMPORALSHAPE, RGBColor::GREEN, myViewParent, GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::RED, GLHelper::setColor(), and GUISUMOAbstractView::snapToActiveGrid().

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTemporalE1TLSLines()

void GNEViewNet::drawTemporalE1TLSLines ( ) const
private

draw temporal E1 TLS Lines

Definition at line 5646 of file GNEViewNet.cpp.

References GUIGeometry::drawChildLine(), E1, GLO_TEMPORALSHAPE, myNet, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), selectingDetectorsTLSMode(), and SUMO_TAG_INDUCTION_LOOP.

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTemporalJunction()

◆ drawTemporalJunctionTLSLines()

void GNEViewNet::drawTemporalJunctionTLSLines ( ) const
private

draw temporal Junction TLS Lines

Definition at line 5676 of file GNEViewNet.cpp.

References GUIGeometry::drawChildLine(), GLO_TEMPORALSHAPE, myNet, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), and selectingJunctionsTLSMode().

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTemporalRoundabout()

void GNEViewNet::drawTemporalRoundabout ( ) const
private

draw temporal roundabout

Definition at line 5619 of file GNEViewNet.cpp.

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

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTemporalSplitJunction()

void GNEViewNet::drawTemporalSplitJunction ( ) const
private

draw temporal split junction in create edge mode

Definition at line 5577 of file GNEViewNet.cpp.

References GLHelper::drawFilledCircle(), GLHelper::drawOutlineCircle(), GUISUMOAbstractView::getPositionInformation(), GLO_TEMPORALSHAPE, gViewObjectsHandler, myEditModes, myMouseButtonKeyPressed, GUISUMOAbstractView::myVisualizationSettings, NETWORK_CREATE_EDGE, GLHelper::popMatrix(), GLHelper::pushMatrix(), GLHelper::setColor(), and GUISUMOAbstractView::snapToActiveGrid().

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTestsCircle()

void GNEViewNet::drawTestsCircle ( ) const
private

draw circle in testing mode (needed for grid)

Definition at line 5804 of file GNEViewNet.cpp.

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

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ editVisualisationSettings()

GUIVisualizationSettings * GUISUMOAbstractView::editVisualisationSettings ( ) const
inherited

edit visualization settings (allow modify VisualizationSetings, use carefully)

Definition at line 1647 of file GUISUMOAbstractView.cpp.

References 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.

◆ filterContextObjects()

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

filter out duplicate and forbidden objects

Definition at line 1253 of file GUISUMOAbstractView.cpp.

References GUIGlObject::INVALID_PRIORITY.

Referenced by 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 558 of file GUISUMOAbstractView.cpp.

References GLO_LANE, and myVisualizationSettings.

◆ forceSupemodeNetwork()

void GNEViewNet::forceSupemodeNetwork ( )

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

Definition at line 451 of file GNEViewNet.cpp.

References myEditModes, and NETWORK.

Referenced by GNEViewNetHelper, 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 2111 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

Referenced by onCmdOpenAdditionalDialog().

Here is the caller graph for this function:

◆ getChanger()

GUIPerspectiveChanger & GUISUMOAbstractView::getChanger ( ) const
inherited

get changer

Definition at line 182 of file GUISUMOAbstractView.cpp.

References myChanger.

Referenced by GUISettingsHandler::applyViewport(), and GUIApplicationWindow::onCmdOpenInNetedit().

Here is the caller graph for this function:

◆ getColoringSchemesCombo()

MFXComboBoxIcon * GUISUMOAbstractView::getColoringSchemesCombo ( )
inherited

get coloring schemes combo

Definition at line 1714 of file GUISUMOAbstractView.cpp.

References myGlChildWindowParent.

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

Here is the caller graph for this function:

◆ getConnectionAtPopupPosition()

GNEConnection * GNEViewNet::getConnectionAtPopupPosition ( )
private

try to retrieve a connection at popup position

Definition at line 2036 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

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 2051 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

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 1572 of file GUISUMOAbstractView.cpp.

Referenced by checkSnapshots().

Here is the caller graph for this function:

◆ getDataViewOptions()

const GNEViewNetHelper::DataViewOptions & GNEViewNet::getDataViewOptions ( ) const

get data view options

Definition at line 800 of file GNEViewNet.cpp.

References myDataViewOptions.

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

Here is the caller graph for this function:

◆ getDecals()

std::vector< GUISUMOAbstractView::Decal > & GUISUMOAbstractView::getDecals ( )
inherited

The list of decals to show.

Definition at line 1702 of file GUISUMOAbstractView.cpp.

References myDecals.

◆ getDecalsLockMutex()

FXMutex & GUISUMOAbstractView::getDecalsLockMutex ( )
inherited

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

Definition at line 1708 of file GUISUMOAbstractView.cpp.

References myDecalsLockMutex.

◆ getDelay()

double GUISUMOAbstractView::getDelay ( ) const
inherited

Returns the delay of the parent application.

Definition at line 1946 of file GUISUMOAbstractView.cpp.

References myApp.

◆ getDemandElementAtPopupPosition()

GNEDemandElement * GNEViewNet::getDemandElementAtPopupPosition ( )
private

try to retrieve a demand element at popup position

Definition at line 2126 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

Referenced by onCmdAddReverse(), and onCmdReverse().

Here is the caller graph for this function:

◆ getDemandViewOptions()

const GNEViewNetHelper::DemandViewOptions & GNEViewNet::getDemandViewOptions ( ) const

get demand view options

Definition at line 794 of file GNEViewNet.cpp.

References myDemandViewOptions.

Referenced by GNEPathManager::drawLanePathElements(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ getDrawingToggle()

int GNEViewNet::getDrawingToggle ( ) const

get draw toggle (used to avoid drawing junctions twice)

Definition at line 1336 of file GNEViewNet.cpp.

References myDrawingToggle.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getEdgeAtPopupPosition()

GNEEdge * GNEViewNet::getEdgeAtPopupPosition ( )
private

try to retrieve an edge at popup position

Definition at line 2081 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

Referenced by onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdEdgeUseAsTemplate(), onCmdEditEdgeEndpoint(), onCmdEgeApplyTemplate(), onCmdResetEdgeEndpoint(), onCmdResetLength(), onCmdReverseEdge(), onCmdSetCustomGeometryPoint(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), and onCmdStraightenEdgesElevation().

Here is the caller graph for this function:

◆ getEdgeDataAttrs()

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

return list of loaded edgeData attributes

Reimplemented from GUISUMOAbstractView.

Definition at line 1290 of file GNEViewNet.cpp.

References GNE_TAG_EDGEREL_SINGLE, and myNet.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getEdgeLaneParamKeys()

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

return list of available edge parameters

Reimplemented from GUISUMOAbstractView.

Definition at line 1258 of file GNEViewNet.cpp.

References myNet.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getEditModes()

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

get edit modes

Definition at line 776 of file GNEViewNet.cpp.

References myEditModes.

Referenced by GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ getEditNetworkElementShapes()

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

get Edit Shape module

Definition at line 812 of file GNEViewNet.cpp.

References myEditNetworkElementShapes.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getFPS()

double GUISUMOAbstractView::getFPS ( ) const
inherited

retrieve FPS

Definition at line 894 of file GUISUMOAbstractView.cpp.

References MAX2(), and myFrameDrawTime.

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

Here is the caller graph for this function:

◆ getGridHeight()

double GUISUMOAbstractView::getGridHeight ( ) const
inherited

get grid height

Definition at line 1671 of file GUISUMOAbstractView.cpp.

References myGrid.

Referenced by checkGDALImage().

Here is the caller graph for this function:

◆ getGridWidth()

double GUISUMOAbstractView::getGridWidth ( ) const
inherited

get grid width

Definition at line 1665 of file GUISUMOAbstractView.cpp.

References myGrid.

Referenced by checkGDALImage().

Here is the caller graph for this function:

◆ getGUIGlChildWindow()

GUIGlChildWindow * GUISUMOAbstractView::getGUIGlChildWindow ( )
inherited

get GUIGlChildWindow

Definition at line 900 of file GUISUMOAbstractView.cpp.

References myGlChildWindowParent.

◆ 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 488 of file GUISUMOAbstractView.cpp.

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

Referenced by getGUIGlObjectsUnderCursor(), getGUIGlObjectsUnderSnappedCursor(), and GUIViewTraffic::onGamingClick().

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 399 of file GUISUMOAbstractView.cpp.

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

Referenced by 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 405 of file GUISUMOAbstractView.cpp.

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

◆ getInspectedElements()

◆ getIntervalBar()

GNEViewNetHelper::IntervalBar & GNEViewNet::getIntervalBar ( )

get interval bar

Definition at line 1955 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getJunctionAtPopupPosition()

GNEJunction * GNEViewNet::getJunctionAtPopupPosition ( )
private

try to retrieve a junction at popup position

Definition at line 2021 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

Referenced by onCmdAddJoinTLS(), onCmdAddTLS(), onCmdClearConnections(), onCmdConvertRoundabout(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndPoints(), onCmdResetJunctionShape(), onCmdSelectRoundabout(), onCmdSplitJunction(), and onCmdSplitJunctionReconnect().

Here is the caller graph for this function:

◆ getLaneAtPopupPosition()

GNELane * GNEViewNet::getLaneAtPopupPosition ( )
private

try to retrieve a lane at popup position

Definition at line 2096 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

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

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 374 of file GUISUMOAbstractView.cpp.

◆ getLastCreatedRoute()

GNEDemandElement * GNEViewNet::getLastCreatedRoute ( ) const

get last created route

Definition at line 2009 of file GNEViewNet.cpp.

References myLastCreatedRoute.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getLockManager()

GNEViewNetHelper::LockManager & GNEViewNet::getLockManager ( )

get lock manager

Definition at line 1961 of file GNEViewNet.cpp.

References myLockManager.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getMainWindow()

GUIMainWindow * GUISUMOAbstractView::getMainWindow ( ) const
inherited

get main window

Definition at line 982 of file GUISUMOAbstractView.cpp.

References myApp.

Referenced by GUICursorDialog::buildDialogElements().

Here is the caller graph for this function:

◆ getMarkFrontElements()

GNEViewNetHelper::MarkFrontElements & GNEViewNet::getMarkFrontElements ( )

get marked for drawing front elements

Definition at line 1973 of file GNEViewNet.cpp.

References myMarkFrontElements.

Referenced by GNEViewNetHelper.

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 279 of file GUISUMOAbstractView.h.

References UNUSED_PARAMETER.

◆ 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 274 of file GUISUMOAbstractView.h.

◆ getMouseButtonKeyPressed()

const GNEViewNetHelper::MouseButtonKeyPressed & GNEViewNet::getMouseButtonKeyPressed ( ) const

get Key Pressed module

Definition at line 806 of file GNEViewNet.cpp.

References myMouseButtonKeyPressed.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getMoveMultipleElementValues()

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

get move multiple element values

Definition at line 612 of file GNEViewNet.cpp.

References myMoveMultipleElements.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getMoveSingleElementValues()

const GNEViewNetHelper::MoveSingleElementModul & GNEViewNet::getMoveSingleElementValues ( ) const

get move single element values

Definition at line 606 of file GNEViewNet.cpp.

References myMoveSingleElement.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getNet()

◆ getNetworkViewOptions()

const GNEViewNetHelper::NetworkViewOptions & GNEViewNet::getNetworkViewOptions ( ) const

get network view options

Definition at line 788 of file GNEViewNet.cpp.

References myNetworkViewOptions.

Referenced by GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ getObjectAtPosition()

GUIGlID GUISUMOAbstractView::getObjectAtPosition ( Position pos,
double sensitivity = SENSITIVITY )
protectedinherited

returns the id of the object at position using GL_SELECT

Definition at line 411 of file GUISUMOAbstractView.cpp.

References Boundary::add(), Position::distanceTo2D(), GUIGlObject::getCenter(), GUIGlObject::getClickPriority(), GUIGlObject::getGlID(), getObjectsInBoundary(), GUIGlObjectStorage::gIDStorage, and Boundary::grow().

Referenced by getObjectUnderCursor().

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 453 of file GUISUMOAbstractView.cpp.

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

Referenced by getObjectsUnderCursor().

Here is the caller graph for this function:

◆ getObjectsInBoundary()

std::vector< GUIGlID > GUISUMOAbstractView::getObjectsInBoundary ( Boundary bound)
protectedinherited

returns the ids of all objects in the given boundary

Definition at line 518 of file GUISUMOAbstractView.cpp.

References applyGLTransform(), doPaintGL(), m2p(), myApp, myChanger, myVisualizationSettings, SUMO_const_laneWidth, and toString().

Referenced by getGUIGlObjectsAtPosition(), getObjectAtPosition(), getObjectsAtPosition(), GNEViewNet::onCmdAttachPOI(), and GNEViewNet::recalculateBoundaries().

Here is the caller graph for this function:

◆ 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 392 of file GUISUMOAbstractView.cpp.

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

◆ getObjectUnderCursor()

GUIGlID GUISUMOAbstractView::getObjectUnderCursor ( double sensitivity = SENSITIVITY)
protectedinherited

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

Definition at line 386 of file GUISUMOAbstractView.cpp.

References getObjectAtPosition(), and getPositionInformation().

Referenced by GUIViewTraffic::getLaneUnderCursor(), getToolTipID(), and 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 2156 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

Referenced by onCmdAttachPOI(), onCmdReleasePOI(), onCmdTransformPOI(), and onCmdTransformPOIGEO().

Here is the caller graph for this function:

◆ getPOIParamKeys()

std::vector< std::string > GNEViewNet::getPOIParamKeys ( ) const
overridevirtual

return list of available POI parameters

Reimplemented from GUISUMOAbstractView.

Definition at line 1319 of file GNEViewNet.cpp.

References myNet.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getPolygonAtPopupPosition()

GNEPoly * GNEViewNet::getPolygonAtPopupPosition ( )
private

try to retrieve a polygon at popup position

Definition at line 2141 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

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

Here is the caller graph for this function:

◆ getPopup()

GUIGLObjectPopupMenu * GUISUMOAbstractView::getPopup ( ) const
inherited

ge the current popup-menu

Definition at line 1041 of file GUISUMOAbstractView.cpp.

References myPopup.

◆ getPopupPosition()

const Position & GUISUMOAbstractView::getPopupPosition ( ) const
inherited

get position of current popup

Definition at line 1047 of file GUISUMOAbstractView.cpp.

References myPopupPosition.

Referenced by GNEViewNet::onCmdDeleteGeometryPoint(), GNEViewNet::onCmdEditEdgeEndpoint(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdSetFirstGeometryPoint(), GNEViewNet::onCmdSplitEdge(), and GNEViewNet::onCmdSplitEdgeBidi().

Here is the caller graph for this function:

◆ getPositionInformation()

◆ getRelDataAttrs()

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

return list of loaded edgeRelation and tazRelation attributes

Reimplemented from GUISUMOAbstractView.

Definition at line 1302 of file GNEViewNet.cpp.

References myNet, SUMO_TAG_EDGEREL, and SUMO_TAG_TAZREL.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getSaveElements()

GNEViewNetHelper::SaveElements & GNEViewNet::getSaveElements ( )

get variable used to save elements

Definition at line 1000 of file GNEViewNet.cpp.

References mySaveElements.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getShapeEditedAtPopupPosition()

GNENetworkElement * GNEViewNet::getShapeEditedAtPopupPosition ( )
private

try to retreive a edited shape at popup position

Definition at line 2186 of file GNEViewNet.cpp.

References GLO_CONNECTION, GLO_CROSSING, GLO_JUNCTION, gViewObjectsHandler, and myNet.

Referenced by onCmdCloseShapeEdited(), onCmdDeleteGeometryPointShapeEdited(), onCmdOpenShapeEdited(), onCmdResetShapeEdited(), onCmdSetFirstGeometryPointShapeEdited(), onCmdSimplifyShapeEdited(), and onCmdStraightenShapeEdited().

Here is the caller graph for this function:

◆ getTAZAtPopupPosition()

GNETAZ * GNEViewNet::getTAZAtPopupPosition ( )
private

try to retrieve a TAZ at popup position

Definition at line 2171 of file GNEViewNet.cpp.

References gViewObjectsHandler, myNet, 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 782 of file GNEViewNet.cpp.

References myTestingMode.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getTimeFormat()

GNEViewNetHelper::TimeFormat & GNEViewNet::getTimeFormat ( )

get variable used to switch between time formats

Definition at line 1006 of file GNEViewNet.cpp.

References myTimeFormat.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getToolTipID()

GUIGlID GNEViewNet::getToolTipID ( )
overrideprotectedvirtual

returns the id of object under cursor to show their tooltip

Reimplemented from GUISUMOAbstractView.

Definition at line 363 of file GNEViewNet.cpp.

References myViewObjectsSelector.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getTrackedID()

GUIGlID GUISUMOAbstractView::getTrackedID ( ) const
virtualinherited

get tracked id

Reimplemented in GUIViewTraffic.

Definition at line 1687 of file GUISUMOAbstractView.cpp.

References GUIGlObject::INVALID_ID.

Referenced by paintGL().

Here is the caller graph for this function:

◆ getUndoList()

◆ getVehicleParamKeys()

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

return list of available vehicle parameters

Reimplemented in GUIViewTraffic.

Definition at line 295 of file GUISUMOAbstractView.h.

◆ getViewObjectsSelector()

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

get objects under cursor

Definition at line 502 of file GNEViewNet.cpp.

References myViewObjectsSelector.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ getViewParent()

GNEViewParent * GNEViewNet::getViewParent ( ) const

get the net object

Definition at line 1937 of file GNEViewNet.cpp.

References myViewParent.

Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEChange_Attribute::changeAttribute(), GNEDeleteFrame::SubordinatedElements::checkElements(), GNETLSTable::Column::Column(), GNEMoveElement::commitMove(), GNEDistributionFrame::DistributionSelector::DistributionSelector(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEViewNetHelper, GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEElementTable::Row::Row(), GNEInternalTest::runNeteditInternalTests(), GNEProhibitionFrame::Selection::Selection(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETLSEditorFrame::TLSPrograms::TLSPrograms(), 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().

Here is the caller graph for this function:

◆ getViewportEditor()

GUIDialog_EditViewport * GUISUMOAbstractView::getViewportEditor ( )
inherited

get the viewport and create it on first access

Definition at line 1591 of file GUISUMOAbstractView.cpp.

References myGUIDialogEditViewport, TLC, and updateViewportValues().

Referenced by showViewportEditor().

Here is the caller graph for this function:

◆ getVisibleBoundary()

Boundary GUISUMOAbstractView::getVisibleBoundary ( ) const
inherited

get visible boundary

Definition at line 278 of file GUISUMOAbstractView.cpp.

References myChanger.

◆ getVisualisationSettings()

const GUIVisualizationSettings & GUISUMOAbstractView::getVisualisationSettings ( ) const
inherited

get visualization settings (read only)

Definition at line 1641 of file GUISUMOAbstractView.cpp.

References myVisualizationSettings.

Referenced by GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), and GUIApplicationWindow::onCmdToggleSecondaryShape().

Here is the caller graph for this function:

◆ getWalkingAreaAtPopupPosition()

GNEWalkingArea * GNEViewNet::getWalkingAreaAtPopupPosition ( )
private

try to retrieve a walkingArea at popup position

Definition at line 2066 of file GNEViewNet.cpp.

References gViewObjectsHandler, and myNet.

Referenced by onCmdEditWalkingAreaShape().

Here is the caller graph for this function:

◆ getWindowCursorPosition()

Position GUISUMOAbstractView::getWindowCursorPosition ( ) const
inherited

return windows cursor position

Definition at line 988 of file GUISUMOAbstractView.cpp.

References myWindowCursorPositionX, and myWindowCursorPositionY.

Referenced by updatePositionInformationLabel().

Here is the caller graph for this function:

◆ hotkeyBackSpace()

void GNEViewNet::hotkeyBackSpace ( )

handle backspace keypress

Definition at line 1898 of file GNEViewNet.cpp.

References DATA_EDGERELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, myEditModes, myViewParent, and NETWORK_ADDITIONAL.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ hotkeyDel()

void GNEViewNet::hotkeyDel ( )

handle del keypress

Definition at line 1758 of file GNEViewNet.cpp.

References deleteDataAttributeCarrier(), deleteDemandAttributeCarrier(), deleteNetworkAttributeCarrier(), DEMAND_INSPECT, MODEDELETE, myEditModes, myInspectedElements, myNet, myUndoList, NETWORK_CONNECT, NETWORK_INSPECT, NETWORK_TLS, setStatusBarText(), and TL.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ hotkeyEnter()

void GNEViewNet::hotkeyEnter ( )

handle enter keypress

Definition at line 1827 of file GNEViewNet.cpp.

References DATA_EDGERELDATA, DATA_TAZRELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, myEditModes, myEditNetworkElementShapes, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, and NETWORK_WIRE.

Referenced by GNEViewNetHelper, and onCmdFinishShapeEdited().

Here is the caller graph for this function:

◆ hotkeyFocusFrame()

void GNEViewNet::hotkeyFocusFrame ( )

handle focus frame keypress

Definition at line 1926 of file GNEViewNet.cpp.

References myCurrentFrame.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ is3DView()

bool GUISUMOAbstractView::is3DView ( ) const
virtualinherited

return whether this is a 3D view

Definition at line 284 of file GUISUMOAbstractView.cpp.

Referenced by GUISettingsHandler::applyViewport().

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 1902 of file GUISUMOAbstractView.cpp.

References myAdditionallyDrawn.

◆ isCurrentlyMovingElements()

bool GNEViewNet::isCurrentlyMovingElements ( ) const

check if an element is being moved

Definition at line 1979 of file GNEViewNet.cpp.

References myMoveMultipleElements, and myMoveSingleElement.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ isInEditMode()

bool GUISUMOAbstractView::isInEditMode ( )
inherited

returns true, if the edit button was pressed

Definition at line 176 of file GUISUMOAbstractView.cpp.

References myInEditMode.

◆ m2p()

double GUISUMOAbstractView::m2p ( double meter) const
inherited

meter-to-pixels conversion method

Definition at line 929 of file GUISUMOAbstractView.cpp.

References myChanger.

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

Here is the caller graph for this function:

◆ makeCurrent()

FXbool GUISUMOAbstractView::makeCurrent ( )
inherited

A reimplementation due to some internal reasons.

Definition at line 1001 of file GUISUMOAbstractView.cpp.

Referenced by GUIViewTraffic::getLaneUnderCursor(), makeSnapshot(), onConfigure(), GUIViewTraffic::onGamingClick(), onLeftBtnPress(), onPaint(), openObjectDialogAtCursor(), and GNEViewNet::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 1374 of file GUISUMOAbstractView.cpp.

References applyGLTransform(), displayLegends(), doPaintGL(), drawDecals(), FILE, m2p(), makeCurrent(), myChanger, myGrid, myVisualizationSettings, paintGLGrid(), GLHelper::pushMatrix(), saveFrame(), MFXImageHelper::saveImage(), GLHelper::setGL2PS(), MFXSingleEventThread::sleep(), SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().

Referenced by checkSnapshots().

Here is the caller graph for this function:

◆ onCmdAddEdgeSelected()

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

select Edge under cursor

Definition at line 4718 of file GNEViewNet.cpp.

References myViewObjectsSelector.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdAddJoinTLS()

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

add Join TLS

Definition at line 3848 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), GNEJunction::getAttribute(), NBNode::getControllingTLS(), GNEAttributeCarrier::getID(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODETLS, myEditModes, myNet, myUndoList, myViewParent, NETWORK_TLS, GNEJunction::setAttribute(), SUMO_ATTR_TLID, SUMO_ATTR_TYPE, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdAddRerouter()

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

Reimplemented in GUIViewTraffic.

Definition at line 356 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 3117 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdAddReversedEdge()

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

add reversed edge

Definition at line 2472 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdAddReversedEdgeDisconnected()

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

add reversed edge disconnected

Definition at line 2493 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdAddSelected()

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

select AC under cursor

Definition at line 4696 of file GNEViewNet.cpp.

References myViewObjectsSelector.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdAddTLS()

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

add TLS

Definition at line 3820 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODETLS, myEditModes, myNet, myUndoList, myViewParent, NETWORK_TLS, GNEJunction::setAttribute(), SUMO_ATTR_TYPE, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdAttachPOI()

◆ onCmdClearConnections()

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

clear junction connections

Definition at line 3752 of file GNEViewNet.cpp.

References CONNECTION, GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myInspectedElements, myMarkFrontElements, myNet, myUndoList, myViewParent, SUMO_TAG_CONNECTION, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdCloseEdge()

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

Reimplemented in GUIViewTraffic.

Definition at line 350 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 344 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 2730 of file GNEViewNet.cpp.

References GNEPoly::closePolygon(), getPolygonAtPopupPosition(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, SUMO_TAG_POLY, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdCloseShapeEdited()

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

close opened shape edited

Definition at line 2901 of file GNEViewNet.cpp.

References GNENetworkElement::closeShapeEdited(), getShapeEditedAtPopupPosition(), myNet, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdConvertRoundabout()

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

convert junction to roundabout

Definition at line 3723 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdDeleteGeometryPoint()

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

delete the closes geometry point

Definition at line 2720 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdDeleteGeometryPointShapeEdited()

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

delete the closes geometry point in shape edited

Definition at line 2948 of file GNEViewNet.cpp.

References GNENetworkElement::deleteGeometryPointShapeEdited(), GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), getShapeEditedAtPopupPosition(), myNet, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdDuplicateLane()

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

duplicate selected lane

Definition at line 3245 of file GNEViewNet.cpp.

References getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEdgeUseAsTemplate()

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

use edge as template

Definition at line 2654 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), and myViewParent.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEditConnectionShape()

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

edit connection shape

Definition at line 3892 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), myEditNetworkElementShapes, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEditCrossingShape()

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

edit crossing shape

Definition at line 3924 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getCrossingAtPopupPosition(), OptionsCont::getOptions(), GNEHierarchicalElement::getParentJunctions(), myEditNetworkElementShapes, myNet, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEditEdgeEndpoint()

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

change geometry endpoint

Definition at line 2514 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEditJunctionShape()

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

edit junction shape

Definition at line 3623 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getShape(), myEditNetworkElementShapes, myNet, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEditLaneShape()

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

edit lane shape

Definition at line 3268 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getLaneAtPopupPosition(), and myEditNetworkElementShapes.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEditWalkingAreaShape()

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

edit walkingArea shape

Definition at line 3948 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), OptionsCont::getOptions(), GNEHierarchicalElement::getParentJunctions(), getWalkingAreaAtPopupPosition(), myEditNetworkElementShapes, myNet, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdEgeApplyTemplate()

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

apply template to edge

Definition at line 2664 of file GNEViewNet.cpp.

References GNEEdge::copyTemplate(), getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, myViewParent, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdFinishShapeEdited()

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

finish shape edited

Definition at line 2980 of file GNEViewNet.cpp.

References hotkeyEnter().

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdIntervalBarDataSet()

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

change data set in interval bar

Definition at line 4661 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

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 4654 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdIntervalBarLimit()

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

change limit interval in interval bar

Definition at line 4668 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdIntervalBarSetBegin()

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

change begin in interval bar

Definition at line 4675 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdIntervalBarSetEnd()

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

change end in interval bar

Definition at line 4682 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdIntervalBarSetParameter()

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

change parameter in interval bar

Definition at line 4689 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

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 3369 of file GNEViewNet.cpp.

References getLaneAtPopupPosition(), GNELane::getParentEdge(), GNE_ATTR_SELECTED, myNet, myUndoList, SumoVehicleClassStrings, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdOpenAdditionalDialog()

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

open additional dialog

Definition at line 3392 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdOpenPolygon()

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

open closed polygon

Definition at line 2762 of file GNEViewNet.cpp.

References getPolygonAtPopupPosition(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::openPolygon(), SUMO_TAG_POLY, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdOpenShapeEdited()

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

open closed shape edited

Definition at line 2916 of file GNEViewNet.cpp.

References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::openShapeEdited(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdReleasePOI()

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

release POI from lane

Definition at line 3032 of file GNEViewNet.cpp.

References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), getPOIAtPopupPosition(), GNE_TAG_POILANE, myNet, myUndoList, myViewParent, AdditionalHandler::parseSumoBaseObject(), SUMO_ATTR_X, SUMO_ATTR_Y, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdRemoveEdgeSelected()

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

unselect Edge under cursor

Definition at line 4729 of file GNEViewNet.cpp.

References myViewObjectsSelector.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdRemoveSelected()

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

unselect AC under cursor

Definition at line 4707 of file GNEViewNet.cpp.

References myViewObjectsSelector.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdReplaceJunction()

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

replace node by geometry

Definition at line 3673 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetConnections()

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

reset junction connections

Definition at line 3786 of file GNEViewNet.cpp.

References CONNECTION, GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myInspectedElements, myMarkFrontElements, myNet, myUndoList, myViewParent, SUMO_TAG_CONNECTION, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetEdgeEndpoint()

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

change geometry endpoint

Definition at line 2525 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::resetEndpoint(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetEdgeEndPoints()

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

edit junction shape

Definition at line 3585 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), EDGE, GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), getJunctionAtPopupPosition(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetEndPoints()

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

reset edge end points

Definition at line 3209 of file GNEViewNet.cpp.

References GNEAttributeCarrier::getID(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetJunctionShape()

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

reset junction shape

Definition at line 3647 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEJunction::setAttribute(), SUMO_ATTR_SHAPE, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetLaneCustomShape()

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

reset custom shapes of selected lanes

Definition at line 3282 of file GNEViewNet.cpp.

References getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNELane::setAttribute(), SUMO_ATTR_CUSTOMSHAPE, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetLength()

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

reset custom edge lengths

Definition at line 2635 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), SUMO_ATTR_LENGTH, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetOppositeLane()

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

reset oppositeLane of current lane

Definition at line 3305 of file GNEViewNet.cpp.

References getLaneAtPopupPosition(), GNE_ATTR_OPPOSITE, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNELane::setAttribute(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdResetShapeEdited()

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

reset shape edited

Definition at line 2965 of file GNEViewNet.cpp.

References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::resetShapeEdited(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdReverse()

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

reverse current demand element

Definition at line 3103 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdReverseEdge()

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

reverse edge

Definition at line 2451 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSelectPolygonElements()

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

select elements within polygon boundary

Definition at line 2794 of file GNEViewNet.cpp.

References checkSelectEdges(), getPolygonAtPopupPosition(), SUMOPolygon::getShape(), GNE_ATTR_SELECTED, MODESELECT, myNet, myUndoList, myViewObjectsSelector, SUMO_TAG_EDGE, SUMO_TAG_LANE, TL, and updateObjectsInShape().

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSelectRoundabout()

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

select all roundabout nodes and edges

Definition at line 3711 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSetCustomGeometryPoint()

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

set custom geometry point

Definition at line 3131 of file GNEViewNet.cpp.

References GNEDialog::ACCEPT, GNEChange_Attribute::changeAttribute(), getEdgeAtPopupPosition(), NBEdge::getGeometry(), GNEEdge::getNBEdge(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPositionInformation(), SUMOPolygon::getShape(), getTAZAtPopupPosition(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::indexOfClosest(), myUndoList, myViewParent, SUMO_ATTR_SHAPE, TAZ, TL, and toString().

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSetFirstGeometryPoint()

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

set as first geometry point the closes geometry point

Definition at line 2860 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSetFirstGeometryPointShapeEdited()

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

set first geometry point in shape edited

Definition at line 2931 of file GNEViewNet.cpp.

References GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::setFirstGeometryPointShapeEdited(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSetMode()

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

◆ onCmdSetNeteditView()

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

called when a new view is set

Definition at line 4740 of file GNEViewNet.cpp.

References myEditModes.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSetSupermode()

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

Definition at line 2213 of file GNEViewNet.cpp.

References DATA, DEMAND, MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, myEditModes, and NETWORK.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdShowReachability()

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

highlight edges according to reachability

Reimplemented in GUIViewTraffic.

Definition at line 362 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 2688 of file GNEViewNet.cpp.

References getPolygonAtPopupPosition(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::simplifyShape(), SUMO_TAG_POLY, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSimplifyShapeEdited()

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

Definition at line 2871 of file GNEViewNet.cpp.

References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::simplifyShapeEdited(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSmoothConnectionShape()

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

edit connection shape

Definition at line 3910 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSmoothEdges()

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

smooth geometry

Definition at line 2572 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smooth(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

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 2614 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smoothElevation(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSplitEdge()

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

split edge at cursor position

Definition at line 2419 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSplitEdgeBidi()

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

split edge at cursor position

Definition at line 2429 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdSplitJunction()

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

split junction into multiple junctions

Definition at line 3686 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

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 3699 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdStraightenEdges()

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

makes selected edges straight

Definition at line 2550 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdStraightenEdgesElevation()

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

interpolate z values linear between junctions

Definition at line 2593 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::straightenElevation(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdStraightenShapeEdited()

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

straight shape edited

Definition at line 2886 of file GNEViewNet.cpp.

References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::straigthenShapeEdited(), and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdToggleAutoOppositeEdge()

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

toggle autoOpposite edge

Definition at line 4295 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4276 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4092 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleDrawJunctionShape()

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

◆ onCmdToggleDrawSpreadVehicles()

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

toggle draw vehicles in begin position or spread in lane

Definition at line 4163 of file GNEViewNet.cpp.

References GNE_TAG_FLOW_ROUTE, GNE_TAG_ROUTE_EMBEDDED, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, myDemandViewOptions, myNet, myNetworkViewOptions, SUMO_TAG_FLOW, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleExtendSelection()

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

toggle extend selection

Definition at line 4073 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4016 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4314 of file GNEViewNet.cpp.

References MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, myDemandViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4352 of file GNEViewNet.cpp.

References MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, myDemandViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleLockContainer()

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

toggle lock container in super mode demand

Definition at line 4463 of file GNEViewNet.cpp.

References GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isContainer(), MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, myDemandViewOptions, myInspectedElements, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleLockPerson()

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

toggle lock person in super mode demand

Definition at line 4409 of file GNEViewNet.cpp.

References GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isPerson(), MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, myDemandViewOptions, myInspectedElements, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleMergeAutomatically()

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

toggle warn for merge

Definition at line 4219 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_MERGEAUTOMATICALLY, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleMoveElevation()

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

toggle move elevation

Definition at line 4257 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 3972 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, and myNetworkViewOptions.

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4498 of file GNEViewNet.cpp.

References MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, myDataViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4035 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4444 of file GNEViewNet.cpp.

References MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, myDemandViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4390 of file GNEViewNet.cpp.

References MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, myDemandViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleShowConnections()

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

toggle show connections

Definition at line 3989 of file GNEViewNet.cpp.

References getNet(), GNENet::initGNEConnections(), MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, GNENet::requireRecompute(), and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleShowDemandElementsData()

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

toggle show demand elements (data)

Definition at line 4557 of file GNEViewNet.cpp.

References MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, myDataViewOptions, myNet, myViewParent, and updateViewNet().

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

Here is the caller graph for this function:

◆ onCmdToggleShowDemandElementsNetwork()

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

toggle show demand elements (network)

Definition at line 4536 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, myNet, myNetworkViewOptions, myViewParent, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleShowGrid()

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

toggle show grid

Definition at line 4111 of file GNEViewNet.cpp.

References MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myDemandViewOptions, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().

Here is the caller graph for this function:

◆ onCmdToggleShowJunctionBubbles()

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

toggle show junction bubbles

Definition at line 4238 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4333 of file GNEViewNet.cpp.

References MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, myDemandViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4517 of file GNEViewNet.cpp.

References MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, myDataViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4054 of file GNEViewNet.cpp.

References MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, myNetworkViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4371 of file GNEViewNet.cpp.

References MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, myDemandViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().

Here is the caller graph for this function:

◆ onCmdToggleTAZDrawFill()

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

toggle TAZdrawFill

Definition at line 4597 of file GNEViewNet.cpp.

References MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, myDataViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4578 of file GNEViewNet.cpp.

References MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, myDataViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4616 of file GNEViewNet.cpp.

References MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, myDataViewOptions, and updateViewNet().

Referenced by FXDEFMAP(), GNEViewNetHelper, 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 4635 of file GNEViewNet.cpp.

References MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, myDataViewOptions, and updateViewNet().

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

Here is the caller graph for this function:

◆ onCmdTransformPOI()

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

transform to POI

Definition at line 3055 of file GNEViewNet.cpp.

References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), getPOIAtPopupPosition(), myNet, myUndoList, myViewParent, AdditionalHandler::parseSumoBaseObject(), SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_POI, and TL.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdTransformPOIGEO()

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

transform to POIGEO

Definition at line 3078 of file GNEViewNet.cpp.

References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), GeoConvHelper::cartesian2geo(), GeoConvHelper::getFinal(), getPOIAtPopupPosition(), GNE_TAG_POIGEO, myNet, myUndoList, myViewParent, AdditionalHandler::parseSumoBaseObject(), SUMO_ATTR_LAT, SUMO_ATTR_LON, TL, Position::x(), and Position::y().

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onCmdTriangulatePolygon()

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

triangulate polygon

Definition at line 2831 of file GNEViewNet.cpp.

References CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributeCarrier::getFilename(), getPolygonAtPopupPosition(), SUMOPolygon::getShape(), GNEPoly::getSumoBaseObject(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), myNet, myViewParent, AdditionalHandler::parseSumoBaseObject(), POLY, SUMO_ATTR_ID, SUMO_ATTR_SHAPE, TL, and Triangle::triangulate().

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onConfigure()

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

mouse functions

Definition at line 1008 of file GUISUMOAbstractView.cpp.

References checkSnapshots(), doInit(), makeCurrent(), myAmInitialised, and myVisualizationSettings.

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 1198 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 3736 of file GNEViewNet.cpp.

References myDrawPreviewRoundabout.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onGamingClick()

void GUISUMOAbstractView::onGamingClick ( Position )
virtualinherited

on gaming click

Reimplemented in GUIViewTraffic.

Definition at line 1693 of file GUISUMOAbstractView.cpp.

Referenced by onLeftBtnRelease().

Here is the caller graph for this function:

◆ onGamingRightClick()

void GUISUMOAbstractView::onGamingRightClick ( Position )
virtualinherited

Reimplemented in GUIViewTraffic.

Definition at line 1697 of file GUISUMOAbstractView.cpp.

Referenced by onRightBtnRelease().

Here is the caller graph for this function:

◆ onKeyPress()

long GNEViewNet::onKeyPress ( FXObject * o,
FXSelector sel,
void * data )
overridevirtual

called when user press a key

Reimplemented from GUISUMOAbstractView.

Definition at line 1601 of file GNEViewNet.cpp.

References DEMAND_MOVE, myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, GUISUMOAbstractView::onKeyPress(), updateCursor(), and updateViewNet().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onKeyRelease()

long GNEViewNet::onKeyRelease ( FXObject * o,
FXSelector sel,
void * data )
overridevirtual

called when user release a key

Reimplemented from GUISUMOAbstractView.

Definition at line 1629 of file GNEViewNet.cpp.

References DEMAND_MOVE, myEditModes, myMouseButtonKeyPressed, mySelectingArea, myViewParent, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, GUISUMOAbstractView::onKeyRelease(), updateCursor(), and updateViewNet().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onLeaveConvertRoundabout()

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

leave to convert junction to roundabout

Definition at line 3744 of file GNEViewNet.cpp.

References myDrawPreviewRoundabout.

Referenced by FXDEFMAP(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ onLeftBtnPress()

long GNEViewNet::onLeftBtnPress ( FXObject * obj,
FXSelector ,
void * eventData )
overridevirtual

Reimplemented from GUISUMOAbstractView.

Definition at line 1441 of file GNEViewNet.cpp.

References myEditModes, myMouseButtonKeyPressed, myViewParent, processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), updateCursor(), and updateViewNet().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onLeftBtnRelease()

long GNEViewNet::onLeftBtnRelease ( FXObject * obj,
FXSelector sel,
void * eventData )
overridevirtual

called when user releases mouse's left button

Reimplemented from GUISUMOAbstractView.

Definition at line 1468 of file GNEViewNet.cpp.

References myCreatedPopup, myEditModes, myMouseButtonKeyPressed, myViewParent, GUISUMOAbstractView::onLeftBtnRelease(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), updateCursor(), and updateViewNet().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onMiddleBtnPress()

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

called when user press mouse's left button

Reimplemented from GUISUMOAbstractView.

Definition at line 1500 of file GNEViewNet.cpp.

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

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onMiddleBtnRelease()

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

called when user releases mouse's left button

Reimplemented from GUISUMOAbstractView.

Definition at line 1517 of file GNEViewNet.cpp.

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

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onMouseLeft()

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

Definition at line 1248 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMouseMove()

long GNEViewNet::onMouseMove ( FXObject * obj,
FXSelector sel,
void * eventData )
overridevirtual

called when user moves mouse

Reimplemented from GUISUMOAbstractView.

Definition at line 1574 of file GNEViewNet.cpp.

References myEditModes, myMouseButtonKeyPressed, myViewParent, GUISUMOAbstractView::onMouseMove(), processMoveMouseData(), processMoveMouseDemand(), processMoveMouseNetwork(), updateCursor(), and updateViewNet().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onMouseWheel()

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

Definition at line 1204 of file GUISUMOAbstractView.cpp.

References myApp, myChanger, myGUIDialogEditViewport, and updatePositionInformationLabel().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onPaint()

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

Definition at line 1026 of file GUISUMOAbstractView.cpp.

References makeCurrent(), MID_RUNTESTS, myAmInitialised, myApp, and paintGL().

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

Here is the caller graph for this function:

◆ onRightBtnPress()

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

called when user press mouse's right button

Reimplemented from GUISUMOAbstractView.

Definition at line 1534 of file GNEViewNet.cpp.

References myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_SHAPE, GUISUMOAbstractView::onRightBtnPress(), and updateCursor().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onRightBtnRelease()

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

called when user releases mouse's right button

Reimplemented from GUISUMOAbstractView.

Definition at line 1554 of file GNEViewNet.cpp.

References myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_SHAPE, GUISUMOAbstractView::onRightBtnRelease(), and updateCursor().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ onVisualizationChange()

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

hook to react on change in visualization settings

Definition at line 368 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 718 of file GNEViewNet.cpp.

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

Referenced by GNEViewNetHelper.

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 1294 of file GUISUMOAbstractView.cpp.

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

Referenced by GNEViewNet::openObjectDialogAtCursor().

Here is the caller graph for this function:

◆ openObjectDialogAtCursor()

void GNEViewNet::openObjectDialogAtCursor ( const FXEvent * ev)
overridevirtual

◆ openPopupDialog()

void GUISUMOAbstractView::openPopupDialog ( )
protectedinherited

open popup dialog

Definition at line 1846 of file GUISUMOAbstractView.cpp.

References getPositionInformation(), MIN2(), myApp, myChanger, myPopup, and myPopupPosition.

Referenced by GNEViewNet::openDeleteDialogAtCursor(), openObjectDialog(), GNEViewNet::openObjectDialogAtCursor(), openObjectDialogAtCursor(), and GNEViewNet::openSelectDialogAtCursor().

Here is the caller graph for this function:

◆ openSelectDialogAtCursor()

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

open select dialog at cursor

Definition at line 733 of file GNEViewNet.cpp.

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

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

References GNEViewNet().

◆ p2m()

double GUISUMOAbstractView::p2m ( double pixel) const
inherited

pixels-to-meters conversion method

Definition at line 935 of file GUISUMOAbstractView.cpp.

References myChanger.

Referenced by drawDecals().

Here is the caller graph for this function:

◆ paintGL()

void GUISUMOAbstractView::paintGL ( )
protectedinherited

FOX needs this.

performs the painting of the simulation

Definition at line 294 of file GUISUMOAbstractView.cpp.

References applyGLTransform(), centerTo(), GLHelper::checkCounterMatrix(), GLHelper::checkCounterName(), displayLegends(), doPaintGL(), drawFPS(), SysUtils::getCurrentMillis(), getToolTipID(), getTrackedID(), GUIGlObject::INVALID_ID, myFrameDrawTime, myGlChildWindowParent, myVisualizationSettings, GLHelper::resetMatrixCounter(), GLHelper::resetVertexCounter(), and showToolTipFor().

Referenced by onPaint().

Here is the caller graph for this function:

◆ paintGLGrid()

void GUISUMOAbstractView::paintGLGrid ( ) const
protectedinherited

paints a grid

Definition at line 598 of file GUISUMOAbstractView.cpp.

References myChanger, and myVisualizationSettings.

Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::drawGrid(), and makeSnapshot().

Here is the caller graph for this function:

◆ processClick()

void GNEViewNet::processClick ( void * eventData)
private

Auxiliary function used by onLeftBtnPress(...).

Definition at line 3404 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ processLeftButtonPressData()

void GNEViewNet::processLeftButtonPressData ( void * eventData)
private

process left button press function in Supermode Data

Definition at line 6341 of file GNEViewNet.cpp.

References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_MEANDATA, DATA_SELECT, DATA_TAZRELDATA, GUISUMOAbstractView::getPositionInformation(), myEditModes, myMouseButtonKeyPressed, mySelectingArea, myViewObjectsSelector, myViewParent, processClick(), SUMO_TAG_TAZ, and updateViewNet().

Referenced by onLeftBtnPress().

Here is the caller graph for this function:

◆ processLeftButtonPressDemand()

void GNEViewNet::processLeftButtonPressDemand ( void * eventData)
private

process left button press function in Supermode Demand

Definition at line 6143 of file GNEViewNet.cpp.

References DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GUISUMOAbstractView::getPositionInformation(), myEditModes, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, mySelectingArea, myViewObjectsSelector, myViewParent, processClick(), and updateViewNet().

Referenced by onLeftBtnPress().

Here is the caller graph for this function:

◆ processLeftButtonPressNetwork()

void GNEViewNet::processLeftButtonPressNetwork ( void * eventData)
private

◆ processLeftButtonReleaseData()

void GNEViewNet::processLeftButtonReleaseData ( )
private

process left button release function in Supermode Data

Definition at line 6442 of file GNEViewNet.cpp.

References myMoveMultipleElements, myMoveSingleElement, and mySelectingArea.

Referenced by onLeftBtnRelease().

Here is the caller graph for this function:

◆ processLeftButtonReleaseDemand()

void GNEViewNet::processLeftButtonReleaseDemand ( )
private

process left button release function in Supermode Demand

Definition at line 6310 of file GNEViewNet.cpp.

References myMoveMultipleElements, myMoveSingleElement, and mySelectingArea.

Referenced by onLeftBtnRelease().

Here is the caller graph for this function:

◆ processLeftButtonReleaseNetwork()

void GNEViewNet::processLeftButtonReleaseNetwork ( )
private

process left button release function in Supermode Network

Definition at line 6086 of file GNEViewNet.cpp.

References myEditModes, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, mySelectingArea, myViewObjectsSelector, myViewParent, NETWORK_SELECT, and NETWORK_TAZ.

Referenced by onLeftBtnRelease().

Here is the caller graph for this function:

◆ processMoveMouseData()

void GNEViewNet::processMoveMouseData ( const bool mouseLeftButtonPressed)
private

process move mouse function in Supermode Data

Definition at line 6461 of file GNEViewNet.cpp.

References myMoveSingleElement, and mySelectingArea.

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 6329 of file GNEViewNet.cpp.

References myMoveSingleElement, and mySelectingArea.

Referenced by onMouseMove().

Here is the caller graph for this function:

◆ processMoveMouseNetwork()

void GNEViewNet::processMoveMouseNetwork ( const bool mouseLeftButtonPressed)
private

process move mouse function in Supermode Network

Definition at line 6121 of file GNEViewNet.cpp.

References myEditModes, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, mySelectingArea, myViewParent, NETWORK_SHAPE, and NETWORK_TAZ.

Referenced by onMouseMove().

Here is the caller graph for this function:

◆ recalculateBoundaries()

void GNEViewNet::recalculateBoundaries ( )
overridevirtual

recalculate boundaries

Reimplemented from GUISUMOAbstractView.

Definition at line 330 of file GNEViewNet.cpp.

References GUISUMOAbstractView::getObjectsInBoundary(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isPlacedInRTree(), GUISUMOAbstractView::makeCurrent(), myNet, and GUISUMOAbstractView::myVisualizationSettings.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ recenterView()

void GUISUMOAbstractView::recenterView ( )
virtualinherited

recenters the view

Definition at line 941 of file GUISUMOAbstractView.cpp.

References myChanger, and myGrid.

Referenced by GUISettingsHandler::applyViewport(), and GUICompleteSchemeStorage::setViewport().

Here is the caller graph for this function:

◆ redrawPathElementContours()

void GNEViewNet::redrawPathElementContours ( )

redraw elements only for calculating boundary

Definition at line 582 of file GNEViewNet.cpp.

References gViewObjectsHandler, myInspectedElements, myNet, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), and GLHelper::pushMatrix().

Referenced by doPaintGL(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ remove() [1/2]

void GUISUMOAbstractView::remove ( GUIDialog_EditViewport * )
inherited

remove viewport

Definition at line 1653 of file GUISUMOAbstractView.cpp.

References myGUIDialogEditViewport.

◆ remove() [2/2]

void GUISUMOAbstractView::remove ( GUIDialog_ViewSettings * )
inherited

remove view settings

Definition at line 1659 of file GUISUMOAbstractView.cpp.

References 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 1886 of file GUISUMOAbstractView.cpp.

References myAdditionallyDrawn.

Referenced by GUIVehicle::drawOutsideNetwork().

Here is the caller graph for this function:

◆ removeRestrictedLane()

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

remove restricted lane

Definition at line 1160 of file GNEViewNet.cpp.

References GNEDialog::ACCEPT, GNELane::getParentEdge(), myNet, myUndoList, myViewParent, TL, TLF, toString(), and GNEDialog::YES_NO.

Referenced by GNEViewNetHelper, and onCmdLaneOperation().

Here is the caller graph for this function:

◆ replacePopup()

void GUISUMOAbstractView::replacePopup ( GUIGLObjectPopupMenu * popUp)
inherited

replace PopUp

Definition at line 1065 of file GUISUMOAbstractView.cpp.

References myChanger, and myPopup.

◆ restrictLane()

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

restrict lane

Definition at line 1012 of file GNEViewNet.cpp.

References GNEDialog::ACCEPT, myNet, myUndoList, myViewParent, TL, TLF, toString(), and GNEDialog::YES_NO.

Referenced by GNEViewNetHelper, and 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 457 of file GUISUMOAbstractView.h.

◆ 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 1523 of file GUISUMOAbstractView.cpp.

References UNUSED_PARAMETER.

Referenced by makeSnapshot().

Here is the caller graph for this function:

◆ saveVisualizationSettings()

void GNEViewNet::saveVisualizationSettings ( ) const

Definition at line 748 of file GNEViewNet.cpp.

References OutputDevice::close(), OutputDevice::closeTag(), OutputDevice::getDevice(), OptionsCont::getOptions(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, OutputDevice::openTag(), SUMO_ATTR_ANGLE, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_ZOOM, SUMO_TAG_VIEWPORT, SUMO_TAG_VIEWSETTINGS, TL, WRITE_ERROR, and OutputDevice::writeAttr().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ screenPos2NetPos()

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

Translate screen position to network position.

Definition at line 221 of file GUISUMOAbstractView.cpp.

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

Referenced by drawDecals(), and getPositionInformation().

Here is the caller graph for this function:

◆ selectingDetectorsTLSMode()

bool GNEViewNet::selectingDetectorsTLSMode ( ) const

check if we're selecting detectors in TLS mode

Definition at line 982 of file GNEViewNet.cpp.

References myEditModes, myViewParent, and NETWORK_TLS.

Referenced by drawTemporalE1TLSLines(), and GNEViewNetHelper.

Here is the caller graph for this function:

◆ selectingJunctionsTLSMode()

bool GNEViewNet::selectingJunctionsTLSMode ( ) const

check if we're selecting junctions in TLS mode

Definition at line 991 of file GNEViewNet.cpp.

References myEditModes, myViewParent, and NETWORK_TLS.

Referenced by drawTemporalJunctionTLSLines(), and GNEViewNetHelper.

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 1958 of file GUISUMOAbstractView.cpp.

References myApp.

◆ setColorScheme()

bool GNEViewNet::setColorScheme ( const std::string & name)
overridevirtual

set color scheme

Reimplemented from GUISUMOAbstractView.

Definition at line 618 of file GNEViewNet.cpp.

References gSchemeStorage, GUISUMOAbstractView::myGUIDialogViewSettings, GUISUMOAbstractView::myVisualizationSettings, and updateViewNet().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ setDelay()

void GUISUMOAbstractView::setDelay ( double delay)
inherited

Sets the delay of the parent application.

Definition at line 1952 of file GUISUMOAbstractView.cpp.

References myApp.

◆ setLastCreatedRoute()

void GNEViewNet::setLastCreatedRoute ( GNEDemandElement * lastCreatedRoute)

set last created route

Definition at line 2015 of file GNEViewNet.cpp.

References myLastCreatedRoute.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ setSelectorFrameScale()

void GNEViewNet::setSelectorFrameScale ( double selectionScale)

set selection scaling (in GNESelectorFrame)

Definition at line 908 of file GNEViewNet.cpp.

References GUISUMOAbstractView::myVisualizationSettings.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ setStatusBarText()

void GNEViewNet::setStatusBarText ( const std::string & text)

set statusBar text

Definition at line 892 of file GNEViewNet.cpp.

References GUISUMOAbstractView::myApp.

Referenced by GNEViewNetHelper, and hotkeyDel().

Here is the caller graph for this function:

◆ setViewportFromToRot()

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

applies the given viewport settings

Definition at line 1618 of file GUISUMOAbstractView.cpp.

References myChanger, Position::x(), Position::y(), and Position::z().

Referenced by GUISettingsHandler::applyViewport(), copyViewportTo(), GUIApplicationWindow::handleEvent_SimulationLoaded(), and GUICompleteSchemeStorage::setViewport().

Here is the caller graph for this function:

◆ setWindowCursorPosition()

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

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

Definition at line 994 of file GUISUMOAbstractView.cpp.

References myMouseHotspotX, myMouseHotspotY, myWindowCursorPositionX, and myWindowCursorPositionY.

◆ showJunctionAsBubbles()

bool GNEViewNet::showJunctionAsBubbles ( ) const

return true if junction must be showed as bubbles

Definition at line 920 of file GNEViewNet.cpp.

References myNetworkViewOptions.

Referenced by GNEViewNetHelper.

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 583 of file GUISUMOAbstractView.cpp.

References GUIGlObjectStorage::gIDStorage, GUIGlObject::INVALID_ID, and myGlChildWindowParent.

Referenced by paintGL().

Here is the caller graph for this function:

◆ showViewportEditor()

void GUISUMOAbstractView::showViewportEditor ( )
virtualinherited

show viewport editor

Definition at line 1609 of file GUISUMOAbstractView.cpp.

References getViewportEditor(), Position::INVALID, myChanger, and myGUIDialogEditViewport.

◆ showViewschemeEditor()

void GUISUMOAbstractView::showViewschemeEditor ( )
inherited

show viewsscheme editor

Definition at line 1578 of file GUISUMOAbstractView.cpp.

References myGUIDialogViewSettings, and myVisualizationSettings.

◆ snapToActiveGrid()

Position GUISUMOAbstractView::snapToActiveGrid ( const Position & pos,
bool snapXY = true ) const
inherited

Returns a position that is mapped to the closest grid point if the grid is active.

note: formats are pos(x,y,0) por pos(0,0,z)

Definition at line 202 of file GUISUMOAbstractView.cpp.

References myVisualizationSettings, Position::x(), Position::y(), and Position::z().

Referenced by GNEMoveElement::calculateLaneOffset(), GNEMoveElement::commitMove(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEViewNet::drawTestsCircle(), getGUIGlObjectsUnderSnappedCursor(), GNEMoveElement::moveElement(), and GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ startTrack()

void GUISUMOAbstractView::startTrack ( int )
virtualinherited

star track

Reimplemented in GUIViewTraffic.

Definition at line 1677 of file GUISUMOAbstractView.cpp.

Referenced by onLeftBtnPress().

Here is the caller graph for this function:

◆ stopTrack()

void GUISUMOAbstractView::stopTrack ( )
virtualinherited

stop track

Reimplemented in GUIViewTraffic.

Definition at line 1682 of file GUISUMOAbstractView.cpp.

◆ updateControls()

void GNEViewNet::updateControls ( )

update control contents after undo/redo or recompute

Definition at line 5407 of file GNEViewNet.cpp.

References DATA_INSPECT, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_INSPECT, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTEDISTRIBUTION, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, myEditModes, myIntervalBar, myViewParent, NETWORK_INSPECT, and updateViewNet().

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ updateCursor()

◆ updateDataModeSpecificControls()

◆ updateDemandModeSpecificControls()

◆ updateNetworkModeSpecificControls()

◆ updateObjectsInPosition()

void GNEViewNet::updateObjectsInPosition ( const Position & pos)

update objects and boundaries in position

Definition at line 508 of file GNEViewNet.cpp.

References Boundary::add(), drawGLElements(), Boundary::grow(), gViewObjectsHandler, myEditModes, myMarkFrontElements, myNet, myViewObjectsSelector, GUISUMOAbstractView::myVisualizationSettings, NETWORK_MOVE, GLHelper::popMatrix(), GLHelper::pushMatrix(), and SUMO_TAG_ROUTE_DISTRIBUTION.

Referenced by doPaintGL(), GNEViewNetHelper, and updateObjectsInShape().

Here is the caller graph for this function:

◆ updateObjectsInShape()

void GNEViewNet::updateObjectsInShape ( const PositionVector & shape)

get objects in the given shape (using triangulation)

Definition at line 547 of file GNEViewNet.cpp.

References drawGLElements(), gViewObjectsHandler, myMarkFrontElements, myViewObjectsSelector, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), Triangle::triangulate(), and updateObjectsInPosition().

Referenced by GNEViewNetHelper, and onCmdSelectPolygonElements().

Here is the caller graph for this function:

◆ updatePositionInformationLabel()

void GUISUMOAbstractView::updatePositionInformationLabel ( ) const
protectedvirtualinherited

update position information labels

Definition at line 242 of file GUISUMOAbstractView.cpp.

References GeoConvHelper::cartesian2geo(), GeoConvHelper::getFinal(), OptionsCont::getOptions(), getPositionInformation(), getWindowCursorPosition(), gPrecisionGeo, myApp, TL, toString(), Position::x(), and Position::y().

Referenced by centerTo(), centerTo(), onMouseMove(), and onMouseWheel().

Here is the caller graph for this function:

◆ updateToolTip()

void GUISUMOAbstractView::updateToolTip ( )
inherited

A method that updates the tooltip.

Definition at line 188 of file GUISUMOAbstractView.cpp.

References myGlChildWindowParent.

◆ updateViewNet()

void GNEViewNet::updateViewNet ( const bool ignoreViewUpdater = true) const

Mark the entire GNEViewNet to be repainted later.

Definition at line 442 of file GNEViewNet.cpp.

References gViewUpdater.

Referenced by abortOperation(), GNEViewNetHelper, onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleMergeAutomatically(), onCmdToggleMoveElevation(), onCmdToggleShowAdditionals(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowShapes(), onCmdToggleShowTAZElements(), onCmdToggleShowTrips(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), setColorScheme(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ updateViewportValues()

void GUISUMOAbstractView::updateViewportValues ( )
virtualinherited

update the viewport chooser with the current view values

Definition at line 1601 of file GUISUMOAbstractView.cpp.

References myChanger, and myGUIDialogEditViewport.

Referenced by getViewportEditor().

Here is the caller graph for this function:

◆ viewUpdated()

void GNEViewNet::viewUpdated ( )

called when view is updated

Definition at line 457 of file GNEViewNet.cpp.

References DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_STOP, DEMAND_VEHICLE, forceSupemodeNetwork(), myEditModes, NETWORK_CONNECT, NETWORK_DECAL, NETWORK_INSPECT, NETWORK_PROHIBITION, NETWORK_TLS, and NETWORK_WIRE.

Referenced by GNEViewNetHelper.

Here is the caller graph for this function:

◆ waitForSnapshots()

void GUISUMOAbstractView::waitForSnapshots ( const SUMOTime snapshotTime)
inherited

Definition at line 1563 of file GUISUMOAbstractView.cpp.

References mySnapshotCondition, mySnapshots, and mySnapshotsMutex.

◆ zoom2Pos()

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

zoom interface for 3D view

Definition at line 289 of file GUISUMOAbstractView.cpp.

◆ GNEViewNetHelper

friend struct GNEViewNetHelper
friend

FOX-declaration.

declare GNEViewNetHelper as friend struct

Definition at line 36 of file GNEViewNet.h.

References abortOperation(), addRestrictedLane(), aksChangeSupermode(), askMergeJunctions(), autoSelectNodes(), buildColorRainbow(), buildViewToolBars(), changeAllPhases(), checkOverLockedElement(), checkSelectEdges(), doInit(), doPaintGL(), forceSupemodeNetwork(), getDataViewOptions(), getDemandViewOptions(), getDrawingToggle(), getEdgeDataAttrs(), getEdgeLaneParamKeys(), getEditModes(), getEditNetworkElementShapes(), getInspectedElements(), getIntervalBar(), getLastCreatedRoute(), getLockManager(), getMarkFrontElements(), getMouseButtonKeyPressed(), getMoveMultipleElementValues(), getMoveSingleElementValues(), getNet(), getNetworkViewOptions(), getPOIParamKeys(), getRelDataAttrs(), getSaveElements(), getTestingMode(), getTimeFormat(), getToolTipID(), getUndoList(), getViewObjectsSelector(), getViewParent(), GNEViewNet(), GNEViewNetHelper, hotkeyBackSpace(), hotkeyDel(), hotkeyEnter(), hotkeyFocusFrame(), isCurrentlyMovingElements(), onCmdAddEdgeSelected(), onCmdAddJoinTLS(), onCmdAddReverse(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddSelected(), onCmdAddTLS(), onCmdAttachPOI(), onCmdClearConnections(), onCmdClosePolygon(), onCmdCloseShapeEdited(), onCmdConvertRoundabout(), onCmdDeleteGeometryPoint(), onCmdDeleteGeometryPointShapeEdited(), onCmdDuplicateLane(), onCmdEdgeUseAsTemplate(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditEdgeEndpoint(), onCmdEditJunctionShape(), onCmdEditLaneShape(), onCmdEditWalkingAreaShape(), onCmdEgeApplyTemplate(), onCmdFinishShapeEdited(), onCmdIntervalBarDataSet(), onCmdIntervalBarGenericDataType(), onCmdIntervalBarLimit(), onCmdIntervalBarSetBegin(), onCmdIntervalBarSetEnd(), onCmdIntervalBarSetParameter(), onCmdLaneOperation(), onCmdLaneReachability(), onCmdOpenAdditionalDialog(), onCmdOpenPolygon(), onCmdOpenShapeEdited(), onCmdReleasePOI(), onCmdRemoveEdgeSelected(), onCmdRemoveSelected(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdResetShapeEdited(), onCmdReverse(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetCustomGeometryPoint(), onCmdSetFirstGeometryPoint(), onCmdSetFirstGeometryPointShapeEdited(), onCmdSetMode(), onCmdSetNeteditView(), onCmdSetSupermode(), onCmdSimplifyShape(), onCmdSimplifyShapeEdited(), onCmdSmoothConnectionShape(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdStraightenShapeEdited(), onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleMergeAutomatically(), onCmdToggleMoveElevation(), onCmdToggleSelectEdges(), onCmdToggleShowAdditionals(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowShapes(), onCmdToggleShowTAZElements(), onCmdToggleShowTrips(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), onCmdTransformPOI(), onCmdTransformPOIGEO(), onCmdTriangulatePolygon(), onEnterConvertRoundabout(), onKeyPress(), onKeyRelease(), onLeaveConvertRoundabout(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), openDeleteDialogAtCursor(), openObjectDialogAtCursor(), openSelectDialogAtCursor(), recalculateBoundaries(), redrawPathElementContours(), removeRestrictedLane(), restrictLane(), saveVisualizationSettings(), selectingDetectorsTLSMode(), selectingJunctionsTLSMode(), setColorScheme(), setLastCreatedRoute(), setSelectorFrameScale(), setStatusBarText(), showJunctionAsBubbles(), updateControls(), updateObjectsInPosition(), updateObjectsInShape(), updateViewNet(), and viewUpdated().

Referenced by GNEViewNetHelper.

Field Documentation

◆ myAdditionallyDrawn

std::map<GUIGlObject*, int> GUISUMOAbstractView::myAdditionallyDrawn
protectedinherited

◆ myAmInitialised

bool GUISUMOAbstractView::myAmInitialised = false
protectedinherited

Internal information whether doInit() was called.

Definition at line 596 of file GUISUMOAbstractView.h.

Referenced by onConfigure(), onPaint(), GNEViewNet::openObjectDialogAtCursor(), and openObjectDialogAtCursor().

◆ myApp

◆ myChanger

◆ myClickedPopupPosition

Position GUISUMOAbstractView::myClickedPopupPosition = Position::INVALID
protectedinherited

◆ myCommonCheckableButtons

GNEViewNetHelper::CommonCheckableButtons GNEViewNet::myCommonCheckableButtons
private

variable used to save checkable buttons for common supermodes

Definition at line 651 of file GNEViewNet.h.

Referenced by buildEditModeControls(), GNEViewNet(), GNEViewNet(), 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 743 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 590 of file GUISUMOAbstractView.h.

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

◆ myDataCheckableButtons

GNEViewNetHelper::DataCheckableButtons GNEViewNet::myDataCheckableButtons
private

◆ myDataViewOptions

◆ myDecals

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

The list of decals to show.

Definition at line 611 of file GUISUMOAbstractView.h.

Referenced by addDecals(), drawDecals(), getDecals(), GUISUMOAbstractView(), and ~GUISUMOAbstractView().

◆ myDecalsLockMutex

FXMutex GUISUMOAbstractView::myDecalsLockMutex
protectedinherited

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

Definition at line 614 of file GUISUMOAbstractView.h.

Referenced by drawDecals(), and getDecalsLockMutex().

◆ myDemandCheckableButtons

GNEViewNetHelper::DemandCheckableButtons GNEViewNet::myDemandCheckableButtons
private

variable used to save checkable buttons for Supermode Demand

Definition at line 657 of file GNEViewNet.h.

Referenced by buildEditModeControls(), GNEViewNet(), GNEViewNet(), and updateDemandModeSpecificControls().

◆ myDemandViewOptions

◆ myDrawingToggle

int GNEViewNet::myDrawingToggle = 0
private

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

Definition at line 746 of file GNEViewNet.h.

Referenced by drawGLElements(), and getDrawingToggle().

◆ myDrawPreviewRoundabout

bool GNEViewNet::myDrawPreviewRoundabout = false
private

draw preview roundabout

Definition at line 740 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 634 of file GUISUMOAbstractView.h.

Referenced by getFPS(), and paintGL().

◆ myGlChildWindowParent

GUIGlChildWindow* GUISUMOAbstractView::myGlChildWindowParent
protectedinherited

◆ myGrid

const SUMORTree* GUISUMOAbstractView::myGrid
protectedinherited

The visualization speed-up.

Definition at line 566 of file GUISUMOAbstractView.h.

Referenced by GNEViewNet::drawGLElements(), getGridHeight(), getGridWidth(), GUISUMOAbstractView(), makeSnapshot(), and recenterView().

◆ myGUIDialogEditViewport

GUIDialog_EditViewport* GUISUMOAbstractView::myGUIDialogEditViewport = nullptr
protectedinherited

◆ myGUIDialogViewSettings

GUIDialog_ViewSettings* GUISUMOAbstractView::myGUIDialogViewSettings = nullptr
protectedinherited

◆ myInEditMode

bool GUISUMOAbstractView::myInEditMode = false
protectedinherited

Information whether too-tip informations shall be generated.

Definition at line 575 of file GUISUMOAbstractView.h.

Referenced by isInEditMode().

◆ myInspectedElements

◆ myIntervalBar

◆ myLastCreatedRoute

GNEDemandElement* GNEViewNet::myLastCreatedRoute = nullptr
private

last created route

Definition at line 737 of file GNEViewNet.h.

Referenced by getLastCreatedRoute(), and setLastCreatedRoute().

◆ myLockManager

GNEViewNetHelper::LockManager GNEViewNet::myLockManager
private

◆ myMarkFrontElements

GNEViewNetHelper::MarkFrontElements GNEViewNet::myMarkFrontElements
private

◆ myMouseButtonKeyPressed

◆ myMouseHotspotX

int GUISUMOAbstractView::myMouseHotspotX
protectedinherited

Offset to the mouse-hotspot from the mouse position.

Definition at line 578 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView(), and setWindowCursorPosition().

◆ myMouseHotspotY

int GUISUMOAbstractView::myMouseHotspotY
protectedinherited

Definition at line 578 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView(), and setWindowCursorPosition().

◆ myMoveMultipleElements

◆ myMoveSingleElement

◆ myNet

GNENet* GNEViewNet::myNet = nullptr
private

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

Definition at line 728 of file GNEViewNet.h.

Referenced by addRestrictedLane(), buildColorRainbow(), deleteDataAttributeCarrier(), deleteDemandAttributeCarrier(), deleteNetworkAttributeCarrier(), doPaintGL(), drawTemporalE1TLSLines(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getDemandElementAtPopupPosition(), getEdgeAtPopupPosition(), getEdgeDataAttrs(), getEdgeLaneParamKeys(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), getNet(), getPOIAtPopupPosition(), getPOIParamKeys(), getPolygonAtPopupPosition(), getRelDataAttrs(), getShapeEditedAtPopupPosition(), getTAZAtPopupPosition(), getWalkingAreaAtPopupPosition(), GNEViewNet(), hotkeyDel(), onCmdAddJoinTLS(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddTLS(), onCmdAttachPOI(), onCmdClearConnections(), onCmdClosePolygon(), onCmdCloseShapeEdited(), onCmdConvertRoundabout(), onCmdDeleteGeometryPointShapeEdited(), onCmdDuplicateLane(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdEditWalkingAreaShape(), onCmdEgeApplyTemplate(), onCmdLaneReachability(), onCmdOpenPolygon(), onCmdOpenShapeEdited(), onCmdReleasePOI(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdResetShapeEdited(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetFirstGeometryPointShapeEdited(), onCmdSimplifyShape(), onCmdSimplifyShapeEdited(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdStraightenShapeEdited(), onCmdToggleDrawSpreadVehicles(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdTransformPOI(), onCmdTransformPOIGEO(), onCmdTriangulatePolygon(), openObjectDialogAtCursor(), processLeftButtonPressNetwork(), recalculateBoundaries(), redrawPathElementContours(), removeRestrictedLane(), restrictLane(), and updateObjectsInPosition().

◆ myNetworkCheckableButtons

GNEViewNetHelper::NetworkCheckableButtons GNEViewNet::myNetworkCheckableButtons
private

variable used to save checkable buttons for Supermode Network

Definition at line 654 of file GNEViewNet.h.

Referenced by buildEditModeControls(), GNEViewNet(), GNEViewNet(), and updateNetworkModeSpecificControls().

◆ myNetworkViewOptions

◆ myPanning

bool GUISUMOAbstractView::myPanning = false
protectedinherited

Panning flag.

Definition at line 572 of file GUISUMOAbstractView.h.

Referenced by onMiddleBtnPress(), onMiddleBtnRelease(), and GNEViewNet::updateCursor().

◆ myPolyDrawLock

FXMutex GUISUMOAbstractView::myPolyDrawLock
mutableprotectedinherited

poly draw lock

Definition at line 628 of file GUISUMOAbstractView.h.

◆ myPopup

◆ myPopupPosition

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

The current popup-menu position.

Definition at line 587 of file GUISUMOAbstractView.h.

Referenced by destroyPopup(), getPopupPosition(), onMouseMove(), and openPopupDialog().

◆ mySaveElements

GNEViewNetHelper::SaveElements GNEViewNet::mySaveElements
private

variable used for grouping all variables related with salve elements

Definition at line 704 of file GNEViewNet.h.

Referenced by buildEditModeControls(), getSaveElements(), GNEViewNet(), and GNEViewNet().

◆ mySelectingArea

◆ mySnapshotCondition

FXCondition GUISUMOAbstractView::mySnapshotCondition
protectedinherited

the semaphore when waiting for snapshots to finish

Definition at line 625 of file GUISUMOAbstractView.h.

Referenced by checkSnapshots(), and waitForSnapshots().

◆ mySnapshots

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

Snapshots.

Definition at line 619 of file GUISUMOAbstractView.h.

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

◆ mySnapshotsMutex

FXMutex GUISUMOAbstractView::mySnapshotsMutex
protectedinherited

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

Definition at line 622 of file GUISUMOAbstractView.h.

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

◆ myTestingMode

GNEViewNetHelper::TestingMode GNEViewNet::myTestingMode
private

variable used to save variables related with testing mode

Definition at line 635 of file GNEViewNet.h.

Referenced by doPaintGL(), getTestingMode(), GNEViewNet(), and GNEViewNet().

◆ myTimeFormat

GNEViewNetHelper::TimeFormat GNEViewNet::myTimeFormat
private

variable used for grouping all variables related with switch time

Definition at line 707 of file GNEViewNet.h.

Referenced by buildEditModeControls(), getTimeFormat(), GNEViewNet(), and GNEViewNet().

◆ myUndoList

◆ myVehicleOptions

GNEViewNetHelper::VehicleOptions GNEViewNet::myVehicleOptions
private

variable used to save variables related with vehicle options

Definition at line 696 of file GNEViewNet.h.

Referenced by GNEViewNet(), and GNEViewNet().

◆ myVehicleTypeOptions

GNEViewNetHelper::VehicleTypeOptions GNEViewNet::myVehicleTypeOptions
private

variable used to save variables related with vehicle type options

Definition at line 699 of file GNEViewNet.h.

Referenced by GNEViewNet(), and GNEViewNet().

◆ myViewObjectsSelector

◆ myViewParent

◆ myVisualizationSettings

GUIVisualizationSettings* GUISUMOAbstractView::myVisualizationSettings
protectedinherited

◆ myWindowCursorPositionX

FXint GUISUMOAbstractView::myWindowCursorPositionX
protectedinherited

Position of the cursor relative to the window.

Definition at line 602 of file GUISUMOAbstractView.h.

Referenced by getPositionInformation(), getWindowCursorPosition(), GUISUMOAbstractView(), and setWindowCursorPosition().

◆ myWindowCursorPositionY

FXint GUISUMOAbstractView::myWindowCursorPositionY
protectedinherited

◆ SENSITIVITY

const double GUISUMOAbstractView::SENSITIVITY = 0.1
staticprotectedinherited

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