Eclipse SUMO - Simulation of Urban MObility
GNEViewNet Class Reference

#include <GNEViewNet.h>

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

Public Member Functions

void abortOperation (bool clearSelection=true)
 abort current edition operation More...
 
void addDecals (const std::vector< Decal > &decals)
 add decals More...
 
bool autoSelectNodes ()
 whether to autoselect nodes or to lanes More...
 
void buildColorRainbow (const GUIVisualizationSettings &s, GUIColorScheme &scheme, int active, GUIGlObjectType objectType, bool hide=false, double hideThreshold=0.)
 recalibrate color scheme according to the current value range More...
 
void buildSelectionACPopupEntry (GUIGLObjectPopupMenu *ret, GNEAttributeCarrier *AC)
 Builds an entry which allows to (de)select the object. More...
 
void buildViewToolBars (GUIGlChildWindow *v)
 builds the view toolbars More...
 
void centerTo (const Boundary &bound)
 centers to the chosen artifact More...
 
virtual void centerTo (const Position &pos, bool applyZoom, double zoomDist=20)
 centers to the chosen position More...
 
virtual void centerTo (GUIGlID id, bool applyZoom, double zoomDist=20)
 centers to the chosen artifact More...
 
bool changeAllPhases () const
 change all phases More...
 
virtual void copyViewportTo (GUISUMOAbstractView *view)
 copy the viewport to the given view More...
 
void destroyPopup ()
 destoys the popup More...
 
void drawTranslateFrontAttributeCarrier (const GNEAttributeCarrier *AC, GUIGlObjectType objectType, const double extraOffset=0)
 draw front attributeCarrier More...
 
void forceSupermodeNetwork ()
 set supermode Network (used after load/create new network) More...
 
std::set< std::pair< std::string, GNEAttributeCarrier * > > getAttributeCarriersInBoundary (const Boundary &boundary, bool forceSelectEdges=false)
 get AttributeCarriers in Boundary More...
 
GUIPerspectiveChangergetChanger () const
 get changer More...
 
FXComboBox * getColoringSchemesCombo ()
 get coloring schemes combo More...
 
const GNEViewNetHelper::DataViewOptionsgetDataViewOptions () const
 get data view options More...
 
double getDelay () const
 Returns the delay of the parent application. More...
 
const GNEViewNetHelper::DemandViewOptionsgetDemandViewOptions () const
 get demand view options More...
 
std::vector< std::string > getEdgeDataAttrs () const
 return list of loaded edgeData attributes More...
 
std::vector< std::string > getEdgeLaneParamKeys (bool edgeKeys) const
 return list of available edge parameters More...
 
const GNEViewNetHelper::EditModesgetEditModes () const
 get edit modes More...
 
const GNEViewNetHelper::EditNetworkElementShapesgetEditNetworkElementShapes () const
 get Edit Shape modul More...
 
double getFPS () const
 retrieve FPS More...
 
const GNEAttributeCarriergetFrontAttributeCarrier () const
 get front attributeCarrier More...
 
double getGridHeight () const
 get grid height More...
 
double getGridWidth () const
 get grid width More...
 
const std::vector< GNEAttributeCarrier * > & getInspectedAttributeCarriers () const
 get inspected attribute carriers More...
 
GNEViewNetHelper::IntervalBargetIntervalBar ()
 get interval bar More...
 
const GNEViewNetHelper::MouseButtonKeyPressedgetMouseButtonKeyPressed () const
 get Key Pressed modul More...
 
GNENetgetNet () const
 get the net object More...
 
const GNEViewNetHelper::NetworkViewOptionsgetNetworkViewOptions () const
 get network view options More...
 
const GNEViewNetHelper::ObjectsUnderCursorgetObjectsUnderCursor () const
 get objects under cursor More...
 
virtual std::vector< std::string > getPOIParamKeys () const
 return list of available vehicle parameters More...
 
const PositiongetPopupPosition () const
 get position of current popup More...
 
Position getPositionInformation () const
 Returns the cursor's x/y position within the network. More...
 
const GNEViewNetHelper::TestingModegetTestingMode () const
 get testing mode More...
 
virtual GUIGlID getTrackedID () const
 get tracked id More...
 
GNEUndoListgetUndoList () const
 get the undoList object More...
 
virtual std::vector< std::string > getVehicleParamKeys (bool) const
 return list of available vehicle parameters More...
 
GNEViewParentgetViewParent () const
 get the net object More...
 
GUIDialog_EditViewportgetViewportEditor ()
 get the viewport and create it on first access More...
 
Boundary getVisibleBoundary () const
 get visible boundary More...
 
GUIVisualizationSettingsgetVisualisationSettings () const
 get visualization settings More...
 
Position getWindowCursorPosition () const
 Returns the information whether rotation is allowd. More...
 
 GNEViewNet (FXComposite *tmpParent, FXComposite *actualParent, GUIMainWindow &app, GNEViewParent *viewParent, GNENet *net, GNEUndoList *undoList, FXGLVisual *glVis, FXGLCanvas *share)
 
void hotkeyBackSpace ()
 handle backspace keypress More...
 
void hotkeyDel ()
 handle del keypress More...
 
void hotkeyEnter ()
 handle enter keypress More...
 
void hotkeyFocusFrame ()
 handle focus frame keypress More...
 
bool isAttributeCarrierInspected (const GNEAttributeCarrier *AC) const
 check if attribute carrier is being inspected More...
 
bool isInEditMode ()
 returns true, if the edit button was pressed More...
 
double m2p (double meter) const
 meter-to-pixels conversion method More...
 
FXbool makeCurrent ()
 A reimplementation due to some internal reasons. More...
 
bool mergeJunctions (GNEJunction *movedJunction, GNEJunction *targetJunction)
 try to merge moved junction with another junction in that spot return true if merging did take place More...
 
long onCmdAddReversedEdge (FXObject *, FXSelector, void *)
 add reversed edge More...
 
long onCmdAddSelected (FXObject *, FXSelector, void *)
 select AC under cursor More...
 
long onCmdClearConnections (FXObject *, FXSelector, void *)
 clear junction connections More...
 
long onCmdClosePolygon (FXObject *, FXSelector, void *)
 close opened polygon More...
 
long onCmdConvertRoundabout (FXObject *, FXSelector, void *)
 convert junction to roundabout More...
 
long onCmdDeleteGeometryPoint (FXObject *, FXSelector, void *)
 delete the closes geometry point More...
 
long onCmdDuplicateLane (FXObject *, FXSelector, void *)
 duplicate selected lane More...
 
long onCmdEditConnectionShape (FXObject *, FXSelector, void *)
 edit connection shape More...
 
long onCmdEditCrossingShape (FXObject *, FXSelector, void *)
 edit crossing shape More...
 
long onCmdEditEdgeEndpoint (FXObject *, FXSelector, void *)
 change geometry endpoint More...
 
long onCmdEditJunctionShape (FXObject *, FXSelector, void *)
 edit junction shape More...
 
long onCmdLaneOperation (FXObject *, FXSelector sel, void *)
 add/remove/restrict lane More...
 
long onCmdLaneReachability (FXObject *, FXSelector sel, void *)
 show lane reachability More...
 
long onCmdOpenAdditionalDialog (FXObject *, FXSelector, void *)
 open additional dialog More...
 
long onCmdOpenPolygon (FXObject *, FXSelector, void *)
 open closed polygon More...
 
long onCmdRemoveSelected (FXObject *, FXSelector, void *)
 unselect AC under cursor More...
 
long onCmdReplaceJunction (FXObject *, FXSelector, void *)
 replace node by geometry More...
 
long onCmdResetConnections (FXObject *, FXSelector, void *)
 reset junction connections More...
 
long onCmdResetEdgeEndpoint (FXObject *, FXSelector, void *)
 change geometry endpoint More...
 
long onCmdResetJunctionShape (FXObject *, FXSelector, void *)
 reset junction shape More...
 
long onCmdResetLaneCustomShape (FXObject *, FXSelector, void *)
 reset custom shapes of selected lanes More...
 
long onCmdResetLength (FXObject *, FXSelector, void *)
 reset custom edge lengths More...
 
long onCmdReverseEdge (FXObject *, FXSelector, void *)
 reverse edge More...
 
long onCmdSelectRoundabout (FXObject *, FXSelector, void *)
 select all roundabout nodes and edges More...
 
long onCmdSetFirstGeometryPoint (FXObject *, FXSelector, void *)
 set as first geometry point the closes geometry point More...
 
long onCmdSimplifyShape (FXObject *, FXSelector, void *)
 simply shape of current polygon More...
 
long onCmdSmoothEdges (FXObject *, FXSelector, void *)
 smooth geometry More...
 
long onCmdSmoothEdgesElevation (FXObject *, FXSelector, void *)
 smooth elevation with regard to adjoining edges More...
 
long onCmdSplitEdge (FXObject *, FXSelector, void *)
 split edge at cursor position More...
 
long onCmdSplitEdgeBidi (FXObject *, FXSelector, void *)
 split edge at cursor position More...
 
long onCmdSplitJunction (FXObject *, FXSelector, void *)
 split junction into multiple junctions More...
 
long onCmdSplitJunctionReconnect (FXObject *, FXSelector, void *)
 split junction into multiple junctions and reconnect them More...
 
long onCmdStraightenEdges (FXObject *, FXSelector, void *)
 makes selected edges straight More...
 
long onCmdStraightenEdgesElevation (FXObject *, FXSelector, void *)
 interpolate z values linear between junctions More...
 
long onCmdTransformPOI (FXObject *, FXSelector, void *)
 Transform POI to POILane, and viceversa. More...
 
virtual long onConfigure (FXObject *, FXSelector, void *)
 mouse functions More...
 
virtual long onDoubleClicked (FXObject *, FXSelector, void *)
 
virtual void onGamingClick (Position)
 on gaming click More...
 
virtual void onGamingRightClick (Position)
 
virtual long onMiddleBtnPress (FXObject *, FXSelector, void *)
 
virtual long onMiddleBtnRelease (FXObject *, FXSelector, void *)
 
virtual long onMouseLeft (FXObject *, FXSelector, void *)
 
virtual long onMouseWheel (FXObject *, FXSelector, void *)
 
virtual long onPaint (FXObject *, FXSelector, void *)
 
void openObjectDialog ()
 open object dialog More...
 
double p2m (double pixel) const
 pixels-to-meters conversion method More...
 
virtual void recenterView ()
 recenters the view More...
 
void remove (GUIDialog_EditViewport *)
 remove viewport More...
 
void remove (GUIDialog_ViewSettings *)
 remove view settings More...
 
void removeFromAttributeCarrierInspected (const GNEAttributeCarrier *AC)
 remove given AC of list of inspected Attribute Carriers More...
 
virtual const std::vector< SUMOTimeretrieveBreakpoints () const
 retrieve breakpoints if provided by the application More...
 
void saveVisualizationSettings () const
 
Position screenPos2NetPos (int x, int y) const
 Translate screen position to network position. More...
 
void setBreakpoints (const std::vector< SUMOTime > &breakpoints)
 Sets the breakpoints of the parent application. More...
 
bool setColorScheme (const std::string &name)
 set color scheme More...
 
void setDelay (double delay)
 Sets the delay of the parent application. More...
 
void setFrontAttributeCarrier (const GNEAttributeCarrier *AC)
 set front attributeCarrier More...
 
void setInspectedAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs)
 set inspected attributeCarrier More...
 
void setSelectorFrameScale (double selectionScale)
 set selection scaling (in GNESelectorFrame) More...
 
void setStatusBarText (const std::string &text)
 set staturBar text More...
 
virtual void setViewportFromToRot (const Position &lookFrom, const Position &lookAt, double rotation)
 applies the given viewport settings More...
 
void setWindowCursorPosition (FXint x, FXint y)
 Returns the gl-id of the object under the given coordinates. More...
 
bool showJunctionAsBubbles () const
 return true if junction must be showed as bubbles More...
 
bool showLockIcon () const
 check if lock icon should be visible More...
 
void showToolTips (bool val)
 show tool tips More...
 
virtual void showViewportEditor ()
 show viewport editor More...
 
void showViewschemeEditor ()
 show viewsscheme editor More...
 
Position snapToActiveGrid (const Position &pos, bool snapXY=true) const
 Returns a position that is mapped to the closest grid point if the grid is active. More...
 
virtual void startTrack (int)
 star track More...
 
virtual void stopTrack ()
 stop track More...
 
void updateControls ()
 update control contents after undo/redo or recompute More...
 
void updateToolTip ()
 A method that updates the tooltip. More...
 
void updateViewNet () const
 Mark the entire GNEViewNet to be repainted later. More...
 
 ~GNEViewNet ()
 destructor More...
 
overloaded handlers

called when user press mouse's left button

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

called when user press a supermode button

long onCmdSetSupermode (FXObject *, FXSelector sel, void *)
 
long onCmdSetMode (FXObject *, FXSelector sel, void *)
 called when user press a mode button (Network or demand) More...
 
View options network call backs
long onCmdToogleSelectEdges (FXObject *, FXSelector, void *)
 toogle select edges More...
 
long onCmdToogleShowConnections (FXObject *, FXSelector, void *)
 toogle show connections More...
 
long onCmdToogleHideConnections (FXObject *, FXSelector, void *)
 toogle hide connections More...
 
long onCmdToogleExtendSelection (FXObject *, FXSelector, void *)
 toogle extend selection More...
 
long onCmdToogleChangeAllPhases (FXObject *, FXSelector, void *)
 toogle change all phases More...
 
long onCmdToogleShowGrid (FXObject *, FXSelector, void *)
 toogle show grid More...
 
long onCmdToogleDrawSpreadVehicles (FXObject *, FXSelector, void *)
 toogle draw vehicles in begin position or spread in lane More...
 
long onCmdToogleWarnAboutMerge (FXObject *, FXSelector, void *)
 toogle warn for merge More...
 
long onCmdToogleShowJunctionBubbles (FXObject *, FXSelector, void *)
 toogle show junction bubbles More...
 
long onCmdToogleMoveElevation (FXObject *, FXSelector, void *)
 toogle move elevation More...
 
long onCmdToogleChainEdges (FXObject *, FXSelector, void *)
 toogle chain edges More...
 
long onCmdToogleAutoOppositeEdge (FXObject *, FXSelector, void *)
 toogle autoOpposite edge More...
 
long onCmdToogleHideNonInspecteDemandElements (FXObject *, FXSelector, void *)
 toogle hide non inspected demand elements More...
 
long onCmdToogleHideShapes (FXObject *, FXSelector, void *)
 toogle hide shapes in super mode demand More...
 
long onCmdToogleShowAllPersonPlans (FXObject *, FXSelector, void *)
 toogle show all person plans in super mode demand More...
 
long onCmdToogleLockPerson (FXObject *, FXSelector, void *)
 toogle lock person in super mode demand More...
 
long onCmdToogleShowAdditionals (FXObject *, FXSelector, void *)
 toogle show additionals in super mode data More...
 
long onCmdToogleShowShapes (FXObject *, FXSelector, void *)
 toogle show shapes in super mode data More...
 
long onCmdToogleShowDemandElements (FXObject *, FXSelector, void *)
 toogle show demand elements More...
 
interval bar functions
long onCmdIntervalBarGenericDataType (FXObject *, FXSelector, void *)
 change generic data type in interval bar More...
 
long onCmdIntervalBarDataSet (FXObject *, FXSelector, void *)
 change data set in interval bar More...
 
long onCmdIntervalBarLimit (FXObject *, FXSelector, void *)
 change limit interval in interval bar More...
 
long onCmdIntervalBarSetBegin (FXObject *, FXSelector, void *)
 change begin in interval bar More...
 
long onCmdIntervalBarSetEnd (FXObject *, FXSelector, void *)
 change end in interval bar More...
 
long onCmdIntervalBarSetAttribute (FXObject *, FXSelector, void *)
 change attribute in interval bar More...
 
Dealing with snapshots
void addSnapshot (SUMOTime time, const std::string &file, const int w=-1, const int h=-1)
 Sets the snapshot time to file map. More...
 
std::string makeSnapshot (const std::string &destFile, const int w=-1, const int h=-1)
 Takes a snapshots and writes it into the given file. More...
 
virtual void saveFrame (const std::string &destFile, FXColor *buf)
 Adds a frame to a video snapshot which will be initialized if neccessary. More...
 
virtual void endSnapshot ()
 Ends a video snapshot. More...
 
virtual void checkSnapshots ()
 Checks whether it is time for a snapshot. More...
 
void waitForSnapshots (const SUMOTime snapshotTime)
 
virtual SUMOTime getCurrentTimeStep () const
 get the current simulation time More...
 
Additional visualisations
bool addAdditionalGLVisualisation (GUIGlObject *const which)
 Adds an object to call its additional visualisation method. More...
 
bool removeAdditionalGLVisualisation (GUIGlObject *const which)
 Removes an object from the list of objects that show additional things. More...
 
bool isAdditionalGLVisualisationEnabled (GUIGlObject *const which) const
 Check if an object is added in the additional GL visualitation. More...
 

Protected Member Functions

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

Protected Attributes

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

The list of decals to show

std::vector< DecalmyDecals
 
FXMutex myDecalsLock
 The mutex to use before accessing the decals list in order to avoid thread conflicts. More...
 

Private Member Functions

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

Private Attributes

GNEViewNetHelper::IntervalBar myIntervalBar
 variable used to save IntervalBar More...
 
structs related with modes and testing mode
GNEViewNetHelper::EditModes myEditModes
 variable used to save variables related with edit moves modes More...
 
GNEViewNetHelper::TestingMode myTestingMode
 variable used to save variables related with testing mode More...
 
structs related with input (keyboard and mouse)
GNEViewNetHelper::MouseButtonKeyPressed myMouseButtonKeyPressed
 variable used to save key status after certain events More...
 
GNEViewNetHelper::ObjectsUnderCursor myObjectsUnderCursor
 variable use to save all pointers to objects under cursor after a click More...
 
structs related with checkable buttons
GNEViewNetHelper::CommonCheckableButtons myCommonCheckableButtons
 variable used to save checkable buttons for common supermodes More...
 
GNEViewNetHelper::NetworkCheckableButtons myNetworkCheckableButtons
 variable used to save checkable buttons for Supermode Network More...
 
GNEViewNetHelper::DemandCheckableButtons myDemandCheckableButtons
 variable used to save checkable buttons for Supermode Demand More...
 
GNEViewNetHelper::DataCheckableButtons myDataCheckableButtons
 variable used to save checkable buttons for Supermode Data More...
 
structs related with view options
GNEViewNetHelper::NetworkViewOptions myNetworkViewOptions
 variable used to save variables related with view options in supermode Network More...
 
GNEViewNetHelper::DemandViewOptions myDemandViewOptions
 variable used to save variables related with view options in supermode Demand More...
 
GNEViewNetHelper::DataViewOptions myDataViewOptions
 variable used to save variables related with view options in supermode Data More...
 
structs related with move elements

variable used to save variables related with movement of single elements

GNEViewNetHelper::MoveSingleElementValues myMoveSingleElementValues
 
GNEViewNetHelper::MoveMultipleElementValues myMoveMultipleElementValues
 variable used to save variables related with movement of multiple elements More...
 

Static Private Attributes

static const double SENSITIVITY = 0.1
 

Friends

struct GNEViewNetHelper
 FOX-declaration. More...
 

structs related with Demand options

GNEViewNetHelper::VehicleOptions myVehicleOptions
 variable used to save variables related with vehicle options More...
 
GNEViewNetHelper::VehicleTypeOptions myVehicleTypeOptions
 variable used to save variables related with vehicle type options More...
 
GNEViewNetHelper::SaveElements mySaveElements
 variable used to save elements More...
 
GNEViewNetHelper::SelectingArea mySelectingArea
 variable used to save variables related with selecting areas More...
 
GNEViewNetHelper::EditNetworkElementShapes myEditNetworkElementShapes
 struct for grouping all variables related with edit shapes More...
 
GNEViewParentmyViewParent
 view parent More...
 
GNENetmyNet
 Pointer to current net. (We are not responsible for deletion) More...
 
GNEFramemyCurrentFrame
 the current frame More...
 
GNEUndoListmyUndoList
 a reference to the undolist maintained in the application More...
 
std::vector< GNEAttributeCarrier * > myInspectedAttributeCarriers
 current inspected attribute carrier More...
 
const GNEAttributeCarriermyFrontAttributeCarrier
 front attribute carrier More...
 
void buildEditModeControls ()
 create edit mode buttons and elements More...
 
void updateNetworkModeSpecificControls ()
 updates Network mode specific controls More...
 
void updateDemandModeSpecificControls ()
 updates Demand mode specific controls More...
 
void updateDataModeSpecificControls ()
 updates Data mode specific controls More...
 
void deleteSelectedJunctions ()
 delete all currently selected junctions More...
 
void deleteSelectedLanes ()
 delete all currently selected lanes More...
 
void deleteSelectedEdges ()
 delete all currently selected edges More...
 
void deleteSelectedAdditionals ()
 delete all currently selected additionals More...
 
void deleteSelectedDemandElements ()
 delete all currently selected demand elements More...
 
void deleteSelectedGenericDatas ()
 delete all currently selected generic data elements More...
 
void deleteSelectedCrossings ()
 delete all currently selected crossings More...
 
void deleteSelectedConnections ()
 delete all currently selected connections More...
 
void deleteSelectedShapes ()
 delete all currently selected shapes More...
 
void deleteSelectedTAZElements ()
 delete all currently selected TAZ Elements More...
 
GNEEdgegetEdgeAtPopupPosition ()
 try to retrieve an edge at popup position More...
 
GNELanegetLaneAtPopupPosition ()
 try to retrieve a lane at popup position More...
 
GNEJunctiongetJunctionAtPopupPosition ()
 try to retrieve a junction at popup position More...
 
GNEConnectiongetConnectionAtPopupPosition ()
 try to retrieve a connection at popup position More...
 
GNECrossinggetCrossingAtPopupPosition ()
 try to retrieve a crossing at popup position More...
 
GNEAdditionalgetAdditionalAtPopupPosition ()
 try to retrieve a additional at popup position More...
 
GNEPolygetPolygonAtPopupPosition ()
 try to retrieve a polygon at popup position More...
 
GNEPOIgetPOIAtPopupPosition ()
 try to retrieve a POILane at popup position More...
 
bool restrictLane (SUMOVehicleClass vclass)
 restrict lane More...
 
bool addRestrictedLane (SUMOVehicleClass vclass)
 add restricted lane More...
 
bool removeRestrictedLane (SUMOVehicleClass vclass)
 remove restricted lane More...
 
void processClick (void *eventData)
 Auxiliar function used by onLeftBtnPress(...) More...
 
void updateCursor ()
 update cursor after every click/key press/release More...
 
void drawLaneCandidates () const
 draw functions More...
 
void drawTemporalDrawShape () const
 draw temporal polygon shape in Polygon Mode More...
 
void drawTemporalJunction () const
 draw temporal junction in create edge mode More...
 

Detailed Description

Microsocopic view at the simulation

Definition at line 40 of file GNEViewNet.h.

Constructor & Destructor Documentation

◆ GNEViewNet() [1/3]

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

Definition at line 188 of file GNEViewNet.cpp.

References GUITextureSubSys::resetTextures().

◆ ~GNEViewNet()

GNEViewNet::~GNEViewNet ( )

destructor

Definition at line 232 of file GNEViewNet.cpp.

◆ GNEViewNet() [2/3]

GNEViewNet::GNEViewNet ( )
protected

FOX needs this.

Definition at line 640 of file GNEViewNet.cpp.

◆ GNEViewNet() [3/3]

GNEViewNet::GNEViewNet ( const GNEViewNet )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ abortOperation()

void GNEViewNet::abortOperation ( bool  clearSelection = true)

abort current edition operation

Definition at line 998 of file GNEViewNet.cpp.

References GNEAdditionalFrame::SelectorParentLanes::abortConsecutiveLaneSelector(), GNEFrameModuls::DrawingShape::abortDrawing(), GNECreateEdgeFrame::abortEdgeCreation(), GNEFrameModuls::PathCreator::abortPathCreation(), GNEAdditionalFrame::E2MultilaneLaneSelector::abortPathCreation(), GNESelectorFrame::clearCurrentSelection(), GNETAZRelDataFrame::clearTAZSelection(), DATA_EDGERELDATA, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCreateEdgeFrame(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEAdditionalFrame::getE2MultilaneLaneSelector(), GNEViewParent::getEdgeRelDataFrame(), GNEGenericDataFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNEViewParent::getTAZRelDataFrame(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myEditNetworkElementShapes, mySelectingArea, myUndoList, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEUndoList::p_abort(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNETAZFrame::TAZCurrent::setTAZ(), GNEViewNetHelper::EditNetworkElementShapes::stopEditCustomShape(), and updateViewNet().

Referenced by GNEApplicationWindow::onCmdAbort().

Here is the caller graph for this function:

◆ addAdditionalGLVisualisation()

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

Adds an object to call its additional visualisation method.

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

Definition at line 1592 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myAdditionallyDrawn.

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

Here is the caller graph for this function:

◆ addDecals()

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

add decals

Definition at line 230 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myDecals.

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

Here is the caller graph for this function:

◆ addRestrictedLane()

bool GNEViewNet::addRestrictedLane ( SUMOVehicleClass  vclass)
private

add restricted lane

Definition at line 2104 of file GNEViewNet.cpp.

References GNENet::addRestrictedLane(), GNELane::getIndex(), getLaneAtPopupPosition(), GNEEdge::getLanes(), GNELane::getParentEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), SVC_PEDESTRIAN, toString(), and WRITE_DEBUG.

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

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

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

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

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

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

Here is the caller graph for this function:

◆ autoSelectNodes()

bool GNEViewNet::autoSelectNodes ( )

whether to autoselect nodes or to lanes

Definition at line 581 of file GNEViewNet.cpp.

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

Referenced by GNESelectorFrame::handleIDs().

Here is the caller graph for this function:

◆ buildColorRainbow()

◆ buildEditModeControls()

◆ buildSelectionACPopupEntry()

◆ buildViewToolBars()

◆ centerTo() [1/3]

void GUISUMOAbstractView::centerTo ( const Boundary bound)
inherited

centers to the chosen artifact

Definition at line 820 of file GUISUMOAbstractView.cpp.

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

◆ centerTo() [2/3]

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

centers to the chosen position

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

Definition at line 812 of file GUISUMOAbstractView.cpp.

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

◆ centerTo() [3/3]

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

centers to the chosen artifact

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

Definition at line 795 of file GUISUMOAbstractView.cpp.

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

Referenced by GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GUIGLObjectPopupMenu::onCmdCenter(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processSet(), and GUIGlChildWindow::setView().

Here is the caller graph for this function:

◆ changeAllPhases()

bool GNEViewNet::changeAllPhases ( ) const

change all phases

Definition at line 593 of file GNEViewNet.cpp.

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

Referenced by GNETLSEditorFrame::handleChange().

Here is the caller graph for this function:

◆ checkGDALImage()

FXImage * GUISUMOAbstractView::checkGDALImage ( Decal d)
protectedinherited

check whether we can read image data or position with gdal

Definition at line 1466 of file GUISUMOAbstractView.cpp.

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

Referenced by GUISUMOAbstractView::drawDecals().

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

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

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

Here is the caller graph for this function:

◆ copyViewportTo()

void GUISUMOAbstractView::copyViewportTo ( GUISUMOAbstractView view)
virtualinherited

copy the viewport to the given view

Definition at line 1384 of file GUISUMOAbstractView.cpp.

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

Referenced by GUIApplicationWindow::openNewView().

Here is the caller graph for this function:

◆ deleteSelectedAdditionals()

void GNEViewNet::deleteSelectedAdditionals ( )
private

delete all currently selected additionals

Definition at line 3494 of file GNEViewNet.cpp.

References GNENet::deleteAdditional(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveAdditionals().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedConnections()

void GNEViewNet::deleteSelectedConnections ( )
private

delete all currently selected connections

Definition at line 3588 of file GNEViewNet.cpp.

References GNENet::deleteConnection(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_CONNECTION, and toString().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedCrossings()

void GNEViewNet::deleteSelectedCrossings ( )
private

delete all currently selected crossings

Definition at line 3562 of file GNEViewNet.cpp.

References GNENet::deleteCrossing(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveCrossing(), GNENet::retrieveJunctions(), SUMO_TAG_CROSSING, and toString().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedDemandElements()

void GNEViewNet::deleteSelectedDemandElements ( )
private

delete all currently selected demand elements

Definition at line 3517 of file GNEViewNet.cpp.

References GNENet::deleteDemandElement(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveDemandElement(), and GNENet::retrieveDemandElements().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedEdges()

void GNEViewNet::deleteSelectedEdges ( )
private

delete all currently selected edges

Definition at line 3479 of file GNEViewNet.cpp.

References GNENet::deleteEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_EDGE, and toString().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedGenericDatas()

void GNEViewNet::deleteSelectedGenericDatas ( )
private

delete all currently selected generic data elements

Definition at line 3547 of file GNEViewNet.cpp.

References GNENet::deleteGenericData(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveGenericDatas().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedJunctions()

void GNEViewNet::deleteSelectedJunctions ( )
private

delete all currently selected junctions

Definition at line 3450 of file GNEViewNet.cpp.

References GNENet::deleteJunction(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), SUMO_TAG_JUNCTION, and toString().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedLanes()

void GNEViewNet::deleteSelectedLanes ( )
private

delete all currently selected lanes

Definition at line 3464 of file GNEViewNet.cpp.

References GNENet::deleteLane(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), SUMO_TAG_LANE, and toString().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedShapes()

void GNEViewNet::deleteSelectedShapes ( )
private

delete all currently selected shapes

Definition at line 3612 of file GNEViewNet.cpp.

References GNENet::deleteShape(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveShapes().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ deleteSelectedTAZElements()

void GNEViewNet::deleteSelectedTAZElements ( )
private

delete all currently selected TAZ Elements

Definition at line 3628 of file GNEViewNet.cpp.

References GNENet::deleteTAZElement(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveTAZElements().

Referenced by hotkeyDel().

Here is the caller graph for this function:

◆ destroyPopup()

◆ displayColorLegend()

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

Draws a legend for the given scheme.

Definition at line 643 of file GUISUMOAbstractView.cpp.

References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, FONS_ALIGN_RIGHT, GUIPropertyScheme< T >::getColors(), GUIPropertyScheme< T >::getNames(), GUIPropertyScheme< T >::getThresholds(), RGBColor::interpolate(), GUIPropertyScheme< T >::isFixed(), GUIVisualizationSettings::MISSING_DATA, GLHelper::setColor(), toString(), and RGBColor::WHITE.

Referenced by GUISUMOAbstractView::displayLegends().

Here is the caller graph for this function:

◆ displayLegend()

void GUISUMOAbstractView::displayLegend ( )
protectedinherited

Draws a line with ticks, and the length information.

Definition at line 564 of file GUISUMOAbstractView.cpp.

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

Referenced by GUISUMOAbstractView::displayLegends().

Here is the caller graph for this function:

◆ displayLegends()

void GUISUMOAbstractView::displayLegends ( )
protectedinherited

◆ doInit()

void GNEViewNet::doInit ( )
protectedvirtual

called after some features are already initialized

Reimplemented from GUISUMOAbstractView.

Definition at line 236 of file GNEViewNet.cpp.

◆ doPaintGL()

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

do paintGL

Reimplemented from GUISUMOAbstractView.

Definition at line 717 of file GNEViewNet.cpp.

References MFXCheckableButton::amChecked(), GUIVisualizationSettings::colorSettings, DEMAND_INSPECT, GNEViewNetHelper::EditModes::demandEditMode, GUIVisualizationSettings::disableLaneIcons, GUISUMOAbstractView::drawDecals(), GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, drawLaneCandidates(), GNEViewNetHelper::SelectingArea::drawRectangleSelection(), drawTemporalDrawShape(), GNEAdditionalFrame::E2MultilaneLaneSelector::drawTemporalE2Multilane(), drawTemporalJunction(), GNEFrameModuls::PathCreator::drawTemporalRoute(), GNEViewNetHelper::TestingMode::drawTestingElements(), GUIVisualizationSettings::forceDrawForPositionSelection, GUIVisualizationSettings::forceDrawForRectangleSelection, GNEViewParent::getAdditionalFrame(), OptionsCont::getBool(), GNEAdditionalFrame::getE2MultilaneLaneSelector(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), OptionsCont::getOptions(), GNEGenericDataFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETagProperties::isPerson(), GNETagProperties::isPersonPlan(), GNETagProperties::isPersonStop(), GUIVisualizationSettings::lefthand, GUISUMOAbstractView::m2p(), GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowGrid, GNEViewNetHelper::DemandViewOptions::menuCheckShowGrid, GUISUMOAbstractView::myApp, myDemandViewOptions, myEditModes, GUISUMOAbstractView::myGrid, myInspectedAttributeCarriers, myNetworkViewOptions, mySelectingArea, myTestingMode, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), GUIVisualizationSettings::scale, SUMORTree::Search(), GUIVisualizationColorSettings::selectionColor, MFXCheckableButton::setChecked(), GUIVisualizationSettings::showGrid, GUIVisualizationSettings::showLane2Lane, SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().

◆ drawDecals()

◆ drawFPS()

void GUISUMOAbstractView::drawFPS ( )
protectedinherited

Draws frames-per-second indicator.

Definition at line 757 of file GUISUMOAbstractView.cpp.

References GLHelper::drawText(), FONS_ALIGN_LEFT, GUISUMOAbstractView::getFPS(), RGBColor::RED, and toString().

Referenced by GUISUMOAbstractView::paintGL().

Here is the caller graph for this function:

◆ drawLaneCandidates()

◆ drawTemporalDrawShape()

◆ drawTemporalJunction()

void GNEViewNet::drawTemporalJunction ( ) const
private

draw temporal junction in create edge mode

Definition at line 3770 of file GNEViewNet.cpp.

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

Referenced by doPaintGL().

Here is the caller graph for this function:

◆ drawTranslateFrontAttributeCarrier()

◆ endSnapshot()

virtual void GUISUMOAbstractView::endSnapshot ( )
inlinevirtualinherited

Ends a video snapshot.

Reimplemented in GUIViewTraffic.

Definition at line 191 of file GUISUMOAbstractView.h.

Referenced by GUISUMOViewParent::onCmdMakeSnapshot().

Here is the caller graph for this function:

◆ forceSupermodeNetwork()

void GNEViewNet::forceSupermodeNetwork ( )

set supermode Network (used after load/create new network)

Definition at line 325 of file GNEViewNet.cpp.

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

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

Here is the caller graph for this function:

◆ getAdditionalAtPopupPosition()

GNEAdditional * GNEViewNet::getAdditionalAtPopupPosition ( )
private

try to retrieve a additional at popup position

Definition at line 1402 of file GNEViewNet.cpp.

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

Referenced by onCmdOpenAdditionalDialog().

Here is the caller graph for this function:

◆ getAttributeCarriersInBoundary()

std::set< std::pair< std::string, GNEAttributeCarrier * > > GNEViewNet::getAttributeCarriersInBoundary ( const Boundary boundary,
bool  forceSelectEdges = false 
)

◆ getChanger()

GUIPerspectiveChanger & GUISUMOAbstractView::getChanger ( ) const
inherited

get changer

Definition at line 175 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myChanger.

Referenced by GUISettingsHandler::applyViewport(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdLoad(), GUIApplicationWindow::onCmdNetedit(), GNEApplicationWindow::onCmdOpenSUMOGUI(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), and GUIDialog_EditViewport::setValues().

Here is the caller graph for this function:

◆ getColoringSchemesCombo()

FXComboBox * GUISUMOAbstractView::getColoringSchemesCombo ( )
inherited

get coloring schemes combo

Definition at line 1460 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ getConnectionAtPopupPosition()

GNEConnection * GNEViewNet::getConnectionAtPopupPosition ( )
private

try to retrieve a connection at popup position

Definition at line 1320 of file GNEViewNet.cpp.

References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_CONNECTION, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().

Referenced by onCmdEditConnectionShape().

Here is the caller graph for this function:

◆ getCrossingAtPopupPosition()

GNECrossing * GNEViewNet::getCrossingAtPopupPosition ( )
private

try to retrieve a crossing at popup position

Definition at line 1341 of file GNEViewNet.cpp.

References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_CROSSING, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().

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

Referenced by GUISUMOAbstractView::checkSnapshots().

Here is the caller graph for this function:

◆ getDataViewOptions()

◆ getDelay()

double GUISUMOAbstractView::getDelay ( ) const
inherited

Returns the delay of the parent application.

Definition at line 1664 of file GUISUMOAbstractView.cpp.

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

Referenced by GUIDialog_ViewSettings::onCmdExportSetting().

Here is the caller graph for this function:

◆ getDemandViewOptions()

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

◆ getEdgeAtPopupPosition()

◆ getEdgeDataAttrs()

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

return list of loaded edgeData attributes

Reimplemented from GUISUMOAbstractView.

Definition at line 700 of file GNEViewNet.cpp.

◆ getEdgeLaneParamKeys()

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

return list of available edge parameters

Reimplemented from GUISUMOAbstractView.

Definition at line 668 of file GNEViewNet.cpp.

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

◆ getEditModes()

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

◆ getEditNetworkElementShapes()

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

get Edit Shape modul

Definition at line 503 of file GNEViewNet.cpp.

References myEditNetworkElementShapes.

Referenced by GNEConnection::drawGL().

Here is the caller graph for this function:

◆ getFPS()

double GUISUMOAbstractView::getFPS ( ) const
inherited

retrieve FPS

Definition at line 752 of file GUISUMOAbstractView.cpp.

References MAX2(), and GUISUMOAbstractView::myFrameDrawTime.

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

Here is the caller graph for this function:

◆ getFrontAttributeCarrier()

◆ getGridHeight()

double GUISUMOAbstractView::getGridHeight ( ) const
inherited

get grid height

Definition at line 1429 of file GUISUMOAbstractView.cpp.

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

Referenced by GUISUMOAbstractView::checkGDALImage(), and GUIDialog_ViewSettings::onCmdEditTable().

Here is the caller graph for this function:

◆ getGridWidth()

double GUISUMOAbstractView::getGridWidth ( ) const
inherited

get grid width

Definition at line 1423 of file GUISUMOAbstractView.cpp.

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

Referenced by GUISUMOAbstractView::checkGDALImage(), and GUIDialog_ViewSettings::onCmdEditTable().

Here is the caller graph for this function:

◆ getGUIGlObjectsAtPosition()

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

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

Definition at line 427 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ getGUIGlObjectsUnderCursor()

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

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

Definition at line 330 of file GUISUMOAbstractView.cpp.

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

Referenced by onLeftBtnPress(), onLeftBtnRelease(), openObjectDialog(), and processLeftButtonReleaseNetwork().

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

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

Referenced by processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ getInspectedAttributeCarriers()

◆ getIntervalBar()

GNEViewNetHelper::IntervalBar & GNEViewNet::getIntervalBar ( )

get interval bar

Definition at line 1222 of file GNEViewNet.cpp.

References myIntervalBar.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEApplicationWindow::onCmdOpenDataElements(), GNEUndoList::p_clear(), GNEChange_DataSet::redo(), and GNEChange_DataSet::undo().

Here is the caller graph for this function:

◆ getJunctionAtPopupPosition()

GNEJunction * GNEViewNet::getJunctionAtPopupPosition ( )
private

◆ getLaneAtPopupPosition()

GNELane * GNEViewNet::getLaneAtPopupPosition ( )
private

try to retrieve a lane at popup position

Definition at line 1385 of file GNEViewNet.cpp.

References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_LANE, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().

Referenced by addRestrictedLane(), onCmdDuplicateLane(), onCmdLaneReachability(), onCmdResetLaneCustomShape(), removeRestrictedLane(), and restrictLane().

Here is the caller graph for this function:

◆ getMouseButtonKeyPressed()

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

get Key Pressed modul

Definition at line 497 of file GNEViewNet.cpp.

References myMouseButtonKeyPressed.

Referenced by GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().

Here is the caller graph for this function:

◆ getNet()

GNENet * GNEViewNet::getNet ( ) const

get the net object

Definition at line 1210 of file GNEViewNet.cpp.

References myNet.

Referenced by GNESelectorFrame::ACsToSelected(), GNEEdgeDataFrame::addEdgeData(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEStopFrame::addStop(), GNETAZRelDataFrame::addTAZRelationData(), GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonPlan(), GNETLSEditorFrame::cleanup(), GNESelectorFrame::clearCurrentSelection(), GNEEdgeRelDataFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNETLSEditorFrame::editJunction(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEPersonTypeFrame::GNEPersonTypeFrame(), GNEVehicleTypeFrame::GNEVehicleTypeFrame(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEGenericDataFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEFixAdditionalElements::onCmdAccept(), GNEFixDemandElements::onCmdAccept(), GNECalibratorDialog::onCmdAddFlow(), GNECalibratorDialog::onCmdAddVehicleType(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNETLSEditorFrame::onCmdDefSwitch(), GNEApplicationWindow::onCmdForceSaveAdditionals(), GNEApplicationWindow::onCmdForceSaveDataElements(), GNEApplicationWindow::onCmdForceSaveDemandElements(), GNEApplicationWindow::onCmdForceSaveNetwork(), GNEViewParent::onCmdLocate(), GNETLSEditorFrame::onCmdOK(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), onCmdToogleShowConnections(), GNETLSEditorFrame::parseTLSPrograms(), GNEFrameModuls::PathCreator::Path::Path(), GNEPolygonFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDeleteFrame::selectedACsToDelete(), GNEPolygonFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNECalibratorDialog::updateFlowAndLabelButton(), GNECalibratorDialog::updateRouteTable(), and GNECalibratorDialog::updateVehicleTypeTable().

◆ getNetworkViewOptions()

◆ getObjectAtPosition()

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

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

Referenced by GUISUMOAbstractView::getObjectsUnderCursor().

Here is the caller graph for this function:

◆ getObjectsInBoundary()

◆ getObjectsUnderCursor() [1/2]

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

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

Definition at line 324 of file GUISUMOAbstractView.cpp.

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

◆ getObjectsUnderCursor() [2/2]

const GNEViewNetHelper::ObjectsUnderCursor & GNEViewNet::getObjectsUnderCursor ( ) const

get objects under cursor

Definition at line 362 of file GNEViewNet.cpp.

References myObjectsUnderCursor.

Referenced by GNEJunction::commitMoveShape().

Here is the caller graph for this function:

◆ getObjectUnderCursor()

GUIGlID GUISUMOAbstractView::getObjectUnderCursor ( )
protectedinherited

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

Definition at line 318 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ getPOIAtPopupPosition()

GNEPOI * GNEViewNet::getPOIAtPopupPosition ( )
private

try to retrieve a POILane at popup position

Definition at line 1430 of file GNEViewNet.cpp.

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

Referenced by onCmdTransformPOI().

Here is the caller graph for this function:

◆ getPOIParamKeys()

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

return list of available vehicle parameters

Reimplemented in GUIViewTraffic.

Definition at line 243 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::updatePOIParams().

Here is the caller graph for this function:

◆ getPolygonAtPopupPosition()

GNEPoly * GNEViewNet::getPolygonAtPopupPosition ( )
private

try to retrieve a polygon at popup position

Definition at line 1416 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ getPopupPosition()

const Position & GUISUMOAbstractView::getPopupPosition ( ) const
inherited

◆ getPositionInformation()

Position GUISUMOAbstractView::getPositionInformation ( ) const
inherited

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

Definition at line 190 of file GUISUMOAbstractView.cpp.

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

Referenced by GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEEdge::drawEdgeGeometryPoints(), GNEGeometry::drawGeometry(), GNEGeometry::drawGeometryPoints(), GNEPoly::drawGL(), GNETAZ::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GNEGeometry::drawLaneGeometry(), GNEGeometry::drawMovingHint(), GNEDemandElement::drawPersonPlanPartialLane(), GNEGeometry::drawSegmentGeometry(), GNEStoppingPlace::drawSign(), drawTemporalDrawShape(), drawTemporalJunction(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GUISUMOAbstractView::getObjectsUnderCursor(), GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNELane::getPopUpMenu(), GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updatePositionInformation().

Here is the caller graph for this function:

◆ getTestingMode()

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

get testing mode

Definition at line 473 of file GNEViewNet.cpp.

References myTestingMode.

Referenced by GNEPOI::drawGL().

Here is the caller graph for this function:

◆ getTrackedID()

GUIGlID GUISUMOAbstractView::getTrackedID ( ) const
virtualinherited

get tracked id

Reimplemented in GUIViewTraffic.

Definition at line 1445 of file GUISUMOAbstractView.cpp.

References GUIGlObject::INVALID_ID.

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

Here is the caller graph for this function:

◆ getUndoList()

GNEUndoList * GNEViewNet::getUndoList ( ) const

get the undoList object

Definition at line 1216 of file GNEViewNet.cpp.

References myUndoList.

Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNETAZFrame::addOrRemoveTAZMember(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEConnectorFrame::buildConnection(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEPoly::changeFirstGeometryPoint(), GNESelectorFrame::clearCurrentSelection(), GNERouteHandler::closeFlow(), GNERouteHandler::closePerson(), GNEPoly::closePolygon(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVehicle(), GNERouteHandler::closeVType(), GNENet::computeAndUpdate(), GNEPersonFrame::createPath(), GNERouteFrame::createPath(), GNEPoly::deleteGeometryPoint(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNESelectorFrame::handleIDs(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEAdditionalHandler::myEndElement(), GNEAllowDisallow::onCmdAccept(), GNEFixAdditionalElements::onCmdAccept(), GNEFixDemandElements::onCmdAccept(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNETLSEditorFrame::onCmdCancel(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNETLSEditorFrame::onCmdOK(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdOpenAttributeDialog(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdRedo(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), GNEApplicationWindow::onCmdUndo(), GNEPoly::openPolygon(), GNETLSEditorFrame::parseTLSPrograms(), GNECreateEdgeFrame::processClick(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().

◆ getVehicleParamKeys()

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

return list of available vehicle parameters

Reimplemented in GUIViewTraffic.

Definition at line 238 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::updateVehicleParams().

Here is the caller graph for this function:

◆ getViewParent()

GNEViewParent * GNEViewNet::getViewParent ( ) const

get the net object

Definition at line 1204 of file GNEViewNet.cpp.

References myViewParent.

Referenced by GNENet::computeAndUpdate(), GNENet::deleteDemandElement(), GNEGenericData::drawAttribute(), GNEEdge::drawEdgeGeometryPoints(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GNELane::getPopUpMenu(), GNEFrame::hide(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEInspectorFrame::onCmdGoBack(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdRedo(), GNEApplicationWindow::onCmdSetFrontElement(), GNEApplicationWindow::onCmdSetTemplate(), GNEApplicationWindow::onCmdUndo(), GNELane::onDefault(), GNECreateEdgeFrame::processClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNENet::requireSaveAdditionals(), GNENet::requireSaveDataElements(), GNENet::requireSaveDemandElements(), GNENet::requireSaveTLSPrograms(), GNENet::saveDataElements(), GNENet::saveDemandElements(), GNEAttributeCarrier::selectAttributeCarrier(), GNEEdgeType::setAttribute(), GNELane::setLaneColor(), GNEFrame::show(), GNEChange_DemandElement::undo(), GNEChange_EdgeType::undo(), and GNEAttributeCarrier::unselectAttributeCarrier().

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

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

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

Here is the caller graph for this function:

◆ getVisibleBoundary()

Boundary GUISUMOAbstractView::getVisibleBoundary ( ) const
inherited

get visible boundary

Definition at line 262 of file GUISUMOAbstractView.cpp.

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

Referenced by TraCIServerAPI_GUI::processGet().

Here is the caller graph for this function:

◆ getVisualisationSettings()

GUIVisualizationSettings & GUISUMOAbstractView::getVisualisationSettings ( ) const
inherited

◆ getWindowCursorPosition()

Position GUISUMOAbstractView::getWindowCursorPosition ( ) const
inherited

Returns the information whether rotation is allowd.

Note
disabled

return windows cursor position

Definition at line 834 of file GUISUMOAbstractView.cpp.

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

◆ hotkeyBackSpace()

◆ hotkeyDel()

◆ hotkeyEnter()

void GNEViewNet::hotkeyEnter ( )

handle enter keypress

Definition at line 1110 of file GNEViewNet.cpp.

References GNEViewNetHelper::EditNetworkElementShapes::commitEditedShape(), GNECrossingFrame::createCrossingHotkey(), GNEFrameModuls::PathCreator::createPath(), GNEAdditionalFrame::E2MultilaneLaneSelector::createPath(), DATA_EDGERELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCrossingFrame(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEAdditionalFrame::getE2MultilaneLaneSelector(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GNEGenericDataFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getRouteFrame(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSaveChangesModul(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getVehicleFrame(), GNETAZFrame::TAZSaveChanges::isChangesPending(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEFrameModuls::DrawingShape::isDrawing(), GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), myEditModes, myEditNetworkElementShapes, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GNETLSEditorFrame::onCmdOK(), GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEFrameModuls::DrawingShape::startDrawing(), GNEAdditionalFrame::SelectorParentLanes::stopConsecutiveLaneSelector(), and GNEFrameModuls::DrawingShape::stopDrawing().

Referenced by GNEApplicationWindow::onCmdEnter().

Here is the caller graph for this function:

◆ hotkeyFocusFrame()

void GNEViewNet::hotkeyFocusFrame ( )

handle focus frame keypress

Definition at line 1193 of file GNEViewNet.cpp.

References GNEFrame::focusUpperElement(), and myCurrentFrame.

Referenced by GNEApplicationWindow::onCmdFocusFrame().

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

References GUISUMOAbstractView::myAdditionallyDrawn.

◆ isAttributeCarrierInspected()

bool GNEViewNet::isAttributeCarrierInspected ( const GNEAttributeCarrier AC) const

◆ isInEditMode()

bool GUISUMOAbstractView::isInEditMode ( )
inherited

returns true, if the edit button was pressed

Definition at line 169 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myInEditMode.

◆ m2p()

double GUISUMOAbstractView::m2p ( double  meter) const
inherited

meter-to-pixels conversion method

Definition at line 777 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ makeCurrent()

◆ 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 occcured; "" otherwise

Definition at line 1127 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ mergeJunctions()

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

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

Definition at line 605 of file GNEViewNet.cpp.

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

Referenced by GNEJunction::commitMoveShape().

Here is the caller graph for this function:

◆ onCmdAddReversedEdge()

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

add reversed edge

Definition at line 1618 of file GNEViewNet.cpp.

References GNENet::addReversedEdge(), getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_EDGE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddSelected()

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

select AC under cursor

Definition at line 2990 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClearConnections()

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

◆ onCmdClosePolygon()

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

close opened polygon

Definition at line 1801 of file GNEViewNet.cpp.

References GNEPoly::closePolygon(), getPolygonAtPopupPosition(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdConvertRoundabout()

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

convert junction to roundabout

Definition at line 2415 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDeleteGeometryPoint()

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

delete the closes geometry point

Definition at line 1790 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDuplicateLane()

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

duplicate selected lane

Definition at line 1911 of file GNEViewNet.cpp.

References GNENet::duplicateLane(), getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), SUMO_TAG_LANE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditConnectionShape()

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

edit connection shape

Definition at line 2493 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditCrossingShape()

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

◆ onCmdEditEdgeEndpoint()

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

change geometry endpoint

Definition at line 1639 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditJunctionShape()

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

edit junction shape

Definition at line 2315 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarDataSet()

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

change data set in interval bar

Definition at line 2955 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarGenericDataType()

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

change generic data type in interval bar

Definition at line 2948 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarLimit()

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

change limit interval in interval bar

Definition at line 2962 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarSetAttribute()

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

change attribute in interval bar

Definition at line 2983 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarSetBegin()

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

change begin in interval bar

Definition at line 2969 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdIntervalBarSetEnd()

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

change end in interval bar

Definition at line 2976 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLaneOperation()

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

◆ onCmdLaneReachability()

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

show lane reachability

Definition at line 1992 of file GNEViewNet.cpp.

References GNENetHelper::PathCalculator::calculateReachability(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNENet::getPathCalculator(), GNE_ATTR_SELECTED, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), SumoVehicleClassStrings, and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenAdditionalDialog()

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

open additional dialog

Definition at line 2017 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdOpenPolygon()

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

open closed polygon

Definition at line 1812 of file GNEViewNet.cpp.

References getPolygonAtPopupPosition(), GNEPoly::openPolygon(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRemoveSelected()

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

unselect AC under cursor

Definition at line 3008 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReplaceJunction()

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

replace node by geometry

Definition at line 2361 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetConnections()

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

◆ onCmdResetEdgeEndpoint()

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

change geometry endpoint

Definition at line 1650 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEEdge::resetEndpoint(), and GNENet::retrieveEdges().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetJunctionShape()

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

reset junction shape

Definition at line 2335 of file GNEViewNet.cpp.

References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), GNEJunction::setAttribute(), and SUMO_ATTR_SHAPE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetLaneCustomShape()

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

reset custom shapes of selected lanes

Definition at line 1934 of file GNEViewNet.cpp.

References getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), GNELane::setAttribute(), and SUMO_ATTR_CUSTOMSHAPE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetLength()

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

reset custom edge lengths

Definition at line 1760 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::setAttribute(), and SUMO_ATTR_LENGTH.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReverseEdge()

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

reverse edge

Definition at line 1597 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNENet::reverseEdge(), SUMO_TAG_EDGE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSelectRoundabout()

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

select all roundabout nodes and edges

Definition at line 2402 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetFirstGeometryPoint()

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

set as first geometry point the closes geometry point

Definition at line 1823 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSetMode()

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

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

Definition at line 1462 of file GNEViewNet.cpp.

References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_PERSONTYPES, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, DEMAND_VEHICLETYPES, GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), MID_HOTKEY_A_MODES_ADDITIONAL_STOP, MID_HOTKEY_C_MODES_CONNECT_PERSONPLAN, MID_HOTKEY_D_MODES_DELETE, MID_HOTKEY_E_MODES_EDGE_EDGEDATA, MID_HOTKEY_I_MODES_INSPECT, MID_HOTKEY_M_MODES_MOVE, MID_HOTKEY_P_MODES_POLYGON_PERSON, MID_HOTKEY_R_MODES_CROSSING_ROUTE_EDGERELDATA, MID_HOTKEY_S_MODES_SELECT, MID_HOTKEY_T_MODES_TLS_VTYPE, MID_HOTKEY_V_MODES_VEHICLE, MID_HOTKEY_W_MODES_PROHIBITION_PERSONTYPE, MID_HOTKEY_Z_MODES_TAZ_TAZREL, myEditModes, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::setDataEditMode(), GNEViewNetHelper::EditModes::setDemandEditMode(), and GNEViewNetHelper::EditModes::setNetworkEditMode().

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

Here is the caller graph for this function:

◆ onCmdSetSupermode()

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

Definition at line 1443 of file GNEViewNet.cpp.

References DATA, DEMAND, MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, myEditModes, NETWORK, and GNEViewNetHelper::EditModes::setSupermode().

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

Here is the caller graph for this function:

◆ onCmdSimplifyShape()

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

simply shape of current polygon

Definition at line 1779 of file GNEViewNet.cpp.

References getPolygonAtPopupPosition(), GNEPoly::simplifyShape(), and updateViewNet().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSmoothEdges()

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

smooth geometry

Definition at line 1697 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::smooth(), SUMO_TAG_EDGE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSmoothEdgesElevation()

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

smooth elevation with regard to adjoining edges

Definition at line 1739 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::smoothElevation(), SUMO_TAG_EDGE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitEdge()

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

split edge at cursor position

Definition at line 1572 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitEdgeBidi()

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

split edge at cursor position

Definition at line 1582 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitJunction()

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

split junction into multiple junctions

Definition at line 2375 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSplitJunctionReconnect()

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

split junction into multiple junctions and reconnect them

Definition at line 2389 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdStraightenEdges()

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

makes selected edges straight

Definition at line 1675 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, SUMO_TAG_EDGE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdStraightenEdgesElevation()

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

interpolate z values linear between junctions

Definition at line 1718 of file GNEViewNet.cpp.

References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::straightenElevation(), SUMO_TAG_EDGE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToogleAutoOppositeEdge()

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

toogle autoOpposite edge

Definition at line 2770 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleChainEdges()

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

toogle chain edges

Definition at line 2751 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleChangeAllPhases()

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

toogle change all phases

Definition at line 2611 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleDrawSpreadVehicles()

◆ onCmdToogleExtendSelection()

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

toogle extend selection

Definition at line 2592 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleHideConnections()

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

toogle hide connections

Definition at line 2573 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleHideNonInspecteDemandElements()

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

toogle hide non inspected demand elements

Definition at line 2789 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleHideShapes()

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

toogle hide shapes in super mode demand

Definition at line 2808 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleLockPerson()

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

◆ onCmdToogleMoveElevation()

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

toogle move elevation

Definition at line 2732 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleSelectEdges()

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

toogle select edges

Definition at line 2529 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleShowAdditionals()

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

toogle show additionals in super mode data

Definition at line 2887 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleShowAllPersonPlans()

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

toogle show all person plans in super mode demand

Definition at line 2827 of file GNEViewNet.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdToogleShowConnections()

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

◆ onCmdToogleShowDemandElements()

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

◆ onCmdToogleShowGrid()

◆ onCmdToogleShowJunctionBubbles()

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

toogle show junction bubbles

Definition at line 2713 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleShowShapes()

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

toogle show shapes in super mode data

Definition at line 2906 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdToogleWarnAboutMerge()

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

toogle warn for merge

Definition at line 2694 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdTransformPOI()

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

◆ onConfigure()

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

mouse functions

Definition at line 854 of file GUISUMOAbstractView.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onDoubleClicked()

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

Reimplemented in GUIViewTraffic.

Definition at line 997 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onGamingClick()

void GUISUMOAbstractView::onGamingClick ( Position  )
virtualinherited

on gaming click

Reimplemented in GUIViewTraffic.

Definition at line 1451 of file GUISUMOAbstractView.cpp.

Referenced by GUISUMOAbstractView::onLeftBtnRelease().

Here is the caller graph for this function:

◆ onGamingRightClick()

void GUISUMOAbstractView::onGamingRightClick ( Position  )
virtualinherited

Reimplemented in GUIViewTraffic.

Definition at line 1455 of file GUISUMOAbstractView.cpp.

Referenced by GUISUMOAbstractView::onRightBtnRelease().

Here is the caller graph for this function:

◆ onKeyPress()

◆ onKeyRelease()

◆ onLeftBtnPress()

◆ onLeftBtnRelease()

◆ onMiddleBtnPress()

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

Definition at line 961 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMiddleBtnRelease()

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

Definition at line 967 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMouseLeft()

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

Definition at line 1040 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMouseMove()

◆ onMouseWheel()

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

◆ onPaint()

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

Definition at line 872 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ onRightBtnPress()

◆ onRightBtnRelease()

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

◆ openObjectDialog()

◆ operator=()

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

Invalidated assignment operator.

◆ p2m()

double GUISUMOAbstractView::p2m ( double  pixel) const
inherited

pixels-to-meters conversion method

Definition at line 783 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ paintGL()

◆ paintGLGrid()

void GUISUMOAbstractView::paintGLGrid ( )
protectedinherited

◆ processClick()

void GNEViewNet::processClick ( void *  eventData)
private

Auxiliar function used by onLeftBtnPress(...)

Definition at line 2266 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ processLeftButtonPressData()

void GNEViewNet::processLeftButtonPressData ( void *  eventData)
private

process left button press function in Supermode Data

Definition at line 4307 of file GNEViewNet.cpp.

References GNEEdgeDataFrame::addEdgeData(), GNEEdgeRelDataFrame::addEdgeRelationData(), GNETAZRelDataFrame::addTAZRelationData(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewParent::getDeleteFrame(), GNEViewParent::getEdgeDataFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GNEViewParent::getInspectorFrame(), GNESelectorFrame::getLockGLObjectTypes(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getSelectorFrame(), GNEAttributeCarrier::getTagProperty(), GNEViewParent::getTAZRelDataFrame(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNETagProperties::isDataElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), myEditModes, myMouseButtonKeyPressed, myObjectsUnderCursor, mySelectingArea, myViewParent, processClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEAttributeCarrier::unselectAttributeCarrier(), 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 4156 of file GNEViewNet.cpp.

References GNERouteFrame::addEdgeRoute(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementDemandMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewParent::getDeleteFrame(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNESelectorFrame::getLockGLObjectTypes(), GNELane::getParentEdge(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEAttributeCarrier::getTagProperty(), GNEViewParent::getVehicleFrame(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNETagProperties::isDemandElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), myEditModes, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myObjectsUnderCursor, mySelectingArea, myViewParent, processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEAttributeCarrier::unselectAttributeCarrier(), and updateViewNet().

Referenced by onLeftBtnPress().

Here is the caller graph for this function:

◆ processLeftButtonPressNetwork()

void GNEViewNet::processLeftButtonPressNetwork ( void *  eventData)
private

mouse process functions

process left button press function in Supermode Network

Definition at line 3834 of file GNEViewNet.cpp.

References GNEAdditionalFrame::addAdditional(), GNECrossingFrame::addCrossing(), GNEAdditionalFrame::SelectorParentLanes::addSelectedLane(), GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), MFXCheckableButton::amChecked(), GNEViewNetHelper::MoveSingleElementValues::beginMoveNetworkElementShape(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementNetworkMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEDeleteFrame::DeleteOptions::deleteOnlyGeometryPoints(), GNETLSEditorFrame::editTLS(), GNEViewParent::getAdditionalFrame(), GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewNetHelper::ObjectsUnderCursor::getConnectionFront(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDeleteFrame(), GNEDeleteFrame::getDeleteOptions(), GNEViewNetHelper::ObjectsUnderCursor::getEdgeFront(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getJunctionFront(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewNetHelper::ObjectsUnderCursor::getNetworkElementFront(), GNEEdge::getOppositeEdge(), GNEViewNetHelper::ObjectsUnderCursor::getPOIFront(), GNEViewParent::getPolygonFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEEdge::getSplitPos(), GNEAttributeCarrier::getTagProperty(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNETagProperties::isAdditionalElement(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNETagProperties::isDemandElement(), GNETagProperties::isNetworkElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), GNETagProperties::isShape(), GNEAdditionalFrame::SelectorParentLanes::isShown(), GNETagProperties::isTAZElement(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, myEditModes, myEditNetworkElementShapes, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myNet, myNetworkViewOptions, myObjectsUnderCursor, mySelectingArea, myUndoList, myViewParent, GUISUMOAbstractView::myVisualizationSettings, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GNEPolygonFrame::processClick(), GNETAZFrame::processClick(), GNECreateEdgeFrame::processClick(), processClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEMoveElement::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::NetworkViewOptions::selectEdges(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GUIVisualizationSettings::showGrid, GUISUMOAbstractView::snapToActiveGrid(), GNENet::splitEdge(), GNENet::splitEdgesBidi(), GNEAdditionalFrame::SelectorParentLanes::startConsecutiveLaneSelector(), GNEViewNetHelper::ObjectsUnderCursor::swapLane2Edge(), GNEAttributeCarrier::unselectAttributeCarrier(), GNEPolygonFrame::UPDATEDTEMPORALSHAPE, GNECreateEdgeFrame::updateObjectsUnderSnappedCursor(), and updateViewNet().

Referenced by onLeftBtnPress().

Here is the caller graph for this function:

◆ processLeftButtonReleaseData()

◆ processLeftButtonReleaseDemand()

◆ processLeftButtonReleaseNetwork()

void GNEViewNet::processLeftButtonReleaseNetwork ( )
private

◆ processMoveMouseData()

void GNEViewNet::processMoveMouseData ( const bool  mouseLeftButtonPressed)
private

process move mouse function in Supermode Data

Definition at line 4421 of file GNEViewNet.cpp.

References GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), myMoveSingleElementValues, mySelectingArea, and GNEViewNetHelper::SelectingArea::selectingUsingRectangle.

Referenced by onMouseMove().

Here is the caller graph for this function:

◆ processMoveMouseDemand()

void GNEViewNet::processMoveMouseDemand ( const bool  mouseLeftButtonPressed)
private

process move mouse function in Supermode Demand

Definition at line 4295 of file GNEViewNet.cpp.

References GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), myMoveSingleElementValues, mySelectingArea, and GNEViewNetHelper::SelectingArea::selectingUsingRectangle.

Referenced by onMouseMove().

Here is the caller graph for this function:

◆ processMoveMouseNetwork()

◆ recenterView()

void GUISUMOAbstractView::recenterView ( )
virtualinherited

recenters the view

Definition at line 789 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ remove() [1/2]

void GUISUMOAbstractView::remove ( GUIDialog_EditViewport )
inherited

remove viewport

Definition at line 1411 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myViewportChooser.

Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().

Here is the caller graph for this function:

◆ remove() [2/2]

void GUISUMOAbstractView::remove ( GUIDialog_ViewSettings )
inherited

remove view settings

Definition at line 1417 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myVisualizationChanger.

◆ 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 remoe
Returns
True if the object was known, false otherwise
See also
GUIGlObject::drawGLAdditional

Definition at line 1604 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myAdditionallyDrawn.

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

Here is the caller graph for this function:

◆ removeFromAttributeCarrierInspected()

void GNEViewNet::removeFromAttributeCarrierInspected ( const GNEAttributeCarrier AC)

remove given AC of list of inspected Attribute Carriers

Definition at line 1256 of file GNEViewNet.cpp.

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

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

Here is the caller graph for this function:

◆ removeRestrictedLane()

bool GNEViewNet::removeRestrictedLane ( SUMOVehicleClass  vclass)
private

remove restricted lane

Definition at line 2189 of file GNEViewNet.cpp.

References getLaneAtPopupPosition(), GNELane::getParentEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::removeRestrictedLane(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), toString(), and WRITE_DEBUG.

Referenced by onCmdLaneOperation().

Here is the caller graph for this function:

◆ restrictLane()

bool GNEViewNet::restrictLane ( SUMOVehicleClass  vclass)
private

restrict lane

Definition at line 2029 of file GNEViewNet.cpp.

References getLaneAtPopupPosition(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::restrictLane(), GNENet::retrieveEdge(), GNENet::retrieveLanes(), toString(), and WRITE_DEBUG.

Referenced by onCmdLaneOperation().

Here is the caller graph for this function:

◆ retrieveBreakpoints()

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

retrieve breakpoints if provided by the application

Reimplemented in GUIViewTraffic.

Definition at line 372 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::onCmdExportSetting().

Here is the caller graph for this function:

◆ saveFrame()

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

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

Reimplemented in GUIViewTraffic.

Definition at line 1276 of file GUISUMOAbstractView.cpp.

References UNUSED_PARAMETER.

Referenced by GUISUMOAbstractView::makeSnapshot().

Here is the caller graph for this function:

◆ saveVisualizationSettings()

◆ screenPos2NetPos()

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

Translate screen position to network position.

Definition at line 215 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ setBreakpoints()

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

Sets the breakpoints of the parent application.

Definition at line 1676 of file GUISUMOAbstractView.cpp.

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

Referenced by GUIDialog_ViewSettings::loadSettings().

Here is the caller graph for this function:

◆ setColorScheme()

◆ setDelay()

void GUISUMOAbstractView::setDelay ( double  delay)
inherited

Sets the delay of the parent application.

Definition at line 1670 of file GUISUMOAbstractView.cpp.

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

Referenced by GUIDialog_ViewSettings::loadSettings().

Here is the caller graph for this function:

◆ setFrontAttributeCarrier()

void GNEViewNet::setFrontAttributeCarrier ( const GNEAttributeCarrier AC)

set front attributeCarrier

Definition at line 1273 of file GNEViewNet.cpp.

References myFrontAttributeCarrier, and updateViewNet().

Referenced by GNEApplicationWindow::onCmdSetFrontElement().

Here is the caller graph for this function:

◆ setInspectedAttributeCarriers()

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

set inspected attributeCarrier

Definition at line 1234 of file GNEViewNet.cpp.

References myInspectedAttributeCarriers.

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

Here is the caller graph for this function:

◆ setSelectorFrameScale()

void GNEViewNet::setSelectorFrameScale ( double  selectionScale)

◆ setStatusBarText()

◆ setViewportFromToRot()

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

◆ setWindowCursorPosition()

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

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

Definition at line 840 of file GUISUMOAbstractView.cpp.

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

Referenced by GUIDanielPerspectiveChanger::onMouseMove().

Here is the caller graph for this function:

◆ showJunctionAsBubbles()

bool GNEViewNet::showJunctionAsBubbles ( ) const

return true if junction must be showed as bubbles

Definition at line 599 of file GNEViewNet.cpp.

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

Referenced by GNEJunction::drawGL().

Here is the caller graph for this function:

◆ showLockIcon()

bool GNEViewNet::showLockIcon ( ) const

check if lock icon should be visible

Definition at line 1291 of file GNEViewNet.cpp.

References myEditModes, NETWORK_ADDITIONAL, NETWORK_INSPECT, NETWORK_MOVE, and GNEViewNetHelper::EditModes::networkEditMode.

Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), and GNEShape::draw().

Here is the caller graph for this function:

◆ showToolTipFor()

void GUISUMOAbstractView::showToolTipFor ( const GUIGlID  id)
protectedinherited

◆ showToolTips()

void GUISUMOAbstractView::showToolTips ( bool  val)
inherited

show tool tips

Definition at line 1393 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myUseToolTips.

Referenced by GUIGlChildWindow::onCmdShowToolTips().

Here is the caller graph for this function:

◆ showViewportEditor()

void GUISUMOAbstractView::showViewportEditor ( )
virtualinherited

◆ showViewschemeEditor()

void GUISUMOAbstractView::showViewschemeEditor ( )
inherited

show viewsscheme editor

Definition at line 1331 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrent(), and GUIDialog_ViewSettings::show().

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

Here is the caller graph for this function:

◆ snapToActiveGrid()

◆ startTrack()

void GUISUMOAbstractView::startTrack ( int  )
virtualinherited

star track

Reimplemented in GUIViewTraffic.

Definition at line 1435 of file GUISUMOAbstractView.cpp.

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

Here is the caller graph for this function:

◆ stopTrack()

void GUISUMOAbstractView::stopTrack ( )
virtualinherited

stop track

Reimplemented in GUIViewTraffic.

Definition at line 1440 of file GUISUMOAbstractView.cpp.

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

Here is the caller graph for this function:

◆ updateControls()

void GNEViewNet::updateControls ( )

update control contents after undo/redo or recompute

Definition at line 3644 of file GNEViewNet.cpp.

References GNEViewParent::getInspectorFrame(), myEditModes, myViewParent, NETWORK_INSPECT, GNEViewNetHelper::EditModes::networkEditMode, and updateViewNet().

Referenced by GNEApplicationWindow::updateControls().

Here is the caller graph for this function:

◆ updateCursor()

◆ updateDataModeSpecificControls()

void GNEViewNet::updateDataModeSpecificControls ( )
private

updates Data mode specific controls

Definition at line 3357 of file GNEViewNet.cpp.

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

◆ updateDemandModeSpecificControls()

void GNEViewNet::updateDemandModeSpecificControls ( )
private

updates Demand mode specific controls

Definition at line 3203 of file GNEViewNet.cpp.

References GNEViewNetHelper::CommonCheckableButtons::deleteButton, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_PERSONTYPES, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, DEMAND_VEHICLETYPES, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::disableDemandCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getDeleteFrame(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPersonTypeFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::getVehicleFrame(), GNEViewParent::getVehicleTypeFrame(), GNEViewParent::hideAllFrames(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowGrid, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::DemandCheckableButtons::moveDemandElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::DemandCheckableButtons::personButton, GNEViewNetHelper::DemandCheckableButtons::personPlanButton, GNEViewNetHelper::DemandCheckableButtons::personTypeButton, GNEViewNetHelper::DemandCheckableButtons::routeButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEPersonFrame::show(), GNEPersonPlanFrame::show(), GNEPersonTypeFrame::show(), GNERouteFrame::show(), GNEStopFrame::show(), GNEVehicleFrame::show(), GNEVehicleTypeFrame::show(), GNEViewNetHelper::DemandCheckableButtons::stopButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::updateDemandCheckableButtons(), updateViewNet(), GNEViewNetHelper::DemandCheckableButtons::vehicleButton, and GNEViewNetHelper::DemandCheckableButtons::vehicleTypeButton.

◆ updateNetworkModeSpecificControls()

void GNEViewNet::updateNetworkModeSpecificControls ( )
private

updates Network mode specific controls

Definition at line 3066 of file GNEViewNet.cpp.

References GNEViewNetHelper::NetworkCheckableButtons::additionalButton, GNEViewNetHelper::NetworkCheckableButtons::connectionButton, GNEViewNetHelper::NetworkCheckableButtons::createEdgeButton, GNEViewNetHelper::NetworkCheckableButtons::crossingButton, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::NetworkCheckableButtons::disableNetworkCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getAdditionalFrame(), GNEViewParent::getConnectorFrame(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDeleteFrame(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::hideAllFrames(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowGrid, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::NetworkCheckableButtons::moveNetworkElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkCheckableButtons, myNetworkViewOptions, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::NetworkCheckableButtons::prohibitionButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEViewNetHelper::NetworkCheckableButtons::shapeButton, GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNECreateEdgeFrame::show(), GNEPolygonFrame::show(), GNEProhibitionFrame::show(), GNETLSEditorFrame::show(), GNEViewNetHelper::NetworkCheckableButtons::TAZButton, GNEViewNetHelper::NetworkCheckableButtons::trafficLightButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::NetworkCheckableButtons::updateNetworkCheckableButtons(), and updateViewNet().

◆ updatePositionInformation()

void GUISUMOAbstractView::updatePositionInformation ( ) const
protectedinherited

update position information

Definition at line 236 of file GUISUMOAbstractView.cpp.

References GeoConvHelper::cartesian2geo(), GUIMainWindow::getCartesianLabel(), GeoConvHelper::getFinal(), GUIMainWindow::getGeoLabel(), GUISUMOAbstractView::getPositionInformation(), gPrecisionGeo, GUISUMOAbstractView::myApp, toString(), Position::x(), and Position::y().

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

Here is the caller graph for this function:

◆ updateToolTip()

void GUISUMOAbstractView::updateToolTip ( )
inherited

A method that updates the tooltip.

Definition at line 181 of file GUISUMOAbstractView.cpp.

References GUISUMOAbstractView::myUseToolTips.

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

Here is the caller graph for this function:

◆ updateViewNet()

void GNEViewNet::updateViewNet ( ) const

Mark the entire GNEViewNet to be repainted later.

Definition at line 318 of file GNEViewNet.cpp.

Referenced by abortOperation(), GNECrossingFrame::addCrossing(), GNERouteFrame::addEdgeRoute(), hotkeyDel(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), onCmdClearConnections(), onCmdClosePolygon(), onCmdConvertRoundabout(), onCmdDeleteGeometryPoint(), onCmdLaneReachability(), GNETLSEditorFrame::onCmdOK(), onCmdOpenPolygon(), GNETLSEditorFrame::onCmdPhaseSwitch(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdSelectRoundabout(), onCmdSetFirstGeometryPoint(), onCmdSimplifyShape(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdToogleAutoOppositeEdge(), onCmdToogleChainEdges(), onCmdToogleChangeAllPhases(), onCmdToogleDrawSpreadVehicles(), onCmdToogleExtendSelection(), onCmdToogleHideConnections(), onCmdToogleHideNonInspecteDemandElements(), onCmdToogleHideShapes(), onCmdToogleLockPerson(), onCmdToogleMoveElevation(), onCmdToogleShowAdditionals(), onCmdToogleShowAllPersonPlans(), onCmdToogleShowConnections(), onCmdToogleShowDemandElements(), onCmdToogleShowGrid(), onCmdToogleShowJunctionBubbles(), onCmdToogleShowShapes(), onCmdToogleWarnAboutMerge(), onCmdTransformPOI(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), GNEUndoList::p_end(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::saveAdditionals(), GNENet::saveDemandElements(), GNEInspectorFrame::selectedOverlappedElement(), setColorScheme(), setFrontAttributeCarrier(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().

◆ waitForSnapshots()

void GUISUMOAbstractView::waitForSnapshots ( const SUMOTime  snapshotTime)
inherited

Friends And Related Function Documentation

◆ GNEViewNetHelper

friend struct GNEViewNetHelper
friend

FOX-declaration.

declare GNEViewNetHelper as friend struct

Definition at line 45 of file GNEViewNet.h.

Field Documentation

◆ myAdditionallyDrawn

◆ myAmInitialised

bool GUISUMOAbstractView::myAmInitialised
protectedinherited

◆ myApp

◆ myChanger

◆ myCommonCheckableButtons

GNEViewNetHelper::CommonCheckableButtons GNEViewNet::myCommonCheckableButtons
private

variable used to save checkable buttons for common supermodes

Definition at line 457 of file GNEViewNet.h.

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

◆ myCurrentFrame

GNEFrame* GNEViewNet::myCurrentFrame
private

◆ myDataCheckableButtons

GNEViewNetHelper::DataCheckableButtons GNEViewNet::myDataCheckableButtons
private

variable used to save checkable buttons for Supermode Data

Definition at line 466 of file GNEViewNet.h.

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

◆ myDataViewOptions

◆ myDecals

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

◆ myDecalsLock

FXMutex GUISUMOAbstractView::myDecalsLock
protectedinherited

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

Definition at line 497 of file GUISUMOAbstractView.h.

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

◆ myDemandCheckableButtons

GNEViewNetHelper::DemandCheckableButtons GNEViewNet::myDemandCheckableButtons
private

variable used to save checkable buttons for Supermode Demand

Definition at line 463 of file GNEViewNet.h.

Referenced by buildEditModeControls(), and updateDemandModeSpecificControls().

◆ myDemandViewOptions

◆ myEditModes

◆ myEditNetworkElementShapes

GNEViewNetHelper::EditNetworkElementShapes GNEViewNet::myEditNetworkElementShapes
private

struct for grouping all variables related with edit shapes

Definition at line 511 of file GNEViewNet.h.

Referenced by abortOperation(), getEditNetworkElementShapes(), hotkeyEnter(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), and processLeftButtonPressNetwork().

◆ myFrameDrawTime

long GUISUMOAbstractView::myFrameDrawTime
protectedinherited

counter for measuring rendering time

Definition at line 516 of file GUISUMOAbstractView.h.

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

◆ myFrontAttributeCarrier

const GNEAttributeCarrier* GNEViewNet::myFrontAttributeCarrier
private

◆ myGrid

const SUMORTree* GUISUMOAbstractView::myGrid
protectedinherited

◆ myInEditMode

bool GUISUMOAbstractView::myInEditMode
protectedinherited

Information whether too-tip informations shall be generated.

Definition at line 462 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::isInEditMode().

◆ myInspectedAttributeCarriers

◆ myIntervalBar

◆ myMouseButtonKeyPressed

◆ myMouseHotspotX

int GUISUMOAbstractView::myMouseHotspotX
protectedinherited

Offset to the mouse-hotspot from the mouse position.

Definition at line 465 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::setWindowCursorPosition().

◆ myMouseHotspotY

int GUISUMOAbstractView::myMouseHotspotY
protectedinherited

Definition at line 465 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::setWindowCursorPosition().

◆ myMoveMultipleElementValues

GNEViewNetHelper::MoveMultipleElementValues GNEViewNet::myMoveMultipleElementValues
private

variable used to save variables related with movement of multiple elements

Definition at line 491 of file GNEViewNet.h.

Referenced by processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), and processMoveMouseNetwork().

◆ myMoveSingleElementValues

◆ myNet

◆ myNetworkCheckableButtons

GNEViewNetHelper::NetworkCheckableButtons GNEViewNet::myNetworkCheckableButtons
private

variable used to save checkable buttons for Supermode Network

Definition at line 460 of file GNEViewNet.h.

Referenced by buildEditModeControls(), and updateNetworkModeSpecificControls().

◆ myNetworkViewOptions

◆ myObjectsUnderCursor

GNEViewNetHelper::ObjectsUnderCursor GNEViewNet::myObjectsUnderCursor
private

◆ myParent

GUIGlChildWindow* GUISUMOAbstractView::myParent
protectedinherited

The parent window.

Definition at line 453 of file GUISUMOAbstractView.h.

Referenced by GUISUMOAbstractView::getColoringSchemesCombo().

◆ myPolyDrawLock

FXMutex GUISUMOAbstractView::myPolyDrawLock
mutableprotectedinherited

poly draw lock

Definition at line 510 of file GUISUMOAbstractView.h.

◆ myPopup

◆ myPopupPosition

Position GUISUMOAbstractView::myPopupPosition
protectedinherited

◆ mySaveElements

GNEViewNetHelper::SaveElements GNEViewNet::mySaveElements
private

variable used to save elements

Definition at line 505 of file GNEViewNet.h.

Referenced by buildEditModeControls().

◆ mySelectingArea

◆ mySnapshotCondition

FXCondition GUISUMOAbstractView::mySnapshotCondition
protectedinherited

the semaphore when waiting for snapshots to finish

Definition at line 507 of file GUISUMOAbstractView.h.

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

◆ mySnapshots

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

◆ mySnapshotsMutex

FXMutex GUISUMOAbstractView::mySnapshotsMutex
protectedinherited

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

Definition at line 504 of file GUISUMOAbstractView.h.

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

◆ myTestingMode

GNEViewNetHelper::TestingMode GNEViewNet::myTestingMode
private

variable used to save variables related with testing mode

Definition at line 440 of file GNEViewNet.h.

Referenced by doPaintGL(), and getTestingMode().

◆ myUndoList

◆ myUseToolTips

bool GUISUMOAbstractView::myUseToolTips
protectedinherited

◆ myVehicleOptions

GNEViewNetHelper::VehicleOptions GNEViewNet::myVehicleOptions
private

variable used to save variables related with vehicle options

Definition at line 498 of file GNEViewNet.h.

◆ myVehicleTypeOptions

GNEViewNetHelper::VehicleTypeOptions GNEViewNet::myVehicleTypeOptions
private

variable used to save variables related with vehicle type options

Definition at line 501 of file GNEViewNet.h.

◆ myViewParent

◆ myViewportChooser

◆ myVisualizationChanger

GUIDialog_ViewSettings* GUISUMOAbstractView::myVisualizationChanger
protectedinherited

◆ myVisualizationSettings

◆ myWindowCursorPositionX

FXint GUISUMOAbstractView::myWindowCursorPositionX
protectedinherited

◆ myWindowCursorPositionY

FXint GUISUMOAbstractView::myWindowCursorPositionY
protectedinherited

◆ SENSITIVITY


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