![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEViewNet.h>
Public Member Functions | |
| void | abortOperation (bool clearSelection=true) |
| abort current edition operation | |
| void | addDecals (const std::vector< Decal > &decals) |
| add decals | |
| bool | addRestrictedLane (GNELane *lane, SUMOVehicleClass vclass, const bool insertAtFront) |
| add restricted lane | |
| bool | aksChangeSupermode (const std::string &operation, Supermode expectedSupermode) |
| ask about change supermode | |
| bool | askMergeJunctions (const GNEJunction *movedJunction, const GNEJunction *targetJunction, bool &alreadyAsked) |
| ask merge junctions | |
| bool | autoSelectNodes () |
| whether to autoselect nodes or to lanes | |
| void | buildColorRainbow (const GUIVisualizationSettings &s, GUIColorScheme &scheme, int active, GUIGlObjectType objectType, const GUIVisualizationRainbowSettings &rs) override |
| recalibrate color scheme according to the current value range | |
| void | buildViewToolBars (GUIGlChildWindow *v) override |
| builds the view toolbars | |
| void | centerTo (const Boundary &bound) |
| centers to the chosen artifact | |
| virtual void | centerTo (const Position &pos, bool applyZoom, double zoomDist=20) |
| centers to the chosen position | |
| virtual void | centerTo (GUIGlID id, bool applyZoom, double zoomDist=20) |
| centers to the chosen artifact | |
| bool | changeAllPhases () const |
| change all phases | |
| virtual void | changePedestrianNetworkColor (const GUIVisualizationSettings &) const |
| Change the color of the JuPedSim pedestrian network. | |
| bool | checkOverLockedElement (const GUIGlObject *GLObject, const bool isSelected) const |
| check if given element is locked (used for drawing select and delete contour) | |
| bool | checkSelectEdges () const |
| check if select edges (toggle using button or shift) | |
| virtual void | copyViewportTo (GUISUMOAbstractView *view) |
| copy the viewport to the given view | |
| void | destroyPopup () |
| destroys the popup | |
| virtual void | drawPedestrianNetwork (const GUIVisualizationSettings &) const |
| Draw (or not) the JuPedSim pedestrian network. | |
| GUIVisualizationSettings * | editVisualisationSettings () const |
| edit visualization settings (allow modify VisualizationSetings, use carefully) | |
| std::vector< GUIGlObject * > | filterContextObjects (const std::vector< GUIGlObject * > &objects) |
| filter out duplicate and forbidden objects | |
| void | forceSupemodeNetwork () |
| force supermode network(used after load/create new network) | |
| GUIPerspectiveChanger & | getChanger () const |
| get changer | |
| MFXComboBoxIcon * | getColoringSchemesCombo () |
| get coloring schemes combo | |
| const GNEViewNetHelper::DataViewOptions & | getDataViewOptions () const |
| get data view options | |
| std::vector< Decal > & | getDecals () |
| The list of decals to show. | |
| FXMutex & | getDecalsLockMutex () |
| The mutex to use before accessing the decals list in order to avoid thread conflicts. | |
| double | getDelay () const |
| Returns the delay of the parent application. | |
| const GNEViewNetHelper::DemandViewOptions & | getDemandViewOptions () const |
| get demand view options | |
| int | getDrawingToggle () const |
| get draw toggle (used to avoid drawing junctions twice) | |
| std::vector< std::string > | getEdgeDataAttrs () const override |
| return list of loaded edgeData attributes | |
| std::vector< std::string > | getEdgeLaneParamKeys (bool edgeKeys) const override |
| return list of available edge parameters | |
| const GNEViewNetHelper::EditModes & | getEditModes () const |
| get edit modes | |
| const GNEViewNetHelper::EditNetworkElementShapes & | getEditNetworkElementShapes () const |
| get Edit Shape module | |
| double | getFPS () const |
| retrieve FPS | |
| double | getGridHeight () const |
| get grid height | |
| double | getGridWidth () const |
| get grid width | |
| GUIGlChildWindow * | getGUIGlChildWindow () |
| get GUIGlChildWindow | |
| GNEViewNetHelper::InspectedElements & | getInspectedElements () |
| get inspected elements | |
| GNEViewNetHelper::IntervalBar & | getIntervalBar () |
| get interval bar | |
| GNEDemandElement * | getLastCreatedRoute () const |
| get last created route | |
| GNEViewNetHelper::LockManager & | getLockManager () |
| get lock manager | |
| GUIMainWindow * | getMainWindow () const |
| get main window | |
| GNEViewNetHelper::MarkFrontElements & | getMarkFrontElements () |
| get marked for drawing front elements | |
| virtual std::vector< std::string > | getMeanDataAttrs (const std::string &meanDataID) const |
| return list of available attributes for the given meanData id | |
| virtual std::vector< std::string > | getMeanDataIDs () const |
| return list of loaded edgeData ids (being computed in the current simulation) | |
| const GNEViewNetHelper::MouseButtonKeyPressed & | getMouseButtonKeyPressed () const |
| get Key Pressed module | |
| const GNEViewNetHelper::MoveMultipleElementModul & | getMoveMultipleElementValues () const |
| get move multiple element values | |
| const GNEViewNetHelper::MoveSingleElementModul & | getMoveSingleElementValues () const |
| get move single element values | |
| GNENet * | getNet () const |
| get the net object | |
| const GNEViewNetHelper::NetworkViewOptions & | getNetworkViewOptions () const |
| get network view options | |
| std::vector< std::string > | getPOIParamKeys () const override |
| return list of available POI parameters | |
| GUIGLObjectPopupMenu * | getPopup () const |
| ge the current popup-menu | |
| const Position & | getPopupPosition () const |
| get position of current popup | |
| virtual Position | getPositionInformation () const |
| Returns the cursor's x/y position within the network. | |
| std::vector< std::string > | getRelDataAttrs () const override |
| return list of loaded edgeRelation and tazRelation attributes | |
| GNEViewNetHelper::SaveElements & | getSaveElements () |
| get variable used to save elements | |
| const GNEViewNetHelper::TestingMode & | getTestingMode () const |
| get testing mode | |
| GNEViewNetHelper::TimeFormat & | getTimeFormat () |
| get variable used to switch between time formats | |
| virtual GUIGlID | getTrackedID () const |
| get tracked id | |
| GNEUndoList * | getUndoList () const |
| get the undoList object | |
| virtual std::vector< std::string > | getVehicleParamKeys (bool) const |
| return list of available vehicle parameters | |
| const GNEViewNetHelper::ViewObjectsSelector & | getViewObjectsSelector () const |
| get objects under cursor | |
| GNEViewParent * | getViewParent () const |
| get the net object | |
| GUIDialog_EditViewport * | getViewportEditor () |
| get the viewport and create it on first access | |
| Boundary | getVisibleBoundary () const |
| get visible boundary | |
| const GUIVisualizationSettings & | getVisualisationSettings () const |
| get visualization settings (read only) | |
| Position | getWindowCursorPosition () const |
| return windows cursor position | |
| GNEViewNet (FXComposite *tmpParent, FXComposite *actualParent, GUIMainWindow &app, GNEViewParent *viewParent, GNENet *net, GNEUndoList *undoList, FXGLVisual *glVis, FXGLCanvas *share) | |
| void | hotkeyBackSpace () |
| handle backspace keypress | |
| void | hotkeyDel () |
| handle del keypress | |
| void | hotkeyEnter () |
| handle enter keypress | |
| void | hotkeyFocusFrame () |
| handle focus frame keypress | |
| virtual bool | is3DView () const |
| return whether this is a 3D view | |
| bool | isCurrentlyMovingElements () const |
| check if an element is being moved | |
| bool | isInEditMode () |
| returns true, if the edit button was pressed | |
| double | m2p (double meter) const |
| meter-to-pixels conversion method | |
| FXbool | makeCurrent () |
| A reimplementation due to some internal reasons. | |
| long | onCmdAddEdgeSelected (FXObject *, FXSelector, void *) |
| select Edge under cursor | |
| long | onCmdAddJoinTLS (FXObject *, FXSelector, void *) |
| add Join TLS | |
| virtual long | onCmdAddRerouter (FXObject *, FXSelector, void *) |
| long | onCmdAddReverse (FXObject *, FXSelector, void *) |
| add a reverse demand element | |
| long | onCmdAddReversedEdge (FXObject *, FXSelector, void *) |
| add reversed edge | |
| long | onCmdAddReversedEdgeDisconnected (FXObject *, FXSelector, void *) |
| add reversed edge disconnected | |
| long | onCmdAddSelected (FXObject *, FXSelector, void *) |
| select AC under cursor | |
| long | onCmdAddTLS (FXObject *, FXSelector, void *) |
| add TLS | |
| long | onCmdAttachPOI (FXObject *, FXSelector, void *) |
| attach POI in lane | |
| long | onCmdClearConnections (FXObject *, FXSelector, void *) |
| clear junction connections | |
| virtual long | onCmdCloseEdge (FXObject *, FXSelector, void *) |
| virtual long | onCmdCloseLane (FXObject *, FXSelector, void *) |
| interaction with the simulation | |
| long | onCmdConvertRoundabout (FXObject *, FXSelector, void *) |
| convert junction to roundabout | |
| long | onCmdDuplicateLane (FXObject *, FXSelector, void *) |
| duplicate selected lane | |
| long | onCmdEdgeUseAsTemplate (FXObject *, FXSelector, void *) |
| use edge as template | |
| long | onCmdEditConnectionShape (FXObject *, FXSelector, void *) |
| edit connection shape | |
| long | onCmdEditCrossingShape (FXObject *, FXSelector, void *) |
| edit crossing shape | |
| long | onCmdEditEdgeEndpoint (FXObject *, FXSelector, void *) |
| change geometry endpoint | |
| long | onCmdEditJunctionShape (FXObject *, FXSelector, void *) |
| edit junction shape | |
| long | onCmdEditLaneShape (FXObject *, FXSelector, void *) |
| edit lane shape | |
| long | onCmdEditWalkingAreaShape (FXObject *, FXSelector, void *) |
| edit walkingArea shape | |
| long | onCmdEgeApplyTemplate (FXObject *, FXSelector, void *) |
| apply template to edge | |
| long | onCmdLaneOperation (FXObject *, FXSelector sel, void *) |
| add/remove/restrict lane | |
| long | onCmdLaneReachability (FXObject *, FXSelector sel, void *) |
| show lane reachability | |
| long | onCmdOpenAdditionalDialog (FXObject *, FXSelector, void *) |
| open additional dialog | |
| long | onCmdReleasePOI (FXObject *, FXSelector, void *) |
| release POI from lane | |
| long | onCmdRemoveEdgeSelected (FXObject *, FXSelector, void *) |
| unselect Edge under cursor | |
| long | onCmdRemoveSelected (FXObject *, FXSelector, void *) |
| unselect AC under cursor | |
| long | onCmdReplaceJunction (FXObject *, FXSelector, void *) |
| replace node by geometry | |
| long | onCmdResetConnections (FXObject *, FXSelector, void *) |
| reset junction connections | |
| long | onCmdResetEdgeEndpoint (FXObject *, FXSelector, void *) |
| change geometry endpoint | |
| long | onCmdResetEdgeEndPoints (FXObject *, FXSelector, void *) |
| edit junction shape | |
| long | onCmdResetEndPoints (FXObject *, FXSelector, void *) |
| reset edge end points | |
| long | onCmdResetJunctionShape (FXObject *, FXSelector, void *) |
| reset junction shape | |
| long | onCmdResetLaneCustomShape (FXObject *, FXSelector, void *) |
| reset custom shapes of selected lanes | |
| long | onCmdResetLength (FXObject *, FXSelector, void *) |
| reset custom edge lengths | |
| long | onCmdResetOppositeLane (FXObject *, FXSelector, void *) |
| reset oppositeLane of current lane | |
| long | onCmdReverse (FXObject *, FXSelector, void *) |
| reverse current demand element | |
| long | onCmdReverseEdge (FXObject *, FXSelector, void *) |
| reverse edge | |
| long | onCmdSelectRoundabout (FXObject *, FXSelector, void *) |
| select all roundabout nodes and edges | |
| long | onCmdSetCustomGeometryPoint (FXObject *, FXSelector, void *) |
| set custom geometry point | |
| long | onCmdSetNeteditView (FXObject *, FXSelector sel, void *) |
| called when a new view is set | |
| virtual long | onCmdShowReachability (FXObject *, FXSelector, void *) |
| highlight edges according to reachability | |
| long | onCmdSmoothConnectionShape (FXObject *, FXSelector, void *) |
| edit connection shape | |
| long | onCmdSmoothEdges (FXObject *, FXSelector, void *) |
| smooth geometry | |
| long | onCmdSmoothEdgesElevation (FXObject *, FXSelector, void *) |
| smooth elevation with regard to adjoining edges | |
| long | onCmdSplitEdge (FXObject *, FXSelector, void *) |
| split edge at cursor position | |
| long | onCmdSplitEdgeBidi (FXObject *, FXSelector, void *) |
| split edge at cursor position | |
| long | onCmdSplitJunction (FXObject *, FXSelector, void *) |
| split junction into multiple junctions | |
| long | onCmdSplitJunctionReconnect (FXObject *, FXSelector, void *) |
| split junction into multiple junctions and reconnect them | |
| long | onCmdStraightenEdges (FXObject *, FXSelector, void *) |
| makes selected edges straight | |
| long | onCmdStraightenEdgesElevation (FXObject *, FXSelector, void *) |
| interpolate z values linear between junctions | |
| long | onCmdTransformPOI (FXObject *, FXSelector, void *) |
| transform to POI | |
| long | onCmdTransformPOIGEO (FXObject *, FXSelector, void *) |
| transform to POIGEO | |
| virtual long | onConfigure (FXObject *, FXSelector, void *) |
| mouse functions | |
| virtual long | onDoubleClicked (FXObject *, FXSelector, void *) |
| long | onEnterConvertRoundabout (FXObject *, FXSelector, void *) |
| enter to convert junction to roundabout | |
| virtual void | onGamingClick (Position) |
| on gaming click | |
| virtual void | onGamingRightClick (Position) |
| long | onLeaveConvertRoundabout (FXObject *, FXSelector, void *) |
| leave to convert junction to roundabout | |
| virtual long | onMouseLeft (FXObject *, FXSelector, void *) |
| virtual long | onMouseWheel (FXObject *, FXSelector, void *) |
| virtual long | onPaint (FXObject *, FXSelector, void *) |
| virtual long | onVisualizationChange (FXObject *, FXSelector, void *) |
| hook to react on change in visualization settings | |
| void | openDeleteDialogAtCursor (const std::vector< GUIGlObject * > &GLObjects) |
| open delete dialog at cursor | |
| void | openObjectDialog (const std::vector< GUIGlObject * > &objects, const bool filter=true) |
| open object dialog for the given object | |
| void | openObjectDialogAtCursor (const FXEvent *ev) override |
| open object dialog | |
| void | openSelectDialogAtCursor (const std::vector< GUIGlObject * > &GLObjects) |
| open select dialog at cursor | |
| double | p2m (double pixel) const |
| pixels-to-meters conversion method | |
| void | recalculateBoundaries () override |
| recalculate boundaries | |
| virtual void | recenterView () |
| recenters the view | |
| void | redrawPathElementContours () |
| redraw elements only for calculating boundary | |
| void | remove (GUIDialog_EditViewport *) |
| remove viewport | |
| void | remove (GUIDialog_ViewSettings *) |
| remove view settings | |
| bool | removeRestrictedLane (GNELane *lane, SUMOVehicleClass vclass) |
| remove restricted lane | |
| void | replacePopup (GUIGLObjectPopupMenu *popUp) |
| replace PopUp | |
| bool | restrictLane (GNELane *lane, SUMOVehicleClass vclass) |
| restrict lane | |
| virtual const std::vector< SUMOTime > | retrieveBreakpoints () const |
| retrieve breakpoints if provided by the application | |
| void | saveVisualizationSettings () const |
| Position | screenPos2NetPos (int x, int y) const |
| Translate screen position to network position. | |
| bool | selectingDetectorsTLSMode () const |
| check if we're selecting detectors in TLS mode | |
| bool | selectingJunctionsTLSMode () const |
| check if we're selecting junctions in TLS mode | |
| void | setBreakpoints (const std::vector< SUMOTime > &breakpoints) |
| Sets the breakpoints of the parent application. | |
| bool | setColorScheme (const std::string &name) override |
| set color scheme | |
| void | setDelay (double delay) |
| Sets the delay of the parent application. | |
| void | setLastCreatedRoute (GNEDemandElement *lastCreatedRoute) |
| set last created route | |
| void | setSelectorFrameScale (double selectionScale) |
| set selection scaling (in GNESelectorFrame) | |
| void | setStatusBarText (const std::string &text) |
| set statusBar text | |
| virtual void | setViewportFromToRot (const Position &lookFrom, const Position &lookAt, double rotation) |
| applies the given viewport settings | |
| void | setWindowCursorPosition (FXint x, FXint y) |
| Returns the gl-id of the object under the given coordinates. | |
| bool | showJunctionAsBubbles () const |
| return true if junction must be showed as bubbles | |
| virtual void | showViewportEditor () |
| show viewport editor | |
| void | showViewschemeEditor () |
| show viewsscheme editor | |
| Position | snapToActiveGrid (const Position &pos, bool snapXY=true) const |
| Returns a position that is mapped to the closest grid point if the grid is active. | |
| virtual void | startTrack (int) |
| star track | |
| virtual void | stopTrack () |
| stop track | |
| void | updateControls () |
| update control contents after undo/redo or recompute | |
| void | updateObjectsInPosition (const Position &pos) |
| update objects and boundaries in position | |
| void | updateObjectsInShape (const PositionVector &shape) |
| get objects in the given shape (using triangulation) | |
| void | updateToolTip () |
| A method that updates the tooltip. | |
| void | updateViewNet (const bool ignoreViewUpdater=true) const |
| Mark the entire GNEViewNet to be repainted later. | |
| virtual void | updateViewportValues () |
| update the viewport chooser with the current view values | |
| void | viewUpdated () |
| called when view is updated | |
| virtual void | zoom2Pos (Position &camera, Position &lookAt, double zoom) |
| zoom interface for 3D view | |
| ~GNEViewNet () | |
| destructor | |
overloaded handlers | |
called when user press mouse's left button | |
| long | onLeftBtnPress (FXObject *, FXSelector, void *) override |
| long | onLeftBtnRelease (FXObject *, FXSelector, void *) override |
| called when user releases mouse's left button | |
| long | onMiddleBtnPress (FXObject *, FXSelector, void *) override |
| called when user press mouse's left button | |
| long | onMiddleBtnRelease (FXObject *, FXSelector, void *) override |
| called when user releases mouse's left button | |
| long | onRightBtnPress (FXObject *, FXSelector, void *) override |
| called when user press mouse's right button | |
| long | onRightBtnRelease (FXObject *, FXSelector, void *) override |
| called when user releases mouse's right button | |
| long | onMouseMove (FXObject *, FXSelector, void *) override |
| called when user moves mouse | |
| long | onKeyPress (FXObject *o, FXSelector sel, void *data) override |
| called when user press a key | |
| long | onKeyRelease (FXObject *o, FXSelector sel, void *data) override |
| called when user release a key | |
set modes call backs | |
called when user press a supermode button | |
| long | onCmdSetSupermode (FXObject *, FXSelector sel, void *) |
| long | onCmdSetMode (FXObject *, FXSelector sel, void *) |
| called when user press a mode button (Network or demand) | |
specific of shape edited | |
simply shape edited | |
| long | onCmdSimplifyShape (FXObject *, FXSelector, void *) |
| simply shape of current polygon | |
| long | onCmdDeleteGeometryPoint (FXObject *, FXSelector, void *) |
| delete the closes geometry point | |
| long | onCmdClosePolygon (FXObject *, FXSelector, void *) |
| close opened polygon | |
| long | onCmdOpenPolygon (FXObject *, FXSelector, void *) |
| open closed polygon | |
| long | onCmdSelectPolygonElements (FXObject *, FXSelector, void *) |
| select elements within polygon boundary | |
| long | onCmdTriangulatePolygon (FXObject *, FXSelector, void *) |
| triangulate polygon | |
| long | onCmdSetFirstGeometryPoint (FXObject *, FXSelector, void *) |
| set as first geometry point the closes geometry point | |
| long | onCmdSimplifyShapeEdited (FXObject *, FXSelector, void *) |
| long | onCmdStraightenShapeEdited (FXObject *, FXSelector, void *) |
| straight shape edited | |
| long | onCmdCloseShapeEdited (FXObject *, FXSelector, void *) |
| close opened shape edited | |
| long | onCmdOpenShapeEdited (FXObject *, FXSelector, void *) |
| open closed shape edited | |
| long | onCmdSetFirstGeometryPointShapeEdited (FXObject *, FXSelector, void *) |
| set first geometry point in shape edited | |
| long | onCmdDeleteGeometryPointShapeEdited (FXObject *, FXSelector, void *) |
| delete the closes geometry point in shape edited | |
| long | onCmdResetShapeEdited (FXObject *, FXSelector, void *) |
| reset shape edited | |
| long | onCmdFinishShapeEdited (FXObject *, FXSelector, void *) |
| finish shape edited | |
View options network call backs | |
| long | onCmdToggleSelectEdges (FXObject *, FXSelector, void *) |
| toggle select edges | |
| long | onCmdToggleShowConnections (FXObject *, FXSelector, void *) |
| toggle show connections | |
| long | onCmdToggleHideConnections (FXObject *, FXSelector, void *) |
| toggle hide connections | |
| long | onCmdToggleShowAdditionalSubElements (FXObject *, FXSelector, void *) |
| toggle show additional sub-elements | |
| long | onCmdToggleShowTAZElements (FXObject *, FXSelector, void *) |
| toggle show TAZ elements | |
| long | onCmdToggleExtendSelection (FXObject *, FXSelector, void *) |
| toggle extend selection | |
| long | onCmdToggleChangeAllPhases (FXObject *, FXSelector, void *) |
| toggle change all phases | |
| long | onCmdToggleShowGrid (FXObject *, FXSelector, void *) |
| toggle show grid | |
| long | onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *) |
| toggle draw junction shape | |
| long | onCmdToggleDrawSpreadVehicles (FXObject *, FXSelector, void *) |
| toggle draw vehicles in begin position or spread in lane | |
| long | onCmdToggleMergeAutomatically (FXObject *, FXSelector, void *) |
| toggle warn for merge | |
| long | onCmdToggleShowJunctionBubbles (FXObject *, FXSelector, void *) |
| toggle show junction bubbles | |
| long | onCmdToggleMoveElevation (FXObject *, FXSelector, void *) |
| toggle move elevation | |
| long | onCmdToggleChainEdges (FXObject *, FXSelector, void *) |
| toggle chain edges | |
| long | onCmdToggleAutoOppositeEdge (FXObject *, FXSelector, void *) |
| toggle autoOpposite edge | |
| long | onCmdToggleHideNonInspecteDemandElements (FXObject *, FXSelector, void *) |
| toggle hide non inspected demand elements | |
| long | onCmdToggleShowOverlappedRoutes (FXObject *, FXSelector, void *) |
| toggle hide non inspected demand elements | |
| long | onCmdToggleHideShapes (FXObject *, FXSelector, void *) |
| toggle hide shapes in super mode demand | |
| long | onCmdToggleShowTrips (FXObject *, FXSelector, void *) |
| toggle show all trips in super mode demand | |
| long | onCmdToggleShowAllPersonPlans (FXObject *, FXSelector, void *) |
| toggle show all person plans in super mode demand | |
| long | onCmdToggleLockPerson (FXObject *, FXSelector, void *) |
| toggle lock person in super mode demand | |
| long | onCmdToggleShowAllContainerPlans (FXObject *, FXSelector, void *) |
| toggle show all container plans in super mode demand | |
| long | onCmdToggleLockContainer (FXObject *, FXSelector, void *) |
| toggle lock container in super mode demand | |
| long | onCmdToggleShowAdditionals (FXObject *, FXSelector, void *) |
| toggle show additionals in super mode data | |
| long | onCmdToggleShowShapes (FXObject *, FXSelector, void *) |
| toggle show shapes in super mode data | |
| long | onCmdToggleShowDemandElementsNetwork (FXObject *, FXSelector, void *) |
| toggle show demand elements (network) | |
| long | onCmdToggleShowDemandElementsData (FXObject *, FXSelector, void *) |
| toggle show demand elements (data) | |
| long | onCmdToggleTAZRelDrawing (FXObject *, FXSelector, void *) |
| toggle TAZRel drawing | |
| long | onCmdToggleTAZDrawFill (FXObject *, FXSelector, void *) |
| toggle TAZdrawFill | |
| long | onCmdToggleTAZRelOnlyFrom (FXObject *, FXSelector, void *) |
| toggle TAZRez only from | |
| long | onCmdToggleTAZRelOnlyTo (FXObject *, FXSelector, void *) |
| toggle TAZRez only to | |
interval bar functions | |
| long | onCmdIntervalBarGenericDataType (FXObject *, FXSelector, void *) |
| change generic data type in interval bar | |
| long | onCmdIntervalBarDataSet (FXObject *, FXSelector, void *) |
| change data set in interval bar | |
| long | onCmdIntervalBarLimit (FXObject *, FXSelector, void *) |
| change limit interval in interval bar | |
| long | onCmdIntervalBarSetBegin (FXObject *, FXSelector, void *) |
| change begin in interval bar | |
| long | onCmdIntervalBarSetEnd (FXObject *, FXSelector, void *) |
| change end in interval bar | |
| long | onCmdIntervalBarSetParameter (FXObject *, FXSelector, void *) |
| change parameter in interval bar | |
Dealing with snapshots | |
| void | addSnapshot (SUMOTime time, const std::string &file, const int w=-1, const int h=-1) |
| Sets the snapshot time to file map. | |
| std::string | makeSnapshot (const std::string &destFile, const int w=-1, const int h=-1) |
| Takes a snapshots and writes it into the given file. | |
| virtual void | saveFrame (const std::string &destFile, FXColor *buf) |
| Adds a frame to a video snapshot which will be initialized if necessary. | |
| virtual void | endSnapshot () |
| Ends a video snapshot. | |
| virtual void | checkSnapshots () |
| Checks whether it is time for a snapshot. | |
| void | waitForSnapshots (const SUMOTime snapshotTime) |
| virtual SUMOTime | getCurrentTimeStep () const |
| get the current simulation time | |
Additional visualisations | |
| bool | addAdditionalGLVisualisation (GUIGlObject *const which) |
| Adds an object to call its additional visualisation method. | |
| bool | removeAdditionalGLVisualisation (GUIGlObject *const which) |
| Removes an object from the list of objects that show additional things. | |
| bool | isAdditionalGLVisualisationEnabled (GUIGlObject *const which) const |
| Check if an object is added in the additional GL visualitation. | |
Protected Member Functions | |
| Boundary | applyGLTransform (bool fixRatio=true) |
| applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections) | |
| void | buildMinMaxRainbow (const GUIVisualizationSettings &s, GUIColorScheme &scheme, const GUIVisualizationRainbowSettings &rs, double minValue, double maxValue, bool hasMissingData) |
| helper function for buildColorRainbow | |
| FXImage * | checkGDALImage (Decal &d) |
| check whether we can read image data or position with gdal | |
| void | displayColorLegend (const GUIColorScheme &scheme, bool leftSide, const std::string &key) |
| Draws a legend for the given scheme. | |
| void | displayLegend () |
| Draws a line with ticks, and the length information. | |
| void | displayLegends () |
| Draws the configured legends. | |
| void | doInit () override |
| called after some features are already initialized | |
| int | doPaintGL (int mode, const Boundary &drawingBoundary) override |
| do paintGL | |
| void | drawDecals () |
| Draws the stored decals. | |
| void | drawFPS () |
| Draws frames-per-second indicator. | |
| std::vector< GUIGlObject * > | filterInternalLanes (const std::vector< GUIGlObject * > &objects) const |
| filter internal lanes in Objects under cursor | |
| std::vector< GUIGlObject * > | getGUIGlObjectsAtPosition (Position pos, double radius) |
| returns the GUIGlObjects at position within the given (rectangular) radius using GL_SELECT | |
| std::vector< GUIGlObject * > | getGUIGlObjectsUnderCursor () |
| returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects) | |
| std::vector< GUIGlObject * > | getGUIGlObjectsUnderSnappedCursor () |
| returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects) | |
| virtual GUILane * | getLaneUnderCursor () |
| returns the GUILane at cursor position (implementation depends on view) | |
| GUIGlID | getObjectAtPosition (Position pos, double sensitivity=SENSITIVITY) |
| returns the id of the object at position using GL_SELECT | |
| std::vector< GUIGlID > | getObjectsAtPosition (Position pos, double radius) |
| returns the ids of the object at position within the given (rectangular) radius using GL_SELECT | |
| std::vector< GUIGlID > | getObjectsInBoundary (Boundary bound) |
| returns the ids of all objects in the given boundary | |
| std::vector< GUIGlID > | getObjectsUnderCursor () |
| returns the id of the objects under the cursor using GL_SELECT (including overlapped objects) | |
| GUIGlID | getObjectUnderCursor (double sensitivity=SENSITIVITY) |
| returns the id of the front object under the cursor using GL_SELECT | |
| GUIGlID | getToolTipID () override |
| returns the id of object under cursor to show their tooltip | |
| GNEViewNet () | |
| FOX needs this. | |
| void | openPopupDialog () |
| open popup dialog | |
| void | paintGL () |
| FOX needs this. | |
| void | paintGLGrid () const |
| paints a grid | |
| bool | showToolTipFor (const GUIGlID idToolTip) |
| invokes the tooltip for the given object | |
| virtual void | updatePositionInformationLabel () const |
| update position information labels | |
Protected Attributes | |
| std::map< GUIGlObject *, int > | myAdditionallyDrawn |
| List of objects for which GUIGlObject::drawGLAdditional is called. | |
| bool | myAmInitialised = false |
| Internal information whether doInit() was called. | |
| GUIMainWindow * | myApp |
| The application. | |
| GUIPerspectiveChanger * | myChanger = nullptr |
| The perspective changer. | |
| Position | myClickedPopupPosition = Position::INVALID |
| clicked poup position | |
| std::vector< GUIGlObject * > | myCurrentObjectsDialog |
| vector with current objects dialog | |
| long | myFrameDrawTime = 0 |
| counter for measuring rendering time | |
| GUIGlChildWindow * | myGlChildWindowParent |
| The parent window. | |
| const SUMORTree * | myGrid |
| The visualization speed-up. | |
| GUIDialog_EditViewport * | myGUIDialogEditViewport = nullptr |
| viewport chooser | |
| GUIDialog_ViewSettings * | myGUIDialogViewSettings = nullptr |
| Visualization changer. | |
| bool | myInEditMode = false |
| Information whether too-tip informations shall be generated. | |
| int | myMouseHotspotX |
| Offset to the mouse-hotspot from the mouse position. | |
| int | myMouseHotspotY |
| bool | myPanning = false |
| Panning flag. | |
| FXMutex | myPolyDrawLock |
| poly draw lock | |
| GUIGLObjectPopupMenu * | myPopup = nullptr |
| The current popup-menu. | |
| Position | myPopupPosition = Position(0, 0) |
| The current popup-menu position. | |
| FXCondition | mySnapshotCondition |
| the semaphore when waiting for snapshots to finish | |
| std::map< SUMOTime, std::vector< std::tuple< std::string, int, int > > > | mySnapshots |
| Snapshots. | |
| FXMutex | mySnapshotsMutex |
| The mutex to use before accessing the decals list in order to avoid thread conflicts. | |
| GUIVisualizationSettings * | myVisualizationSettings |
| visualization settings | |
| FXint | myWindowCursorPositionX |
| Position of the cursor relative to the window. | |
| FXint | myWindowCursorPositionY |
Optionally shown decals | |
| std::vector< Decal > | myDecals |
| The list of decals to show. | |
| FXMutex | myDecalsLockMutex |
| The mutex to use before accessing the decals list in order to avoid thread conflicts. | |
Static Protected Attributes | |
| static const double | SENSITIVITY = 0.1 |
Private Member Functions | |
| void | processLeftButtonPressNetwork (void *eventData) |
| mouse process functions | |
| void | processLeftButtonReleaseNetwork () |
| process left button release function in Supermode Network | |
| void | processMoveMouseNetwork (const bool mouseLeftButtonPressed) |
| process move mouse function in Supermode Network | |
| void | processLeftButtonPressDemand (void *eventData) |
| process left button press function in Supermode Demand | |
| void | processLeftButtonReleaseDemand () |
| process left button release function in Supermode Demand | |
| void | processMoveMouseDemand (const bool mouseLeftButtonPressed) |
| process move mouse function in Supermode Demand | |
| void | processLeftButtonPressData (void *eventData) |
| process left button press function in Supermode Data | |
| void | processLeftButtonReleaseData () |
| process left button release function in Supermode Data | |
| void | processMoveMouseData (const bool mouseLeftButtonPressed) |
| process move mouse function in Supermode Data | |
| GNEViewNet (const GNEViewNet &)=delete | |
| Invalidated copy constructor. | |
| GNEViewNet & | operator= (const GNEViewNet &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| GNEViewNetHelper::IntervalBar | myIntervalBar |
| variable used to save IntervalBar | |
| GNEViewNetHelper::ViewObjectsSelector | myViewObjectsSelector |
| variable use to select objects in view | |
structs related with modes and testing mode | |
| GNEViewNetHelper::EditModes | myEditModes |
| variable used to save variables related with edit moves modes | |
| GNEViewNetHelper::TestingMode | myTestingMode |
| variable used to save variables related with testing mode | |
structs related with input (keyboard and mouse) | |
| GNEViewNetHelper::MouseButtonKeyPressed | myMouseButtonKeyPressed |
| variable used to save key status after certain events | |
structs related with checkable buttons | |
| GNEViewNetHelper::CommonCheckableButtons | myCommonCheckableButtons |
| variable used to save checkable buttons for common supermodes | |
| GNEViewNetHelper::NetworkCheckableButtons | myNetworkCheckableButtons |
| variable used to save checkable buttons for Supermode Network | |
| GNEViewNetHelper::DemandCheckableButtons | myDemandCheckableButtons |
| variable used to save checkable buttons for Supermode Demand | |
| GNEViewNetHelper::DataCheckableButtons | myDataCheckableButtons |
| variable used to save checkable buttons for Supermode Data | |
structs related with view options | |
| GNEViewNetHelper::NetworkViewOptions | myNetworkViewOptions |
| variable used to save variables related with view options in supermode Network | |
| GNEViewNetHelper::DemandViewOptions | myDemandViewOptions |
| variable used to save variables related with view options in supermode Demand | |
| GNEViewNetHelper::DataViewOptions | myDataViewOptions |
| variable used to save variables related with view options in supermode Data | |
structs related with move elements | |
| GNEViewNetHelper::MoveSingleElementModul | myMoveSingleElement |
| modul used for moving single element | |
| GNEViewNetHelper::MoveMultipleElementModul | myMoveMultipleElements |
| modul used for moving multiple elements | |
Friends | |
| struct | GNEViewNetHelper |
| FOX-declaration. | |
structs related with Demand options | |
| GNEViewNetHelper::VehicleOptions | myVehicleOptions |
| variable used to save variables related with vehicle options | |
| GNEViewNetHelper::VehicleTypeOptions | myVehicleTypeOptions |
| variable used to save variables related with vehicle type options | |
| GNEViewNetHelper::SaveElements | mySaveElements |
| variable used for grouping all variables related with salve elements | |
| GNEViewNetHelper::TimeFormat | myTimeFormat |
| variable used for grouping all variables related with switch time | |
| GNEViewNetHelper::SelectingArea | mySelectingArea |
| variable used for grouping all variables related with selecting areas | |
| GNEViewNetHelper::EditNetworkElementShapes | myEditNetworkElementShapes |
| struct for grouping all variables related with edit shapes | |
| GNEViewNetHelper::LockManager | myLockManager |
| lock manager | |
| GNEViewNetHelper::InspectedElements | myInspectedElements |
| inspected element | |
| GNEViewNetHelper::MarkFrontElements | myMarkFrontElements |
| front element | |
| GNEViewParent * | myViewParent = nullptr |
| view parent | |
| GNENet * | myNet = nullptr |
| Pointer to current net. (We are not responsible for deletion). | |
| GNEFrame * | myCurrentFrame = nullptr |
| the current frame | |
| GNEUndoList * | myUndoList = nullptr |
| a reference to the undolist maintained in the application | |
| GNEDemandElement * | myLastCreatedRoute = nullptr |
| last created route | |
| bool | myDrawPreviewRoundabout = false |
| draw preview roundabout | |
| bool | myCreatedPopup = false |
| flag for mark if during this frame a popup was created (needed to avoid problems in linux with CursorDialogs) | |
| int | myDrawingToggle = 0 |
| drawin toggle (used in drawGLElements to avoid draw elements twice) | |
| void | buildEditModeControls () |
| create edit mode buttons and elements | |
| void | updateNetworkModeSpecificControls () |
| updates Network mode specific controls | |
| void | updateDemandModeSpecificControls () |
| updates Demand mode specific controls | |
| void | updateDataModeSpecificControls () |
| updates Data mode specific controls | |
| void | deleteNetworkAttributeCarrier (const GNEAttributeCarrier *AC) |
| delete given network attribute carriers | |
| void | deleteDemandAttributeCarrier (const GNEAttributeCarrier *AC) |
| delete given demand attribute carriers | |
| void | deleteDataAttributeCarrier (const GNEAttributeCarrier *AC) |
| delete data attribute carriers | |
| GNEEdge * | getEdgeAtPopupPosition () |
| try to retrieve an edge at popup position | |
| GNELane * | getLaneAtPopupPosition () |
| try to retrieve a lane at popup position | |
| GNEJunction * | getJunctionAtPopupPosition () |
| try to retrieve a junction at popup position | |
| GNEConnection * | getConnectionAtPopupPosition () |
| try to retrieve a connection at popup position | |
| GNECrossing * | getCrossingAtPopupPosition () |
| try to retrieve a crossing at popup position | |
| GNEWalkingArea * | getWalkingAreaAtPopupPosition () |
| try to retrieve a walkingArea at popup position | |
| GNEAdditional * | getAdditionalAtPopupPosition () |
| try to retrieve a additional at popup position | |
| GNEDemandElement * | getDemandElementAtPopupPosition () |
| try to retrieve a demand element at popup position | |
| GNEPoly * | getPolygonAtPopupPosition () |
| try to retrieve a polygon at popup position | |
| GNEPOI * | getPOIAtPopupPosition () |
| try to retrieve a POILane at popup position | |
| GNETAZ * | getTAZAtPopupPosition () |
| try to retrieve a TAZ at popup position | |
| GNENetworkElement * | getShapeEditedAtPopupPosition () |
| try to retreive a edited shape at popup position | |
| void | processClick (void *eventData) |
| Auxiliary function used by onLeftBtnPress(...). | |
| void | updateCursor () |
| update cursor after every click/key press/release | |
| int | drawGLElements (const Boundary &bound) |
| draw functions | |
| void | drawGrid () const |
| draw grid and update grid button | |
| void | drawTemporalDrawingShape () const |
| draw temporal polygon shape in Polygon Mode | |
| void | drawTemporalJunction () const |
| draw temporal junction in create edge mode | |
| void | drawTemporalSplitJunction () const |
| draw temporal split junction in create edge mode | |
| void | drawTemporalRoundabout () const |
| draw temporal roundabout | |
| void | drawTemporalE1TLSLines () const |
| draw temporal E1 TLS Lines | |
| void | drawTemporalJunctionTLSLines () const |
| draw temporal Junction TLS Lines | |
| void | drawNeteditAttributesReferences () |
| draw circle in testing mode (needed for grid) | |
| void | drawTestsCircle () const |
| draw circle in testing mode (needed for grid) | |
Definition at line 31 of file GNEViewNet.h.
| GNEViewNet::GNEViewNet | ( | FXComposite * | tmpParent, |
| FXComposite * | actualParent, | ||
| GUIMainWindow & | app, | ||
| GNEViewParent * | viewParent, | ||
| GNENet * | net, | ||
| GNEUndoList * | undoList, | ||
| FXGLVisual * | glVis, | ||
| FXGLCanvas * | share ) |
Definition at line 272 of file GNEViewNet.cpp.
References buildEditModeControls(), GUISUMOAbstractView::GUISUMOAbstractView(), GUISUMOAbstractView::myChanger, myCommonCheckableButtons, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myEditNetworkElementShapes, myIntervalBar, myLockManager, myMoveMultipleElements, myMoveSingleElement, myNet, myNetworkCheckableButtons, myNetworkViewOptions, mySaveElements, mySelectingArea, myTestingMode, myTimeFormat, myUndoList, myVehicleOptions, myVehicleTypeOptions, myViewObjectsSelector, myViewParent, GUISUMOAbstractView::myVisualizationSettings, and GUITextureSubSys::resetTextures().
Referenced by GNEViewNet(), GNEViewNetHelper, and operator=().
| GNEViewNet::~GNEViewNet | ( | ) |
destructor
Definition at line 325 of file GNEViewNet.cpp.
|
protected |
FOX needs this.
Definition at line 1230 of file GNEViewNet.cpp.
References myCommonCheckableButtons, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myEditNetworkElementShapes, myIntervalBar, myLockManager, myMoveMultipleElements, myMoveSingleElement, myNetworkCheckableButtons, myNetworkViewOptions, mySaveElements, mySelectingArea, myTestingMode, myTimeFormat, myVehicleOptions, myVehicleTypeOptions, and myViewObjectsSelector.
|
privatedelete |
Invalidated copy constructor.
References GNEViewNet().
| void GNEViewNet::abortOperation | ( | bool | clearSelection = true | ) |
abort current edition operation
Definition at line 1662 of file GNEViewNet.cpp.
References DATA_EDGERELDATA, DATA_SELECT, DATA_TAZRELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_VEHICLE, myEditModes, myEditNetworkElementShapes, mySelectingArea, myUndoList, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, and updateViewNet().
Referenced by GNEViewNetHelper.
|
inherited |
Adds an object to call its additional visualisation method.
| [in] | which | The object to add |
Definition at line 1874 of file GUISUMOAbstractView.cpp.
References myAdditionallyDrawn.
Referenced by GUIVehicle::drawOutsideNetwork().
|
inherited |
add decals
Definition at line 236 of file GUISUMOAbstractView.cpp.
References myDecals.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
| bool GNEViewNet::addRestrictedLane | ( | GNELane * | lane, |
| SUMOVehicleClass | vclass, | ||
| const bool | insertAtFront ) |
add restricted lane
Definition at line 1079 of file GNEViewNet.cpp.
References GNEDialog::ACCEPT, GNEHierarchicalElement::getChildLanes(), GNELane::getIndex(), GNELane::getParentEdge(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, myViewParent, SVC_IGNORING, SVC_PEDESTRIAN, TL, TLF, toString(), and GNEDialog::YES_NO.
Referenced by GNECreateEdgeFrame::addBikelane(), GNECreateEdgeFrame::addSidewalk(), GNEViewNetHelper, and onCmdLaneOperation().
|
inherited |
Sets the snapshot time to file map.
| [in] | snaps | The snapshots to take at certain times |
| [in] | w | The snapshot image width |
| [in] | w | The snapshot image height |
Definition at line 1364 of file GUISUMOAbstractView.cpp.
References mySnapshots, and mySnapshotsMutex.
Referenced by GUIViewTraffic::checkSnapshots(), and GUISettingsHandler::setSnapshots().
| bool GNEViewNet::aksChangeSupermode | ( | const std::string & | operation, |
| Supermode | expectedSupermode ) |
ask about change supermode
Definition at line 953 of file GNEViewNet.cpp.
References GNEDialog::ACCEPT, DATA, DEMAND, OptionsCont::getOptions(), myEditModes, myViewParent, NETWORK, TL, TLF, and GNEDialog::YES_NO.
Referenced by GNEViewNetHelper.
|
protectedinherited |
applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections)
Definition at line 1912 of file GUISUMOAbstractView.cpp.
References Boundary::add(), DEG2RAD, Boundary::getCenter(), Boundary::getHeight(), Boundary::getWidth(), GLO_MAX, myChanger, myVisualizationSettings, Position::rotateAround2D(), Position::x(), Boundary::xmax(), Boundary::xmin(), Position::y(), Boundary::ymax(), and Boundary::ymin().
Referenced by getObjectsInBoundary(), makeSnapshot(), and paintGL().
| bool GNEViewNet::askMergeJunctions | ( | const GNEJunction * | movedJunction, |
| const GNEJunction * | targetJunction, | ||
| bool & | alreadyAsked ) |
ask merge junctions
Definition at line 927 of file GNEViewNet.cpp.
References GNEDialog::ACCEPT, GUIGlObject::getMicrosimID(), myNetworkViewOptions, myViewParent, TL, TLF, and GNEDialog::YES_NO.
Referenced by GNEViewNetHelper.
| bool GNEViewNet::autoSelectNodes | ( | ) |
whether to autoselect nodes or to lanes
Definition at line 898 of file GNEViewNet.cpp.
References GLO_JUNCTION, myLockManager, and myNetworkViewOptions.
Referenced by GNEViewNetHelper.
|
overridevirtual |
recalibrate color scheme according to the current value range
Reimplemented from GUISUMOAbstractView.
Definition at line 818 of file GNEViewNet.cpp.
References GUIPropertyScheme< T >::addColor(), GUISUMOAbstractView::buildMinMaxRainbow(), GUIPropertyScheme< T >::clear(), RGBColor::fromHSV(), GUIPropertyScheme< T >::getName(), GLO_JUNCTION, GLO_LANE, GLO_TAZRELDATA, GLO_VEHICLE, invalid_return< std::string >::value, GUIPropertyScheme< T >::isFixed(), MAX2(), MIN2(), GUIVisualizationSettings::MISSING_DATA, myNet, GUIVisualizationSettings::SCHEME_NAME_PERMISSION_CODE, and SUMO_TAG_TAZREL.
Referenced by GNEViewNetHelper.
|
private |
create edit mode buttons and elements
Definition at line 4751 of file GNEViewNet.cpp.
References GUIDesignVerticalSeparator, myCommonCheckableButtons, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkCheckableButtons, myNetworkViewOptions, mySaveElements, myTimeFormat, and myViewParent.
Referenced by GNEViewNet().
|
protectedinherited |
helper function for buildColorRainbow
Definition at line 1964 of file GUISUMOAbstractView.cpp.
References GUIPropertyScheme< T >::addColor(), GUIPropertyScheme< T >::clear(), GUIVisualizationSettings::COL_MISSING_DATA, GUIVisualizationRainbowSettings::colors, GUIVisualizationRainbowSettings::fixRange, GUIPropertyScheme< T >::getName(), GUIVisualizationRainbowSettings::hideMax, GUIVisualizationRainbowSettings::hideMin, MAX2(), GUIVisualizationRainbowSettings::maxThreshold, MIN2(), GUIVisualizationRainbowSettings::minThreshold, GUIVisualizationSettings::MISSING_DATA, GUIVisualizationRainbowSettings::neutralThreshold, GUIVisualizationSettings::SCHEME_NAME_DATA_ATTRIBUTE_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_LANE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_PARAM_NUMERICAL, and GUIVisualizationRainbowSettings::setNeutral.
Referenced by GNEViewNet::buildColorRainbow(), and GUIViewTraffic::buildColorRainbow().
|
overridevirtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 373 of file GNEViewNet.cpp.
References MFXComboBoxIcon::appendIconItem(), GUIGlChildWindow::getColoringSchemesCombo(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getLocatorPopup(), MFXComboBoxIcon::getNumItems(), gSchemeStorage, GUIDesignButtonPopup, LOCATEADD, LOCATECONTAINER, LOCATEEDGE, LOCATEJUNCTION, LOCATEPERSON, LOCATEPOI, LOCATEPOLY, LOCATEROUTE, LOCATESTOP, LOCATETLS, LOCATEVEHICLE, LOCATEWALKINGAREA, MID_HOTKEY_SHIFT_A_LOCATEADDITIONAL, MID_HOTKEY_SHIFT_C_LOCATECONTAINER, MID_HOTKEY_SHIFT_E_LOCATEEDGE, MID_HOTKEY_SHIFT_J_LOCATEJUNCTION, MID_HOTKEY_SHIFT_L_LOCATEPOLY, MID_HOTKEY_SHIFT_O_LOCATEPOI, MID_HOTKEY_SHIFT_P_LOCATEPERSON, MID_HOTKEY_SHIFT_R_LOCATEROUTE, MID_HOTKEY_SHIFT_S_LOCATESTOP, MID_HOTKEY_SHIFT_T_LOCATETLS, MID_HOTKEY_SHIFT_V_LOCATEVEHICLE, MID_HOTKEY_SHIFT_W_LOCATEWALKINGAREA, myViewParent, GUISUMOAbstractView::myVisualizationSettings, MFXComboBoxIcon::setCurrentItem(), and TL.
Referenced by GNEViewNetHelper.
|
inherited |
centers to the chosen artifact
Definition at line 975 of file GUISUMOAbstractView.cpp.
References myChanger.
|
virtualinherited |
centers to the chosen position
| [in] | pos | Position to center view |
| [in] | applyZoom | Whether to zoom in |
| [in] | zoomDist | The distance in m to use for the zoom, values < 0 means: use the centeringBoundary |
Definition at line 967 of file GUISUMOAbstractView.cpp.
References myChanger, and updatePositionInformationLabel().
|
virtualinherited |
centers to the chosen artifact
| [in] | id | The id of the artifact to center to |
| [in] | applyZoom | Whether to zoom in |
| [in] | zoomDist | The distance in m to use for the zoom, values < 0 means: use the centeringBoundary |
Reimplemented in GUIViewTraffic.
Definition at line 947 of file GUISUMOAbstractView.cpp.
References GUIGlObject::getCenteringBoundary(), GUIGlObjectStorage::gIDStorage, Position::INVALID, myChanger, and updatePositionInformationLabel().
Referenced by GUIViewTraffic::centerTo(), and paintGL().
| bool GNEViewNet::changeAllPhases | ( | ) | const |
change all phases
Definition at line 914 of file GNEViewNet.cpp.
References myNetworkViewOptions.
Referenced by GNEViewNetHelper.
|
inlinevirtualinherited |
Change the color of the JuPedSim pedestrian network.
| s | The visualization settings |
Reimplemented in GUIViewTraffic.
Definition at line 473 of file GUISUMOAbstractView.h.
|
protectedinherited |
check whether we can read image data or position with gdal
Definition at line 1720 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::Decal::centerX, GUISUMOAbstractView::Decal::centerY, GUISUMOAbstractView::Decal::filename, GeoConvHelper::getFinal(), getGridHeight(), getGridWidth(), GeoConvHelper::getOffset(), GUIDesignTextColorBlack, GUISUMOAbstractView::Decal::height, TL, GUISUMOAbstractView::Decal::width, WRITE_WARNINGF, Position::x(), and Position::y().
Referenced by drawDecals().
| bool GNEViewNet::checkOverLockedElement | ( | const GUIGlObject * | GLObject, |
| const bool | isSelected ) const |
check if given element is locked (used for drawing select and delete contour)
Definition at line 1985 of file GNEViewNet.cpp.
References GUIGlObject::getType(), myLockManager, and myViewObjectsSelector.
Referenced by GNEViewNetHelper.
| bool GNEViewNet::checkSelectEdges | ( | ) | const |
check if select edges (toggle using button or shift)
Definition at line 1325 of file GNEViewNet.cpp.
References myMouseButtonKeyPressed, and myNetworkViewOptions.
Referenced by GNEViewNetHelper, onCmdSelectPolygonElements(), processLeftButtonPressNetwork(), and updateCursor().
|
virtualinherited |
Checks whether it is time for a snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 1530 of file GUISUMOAbstractView.cpp.
References DELTA_T, getCurrentTimeStep(), joinToString(), makeSnapshot(), mySnapshotCondition, mySnapshots, mySnapshotsMutex, toString(), and WRITE_WARNING.
Referenced by GUIViewTraffic::checkSnapshots(), and onConfigure().
|
virtualinherited |
copy the viewport to the given view
Definition at line 1626 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView(), myChanger, and setViewportFromToRot().
Referenced by GUIApplicationWindow::openNewView().
|
private |
delete data attribute carriers
Definition at line 5380 of file GNEViewNet.cpp.
References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), myNet, myUndoList, SUMO_TAG_DATAINTERVAL, and SUMO_TAG_DATASET.
Referenced by hotkeyDel().
|
private |
delete given demand attribute carriers
Definition at line 5369 of file GNEViewNet.cpp.
References GNEAttributeCarrier::getGUIGlObject(), myNet, and myUndoList.
Referenced by hotkeyDel().
|
private |
delete given network attribute carriers
Definition at line 5314 of file GNEViewNet.cpp.
References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isAdditionalElement(), myNet, myUndoList, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_TAZSINK, and SUMO_TAG_TAZSOURCE.
Referenced by hotkeyDel().
|
inherited |
destroys the popup
Definition at line 1053 of file GUISUMOAbstractView.cpp.
References myCurrentObjectsDialog, myPopup, and myPopupPosition.
Referenced by GNEViewNet::onCmdAddJoinTLS(), GNEViewNet::onCmdAddTLS(), GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdConvertRoundabout(), GNEViewNet::onCmdEditConnectionShape(), GNEViewNet::onCmdEditCrossingShape(), GNEViewNet::onCmdEditJunctionShape(), GNEViewNet::onCmdEditLaneShape(), GNEViewNet::onCmdEditWalkingAreaShape(), GNEViewNet::onCmdReplaceJunction(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetEdgeEndPoints(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdSelectRoundabout(), GNEViewNet::onCmdSmoothConnectionShape(), GNEViewNet::onCmdSplitJunction(), GNEViewNet::onCmdSplitJunctionReconnect(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), GNEViewNet::openDeleteDialogAtCursor(), GNEViewNet::openSelectDialogAtCursor(), and GNEViewNet::processClick().
|
protectedinherited |
Draws a legend for the given scheme.
Definition at line 732 of file GUISUMOAbstractView.cpp.
References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, FONS_ALIGN_RIGHT, GUIPropertyScheme< T >::getColors(), GUIPropertyScheme< T >::getName(), GUIPropertyScheme< T >::getNames(), GUIPropertyScheme< T >::getThresholds(), RGBColor::interpolate(), GUIPropertyScheme< T >::isFixed(), GUIVisualizationSettings::MISSING_DATA, GLHelper::popMatrix(), GLHelper::pushMatrix(), GUIVisualizationSettings::SCHEME_NAME_DATA_ATTRIBUTE_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_LANE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_PARAM_NUMERICAL, GLHelper::setColor(), StringUtils::startsWith(), toString(), and RGBColor::WHITE.
Referenced by displayLegends().
|
protectedinherited |
Draws a line with ticks, and the length information.
Definition at line 640 of file GUISUMOAbstractView.cpp.
References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, m2p(), GLHelper::popMatrix(), and GLHelper::pushMatrix().
Referenced by displayLegends().
|
protectedinherited |
Draws the configured legends.
Definition at line 706 of file GUISUMOAbstractView.cpp.
References displayColorLegend(), displayLegend(), myVisualizationSettings, GUIVisualizationSettings::SCHEME_NAME_EDGE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_LANE_PARAM_NUMERICAL, and GUIVisualizationSettings::SCHEME_NAME_PARAM_NUMERICAL.
Referenced by makeSnapshot(), and paintGL().
|
overrideprotectedvirtual |
called after some features are already initialized
Reimplemented from GUISUMOAbstractView.
Definition at line 359 of file GNEViewNet.cpp.
Referenced by GNEViewNetHelper.
|
overrideprotectedvirtual |
do paintGL
Reimplemented from GUISUMOAbstractView.
Definition at line 1342 of file GNEViewNet.cpp.
References GUISUMOAbstractView::drawDecals(), drawGLElements(), drawGrid(), drawNeteditAttributesReferences(), drawTemporalDrawingShape(), drawTemporalE1TLSLines(), drawTemporalJunction(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), drawTemporalSplitJunction(), drawTestsCircle(), OptionsCont::getBool(), OptionsCont::getOptions(), GUISUMOAbstractView::myApp, myDemandViewOptions, myEditModes, myIntervalBar, myNet, myNetworkViewOptions, mySelectingArea, myTestingMode, myViewObjectsSelector, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), redrawPathElementContours(), SUMO_TAG_ROUTE_DISTRIBUTION, and updateObjectsInPosition().
Referenced by GNEViewNetHelper.
|
protectedinherited |
Draws the stored decals.
Definition at line 1800 of file GUISUMOAbstractView.cpp.
References GUITexturesHelper::add(), checkGDALImage(), GUITexturesHelper::drawTexturedBox(), GUITexturesHelper::getMaxTextureSize(), MFXImageHelper::loadImage(), myDecals, myDecalsLockMutex, p2m(), GLHelper::popMatrix(), GLHelper::popName(), GLHelper::pushMatrix(), GLHelper::pushName(), MFXImageHelper::scalePower2(), screenPos2NetPos(), WRITE_ERROR, Position::x(), and Position::y().
Referenced by GNEViewNet::doPaintGL(), GUIViewTraffic::doPaintGL(), and makeSnapshot().
|
protectedinherited |
Draws frames-per-second indicator.
Definition at line 906 of file GUISUMOAbstractView.cpp.
References GLHelper::drawText(), FONS_ALIGN_LEFT, getFPS(), GLHelper::getMatrixCounter(), GLHelper::getVertexCounter(), GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::RED, and toString().
Referenced by paintGL().
|
private |
draw functions
draw all gl elements of netedit
Definition at line 3528 of file GNEViewNet.cpp.
References GUISUMOAbstractView::m2p(), myDrawingToggle, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myVisualizationSettings, SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by doPaintGL(), updateObjectsInPosition(), and updateObjectsInShape().
|
private |
draw grid and update grid button
Definition at line 3552 of file GNEViewNet.cpp.
References myDemandViewOptions, myEditModes, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, and GUISUMOAbstractView::paintGLGrid().
Referenced by doPaintGL().
|
private |
draw circle in testing mode (needed for grid)
Definition at line 5704 of file GNEViewNet.cpp.
References myEditModes, and NETWORK_ADDITIONAL.
Referenced by doPaintGL().
|
inlinevirtualinherited |
Draw (or not) the JuPedSim pedestrian network.
| s | The visualization settings |
Reimplemented in GUIViewTraffic.
Definition at line 469 of file GUISUMOAbstractView.h.
|
private |
draw temporal polygon shape in Polygon Mode
Definition at line 5473 of file GNEViewNet.cpp.
References RGBColor::BLUE, GLHelper::drawLine(), GUISUMOAbstractView::getPositionInformation(), GLO_TEMPORALSHAPE, RGBColor::GREEN, myViewParent, GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::RED, GLHelper::setColor(), and GUISUMOAbstractView::snapToActiveGrid().
Referenced by doPaintGL().
|
private |
draw temporal E1 TLS Lines
Definition at line 5646 of file GNEViewNet.cpp.
References GUIGeometry::drawChildLine(), E1, GLO_TEMPORALSHAPE, myNet, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), selectingDetectorsTLSMode(), and SUMO_TAG_INDUCTION_LOOP.
Referenced by doPaintGL().
|
private |
draw temporal junction in create edge mode
Definition at line 5510 of file GNEViewNet.cpp.
References RGBColor::BLACK, Position::distanceSquaredTo(), GUIGeometry::drawGeometry(), GLHelper::drawOutlineCircle(), GUISUMOAbstractView::getPositionInformation(), GLO_TEMPORALSHAPE, GUIVisualizationSettings::Level0, PositionVector::move2side(), myEditModes, myMouseButtonKeyPressed, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::myVisualizationSettings, NETWORK_CREATE_EDGE, GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::setAlpha(), GLHelper::setColor(), GUISUMOAbstractView::snapToActiveGrid(), GUIGeometry::updateGeometry(), Position::x(), and Position::y().
Referenced by doPaintGL().
|
private |
draw temporal Junction TLS Lines
Definition at line 5676 of file GNEViewNet.cpp.
References GUIGeometry::drawChildLine(), GLO_TEMPORALSHAPE, myNet, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), and selectingJunctionsTLSMode().
Referenced by doPaintGL().
|
private |
draw temporal roundabout
Definition at line 5619 of file GNEViewNet.cpp.
References GLHelper::drawOutlineCircle(), GLO_JUNCTION, GLO_TEMPORALSHAPE, RGBColor::GREEN, GUISUMOAbstractView::myCurrentObjectsDialog, myDrawPreviewRoundabout, myNet, GLHelper::popMatrix(), GLHelper::pushMatrix(), and GLHelper::setColor().
Referenced by doPaintGL().
|
private |
draw temporal split junction in create edge mode
Definition at line 5577 of file GNEViewNet.cpp.
References GLHelper::drawFilledCircle(), GLHelper::drawOutlineCircle(), GUISUMOAbstractView::getPositionInformation(), GLO_TEMPORALSHAPE, gViewObjectsHandler, myEditModes, myMouseButtonKeyPressed, GUISUMOAbstractView::myVisualizationSettings, NETWORK_CREATE_EDGE, GLHelper::popMatrix(), GLHelper::pushMatrix(), GLHelper::setColor(), and GUISUMOAbstractView::snapToActiveGrid().
Referenced by doPaintGL().
|
private |
draw circle in testing mode (needed for grid)
Definition at line 5804 of file GNEViewNet.cpp.
References GLHelper::drawFilledCircle(), OptionsCont::getOptions(), GUISUMOAbstractView::getPositionInformation(), GLO_TESTELEMENT, GUISUMOAbstractView::myVisualizationSettings, RGBColor::ORANGE, GLHelper::popMatrix(), GLHelper::pushMatrix(), GLHelper::setColor(), GUISUMOAbstractView::snapToActiveGrid(), Position::x(), and Position::y().
Referenced by doPaintGL().
|
inherited |
edit visualization settings (allow modify VisualizationSetings, use carefully)
Definition at line 1647 of file GUISUMOAbstractView.cpp.
References myVisualizationSettings.
Referenced by GUILane::getParameterWindow(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), and GUIApplicationWindow::onCmdToggleSecondaryShape().
|
inlinevirtualinherited |
Ends a video snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 230 of file GUISUMOAbstractView.h.
|
inherited |
filter out duplicate and forbidden objects
Definition at line 1253 of file GUISUMOAbstractView.cpp.
References GUIGlObject::INVALID_PRIORITY.
Referenced by openObjectDialogAtCursor().
|
protectedinherited |
filter internal lanes in Objects under cursor
Definition at line 558 of file GUISUMOAbstractView.cpp.
References GLO_LANE, and myVisualizationSettings.
| void GNEViewNet::forceSupemodeNetwork | ( | ) |
force supermode network(used after load/create new network)
Definition at line 451 of file GNEViewNet.cpp.
References myEditModes, and NETWORK.
Referenced by GNEViewNetHelper, and viewUpdated().
|
private |
try to retrieve a additional at popup position
Definition at line 2111 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdOpenAdditionalDialog().
|
inherited |
get changer
Definition at line 182 of file GUISUMOAbstractView.cpp.
References myChanger.
Referenced by GUISettingsHandler::applyViewport(), and GUIApplicationWindow::onCmdOpenInNetedit().
|
inherited |
get coloring schemes combo
Definition at line 1714 of file GUISUMOAbstractView.cpp.
References myGlChildWindowParent.
Referenced by GUISettingsHandler::addSettings(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
private |
try to retrieve a connection at popup position
Definition at line 2036 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdEditConnectionShape(), and onCmdSmoothConnectionShape().
|
private |
try to retrieve a crossing at popup position
Definition at line 2051 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdEditCrossingShape().
|
virtualinherited |
get the current simulation time
Reimplemented in GUIViewTraffic.
Definition at line 1572 of file GUISUMOAbstractView.cpp.
Referenced by checkSnapshots().
| const GNEViewNetHelper::DataViewOptions & GNEViewNet::getDataViewOptions | ( | ) | const |
get data view options
Definition at line 800 of file GNEViewNet.cpp.
References myDataViewOptions.
Referenced by GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
|
inherited |
The list of decals to show.
Definition at line 1702 of file GUISUMOAbstractView.cpp.
References myDecals.
|
inherited |
The mutex to use before accessing the decals list in order to avoid thread conflicts.
Definition at line 1708 of file GUISUMOAbstractView.cpp.
References myDecalsLockMutex.
|
inherited |
Returns the delay of the parent application.
Definition at line 1946 of file GUISUMOAbstractView.cpp.
References myApp.
|
private |
try to retrieve a demand element at popup position
Definition at line 2126 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdAddReverse(), and onCmdReverse().
| const GNEViewNetHelper::DemandViewOptions & GNEViewNet::getDemandViewOptions | ( | ) | const |
get demand view options
Definition at line 794 of file GNEViewNet.cpp.
References myDemandViewOptions.
Referenced by GNEPathManager::drawLanePathElements(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| int GNEViewNet::getDrawingToggle | ( | ) | const |
get draw toggle (used to avoid drawing junctions twice)
Definition at line 1336 of file GNEViewNet.cpp.
References myDrawingToggle.
Referenced by GNEViewNetHelper.
|
private |
try to retrieve an edge at popup position
Definition at line 2081 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdEdgeUseAsTemplate(), onCmdEditEdgeEndpoint(), onCmdEgeApplyTemplate(), onCmdResetEdgeEndpoint(), onCmdResetLength(), onCmdReverseEdge(), onCmdSetCustomGeometryPoint(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), and onCmdStraightenEdgesElevation().
|
overridevirtual |
return list of loaded edgeData attributes
Reimplemented from GUISUMOAbstractView.
Definition at line 1290 of file GNEViewNet.cpp.
References GNE_TAG_EDGEREL_SINGLE, and myNet.
Referenced by GNEViewNetHelper.
|
overridevirtual |
return list of available edge parameters
Reimplemented from GUISUMOAbstractView.
Definition at line 1258 of file GNEViewNet.cpp.
References myNet.
Referenced by GNEViewNetHelper.
| const GNEViewNetHelper::EditModes & GNEViewNet::getEditModes | ( | ) | const |
get edit modes
Definition at line 776 of file GNEViewNet.cpp.
References myEditModes.
Referenced by GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEViewNetHelper.
| const GNEViewNetHelper::EditNetworkElementShapes & GNEViewNet::getEditNetworkElementShapes | ( | ) | const |
get Edit Shape module
Definition at line 812 of file GNEViewNet.cpp.
References myEditNetworkElementShapes.
Referenced by GNEViewNetHelper.
|
inherited |
retrieve FPS
Definition at line 894 of file GUISUMOAbstractView.cpp.
References MAX2(), and myFrameDrawTime.
Referenced by drawFPS(), and GUINet::getParameterWindow().
|
inherited |
get grid height
Definition at line 1671 of file GUISUMOAbstractView.cpp.
References myGrid.
Referenced by checkGDALImage().
|
inherited |
get grid width
Definition at line 1665 of file GUISUMOAbstractView.cpp.
References myGrid.
Referenced by checkGDALImage().
|
inherited |
get GUIGlChildWindow
Definition at line 900 of file GUISUMOAbstractView.cpp.
References myGlChildWindowParent.
|
protectedinherited |
returns the GUIGlObjects at position within the given (rectangular) radius using GL_SELECT
Definition at line 488 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), getObjectsInBoundary(), GUIGlObjectStorage::gIDStorage, and Boundary::grow().
Referenced by getGUIGlObjectsUnderCursor(), getGUIGlObjectsUnderSnappedCursor(), and GUIViewTraffic::onGamingClick().
|
protectedinherited |
returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects)
Definition at line 399 of file GUISUMOAbstractView.cpp.
References getGUIGlObjectsAtPosition(), getPositionInformation(), and SENSITIVITY.
Referenced by openObjectDialogAtCursor().
|
protectedinherited |
returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects)
Definition at line 405 of file GUISUMOAbstractView.cpp.
References getGUIGlObjectsAtPosition(), getPositionInformation(), SENSITIVITY, and snapToActiveGrid().
| GNEViewNetHelper::InspectedElements & GNEViewNet::getInspectedElements | ( | ) |
get inspected elements
Definition at line 1967 of file GNEViewNet.cpp.
References myInspectedElements.
Referenced by GNEViewNetHelper, GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), and GNERouteHandler::transformToVehicle().
| GNEViewNetHelper::IntervalBar & GNEViewNet::getIntervalBar | ( | ) |
get interval bar
Definition at line 1955 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by GNEViewNetHelper.
|
private |
try to retrieve a junction at popup position
Definition at line 2021 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdAddJoinTLS(), onCmdAddTLS(), onCmdClearConnections(), onCmdConvertRoundabout(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndPoints(), onCmdResetJunctionShape(), onCmdSelectRoundabout(), onCmdSplitJunction(), and onCmdSplitJunctionReconnect().
|
private |
try to retrieve a lane at popup position
Definition at line 2096 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdDuplicateLane(), onCmdEditLaneShape(), onCmdLaneOperation(), onCmdLaneReachability(), onCmdResetEndPoints(), onCmdResetLaneCustomShape(), and onCmdResetOppositeLane().
|
protectedvirtualinherited |
returns the GUILane at cursor position (implementation depends on view)
Reimplemented in GUIViewTraffic.
Definition at line 374 of file GUISUMOAbstractView.cpp.
| GNEDemandElement * GNEViewNet::getLastCreatedRoute | ( | ) | const |
get last created route
Definition at line 2009 of file GNEViewNet.cpp.
References myLastCreatedRoute.
Referenced by GNEViewNetHelper.
| GNEViewNetHelper::LockManager & GNEViewNet::getLockManager | ( | ) |
get lock manager
Definition at line 1961 of file GNEViewNet.cpp.
References myLockManager.
Referenced by GNEViewNetHelper.
|
inherited |
get main window
Definition at line 982 of file GUISUMOAbstractView.cpp.
References myApp.
Referenced by GUICursorDialog::buildDialogElements().
| GNEViewNetHelper::MarkFrontElements & GNEViewNet::getMarkFrontElements | ( | ) |
get marked for drawing front elements
Definition at line 1973 of file GNEViewNet.cpp.
References myMarkFrontElements.
Referenced by GNEViewNetHelper.
|
inlinevirtualinherited |
return list of available attributes for the given meanData id
Reimplemented in GUIViewTraffic.
Definition at line 279 of file GUISUMOAbstractView.h.
References UNUSED_PARAMETER.
|
inlinevirtualinherited |
return list of loaded edgeData ids (being computed in the current simulation)
Reimplemented in GUIViewTraffic.
Definition at line 274 of file GUISUMOAbstractView.h.
| const GNEViewNetHelper::MouseButtonKeyPressed & GNEViewNet::getMouseButtonKeyPressed | ( | ) | const |
get Key Pressed module
Definition at line 806 of file GNEViewNet.cpp.
References myMouseButtonKeyPressed.
Referenced by GNEViewNetHelper.
| const GNEViewNetHelper::MoveMultipleElementModul & GNEViewNet::getMoveMultipleElementValues | ( | ) | const |
get move multiple element values
Definition at line 612 of file GNEViewNet.cpp.
References myMoveMultipleElements.
Referenced by GNEViewNetHelper.
| const GNEViewNetHelper::MoveSingleElementModul & GNEViewNet::getMoveSingleElementValues | ( | ) | const |
get move single element values
Definition at line 606 of file GNEViewNet.cpp.
References myMoveSingleElement.
Referenced by GNEViewNetHelper.
| GNENet * GNEViewNet::getNet | ( | ) | const |
get the net object
Definition at line 1943 of file GNEViewNet.cpp.
References myNet.
Referenced by GNEAttributesEditorType::buildRows(), GNEContainerFrame::GNEContainerFrame(), GNEContainerPlanFrame::GNEContainerPlanFrame(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEGenericDataFrame::GNEGenericDataFrame(), GNEPersonFrame::GNEPersonFrame(), GNEPersonPlanFrame::GNEPersonPlanFrame(), GNERouteFrame::GNERouteFrame(), GNEVehicleFrame::GNEVehicleFrame(), GNEViewNetHelper, GNEViewParent::onCmdLocate(), onCmdToggleShowConnections(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), and GNERouteHandler::transformToRouteFlow().
| const GNEViewNetHelper::NetworkViewOptions & GNEViewNet::getNetworkViewOptions | ( | ) | const |
get network view options
Definition at line 788 of file GNEViewNet.cpp.
References myNetworkViewOptions.
Referenced by GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
|
protectedinherited |
returns the id of the object at position using GL_SELECT
Definition at line 411 of file GUISUMOAbstractView.cpp.
References Boundary::add(), Position::distanceTo2D(), GUIGlObject::getCenter(), GUIGlObject::getClickPriority(), GUIGlObject::getGlID(), getObjectsInBoundary(), GUIGlObjectStorage::gIDStorage, and Boundary::grow().
Referenced by getObjectUnderCursor().
|
protectedinherited |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT
Definition at line 453 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_NETWORK, and Boundary::grow().
Referenced by getObjectsUnderCursor().
|
protectedinherited |
returns the ids of all objects in the given boundary
Definition at line 518 of file GUISUMOAbstractView.cpp.
References applyGLTransform(), doPaintGL(), m2p(), myApp, myChanger, myVisualizationSettings, SUMO_const_laneWidth, and toString().
Referenced by getGUIGlObjectsAtPosition(), getObjectAtPosition(), getObjectsAtPosition(), GNEViewNet::onCmdAttachPOI(), and GNEViewNet::recalculateBoundaries().
|
protectedinherited |
returns the id of the objects under the cursor using GL_SELECT (including overlapped objects)
Definition at line 392 of file GUISUMOAbstractView.cpp.
References getObjectsAtPosition(), getPositionInformation(), and SENSITIVITY.
|
protectedinherited |
returns the id of the front object under the cursor using GL_SELECT
Definition at line 386 of file GUISUMOAbstractView.cpp.
References getObjectAtPosition(), and getPositionInformation().
Referenced by GUIViewTraffic::getLaneUnderCursor(), getToolTipID(), and onLeftBtnPress().
|
private |
try to retrieve a POILane at popup position
Definition at line 2156 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdAttachPOI(), onCmdReleasePOI(), onCmdTransformPOI(), and onCmdTransformPOIGEO().
|
overridevirtual |
return list of available POI parameters
Reimplemented from GUISUMOAbstractView.
Definition at line 1319 of file GNEViewNet.cpp.
References myNet.
Referenced by GNEViewNetHelper.
|
private |
try to retrieve a polygon at popup position
Definition at line 2141 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdClosePolygon(), onCmdDeleteGeometryPoint(), onCmdOpenPolygon(), onCmdSelectPolygonElements(), onCmdSetCustomGeometryPoint(), onCmdSetFirstGeometryPoint(), onCmdSimplifyShape(), and onCmdTriangulatePolygon().
|
inherited |
ge the current popup-menu
Definition at line 1041 of file GUISUMOAbstractView.cpp.
References myPopup.
|
inherited |
get position of current popup
Definition at line 1047 of file GUISUMOAbstractView.cpp.
References myPopupPosition.
Referenced by GNEViewNet::onCmdDeleteGeometryPoint(), GNEViewNet::onCmdEditEdgeEndpoint(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdSetFirstGeometryPoint(), GNEViewNet::onCmdSplitEdge(), and GNEViewNet::onCmdSplitEdgeBidi().
|
virtualinherited |
Returns the cursor's x/y position within the network.
Definition at line 196 of file GUISUMOAbstractView.cpp.
References myWindowCursorPositionX, myWindowCursorPositionY, and screenPos2NetPos().
Referenced by GNEMoveElement::calculateNewLaneChange(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEViewNet::drawTestsCircle(), getGUIGlObjectsUnderCursor(), getGUIGlObjectsUnderSnappedCursor(), getObjectsUnderCursor(), getObjectUnderCursor(), GNEViewNet::onCmdSetCustomGeometryPoint(), GUIViewTraffic::onGamingClick(), onLeftBtnRelease(), onMouseMove(), onRightBtnRelease(), GNEViewNet::openDeleteDialogAtCursor(), GNEViewNet::openObjectDialogAtCursor(), openPopupDialog(), GNEViewNet::openSelectDialogAtCursor(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), and updatePositionInformationLabel().
|
overridevirtual |
return list of loaded edgeRelation and tazRelation attributes
Reimplemented from GUISUMOAbstractView.
Definition at line 1302 of file GNEViewNet.cpp.
References myNet, SUMO_TAG_EDGEREL, and SUMO_TAG_TAZREL.
Referenced by GNEViewNetHelper.
| GNEViewNetHelper::SaveElements & GNEViewNet::getSaveElements | ( | ) |
get variable used to save elements
Definition at line 1000 of file GNEViewNet.cpp.
References mySaveElements.
Referenced by GNEViewNetHelper.
|
private |
try to retreive a edited shape at popup position
Definition at line 2186 of file GNEViewNet.cpp.
References GLO_CONNECTION, GLO_CROSSING, GLO_JUNCTION, gViewObjectsHandler, and myNet.
Referenced by onCmdCloseShapeEdited(), onCmdDeleteGeometryPointShapeEdited(), onCmdOpenShapeEdited(), onCmdResetShapeEdited(), onCmdSetFirstGeometryPointShapeEdited(), onCmdSimplifyShapeEdited(), and onCmdStraightenShapeEdited().
|
private |
try to retrieve a TAZ at popup position
Definition at line 2171 of file GNEViewNet.cpp.
References gViewObjectsHandler, myNet, and TAZ.
Referenced by onCmdSetCustomGeometryPoint().
| const GNEViewNetHelper::TestingMode & GNEViewNet::getTestingMode | ( | ) | const |
get testing mode
Definition at line 782 of file GNEViewNet.cpp.
References myTestingMode.
Referenced by GNEViewNetHelper.
| GNEViewNetHelper::TimeFormat & GNEViewNet::getTimeFormat | ( | ) |
get variable used to switch between time formats
Definition at line 1006 of file GNEViewNet.cpp.
References myTimeFormat.
Referenced by GNEViewNetHelper.
|
overrideprotectedvirtual |
returns the id of object under cursor to show their tooltip
Reimplemented from GUISUMOAbstractView.
Definition at line 363 of file GNEViewNet.cpp.
References myViewObjectsSelector.
Referenced by GNEViewNetHelper.
|
virtualinherited |
get tracked id
Reimplemented in GUIViewTraffic.
Definition at line 1687 of file GUISUMOAbstractView.cpp.
References GUIGlObject::INVALID_ID.
Referenced by paintGL().
| GNEUndoList * GNEViewNet::getUndoList | ( | ) | const |
get the undoList object
Definition at line 1949 of file GNEViewNet.cpp.
References myUndoList.
Referenced by GNERoute::copyRoute(), GNEVehicle::copyVehicle(), GNEViewNetHelper, GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEElementList::removeElementRecursively(), GNEElementList::removeElementRecursively(), GNERouteHandler::reverse(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), and GNERouteHandler::transformToVehicle().
|
inlinevirtualinherited |
return list of available vehicle parameters
Reimplemented in GUIViewTraffic.
Definition at line 295 of file GUISUMOAbstractView.h.
| const GNEViewNetHelper::ViewObjectsSelector & GNEViewNet::getViewObjectsSelector | ( | ) | const |
get objects under cursor
Definition at line 502 of file GNEViewNet.cpp.
References myViewObjectsSelector.
Referenced by GNEViewNetHelper.
| GNEViewParent * GNEViewNet::getViewParent | ( | ) | const |
get the net object
Definition at line 1937 of file GNEViewNet.cpp.
References myViewParent.
Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEChange_Attribute::changeAttribute(), GNEDeleteFrame::SubordinatedElements::checkElements(), GNETLSTable::Column::Column(), GNEMoveElement::commitMove(), GNEDistributionFrame::DistributionSelector::DistributionSelector(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEViewNetHelper, GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEElementTable::Row::Row(), GNEInternalTest::runNeteditInternalTests(), GNEProhibitionFrame::Selection::Selection(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETLSEditorFrame::TLSPrograms::TLSPrograms(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), and GNERouteHandler::transformToVehicle().
|
inherited |
get the viewport and create it on first access
Definition at line 1591 of file GUISUMOAbstractView.cpp.
References myGUIDialogEditViewport, TLC, and updateViewportValues().
Referenced by showViewportEditor().
|
inherited |
|
inherited |
get visualization settings (read only)
Definition at line 1641 of file GUISUMOAbstractView.cpp.
References myVisualizationSettings.
Referenced by GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), and GUIApplicationWindow::onCmdToggleSecondaryShape().
|
private |
try to retrieve a walkingArea at popup position
Definition at line 2066 of file GNEViewNet.cpp.
References gViewObjectsHandler, and myNet.
Referenced by onCmdEditWalkingAreaShape().
|
inherited |
return windows cursor position
Definition at line 988 of file GUISUMOAbstractView.cpp.
References myWindowCursorPositionX, and myWindowCursorPositionY.
Referenced by updatePositionInformationLabel().
| void GNEViewNet::hotkeyBackSpace | ( | ) |
handle backspace keypress
Definition at line 1898 of file GNEViewNet.cpp.
References DATA_EDGERELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, myEditModes, myViewParent, and NETWORK_ADDITIONAL.
Referenced by GNEViewNetHelper.
| void GNEViewNet::hotkeyDel | ( | ) |
handle del keypress
Definition at line 1758 of file GNEViewNet.cpp.
References deleteDataAttributeCarrier(), deleteDemandAttributeCarrier(), deleteNetworkAttributeCarrier(), DEMAND_INSPECT, MODEDELETE, myEditModes, myInspectedElements, myNet, myUndoList, NETWORK_CONNECT, NETWORK_INSPECT, NETWORK_TLS, setStatusBarText(), and TL.
Referenced by GNEViewNetHelper.
| void GNEViewNet::hotkeyEnter | ( | ) |
handle enter keypress
Definition at line 1827 of file GNEViewNet.cpp.
References DATA_EDGERELDATA, DATA_TAZRELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, myEditModes, myEditNetworkElementShapes, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, and NETWORK_WIRE.
Referenced by GNEViewNetHelper, and onCmdFinishShapeEdited().
| void GNEViewNet::hotkeyFocusFrame | ( | ) |
handle focus frame keypress
Definition at line 1926 of file GNEViewNet.cpp.
References myCurrentFrame.
Referenced by GNEViewNetHelper.
|
virtualinherited |
return whether this is a 3D view
Definition at line 284 of file GUISUMOAbstractView.cpp.
Referenced by GUISettingsHandler::applyViewport().
|
inherited |
Check if an object is added in the additional GL visualitation.
| [in] | which | The object to check |
Definition at line 1902 of file GUISUMOAbstractView.cpp.
References myAdditionallyDrawn.
| bool GNEViewNet::isCurrentlyMovingElements | ( | ) | const |
check if an element is being moved
Definition at line 1979 of file GNEViewNet.cpp.
References myMoveMultipleElements, and myMoveSingleElement.
Referenced by GNEViewNetHelper.
|
inherited |
returns true, if the edit button was pressed
Definition at line 176 of file GUISUMOAbstractView.cpp.
References myInEditMode.
|
inherited |
meter-to-pixels conversion method
Definition at line 929 of file GUISUMOAbstractView.cpp.
References myChanger.
Referenced by displayLegend(), GUIViewTraffic::doPaintGL(), GNEViewNet::drawGLElements(), getObjectsInBoundary(), and makeSnapshot().
|
inherited |
A reimplementation due to some internal reasons.
Definition at line 1001 of file GUISUMOAbstractView.cpp.
Referenced by GUIViewTraffic::getLaneUnderCursor(), makeSnapshot(), onConfigure(), GUIViewTraffic::onGamingClick(), onLeftBtnPress(), onPaint(), openObjectDialogAtCursor(), and GNEViewNet::recalculateBoundaries().
|
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.
| [in] | destFile | The name of the file to write the snapshot into |
| [in] | w | The snapshot image width |
| [in] | w | The snapshot image height |
Definition at line 1374 of file GUISUMOAbstractView.cpp.
References applyGLTransform(), displayLegends(), doPaintGL(), drawDecals(), FILE, m2p(), makeCurrent(), myChanger, myGrid, myVisualizationSettings, paintGLGrid(), GLHelper::pushMatrix(), saveFrame(), MFXImageHelper::saveImage(), GLHelper::setGL2PS(), MFXSingleEventThread::sleep(), SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by checkSnapshots().
| long GNEViewNet::onCmdAddEdgeSelected | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
select Edge under cursor
Definition at line 4718 of file GNEViewNet.cpp.
References myViewObjectsSelector.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdAddJoinTLS | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
add Join TLS
Definition at line 3848 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), GNEJunction::getAttribute(), NBNode::getControllingTLS(), GNEAttributeCarrier::getID(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODETLS, myEditModes, myNet, myUndoList, myViewParent, NETWORK_TLS, GNEJunction::setAttribute(), SUMO_ATTR_TLID, SUMO_ATTR_TYPE, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 356 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
| long GNEViewNet::onCmdAddReverse | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
add a reverse demand element
Definition at line 3117 of file GNEViewNet.cpp.
References GNERouteHandler::addReverse(), getDemandElementAtPopupPosition(), GNEAttributeCarrier::getTagStr(), myUndoList, and TLF.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdAddReversedEdge | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
add reversed edge
Definition at line 2472 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdAddReversedEdgeDisconnected | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
add reversed edge disconnected
Definition at line 2493 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdAddSelected | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
select AC under cursor
Definition at line 4696 of file GNEViewNet.cpp.
References myViewObjectsSelector.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdAddTLS | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
add TLS
Definition at line 3820 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODETLS, myEditModes, myNet, myUndoList, myViewParent, NETWORK_TLS, GNEJunction::setAttribute(), SUMO_ATTR_TYPE, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdAttachPOI | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
attach POI in lane
Definition at line 2988 of file GNEViewNet.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), Position::distanceTo(), GNEAttributeCarrier::getID(), GNELane::getLaneShape(), GUISUMOAbstractView::getObjectsInBoundary(), getPOIAtPopupPosition(), GNE_TAG_POILANE, myNet, myUndoList, myViewObjectsSelector, myViewParent, PositionVector::nearest_offset_to_point2D(), AdditionalHandler::parseSumoBaseObject(), PositionVector::positionAtOffset(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_TAG_POI, TL, toString(), and WRITE_WARNINGF.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdClearConnections | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
clear junction connections
Definition at line 3752 of file GNEViewNet.cpp.
References CONNECTION, GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myInspectedElements, myMarkFrontElements, myNet, myUndoList, myViewParent, SUMO_TAG_CONNECTION, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 350 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
interaction with the simulation
Reimplemented in GUIViewTraffic.
Definition at line 344 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
| long GNEViewNet::onCmdClosePolygon | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
close opened polygon
Definition at line 2730 of file GNEViewNet.cpp.
References GNEPoly::closePolygon(), getPolygonAtPopupPosition(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, SUMO_TAG_POLY, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdCloseShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
close opened shape edited
Definition at line 2901 of file GNEViewNet.cpp.
References GNENetworkElement::closeShapeEdited(), getShapeEditedAtPopupPosition(), myNet, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdConvertRoundabout | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
convert junction to roundabout
Definition at line 3723 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdDeleteGeometryPoint | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
delete the closes geometry point
Definition at line 2720 of file GNEViewNet.cpp.
References GNEPoly::deleteGeometryPoint(), getPolygonAtPopupPosition(), and GUISUMOAbstractView::getPopupPosition().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdDeleteGeometryPointShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
delete the closes geometry point in shape edited
Definition at line 2948 of file GNEViewNet.cpp.
References GNENetworkElement::deleteGeometryPointShapeEdited(), GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), getShapeEditedAtPopupPosition(), myNet, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdDuplicateLane | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
duplicate selected lane
Definition at line 3245 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEdgeUseAsTemplate | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
use edge as template
Definition at line 2654 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), and myViewParent.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEditConnectionShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
edit connection shape
Definition at line 3892 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), myEditNetworkElementShapes, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEditCrossingShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
edit crossing shape
Definition at line 3924 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getCrossingAtPopupPosition(), OptionsCont::getOptions(), GNEHierarchicalElement::getParentJunctions(), myEditNetworkElementShapes, myNet, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEditEdgeEndpoint | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change geometry endpoint
Definition at line 2514 of file GNEViewNet.cpp.
References GNEEdge::editEndpoint(), getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEditJunctionShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
edit junction shape
Definition at line 3623 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getShape(), myEditNetworkElementShapes, myNet, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEditLaneShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
edit lane shape
Definition at line 3268 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getLaneAtPopupPosition(), and myEditNetworkElementShapes.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEditWalkingAreaShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
edit walkingArea shape
Definition at line 3948 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), OptionsCont::getOptions(), GNEHierarchicalElement::getParentJunctions(), getWalkingAreaAtPopupPosition(), myEditNetworkElementShapes, myNet, GUISUMOAbstractView::myVisualizationSettings, TL, and WRITE_WARNING.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdEgeApplyTemplate | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
apply template to edge
Definition at line 2664 of file GNEViewNet.cpp.
References GNEEdge::copyTemplate(), getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, myViewParent, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdFinishShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
finish shape edited
Definition at line 2980 of file GNEViewNet.cpp.
References hotkeyEnter().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdIntervalBarDataSet | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change data set in interval bar
Definition at line 4661 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdIntervalBarGenericDataType | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change generic data type in interval bar
Definition at line 4654 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdIntervalBarLimit | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change limit interval in interval bar
Definition at line 4668 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdIntervalBarSetBegin | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change begin in interval bar
Definition at line 4675 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdIntervalBarSetEnd | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change end in interval bar
Definition at line 4682 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdIntervalBarSetParameter | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change parameter in interval bar
Definition at line 4689 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdLaneOperation | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
add/remove/restrict lane
Definition at line 3328 of file GNEViewNet.cpp.
References addRestrictedLane(), getLaneAtPopupPosition(), MID_GNE_LANE_ADD_BIKE, MID_GNE_LANE_ADD_BUS, MID_GNE_LANE_ADD_GREENVERGE_BACK, MID_GNE_LANE_ADD_GREENVERGE_FRONT, MID_GNE_LANE_ADD_SIDEWALK, MID_GNE_LANE_REMOVE_BIKE, MID_GNE_LANE_REMOVE_BUS, MID_GNE_LANE_REMOVE_GREENVERGE, MID_GNE_LANE_REMOVE_SIDEWALK, MID_GNE_LANE_TRANSFORM_BIKE, MID_GNE_LANE_TRANSFORM_BUS, MID_GNE_LANE_TRANSFORM_GREENVERGE, MID_GNE_LANE_TRANSFORM_SIDEWALK, removeRestrictedLane(), restrictLane(), SVC_BICYCLE, SVC_BUS, SVC_IGNORING, and SVC_PEDESTRIAN.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdLaneReachability | ( | FXObject * | menu, |
| FXSelector | sel, | ||
| void * | ) |
show lane reachability
Definition at line 3369 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNELane::getParentEdge(), GNE_ATTR_SELECTED, myNet, myUndoList, SumoVehicleClassStrings, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdOpenAdditionalDialog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
open additional dialog
Definition at line 3392 of file GNEViewNet.cpp.
References getAdditionalAtPopupPosition(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::hasDialog(), and GNEAdditional::openAdditionalDialog().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdOpenPolygon | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
open closed polygon
Definition at line 2762 of file GNEViewNet.cpp.
References getPolygonAtPopupPosition(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::openPolygon(), SUMO_TAG_POLY, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdOpenShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
open closed shape edited
Definition at line 2916 of file GNEViewNet.cpp.
References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::openShapeEdited(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdReleasePOI | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
release POI from lane
Definition at line 3032 of file GNEViewNet.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), getPOIAtPopupPosition(), GNE_TAG_POILANE, myNet, myUndoList, myViewParent, AdditionalHandler::parseSumoBaseObject(), SUMO_ATTR_X, SUMO_ATTR_Y, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdRemoveEdgeSelected | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
unselect Edge under cursor
Definition at line 4729 of file GNEViewNet.cpp.
References myViewObjectsSelector.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdRemoveSelected | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
unselect AC under cursor
Definition at line 4707 of file GNEViewNet.cpp.
References myViewObjectsSelector.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdReplaceJunction | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
replace node by geometry
Definition at line 3673 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetConnections | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reset junction connections
Definition at line 3786 of file GNEViewNet.cpp.
References CONNECTION, GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myInspectedElements, myMarkFrontElements, myNet, myUndoList, myViewParent, SUMO_TAG_CONNECTION, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetEdgeEndpoint | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
change geometry endpoint
Definition at line 2525 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::resetEndpoint(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetEdgeEndPoints | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
edit junction shape
Definition at line 3585 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), EDGE, GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), getJunctionAtPopupPosition(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetEndPoints | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reset edge end points
Definition at line 3209 of file GNEViewNet.cpp.
References GNEAttributeCarrier::getID(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetJunctionShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reset junction shape
Definition at line 3647 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEJunction::setAttribute(), SUMO_ATTR_SHAPE, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetLaneCustomShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reset custom shapes of selected lanes
Definition at line 3282 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNELane::setAttribute(), SUMO_ATTR_CUSTOMSHAPE, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetLength | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reset custom edge lengths
Definition at line 2635 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), SUMO_ATTR_LENGTH, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetOppositeLane | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reset oppositeLane of current lane
Definition at line 3305 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNE_ATTR_OPPOSITE, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNELane::setAttribute(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdResetShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reset shape edited
Definition at line 2965 of file GNEViewNet.cpp.
References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::resetShapeEdited(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdReverse | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reverse current demand element
Definition at line 3103 of file GNEViewNet.cpp.
References getDemandElementAtPopupPosition(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), myUndoList, GNERouteHandler::reverse(), and TLF.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdReverseEdge | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
reverse edge
Definition at line 2451 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSelectPolygonElements | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
select elements within polygon boundary
Definition at line 2794 of file GNEViewNet.cpp.
References checkSelectEdges(), getPolygonAtPopupPosition(), SUMOPolygon::getShape(), GNE_ATTR_SELECTED, MODESELECT, myNet, myUndoList, myViewObjectsSelector, SUMO_TAG_EDGE, SUMO_TAG_LANE, TL, and updateObjectsInShape().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSelectRoundabout | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
select all roundabout nodes and edges
Definition at line 3711 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSetCustomGeometryPoint | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set custom geometry point
Definition at line 3131 of file GNEViewNet.cpp.
References GNEDialog::ACCEPT, GNEChange_Attribute::changeAttribute(), getEdgeAtPopupPosition(), NBEdge::getGeometry(), GNEEdge::getNBEdge(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPositionInformation(), SUMOPolygon::getShape(), getTAZAtPopupPosition(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::indexOfClosest(), myUndoList, myViewParent, SUMO_ATTR_SHAPE, TAZ, TL, and toString().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSetFirstGeometryPoint | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set as first geometry point the closes geometry point
Definition at line 2860 of file GNEViewNet.cpp.
References GNEPoly::changeFirstGeometryPoint(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), and GNEPoly::getVertexIndex().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSetFirstGeometryPointShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
set first geometry point in shape edited
Definition at line 2931 of file GNEViewNet.cpp.
References GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::setFirstGeometryPointShapeEdited(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSetMode | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
called when user press a mode button (Network or demand)
Definition at line 2239 of file GNEViewNet.cpp.
References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_MEANDATA, DATA_SELECT, DATA_TAZRELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_ROUTEDISTRIBUTION, DEMAND_SELECT, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, MID_HOTKEY_A_MODE_STARTSIMULATION_ADDITIONALS_STOPS, MID_HOTKEY_C_MODE_CONNECT_CONTAINER, MID_HOTKEY_D_MODE_SINGLESIMULATIONSTEP_DELETE, MID_HOTKEY_E_MODE_EDGE_EDGEDATA, MID_HOTKEY_H_MODE_PROHIBITION_CONTAINERPLAN, MID_HOTKEY_I_MODE_INSPECT, MID_HOTKEY_L_MODE_PERSONPLAN, MID_HOTKEY_M_MODE_MOVE_MEANDATA, MID_HOTKEY_P_MODE_POLYGON_PERSON, MID_HOTKEY_R_MODE_CROSSING_ROUTE_EDGERELDATA, MID_HOTKEY_S_MODE_STOPSIMULATION_SELECT, MID_HOTKEY_T_MODE_TLS_TYPE, MID_HOTKEY_U_MODE_DECAL_TYPEDISTRIBUTION, MID_HOTKEY_V_MODE_VEHICLE, MID_HOTKEY_W_MODE_WIRE_ROUTEDISTRIBUTION, MID_HOTKEY_Z_MODE_TAZ_TAZREL, myEditModes, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DECAL, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, and NETWORK_WIRE.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSetNeteditView | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
called when a new view is set
Definition at line 4740 of file GNEViewNet.cpp.
References myEditModes.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSetSupermode | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
Definition at line 2213 of file GNEViewNet.cpp.
References DATA, DEMAND, MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, myEditModes, and NETWORK.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
|
virtualinherited |
highlight edges according to reachability
Reimplemented in GUIViewTraffic.
Definition at line 362 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
| long GNEViewNet::onCmdSimplifyShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
simply shape of current polygon
Definition at line 2688 of file GNEViewNet.cpp.
References getPolygonAtPopupPosition(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::simplifyShape(), SUMO_TAG_POLY, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSimplifyShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
Definition at line 2871 of file GNEViewNet.cpp.
References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::simplifyShapeEdited(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSmoothConnectionShape | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
edit connection shape
Definition at line 3910 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), and GNEConnection::smootShape().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSmoothEdges | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
smooth geometry
Definition at line 2572 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smooth(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSmoothEdgesElevation | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
smooth elevation with regard to adjoining edges
Definition at line 2614 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smoothElevation(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSplitEdge | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
split edge at cursor position
Definition at line 2419 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSplitEdgeBidi | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
split edge at cursor position
Definition at line 2429 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEEdge::getOppositeEdges(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSplitJunction | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
split junction into multiple junctions
Definition at line 3686 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdSplitJunctionReconnect | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
split junction into multiple junctions and reconnect them
Definition at line 3699 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, and myUndoList.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdStraightenEdges | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
makes selected edges straight
Definition at line 2550 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdStraightenEdgesElevation | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
interpolate z values linear between junctions
Definition at line 2593 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::straightenElevation(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdStraightenShapeEdited | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
straight shape edited
Definition at line 2886 of file GNEViewNet.cpp.
References getShapeEditedAtPopupPosition(), myNet, GNENetworkElement::straigthenShapeEdited(), and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdToggleAutoOppositeEdge | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle autoOpposite edge
Definition at line 4295 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleChainEdges | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle chain edges
Definition at line 4276 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleChangeAllPhases | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle change all phases
Definition at line 4092 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleDrawJunctionShape | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle draw junction shape
Definition at line 4137 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, myDataViewOptions, myDemandViewOptions, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, GNEApplicationWindowHelper::toggleEditOptionsData(), GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleDrawSpreadVehicles | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle draw vehicles in begin position or spread in lane
Definition at line 4163 of file GNEViewNet.cpp.
References GNE_TAG_FLOW_ROUTE, GNE_TAG_ROUTE_EMBEDDED, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, myDemandViewOptions, myNet, myNetworkViewOptions, SUMO_TAG_FLOW, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleExtendSelection | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle extend selection
Definition at line 4073 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleHideConnections | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle hide connections
Definition at line 4016 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleHideNonInspecteDemandElements | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle hide non inspected demand elements
Definition at line 4314 of file GNEViewNet.cpp.
References MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, myDemandViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleHideShapes | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle hide shapes in super mode demand
Definition at line 4352 of file GNEViewNet.cpp.
References MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, myDemandViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleLockContainer | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle lock container in super mode demand
Definition at line 4463 of file GNEViewNet.cpp.
References GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isContainer(), MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, myDemandViewOptions, myInspectedElements, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleLockPerson | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle lock person in super mode demand
Definition at line 4409 of file GNEViewNet.cpp.
References GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isPerson(), MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, myDemandViewOptions, myInspectedElements, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleMergeAutomatically | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle warn for merge
Definition at line 4219 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_MERGEAUTOMATICALLY, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleMoveElevation | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle move elevation
Definition at line 4257 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleSelectEdges | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle select edges
Definition at line 3972 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, and myNetworkViewOptions.
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleShowAdditionals | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show additionals in super mode data
Definition at line 4498 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, myDataViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
| long GNEViewNet::onCmdToggleShowAdditionalSubElements | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show additional sub-elements
Definition at line 4035 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleShowAllContainerPlans | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show all container plans in super mode demand
Definition at line 4444 of file GNEViewNet.cpp.
References MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, myDemandViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleShowAllPersonPlans | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show all person plans in super mode demand
Definition at line 4390 of file GNEViewNet.cpp.
References MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, myDemandViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleShowConnections | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show connections
Definition at line 3989 of file GNEViewNet.cpp.
References getNet(), GNENet::initGNEConnections(), MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, GNENet::requireRecompute(), and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleShowDemandElementsData | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show demand elements (data)
Definition at line 4557 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, myDataViewOptions, myNet, myViewParent, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
| long GNEViewNet::onCmdToggleShowDemandElementsNetwork | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show demand elements (network)
Definition at line 4536 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, myNet, myNetworkViewOptions, myViewParent, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleShowGrid | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show grid
Definition at line 4111 of file GNEViewNet.cpp.
References MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myDemandViewOptions, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleShowJunctionBubbles | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show junction bubbles
Definition at line 4238 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleShowOverlappedRoutes | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle hide non inspected demand elements
Definition at line 4333 of file GNEViewNet.cpp.
References MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, myDemandViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleShowShapes | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show shapes in super mode data
Definition at line 4517 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, myDataViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
| long GNEViewNet::onCmdToggleShowTAZElements | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show TAZ elements
Definition at line 4054 of file GNEViewNet.cpp.
References MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, myNetworkViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
| long GNEViewNet::onCmdToggleShowTrips | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle show all trips in super mode demand
Definition at line 4371 of file GNEViewNet.cpp.
References MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, myDemandViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsDemand().
| long GNEViewNet::onCmdToggleTAZDrawFill | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle TAZdrawFill
Definition at line 4597 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, myDataViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
| long GNEViewNet::onCmdToggleTAZRelDrawing | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle TAZRel drawing
Definition at line 4578 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, myDataViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
| long GNEViewNet::onCmdToggleTAZRelOnlyFrom | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle TAZRez only from
Definition at line 4616 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, myDataViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
| long GNEViewNet::onCmdToggleTAZRelOnlyTo | ( | FXObject * | , |
| FXSelector | sel, | ||
| void * | ) |
toggle TAZRez only to
Definition at line 4635 of file GNEViewNet.cpp.
References MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, myDataViewOptions, and updateViewNet().
Referenced by FXDEFMAP(), GNEViewNetHelper, and GNEApplicationWindowHelper::toggleEditOptionsData().
| long GNEViewNet::onCmdTransformPOI | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
transform to POI
Definition at line 3055 of file GNEViewNet.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), getPOIAtPopupPosition(), myNet, myUndoList, myViewParent, AdditionalHandler::parseSumoBaseObject(), SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_POI, and TL.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdTransformPOIGEO | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
transform to POIGEO
Definition at line 3078 of file GNEViewNet.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), GeoConvHelper::cartesian2geo(), GeoConvHelper::getFinal(), getPOIAtPopupPosition(), GNE_TAG_POIGEO, myNet, myUndoList, myViewParent, AdditionalHandler::parseSumoBaseObject(), SUMO_ATTR_LAT, SUMO_ATTR_LON, TL, Position::x(), and Position::y().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
| long GNEViewNet::onCmdTriangulatePolygon | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
triangulate polygon
Definition at line 2831 of file GNEViewNet.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributeCarrier::getFilename(), getPolygonAtPopupPosition(), SUMOPolygon::getShape(), GNEPoly::getSumoBaseObject(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), myNet, myViewParent, AdditionalHandler::parseSumoBaseObject(), POLY, SUMO_ATTR_ID, SUMO_ATTR_SHAPE, TL, and Triangle::triangulate().
Referenced by FXDEFMAP(), and GNEViewNetHelper.
|
virtualinherited |
mouse functions
Definition at line 1008 of file GUISUMOAbstractView.cpp.
References checkSnapshots(), doInit(), makeCurrent(), myAmInitialised, and myVisualizationSettings.
Referenced by FXDEFMAP().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 1198 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
| long GNEViewNet::onEnterConvertRoundabout | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
enter to convert junction to roundabout
Definition at line 3736 of file GNEViewNet.cpp.
References myDrawPreviewRoundabout.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
|
virtualinherited |
on gaming click
Reimplemented in GUIViewTraffic.
Definition at line 1693 of file GUISUMOAbstractView.cpp.
Referenced by onLeftBtnRelease().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 1697 of file GUISUMOAbstractView.cpp.
Referenced by onRightBtnRelease().
|
overridevirtual |
called when user press a key
Reimplemented from GUISUMOAbstractView.
Definition at line 1601 of file GNEViewNet.cpp.
References DEMAND_MOVE, myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, GUISUMOAbstractView::onKeyPress(), updateCursor(), and updateViewNet().
Referenced by GNEViewNetHelper.
|
overridevirtual |
called when user release a key
Reimplemented from GUISUMOAbstractView.
Definition at line 1629 of file GNEViewNet.cpp.
References DEMAND_MOVE, myEditModes, myMouseButtonKeyPressed, mySelectingArea, myViewParent, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, GUISUMOAbstractView::onKeyRelease(), updateCursor(), and updateViewNet().
Referenced by GNEViewNetHelper.
| long GNEViewNet::onLeaveConvertRoundabout | ( | FXObject * | , |
| FXSelector | , | ||
| void * | ) |
leave to convert junction to roundabout
Definition at line 3744 of file GNEViewNet.cpp.
References myDrawPreviewRoundabout.
Referenced by FXDEFMAP(), and GNEViewNetHelper.
|
overridevirtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 1441 of file GNEViewNet.cpp.
References myEditModes, myMouseButtonKeyPressed, myViewParent, processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), updateCursor(), and updateViewNet().
Referenced by GNEViewNetHelper.
|
overridevirtual |
called when user releases mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 1468 of file GNEViewNet.cpp.
References myCreatedPopup, myEditModes, myMouseButtonKeyPressed, myViewParent, GUISUMOAbstractView::onLeftBtnRelease(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), updateCursor(), and updateViewNet().
Referenced by GNEViewNetHelper.
|
overridevirtual |
called when user press mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 1500 of file GNEViewNet.cpp.
References myViewParent, GUISUMOAbstractView::onMiddleBtnPress(), updateCursor(), and updateViewNet().
Referenced by GNEViewNetHelper.
|
overridevirtual |
called when user releases mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 1517 of file GNEViewNet.cpp.
References myViewParent, GUISUMOAbstractView::onMiddleBtnRelease(), updateCursor(), and updateViewNet().
Referenced by GNEViewNetHelper.
|
virtualinherited |
Definition at line 1248 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
overridevirtual |
called when user moves mouse
Reimplemented from GUISUMOAbstractView.
Definition at line 1574 of file GNEViewNet.cpp.
References myEditModes, myMouseButtonKeyPressed, myViewParent, GUISUMOAbstractView::onMouseMove(), processMoveMouseData(), processMoveMouseDemand(), processMoveMouseNetwork(), updateCursor(), and updateViewNet().
Referenced by GNEViewNetHelper.
|
virtualinherited |
Definition at line 1204 of file GUISUMOAbstractView.cpp.
References myApp, myChanger, myGUIDialogEditViewport, and updatePositionInformationLabel().
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 1026 of file GUISUMOAbstractView.cpp.
References makeCurrent(), MID_RUNTESTS, myAmInitialised, myApp, and paintGL().
Referenced by FXDEFMAP(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
overridevirtual |
called when user press mouse's right button
Reimplemented from GUISUMOAbstractView.
Definition at line 1534 of file GNEViewNet.cpp.
References myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_SHAPE, GUISUMOAbstractView::onRightBtnPress(), and updateCursor().
Referenced by GNEViewNetHelper.
|
overridevirtual |
called when user releases mouse's right button
Reimplemented from GUISUMOAbstractView.
Definition at line 1554 of file GNEViewNet.cpp.
References myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_SHAPE, GUISUMOAbstractView::onRightBtnRelease(), and updateCursor().
Referenced by GNEViewNetHelper.
|
virtualinherited |
hook to react on change in visualization settings
Definition at line 368 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
| void GNEViewNet::openDeleteDialogAtCursor | ( | const std::vector< GUIGlObject * > & | GLObjects | ) |
open delete dialog at cursor
Definition at line 718 of file GNEViewNet.cpp.
References GUIGLObjectPopupMenu::DELETE_ELEMENT, GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myClickedPopupPosition, myCreatedPopup, GUISUMOAbstractView::myPopup, and GUISUMOAbstractView::openPopupDialog().
Referenced by GNEViewNetHelper.
|
inherited |
open object dialog for the given object
Definition at line 1294 of file GUISUMOAbstractView.cpp.
References myApp, myCurrentObjectsDialog, myPopup, openPopupDialog(), and GUIGLObjectPopupMenu::PROPERTIES.
Referenced by GNEViewNet::openObjectDialogAtCursor().
|
overridevirtual |
open object dialog
Reimplemented from GUISUMOAbstractView.
Definition at line 634 of file GNEViewNet.cpp.
References GUIGLObjectPopupMenu::FRONT_ELEMENT, GUISUMOAbstractView::getPositionInformation(), GLO_CONNECTION, GLO_EDGE, GLO_JUNCTION, GLO_TLLOGIC, GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myClickedPopupPosition, myInspectedElements, myMouseButtonKeyPressed, myNet, GUISUMOAbstractView::myPopup, myViewObjectsSelector, myViewParent, GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::openPopupDialog(), and TLS.
Referenced by GNEViewNetHelper.
|
protectedinherited |
open popup dialog
Definition at line 1846 of file GUISUMOAbstractView.cpp.
References getPositionInformation(), MIN2(), myApp, myChanger, myPopup, and myPopupPosition.
Referenced by GNEViewNet::openDeleteDialogAtCursor(), openObjectDialog(), GNEViewNet::openObjectDialogAtCursor(), openObjectDialogAtCursor(), and GNEViewNet::openSelectDialogAtCursor().
| void GNEViewNet::openSelectDialogAtCursor | ( | const std::vector< GUIGlObject * > & | GLObjects | ) |
open select dialog at cursor
Definition at line 733 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myClickedPopupPosition, myCreatedPopup, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::openPopupDialog(), and GUIGLObjectPopupMenu::SELECT_ELEMENT.
Referenced by GNEViewNetHelper.
|
privatedelete |
Invalidated assignment operator.
References GNEViewNet().
|
inherited |
pixels-to-meters conversion method
Definition at line 935 of file GUISUMOAbstractView.cpp.
References myChanger.
Referenced by drawDecals().
|
protectedinherited |
FOX needs this.
performs the painting of the simulation
Definition at line 294 of file GUISUMOAbstractView.cpp.
References applyGLTransform(), centerTo(), GLHelper::checkCounterMatrix(), GLHelper::checkCounterName(), displayLegends(), doPaintGL(), drawFPS(), SysUtils::getCurrentMillis(), getToolTipID(), getTrackedID(), GUIGlObject::INVALID_ID, myFrameDrawTime, myGlChildWindowParent, myVisualizationSettings, GLHelper::resetMatrixCounter(), GLHelper::resetVertexCounter(), and showToolTipFor().
Referenced by onPaint().
|
protectedinherited |
paints a grid
Definition at line 598 of file GUISUMOAbstractView.cpp.
References myChanger, and myVisualizationSettings.
Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::drawGrid(), and makeSnapshot().
|
private |
Auxiliary function used by onLeftBtnPress(...).
Definition at line 3404 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), and GUISUMOAbstractView::myChanger.
Referenced by processLeftButtonPressData(), processLeftButtonPressDemand(), and processLeftButtonPressNetwork().
|
private |
process left button press function in Supermode Data
Definition at line 6341 of file GNEViewNet.cpp.
References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_MEANDATA, DATA_SELECT, DATA_TAZRELDATA, GUISUMOAbstractView::getPositionInformation(), myEditModes, myMouseButtonKeyPressed, mySelectingArea, myViewObjectsSelector, myViewParent, processClick(), SUMO_TAG_TAZ, and updateViewNet().
Referenced by onLeftBtnPress().
|
private |
process left button press function in Supermode Demand
Definition at line 6143 of file GNEViewNet.cpp.
References DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GUISUMOAbstractView::getPositionInformation(), myEditModes, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, mySelectingArea, myViewObjectsSelector, myViewParent, processClick(), and updateViewNet().
Referenced by onLeftBtnPress().
|
private |
mouse process functions
process left button press function in Supermode Network
Definition at line 5823 of file GNEViewNet.cpp.
References checkSelectEdges(), GNEEdge::getOppositeEdges(), GUISUMOAbstractView::getPositionInformation(), GNEEdge::getSplitPos(), GLO_WALKINGAREA, myEditModes, myEditNetworkElementShapes, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, myNet, myNetworkViewOptions, mySelectingArea, myUndoList, myViewObjectsSelector, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DECAL, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, processClick(), GUISUMOAbstractView::snapToActiveGrid(), and updateViewNet().
Referenced by onLeftBtnPress().
|
private |
process left button release function in Supermode Data
Definition at line 6442 of file GNEViewNet.cpp.
References myMoveMultipleElements, myMoveSingleElement, and mySelectingArea.
Referenced by onLeftBtnRelease().
|
private |
process left button release function in Supermode Demand
Definition at line 6310 of file GNEViewNet.cpp.
References myMoveMultipleElements, myMoveSingleElement, and mySelectingArea.
Referenced by onLeftBtnRelease().
|
private |
process left button release function in Supermode Network
Definition at line 6086 of file GNEViewNet.cpp.
References myEditModes, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, mySelectingArea, myViewObjectsSelector, myViewParent, NETWORK_SELECT, and NETWORK_TAZ.
Referenced by onLeftBtnRelease().
|
private |
process move mouse function in Supermode Data
Definition at line 6461 of file GNEViewNet.cpp.
References myMoveSingleElement, and mySelectingArea.
Referenced by onMouseMove().
|
private |
process move mouse function in Supermode Demand
Definition at line 6329 of file GNEViewNet.cpp.
References myMoveSingleElement, and mySelectingArea.
Referenced by onMouseMove().
|
private |
process move mouse function in Supermode Network
Definition at line 6121 of file GNEViewNet.cpp.
References myEditModes, myMouseButtonKeyPressed, myMoveMultipleElements, myMoveSingleElement, mySelectingArea, myViewParent, NETWORK_SHAPE, and NETWORK_TAZ.
Referenced by onMouseMove().
|
overridevirtual |
recalculate boundaries
Reimplemented from GUISUMOAbstractView.
Definition at line 330 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectsInBoundary(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isPlacedInRTree(), GUISUMOAbstractView::makeCurrent(), myNet, and GUISUMOAbstractView::myVisualizationSettings.
Referenced by GNEViewNetHelper.
|
virtualinherited |
recenters the view
Definition at line 941 of file GUISUMOAbstractView.cpp.
References myChanger, and myGrid.
Referenced by GUISettingsHandler::applyViewport(), and GUICompleteSchemeStorage::setViewport().
| void GNEViewNet::redrawPathElementContours | ( | ) |
redraw elements only for calculating boundary
Definition at line 582 of file GNEViewNet.cpp.
References gViewObjectsHandler, myInspectedElements, myNet, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), and GLHelper::pushMatrix().
Referenced by doPaintGL(), and GNEViewNetHelper.
|
inherited |
remove viewport
Definition at line 1653 of file GUISUMOAbstractView.cpp.
References myGUIDialogEditViewport.
|
inherited |
remove view settings
Definition at line 1659 of file GUISUMOAbstractView.cpp.
References myGUIDialogViewSettings.
|
inherited |
Removes an object from the list of objects that show additional things.
| [in] | which | The object to remove |
Definition at line 1886 of file GUISUMOAbstractView.cpp.
References myAdditionallyDrawn.
Referenced by GUIVehicle::drawOutsideNetwork().
| bool GNEViewNet::removeRestrictedLane | ( | GNELane * | lane, |
| SUMOVehicleClass | vclass ) |
remove restricted lane
Definition at line 1160 of file GNEViewNet.cpp.
References GNEDialog::ACCEPT, GNELane::getParentEdge(), myNet, myUndoList, myViewParent, TL, TLF, toString(), and GNEDialog::YES_NO.
Referenced by GNEViewNetHelper, and onCmdLaneOperation().
|
inherited |
replace PopUp
Definition at line 1065 of file GUISUMOAbstractView.cpp.
| bool GNEViewNet::restrictLane | ( | GNELane * | lane, |
| SUMOVehicleClass | vclass ) |
restrict lane
Definition at line 1012 of file GNEViewNet.cpp.
References GNEDialog::ACCEPT, myNet, myUndoList, myViewParent, TL, TLF, toString(), and GNEDialog::YES_NO.
Referenced by GNEViewNetHelper, and onCmdLaneOperation().
|
inlinevirtualinherited |
retrieve breakpoints if provided by the application
Reimplemented in GUIViewTraffic.
Definition at line 457 of file GUISUMOAbstractView.h.
|
virtualinherited |
Adds a frame to a video snapshot which will be initialized if necessary.
Reimplemented in GUIViewTraffic.
Definition at line 1523 of file GUISUMOAbstractView.cpp.
References UNUSED_PARAMETER.
Referenced by makeSnapshot().
| void GNEViewNet::saveVisualizationSettings | ( | ) | const |
Definition at line 748 of file GNEViewNet.cpp.
References OutputDevice::close(), OutputDevice::closeTag(), OutputDevice::getDevice(), OptionsCont::getOptions(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, OutputDevice::openTag(), SUMO_ATTR_ANGLE, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_ZOOM, SUMO_TAG_VIEWPORT, SUMO_TAG_VIEWSETTINGS, TL, WRITE_ERROR, and OutputDevice::writeAttr().
Referenced by GNEViewNetHelper.
|
inherited |
Translate screen position to network position.
Definition at line 221 of file GUISUMOAbstractView.cpp.
References DEG2RAD, Boundary::getCenter(), Boundary::getHeight(), Boundary::getWidth(), myChanger, Position::rotateAround2D(), Boundary::xmin(), and Boundary::ymin().
Referenced by drawDecals(), and getPositionInformation().
| bool GNEViewNet::selectingDetectorsTLSMode | ( | ) | const |
check if we're selecting detectors in TLS mode
Definition at line 982 of file GNEViewNet.cpp.
References myEditModes, myViewParent, and NETWORK_TLS.
Referenced by drawTemporalE1TLSLines(), and GNEViewNetHelper.
| bool GNEViewNet::selectingJunctionsTLSMode | ( | ) | const |
check if we're selecting junctions in TLS mode
Definition at line 991 of file GNEViewNet.cpp.
References myEditModes, myViewParent, and NETWORK_TLS.
Referenced by drawTemporalJunctionTLSLines(), and GNEViewNetHelper.
|
inherited |
Sets the breakpoints of the parent application.
Definition at line 1958 of file GUISUMOAbstractView.cpp.
References myApp.
|
overridevirtual |
set color scheme
Reimplemented from GUISUMOAbstractView.
Definition at line 618 of file GNEViewNet.cpp.
References gSchemeStorage, GUISUMOAbstractView::myGUIDialogViewSettings, GUISUMOAbstractView::myVisualizationSettings, and updateViewNet().
Referenced by GNEViewNetHelper.
|
inherited |
Sets the delay of the parent application.
Definition at line 1952 of file GUISUMOAbstractView.cpp.
References myApp.
| void GNEViewNet::setLastCreatedRoute | ( | GNEDemandElement * | lastCreatedRoute | ) |
set last created route
Definition at line 2015 of file GNEViewNet.cpp.
References myLastCreatedRoute.
Referenced by GNEViewNetHelper.
| void GNEViewNet::setSelectorFrameScale | ( | double | selectionScale | ) |
set selection scaling (in GNESelectorFrame)
Definition at line 908 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GNEViewNetHelper.
| void GNEViewNet::setStatusBarText | ( | const std::string & | text | ) |
set statusBar text
Definition at line 892 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myApp.
Referenced by GNEViewNetHelper, and hotkeyDel().
|
virtualinherited |
applies the given viewport settings
Definition at line 1618 of file GUISUMOAbstractView.cpp.
References myChanger, Position::x(), Position::y(), and Position::z().
Referenced by GUISettingsHandler::applyViewport(), copyViewportTo(), GUIApplicationWindow::handleEvent_SimulationLoaded(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
Returns the gl-id of the object under the given coordinates.
Definition at line 994 of file GUISUMOAbstractView.cpp.
References myMouseHotspotX, myMouseHotspotY, myWindowCursorPositionX, and myWindowCursorPositionY.
| bool GNEViewNet::showJunctionAsBubbles | ( | ) | const |
return true if junction must be showed as bubbles
Definition at line 920 of file GNEViewNet.cpp.
References myNetworkViewOptions.
Referenced by GNEViewNetHelper.
|
protectedinherited |
invokes the tooltip for the given object
Definition at line 583 of file GUISUMOAbstractView.cpp.
References GUIGlObjectStorage::gIDStorage, GUIGlObject::INVALID_ID, and myGlChildWindowParent.
Referenced by paintGL().
|
virtualinherited |
show viewport editor
Definition at line 1609 of file GUISUMOAbstractView.cpp.
References getViewportEditor(), Position::INVALID, myChanger, and myGUIDialogEditViewport.
|
inherited |
show viewsscheme editor
Definition at line 1578 of file GUISUMOAbstractView.cpp.
References myGUIDialogViewSettings, and myVisualizationSettings.
|
inherited |
Returns a position that is mapped to the closest grid point if the grid is active.
note: formats are pos(x,y,0) por pos(0,0,z)
Definition at line 202 of file GUISUMOAbstractView.cpp.
References myVisualizationSettings, Position::x(), Position::y(), and Position::z().
Referenced by GNEMoveElement::calculateLaneOffset(), GNEMoveElement::commitMove(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEViewNet::drawTestsCircle(), getGUIGlObjectsUnderSnappedCursor(), GNEMoveElement::moveElement(), and GNEViewNet::processLeftButtonPressNetwork().
|
virtualinherited |
star track
Reimplemented in GUIViewTraffic.
Definition at line 1677 of file GUISUMOAbstractView.cpp.
Referenced by onLeftBtnPress().
|
virtualinherited |
stop track
Reimplemented in GUIViewTraffic.
Definition at line 1682 of file GUISUMOAbstractView.cpp.
| void GNEViewNet::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 5407 of file GNEViewNet.cpp.
References DATA_INSPECT, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_INSPECT, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTEDISTRIBUTION, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, myEditModes, myIntervalBar, myViewParent, NETWORK_INSPECT, and updateViewNet().
Referenced by GNEViewNetHelper.
|
private |
update cursor after every click/key press/release
Definition at line 3419 of file GNEViewNet.cpp.
References checkSelectEdges(), DATA_DELETE, DATA_INSPECT, DATA_SELECT, DEFAULT, DELETE_CURSOR, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GUICursorSubSys::getCursor(), INSPECT, INSPECT_LANE, MOVEELEMENT, MOVEVIEW, myEditModes, myMouseButtonKeyPressed, GUISUMOAbstractView::myPanning, NETWORK_ADDITIONAL, NETWORK_CREATE_EDGE, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, SELECT, and SELECT_LANE.
Referenced by onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), onRightBtnPress(), and onRightBtnRelease().
|
private |
updates Data mode specific controls
Definition at line 5174 of file GNEViewNet.cpp.
References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_MEANDATA, DATA_SELECT, DATA_TAZRELDATA, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::onPaint(), and updateViewNet().
|
private |
updates Demand mode specific controls
Definition at line 5002 of file GNEViewNet.cpp.
References DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_ROUTEDISTRIBUTION, DEMAND_SELECT, DEMAND_STOP, DEMAND_TYPE, DEMAND_TYPEDISTRIBUTION, DEMAND_VEHICLE, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::onPaint(), and updateViewNet().
|
private |
updates Network mode specific controls
Definition at line 4794 of file GNEViewNet.cpp.
References myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myLockManager, myNetworkCheckableButtons, myNetworkViewOptions, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DECAL, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GUISUMOAbstractView::onPaint(), and updateViewNet().
| void GNEViewNet::updateObjectsInPosition | ( | const Position & | pos | ) |
update objects and boundaries in position
Definition at line 508 of file GNEViewNet.cpp.
References Boundary::add(), drawGLElements(), Boundary::grow(), gViewObjectsHandler, myEditModes, myMarkFrontElements, myNet, myViewObjectsSelector, GUISUMOAbstractView::myVisualizationSettings, NETWORK_MOVE, GLHelper::popMatrix(), GLHelper::pushMatrix(), and SUMO_TAG_ROUTE_DISTRIBUTION.
Referenced by doPaintGL(), GNEViewNetHelper, and updateObjectsInShape().
| void GNEViewNet::updateObjectsInShape | ( | const PositionVector & | shape | ) |
get objects in the given shape (using triangulation)
Definition at line 547 of file GNEViewNet.cpp.
References drawGLElements(), gViewObjectsHandler, myMarkFrontElements, myViewObjectsSelector, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), Triangle::triangulate(), and updateObjectsInPosition().
Referenced by GNEViewNetHelper, and onCmdSelectPolygonElements().
|
protectedvirtualinherited |
update position information labels
Definition at line 242 of file GUISUMOAbstractView.cpp.
References GeoConvHelper::cartesian2geo(), GeoConvHelper::getFinal(), OptionsCont::getOptions(), getPositionInformation(), getWindowCursorPosition(), gPrecisionGeo, myApp, TL, toString(), Position::x(), and Position::y().
Referenced by centerTo(), centerTo(), onMouseMove(), and onMouseWheel().
|
inherited |
A method that updates the tooltip.
Definition at line 188 of file GUISUMOAbstractView.cpp.
References myGlChildWindowParent.
| void GNEViewNet::updateViewNet | ( | const bool | ignoreViewUpdater = true | ) | const |
Mark the entire GNEViewNet to be repainted later.
Definition at line 442 of file GNEViewNet.cpp.
References gViewUpdater.
Referenced by abortOperation(), GNEViewNetHelper, onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleMergeAutomatically(), onCmdToggleMoveElevation(), onCmdToggleShowAdditionals(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowShapes(), onCmdToggleShowTAZElements(), onCmdToggleShowTrips(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), setColorScheme(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
virtualinherited |
update the viewport chooser with the current view values
Definition at line 1601 of file GUISUMOAbstractView.cpp.
References myChanger, and myGUIDialogEditViewport.
Referenced by getViewportEditor().
| void GNEViewNet::viewUpdated | ( | ) |
called when view is updated
Definition at line 457 of file GNEViewNet.cpp.
References DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_STOP, DEMAND_VEHICLE, forceSupemodeNetwork(), myEditModes, NETWORK_CONNECT, NETWORK_DECAL, NETWORK_INSPECT, NETWORK_PROHIBITION, NETWORK_TLS, and NETWORK_WIRE.
Referenced by GNEViewNetHelper.
|
inherited |
Definition at line 1563 of file GUISUMOAbstractView.cpp.
References mySnapshotCondition, mySnapshots, and mySnapshotsMutex.
|
virtualinherited |
zoom interface for 3D view
Definition at line 289 of file GUISUMOAbstractView.cpp.
|
friend |
FOX-declaration.
declare GNEViewNetHelper as friend struct
Definition at line 36 of file GNEViewNet.h.
References abortOperation(), addRestrictedLane(), aksChangeSupermode(), askMergeJunctions(), autoSelectNodes(), buildColorRainbow(), buildViewToolBars(), changeAllPhases(), checkOverLockedElement(), checkSelectEdges(), doInit(), doPaintGL(), forceSupemodeNetwork(), getDataViewOptions(), getDemandViewOptions(), getDrawingToggle(), getEdgeDataAttrs(), getEdgeLaneParamKeys(), getEditModes(), getEditNetworkElementShapes(), getInspectedElements(), getIntervalBar(), getLastCreatedRoute(), getLockManager(), getMarkFrontElements(), getMouseButtonKeyPressed(), getMoveMultipleElementValues(), getMoveSingleElementValues(), getNet(), getNetworkViewOptions(), getPOIParamKeys(), getRelDataAttrs(), getSaveElements(), getTestingMode(), getTimeFormat(), getToolTipID(), getUndoList(), getViewObjectsSelector(), getViewParent(), GNEViewNet(), GNEViewNetHelper, hotkeyBackSpace(), hotkeyDel(), hotkeyEnter(), hotkeyFocusFrame(), isCurrentlyMovingElements(), onCmdAddEdgeSelected(), onCmdAddJoinTLS(), onCmdAddReverse(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddSelected(), onCmdAddTLS(), onCmdAttachPOI(), onCmdClearConnections(), onCmdClosePolygon(), onCmdCloseShapeEdited(), onCmdConvertRoundabout(), onCmdDeleteGeometryPoint(), onCmdDeleteGeometryPointShapeEdited(), onCmdDuplicateLane(), onCmdEdgeUseAsTemplate(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditEdgeEndpoint(), onCmdEditJunctionShape(), onCmdEditLaneShape(), onCmdEditWalkingAreaShape(), onCmdEgeApplyTemplate(), onCmdFinishShapeEdited(), onCmdIntervalBarDataSet(), onCmdIntervalBarGenericDataType(), onCmdIntervalBarLimit(), onCmdIntervalBarSetBegin(), onCmdIntervalBarSetEnd(), onCmdIntervalBarSetParameter(), onCmdLaneOperation(), onCmdLaneReachability(), onCmdOpenAdditionalDialog(), onCmdOpenPolygon(), onCmdOpenShapeEdited(), onCmdReleasePOI(), onCmdRemoveEdgeSelected(), onCmdRemoveSelected(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdResetShapeEdited(), onCmdReverse(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetCustomGeometryPoint(), onCmdSetFirstGeometryPoint(), onCmdSetFirstGeometryPointShapeEdited(), onCmdSetMode(), onCmdSetNeteditView(), onCmdSetSupermode(), onCmdSimplifyShape(), onCmdSimplifyShapeEdited(), onCmdSmoothConnectionShape(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdStraightenShapeEdited(), onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleMergeAutomatically(), onCmdToggleMoveElevation(), onCmdToggleSelectEdges(), onCmdToggleShowAdditionals(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowShapes(), onCmdToggleShowTAZElements(), onCmdToggleShowTrips(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), onCmdTransformPOI(), onCmdTransformPOIGEO(), onCmdTriangulatePolygon(), onEnterConvertRoundabout(), onKeyPress(), onKeyRelease(), onLeaveConvertRoundabout(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), openDeleteDialogAtCursor(), openObjectDialogAtCursor(), openSelectDialogAtCursor(), recalculateBoundaries(), redrawPathElementContours(), removeRestrictedLane(), restrictLane(), saveVisualizationSettings(), selectingDetectorsTLSMode(), selectingJunctionsTLSMode(), setColorScheme(), setLastCreatedRoute(), setSelectorFrameScale(), setStatusBarText(), showJunctionAsBubbles(), updateControls(), updateObjectsInPosition(), updateObjectsInShape(), updateViewNet(), and viewUpdated().
Referenced by GNEViewNetHelper.
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 631 of file GUISUMOAbstractView.h.
Referenced by addAdditionalGLVisualisation(), GUIViewTraffic::doPaintGL(), isAdditionalGLVisualisationEnabled(), removeAdditionalGLVisualisation(), and ~GUISUMOAbstractView().
|
protectedinherited |
Internal information whether doInit() was called.
Definition at line 596 of file GUISUMOAbstractView.h.
Referenced by onConfigure(), onPaint(), GNEViewNet::openObjectDialogAtCursor(), and openObjectDialogAtCursor().
|
protectedinherited |
The application.
Definition at line 560 of file GUISUMOAbstractView.h.
Referenced by GUIViewTraffic::buildViewToolBars(), GNEViewNet::doPaintGL(), getDelay(), getMainWindow(), getObjectsInBoundary(), GUISUMOAbstractView(), GUIViewTraffic::onDoubleClicked(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseWheel(), onPaint(), onRightBtnPress(), onRightBtnRelease(), openObjectDialog(), openObjectDialogAtCursor(), openPopupDialog(), GUIViewTraffic::retrieveBreakpoints(), GUIViewTraffic::saveFrame(), setBreakpoints(), GUIViewTraffic::setColorScheme(), setDelay(), GNEViewNet::setStatusBarText(), and updatePositionInformationLabel().
|
protectedinherited |
The perspective changer.
Definition at line 569 of file GUISUMOAbstractView.h.
Referenced by applyGLTransform(), centerTo(), centerTo(), centerTo(), copyViewportTo(), getChanger(), getObjectsInBoundary(), getVisibleBoundary(), GNEViewNet::GNEViewNet(), GUISUMOAbstractView(), m2p(), makeSnapshot(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), onMouseWheel(), onRightBtnPress(), onRightBtnRelease(), openPopupDialog(), p2m(), paintGLGrid(), GNEViewNet::processClick(), recenterView(), replacePopup(), GNEViewNet::saveVisualizationSettings(), screenPos2NetPos(), setViewportFromToRot(), showViewportEditor(), updateViewportValues(), and ~GUISUMOAbstractView().
|
protectedinherited |
clicked poup position
Definition at line 584 of file GUISUMOAbstractView.h.
Referenced by GNEViewNet::openDeleteDialogAtCursor(), GNEViewNet::openObjectDialogAtCursor(), and GNEViewNet::openSelectDialogAtCursor().
|
private |
variable used to save checkable buttons for common supermodes
Definition at line 651 of file GNEViewNet.h.
Referenced by buildEditModeControls(), GNEViewNet(), GNEViewNet(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
flag for mark if during this frame a popup was created (needed to avoid problems in linux with CursorDialogs)
Definition at line 743 of file GNEViewNet.h.
Referenced by onLeftBtnRelease(), openDeleteDialogAtCursor(), and openSelectDialogAtCursor().
|
private |
the current frame
Definition at line 731 of file GNEViewNet.h.
Referenced by hotkeyFocusFrame(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
vector with current objects dialog
Definition at line 590 of file GUISUMOAbstractView.h.
Referenced by destroyPopup(), GNEViewNet::drawTemporalRoundabout(), and openObjectDialog().
|
private |
variable used to save checkable buttons for Supermode Data
Definition at line 660 of file GNEViewNet.h.
Referenced by buildEditModeControls(), GNEViewNet(), GNEViewNet(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save variables related with view options in supermode Data
Definition at line 674 of file GNEViewNet.h.
Referenced by buildEditModeControls(), getDataViewOptions(), GNEViewNet(), GNEViewNet(), onCmdToggleDrawJunctionShape(), onCmdToggleShowAdditionals(), onCmdToggleShowDemandElementsData(), onCmdToggleShowShapes(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
The list of decals to show.
Definition at line 611 of file GUISUMOAbstractView.h.
Referenced by addDecals(), drawDecals(), getDecals(), GUISUMOAbstractView(), and ~GUISUMOAbstractView().
|
protectedinherited |
The mutex to use before accessing the decals list in order to avoid thread conflicts.
Definition at line 614 of file GUISUMOAbstractView.h.
Referenced by drawDecals(), and getDecalsLockMutex().
|
private |
variable used to save checkable buttons for Supermode Demand
Definition at line 657 of file GNEViewNet.h.
Referenced by buildEditModeControls(), GNEViewNet(), GNEViewNet(), and updateDemandModeSpecificControls().
|
private |
variable used to save variables related with view options in supermode Demand
Definition at line 671 of file GNEViewNet.h.
Referenced by buildEditModeControls(), doPaintGL(), drawGrid(), getDemandViewOptions(), GNEViewNet(), GNEViewNet(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowGrid(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowTrips(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
drawin toggle (used in drawGLElements to avoid draw elements twice)
Definition at line 746 of file GNEViewNet.h.
Referenced by drawGLElements(), and getDrawingToggle().
|
private |
draw preview roundabout
Definition at line 740 of file GNEViewNet.h.
Referenced by drawTemporalRoundabout(), onEnterConvertRoundabout(), and onLeaveConvertRoundabout().
|
private |
variable used to save variables related with edit moves modes
Definition at line 632 of file GNEViewNet.h.
Referenced by abortOperation(), aksChangeSupermode(), buildEditModeControls(), doPaintGL(), drawGrid(), drawNeteditAttributesReferences(), drawTemporalJunction(), drawTemporalSplitJunction(), forceSupemodeNetwork(), getEditModes(), GNEViewNet(), GNEViewNet(), hotkeyBackSpace(), hotkeyDel(), hotkeyEnter(), onCmdAddJoinTLS(), onCmdAddTLS(), onCmdSetMode(), onCmdSetNeteditView(), onCmdSetSupermode(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), selectingDetectorsTLSMode(), selectingJunctionsTLSMode(), updateControls(), updateCursor(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), updateNetworkModeSpecificControls(), updateObjectsInPosition(), and viewUpdated().
|
private |
struct for grouping all variables related with edit shapes
Definition at line 713 of file GNEViewNet.h.
Referenced by abortOperation(), getEditNetworkElementShapes(), GNEViewNet(), GNEViewNet(), hotkeyEnter(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdEditLaneShape(), onCmdEditWalkingAreaShape(), and processLeftButtonPressNetwork().
|
protectedinherited |
counter for measuring rendering time
Definition at line 634 of file GUISUMOAbstractView.h.
|
protectedinherited |
The parent window.
Definition at line 563 of file GUISUMOAbstractView.h.
Referenced by getColoringSchemesCombo(), getGUIGlChildWindow(), GUISUMOAbstractView(), paintGL(), showToolTipFor(), and updateToolTip().
|
protectedinherited |
The visualization speed-up.
Definition at line 566 of file GUISUMOAbstractView.h.
Referenced by GNEViewNet::drawGLElements(), getGridHeight(), getGridWidth(), GUISUMOAbstractView(), makeSnapshot(), and recenterView().
|
protectedinherited |
viewport chooser
Definition at line 599 of file GUISUMOAbstractView.h.
Referenced by getViewportEditor(), onMouseMove(), onMouseWheel(), remove(), showViewportEditor(), updateViewportValues(), and ~GUISUMOAbstractView().
|
protectedinherited |
Visualization changer.
Definition at line 605 of file GUISUMOAbstractView.h.
Referenced by remove(), GNEViewNet::setColorScheme(), GUIViewTraffic::setColorScheme(), showViewschemeEditor(), and ~GUISUMOAbstractView().
|
protectedinherited |
Information whether too-tip informations shall be generated.
Definition at line 575 of file GUISUMOAbstractView.h.
Referenced by isInEditMode().
|
private |
inspected element
Definition at line 719 of file GNEViewNet.h.
Referenced by getInspectedElements(), hotkeyDel(), onCmdClearConnections(), onCmdResetConnections(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), openObjectDialogAtCursor(), and redrawPathElementContours().
|
private |
variable used to save IntervalBar
Definition at line 679 of file GNEViewNet.h.
Referenced by buildEditModeControls(), doPaintGL(), getIntervalBar(), GNEViewNet(), GNEViewNet(), onCmdIntervalBarDataSet(), onCmdIntervalBarGenericDataType(), onCmdIntervalBarLimit(), onCmdIntervalBarSetBegin(), onCmdIntervalBarSetEnd(), onCmdIntervalBarSetParameter(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
last created route
Definition at line 737 of file GNEViewNet.h.
Referenced by getLastCreatedRoute(), and setLastCreatedRoute().
|
private |
lock manager
Definition at line 716 of file GNEViewNet.h.
Referenced by autoSelectNodes(), checkOverLockedElement(), getLockManager(), GNEViewNet(), GNEViewNet(), and updateNetworkModeSpecificControls().
|
private |
front element
Definition at line 722 of file GNEViewNet.h.
Referenced by getMarkFrontElements(), onCmdClearConnections(), onCmdResetConnections(), updateObjectsInPosition(), and updateObjectsInShape().
|
private |
variable used to save key status after certain events
Definition at line 643 of file GNEViewNet.h.
Referenced by checkSelectEdges(), drawTemporalJunction(), drawTemporalSplitJunction(), getMouseButtonKeyPressed(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), openObjectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), and updateCursor().
|
protectedinherited |
Offset to the mouse-hotspot from the mouse position.
Definition at line 578 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView(), and setWindowCursorPosition().
|
protectedinherited |
Definition at line 578 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView(), and setWindowCursorPosition().
|
private |
modul used for moving multiple elements
Definition at line 688 of file GNEViewNet.h.
Referenced by getMoveMultipleElementValues(), GNEViewNet(), GNEViewNet(), isCurrentlyMovingElements(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), and processMoveMouseNetwork().
|
private |
modul used for moving single element
Definition at line 685 of file GNEViewNet.h.
Referenced by getMoveSingleElementValues(), GNEViewNet(), GNEViewNet(), isCurrentlyMovingElements(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), processMoveMouseData(), processMoveMouseDemand(), and processMoveMouseNetwork().
|
private |
Pointer to current net. (We are not responsible for deletion).
Definition at line 728 of file GNEViewNet.h.
Referenced by addRestrictedLane(), buildColorRainbow(), deleteDataAttributeCarrier(), deleteDemandAttributeCarrier(), deleteNetworkAttributeCarrier(), doPaintGL(), drawTemporalE1TLSLines(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getDemandElementAtPopupPosition(), getEdgeAtPopupPosition(), getEdgeDataAttrs(), getEdgeLaneParamKeys(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), getNet(), getPOIAtPopupPosition(), getPOIParamKeys(), getPolygonAtPopupPosition(), getRelDataAttrs(), getShapeEditedAtPopupPosition(), getTAZAtPopupPosition(), getWalkingAreaAtPopupPosition(), GNEViewNet(), hotkeyDel(), onCmdAddJoinTLS(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddTLS(), onCmdAttachPOI(), onCmdClearConnections(), onCmdClosePolygon(), onCmdCloseShapeEdited(), onCmdConvertRoundabout(), onCmdDeleteGeometryPointShapeEdited(), onCmdDuplicateLane(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdEditWalkingAreaShape(), onCmdEgeApplyTemplate(), onCmdLaneReachability(), onCmdOpenPolygon(), onCmdOpenShapeEdited(), onCmdReleasePOI(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdResetShapeEdited(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetFirstGeometryPointShapeEdited(), onCmdSimplifyShape(), onCmdSimplifyShapeEdited(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdStraightenShapeEdited(), onCmdToggleDrawSpreadVehicles(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdTransformPOI(), onCmdTransformPOIGEO(), onCmdTriangulatePolygon(), openObjectDialogAtCursor(), processLeftButtonPressNetwork(), recalculateBoundaries(), redrawPathElementContours(), removeRestrictedLane(), restrictLane(), and updateObjectsInPosition().
|
private |
variable used to save checkable buttons for Supermode Network
Definition at line 654 of file GNEViewNet.h.
Referenced by buildEditModeControls(), GNEViewNet(), GNEViewNet(), and updateNetworkModeSpecificControls().
|
private |
variable used to save variables related with view options in supermode Network
Definition at line 668 of file GNEViewNet.h.
Referenced by askMergeJunctions(), autoSelectNodes(), buildEditModeControls(), changeAllPhases(), checkSelectEdges(), doPaintGL(), drawGrid(), drawTemporalJunction(), getNetworkViewOptions(), GNEViewNet(), GNEViewNet(), onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleMergeAutomatically(), onCmdToggleMoveElevation(), onCmdToggleSelectEdges(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowTAZElements(), processLeftButtonPressNetwork(), showJunctionAsBubbles(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
Panning flag.
Definition at line 572 of file GUISUMOAbstractView.h.
Referenced by onMiddleBtnPress(), onMiddleBtnRelease(), and GNEViewNet::updateCursor().
|
mutableprotectedinherited |
poly draw lock
Definition at line 628 of file GUISUMOAbstractView.h.
|
protectedinherited |
The current popup-menu.
Definition at line 581 of file GUISUMOAbstractView.h.
Referenced by destroyPopup(), getPopup(), onKeyPress(), onKeyRelease(), onMouseMove(), GNEViewNet::openDeleteDialogAtCursor(), openObjectDialog(), GNEViewNet::openObjectDialogAtCursor(), openObjectDialogAtCursor(), openPopupDialog(), GNEViewNet::openSelectDialogAtCursor(), replacePopup(), and ~GUISUMOAbstractView().
The current popup-menu position.
Definition at line 587 of file GUISUMOAbstractView.h.
Referenced by destroyPopup(), getPopupPosition(), onMouseMove(), and openPopupDialog().
|
private |
variable used for grouping all variables related with salve elements
Definition at line 704 of file GNEViewNet.h.
Referenced by buildEditModeControls(), getSaveElements(), GNEViewNet(), and GNEViewNet().
|
private |
variable used for grouping all variables related with selecting areas
Definition at line 710 of file GNEViewNet.h.
Referenced by abortOperation(), doPaintGL(), GNEViewNet(), GNEViewNet(), onKeyRelease(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), processMoveMouseData(), processMoveMouseDemand(), and processMoveMouseNetwork().
|
protectedinherited |
the semaphore when waiting for snapshots to finish
Definition at line 625 of file GUISUMOAbstractView.h.
Referenced by checkSnapshots(), and waitForSnapshots().
|
protectedinherited |
Snapshots.
Definition at line 619 of file GUISUMOAbstractView.h.
Referenced by addSnapshot(), checkSnapshots(), and waitForSnapshots().
|
protectedinherited |
The mutex to use before accessing the decals list in order to avoid thread conflicts.
Definition at line 622 of file GUISUMOAbstractView.h.
Referenced by addSnapshot(), checkSnapshots(), and waitForSnapshots().
|
private |
variable used to save variables related with testing mode
Definition at line 635 of file GNEViewNet.h.
Referenced by doPaintGL(), getTestingMode(), GNEViewNet(), and GNEViewNet().
|
private |
variable used for grouping all variables related with switch time
Definition at line 707 of file GNEViewNet.h.
Referenced by buildEditModeControls(), getTimeFormat(), GNEViewNet(), and GNEViewNet().
|
private |
a reference to the undolist maintained in the application
Definition at line 734 of file GNEViewNet.h.
Referenced by abortOperation(), addRestrictedLane(), deleteDataAttributeCarrier(), deleteDemandAttributeCarrier(), deleteNetworkAttributeCarrier(), getUndoList(), GNEViewNet(), hotkeyDel(), onCmdAddJoinTLS(), onCmdAddReverse(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddTLS(), onCmdAttachPOI(), onCmdClearConnections(), onCmdConvertRoundabout(), onCmdDuplicateLane(), onCmdEditEdgeEndpoint(), onCmdEgeApplyTemplate(), onCmdLaneReachability(), onCmdReleasePOI(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdReverse(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetCustomGeometryPoint(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdTransformPOI(), onCmdTransformPOIGEO(), processLeftButtonPressNetwork(), removeRestrictedLane(), and restrictLane().
|
private |
variable used to save variables related with vehicle options
Definition at line 696 of file GNEViewNet.h.
Referenced by GNEViewNet(), and GNEViewNet().
|
private |
variable used to save variables related with vehicle type options
Definition at line 699 of file GNEViewNet.h.
Referenced by GNEViewNet(), and GNEViewNet().
|
private |
variable use to select objects in view
Definition at line 626 of file GNEViewNet.h.
Referenced by checkOverLockedElement(), doPaintGL(), getToolTipID(), getViewObjectsSelector(), GNEViewNet(), GNEViewNet(), onCmdAddEdgeSelected(), onCmdAddSelected(), onCmdAttachPOI(), onCmdRemoveEdgeSelected(), onCmdRemoveSelected(), onCmdSelectPolygonElements(), openObjectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), updateObjectsInPosition(), and updateObjectsInShape().
|
private |
view parent
Definition at line 725 of file GNEViewNet.h.
Referenced by abortOperation(), addRestrictedLane(), aksChangeSupermode(), askMergeJunctions(), buildEditModeControls(), buildViewToolBars(), doPaintGL(), drawTemporalDrawingShape(), drawTemporalE1TLSLines(), drawTemporalJunction(), drawTemporalJunctionTLSLines(), getViewParent(), GNEViewNet(), hotkeyBackSpace(), hotkeyEnter(), onCmdAddJoinTLS(), onCmdAddTLS(), onCmdAttachPOI(), onCmdClearConnections(), onCmdEdgeUseAsTemplate(), onCmdEgeApplyTemplate(), onCmdReleasePOI(), onCmdResetConnections(), onCmdSetCustomGeometryPoint(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdTransformPOI(), onCmdTransformPOIGEO(), onCmdTriangulatePolygon(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), openObjectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), removeRestrictedLane(), restrictLane(), selectingDetectorsTLSMode(), selectingJunctionsTLSMode(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
visualization settings
Definition at line 593 of file GUISUMOAbstractView.h.
Referenced by applyGLTransform(), GNEViewNet::buildViewToolBars(), GUIViewTraffic::buildViewToolBars(), GUIViewTraffic::centerTo(), displayLegends(), GNEViewNet::doPaintGL(), GUIViewTraffic::doPaintGL(), GNEViewNet::drawGLElements(), GNEViewNet::drawGrid(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalJunctionTLSLines(), GNEViewNet::drawTemporalSplitJunction(), GNEViewNet::drawTestsCircle(), editVisualisationSettings(), filterInternalLanes(), getObjectsInBoundary(), getVisualisationSettings(), GNEViewNet::GNEViewNet(), GUISUMOAbstractView(), makeSnapshot(), GNEViewNet::onCmdEditConnectionShape(), GNEViewNet::onCmdEditCrossingShape(), GNEViewNet::onCmdEditJunctionShape(), GNEViewNet::onCmdEditWalkingAreaShape(), GUIViewTraffic::onCmdShowReachability(), GNEViewNet::onCmdToggleDrawJunctionShape(), GNEViewNet::onCmdToggleShowConnections(), GNEViewNet::onCmdToggleShowGrid(), onConfigure(), onKeyPress(), paintGL(), paintGLGrid(), GNEViewNet::recalculateBoundaries(), GNEViewNet::redrawPathElementContours(), GNEViewNet::saveVisualizationSettings(), GNEViewNet::setColorScheme(), GUIViewTraffic::setColorScheme(), GNEViewNet::setSelectorFrameScale(), showViewschemeEditor(), snapToActiveGrid(), GNEViewNet::updateObjectsInPosition(), GNEViewNet::updateObjectsInShape(), and ~GUISUMOAbstractView().
|
protectedinherited |
Position of the cursor relative to the window.
Definition at line 602 of file GUISUMOAbstractView.h.
Referenced by getPositionInformation(), getWindowCursorPosition(), GUISUMOAbstractView(), and setWindowCursorPosition().
|
protectedinherited |
Definition at line 602 of file GUISUMOAbstractView.h.
Referenced by getPositionInformation(), getWindowCursorPosition(), GUISUMOAbstractView(), and setWindowCursorPosition().
|
staticprotectedinherited |
Definition at line 637 of file GUISUMOAbstractView.h.
Referenced by getGUIGlObjectsUnderCursor(), getGUIGlObjectsUnderSnappedCursor(), and getObjectsUnderCursor().