Eclipse SUMO - Simulation of Urban MObility
GUISUMOAbstractView Class Referenceabstract

#include <GUISUMOAbstractView.h>

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

Data Structures

struct  Decal
 A decal (an image) that can be shown. More...
 

Public Member Functions

void addDecals (const std::vector< Decal > &decals)
 add decals More...
 
virtual void buildColorRainbow (const GUIVisualizationSettings &, GUIColorScheme &, int, GUIGlObjectType, bool hide=false, double hideThreshold=0, bool hide2=false, double hideThreshold2=0)
 recalibrate color scheme according to the current value range More...
 
virtual void buildViewToolBars (GUIGlChildWindow *)
 builds the view toolbars More...
 
void centerTo (const Boundary &bound)
 centers to the chosen artifact More...
 
virtual void centerTo (const Position &pos, bool applyZoom, double zoomDist=20)
 centers to the chosen position More...
 
virtual void centerTo (GUIGlID id, bool applyZoom, double zoomDist=20)
 centers to the chosen artifact More...
 
virtual void copyViewportTo (GUISUMOAbstractView *view)
 copy the viewport to the given view More...
 
void destroyPopup ()
 destroys the popup More...
 
GUIVisualizationSettingseditVisualisationSettings () const
 edit visualization settings (allow modify VisualizationSetings, use carefully) More...
 
GUIPerspectiveChangergetChanger () const
 get changer More...
 
FXComboBox * getColoringSchemesCombo ()
 get coloring schemes combo More...
 
double getDelay () const
 Returns the delay of the parent application. More...
 
virtual std::vector< std::string > getEdgeDataAttrs () const
 return list of loaded edgeData attributes More...
 
virtual std::vector< std::string > getEdgeLaneParamKeys (bool) const
 return list of available edge parameters More...
 
double getFPS () const
 retrieve FPS More...
 
double getGridHeight () const
 get grid height More...
 
double getGridWidth () const
 get grid width More...
 
GUIMainWindowgetMainWindow () const
 get main window More...
 
virtual std::vector< std::string > getMeanDataAttrs (const std::string &meanDataID) const
 return list of available attributes for the given meanData id More...
 
virtual std::vector< std::string > getMeanDataIDs () const
 return list of loaded edgeData ids (being computed in the current simulation) More...
 
virtual std::vector< std::string > getPOIParamKeys () const
 return list of available vehicle parameters More...
 
const PositiongetPopupPosition () const
 get position of current popup More...
 
virtual Position getPositionInformation () const
 Returns the cursor's x/y position within the network. More...
 
virtual std::vector< std::string > getRelDataAttrs () const
 return list of loaded edgeRelation and tazRelation attributes More...
 
virtual GUIGlID getTrackedID () const
 get tracked id More...
 
virtual std::vector< std::string > getVehicleParamKeys (bool) const
 return list of available vehicle parameters More...
 
GUIDialog_EditViewportgetViewportEditor ()
 get the viewport and create it on first access More...
 
Boundary getVisibleBoundary () const
 get visible boundary More...
 
const GUIVisualizationSettingsgetVisualisationSettings () const
 get visualization settings (read only) More...
 
Position getWindowCursorPosition () const
 return windows cursor position More...
 
 GUISUMOAbstractView (FXComposite *p, GUIMainWindow &app, GUIGlChildWindow *parent, const SUMORTree &grid, FXGLVisual *glVis, FXGLCanvas *share)
 constructor More...
 
virtual bool is3DView () const
 return whether this is a 3D view More...
 
bool isInEditMode ()
 returns true, if the edit button was pressed More...
 
double m2p (double meter) const
 meter-to-pixels conversion method More...
 
FXbool makeCurrent ()
 A reimplementation due to some internal reasons. More...
 
virtual long onCmdAddRerouter (FXObject *, FXSelector, void *)
 
virtual long onCmdCloseEdge (FXObject *, FXSelector, void *)
 
virtual long onCmdCloseLane (FXObject *, FXSelector, void *)
 interaction with the simulation More...
 
virtual long onCmdShowReachability (FXObject *, FXSelector, void *)
 highlight edges according to reachability More...
 
virtual long onConfigure (FXObject *, FXSelector, void *)
 mouse functions More...
 
virtual long onDoubleClicked (FXObject *, FXSelector, void *)
 
virtual void onGamingClick (Position)
 on gaming click More...
 
virtual void onGamingRightClick (Position)
 
virtual long onKeyPress (FXObject *o, FXSelector sel, void *data)
 keyboard functions More...
 
virtual long onKeyRelease (FXObject *o, FXSelector sel, void *data)
 
virtual long onLeftBtnPress (FXObject *, FXSelector, void *)
 
virtual long onLeftBtnRelease (FXObject *, FXSelector, void *)
 
virtual long onMiddleBtnPress (FXObject *, FXSelector, void *)
 
virtual long onMiddleBtnRelease (FXObject *, FXSelector, void *)
 
virtual long onMouseLeft (FXObject *, FXSelector, void *)
 
virtual long onMouseMove (FXObject *, FXSelector, void *)
 
virtual long onMouseWheel (FXObject *, FXSelector, void *)
 
virtual long onPaint (FXObject *, FXSelector, void *)
 
virtual long onRightBtnPress (FXObject *, FXSelector, void *)
 
virtual long onRightBtnRelease (FXObject *, FXSelector, void *)
 
virtual long onVisualizationChange (FXObject *, FXSelector, void *)
 hook to react on change in visualization settings More...
 
void openObjectDialog (const std::vector< GUIGlObject * > &objects)
 open object dialog for the given object More...
 
virtual void openObjectDialogAtCursor (const FXEvent *ev)
 open object dialog at the cursor position More...
 
double p2m (double pixel) const
 pixels-to-meters conversion method More...
 
virtual void recalculateBoundaries ()=0
 recalculate boundaries More...
 
virtual void recenterView ()
 recenters the view More...
 
void remove (GUIDialog_EditViewport *)
 remove viewport More...
 
void remove (GUIDialog_ViewSettings *)
 remove view settings More...
 
void replacePopup (GUIGLObjectPopupMenu *popUp)
 replace PopUp More...
 
virtual const std::vector< SUMOTimeretrieveBreakpoints () const
 retrieve breakpoints if provided by the application More...
 
Position screenPos2NetPos (int x, int y) const
 Translate screen position to network position. More...
 
void setBreakpoints (const std::vector< SUMOTime > &breakpoints)
 Sets the breakpoints of the parent application. More...
 
virtual bool setColorScheme (const std::string &)
 set color scheme More...
 
void setDelay (double delay)
 Sets the delay of the parent application. More...
 
virtual void setViewportFromToRot (const Position &lookFrom, const Position &lookAt, double rotation)
 applies the given viewport settings More...
 
void setWindowCursorPosition (FXint x, FXint y)
 Returns the gl-id of the object under the given coordinates. More...
 
virtual void showViewportEditor ()
 show viewport editor More...
 
void showViewschemeEditor ()
 show viewsscheme editor More...
 
Position snapToActiveGrid (const Position &pos, bool snapXY=true) const
 Returns a position that is mapped to the closest grid point if the grid is active. More...
 
virtual void startTrack (int)
 star track More...
 
virtual void stopTrack ()
 stop track More...
 
void updateToolTip ()
 A method that updates the tooltip. More...
 
virtual void updateViewportValues ()
 update the viewport chooser with the current view values More...
 
virtual void zoom2Pos (Position &camera, Position &lookAt, double zoom)
 zoom interface for 3D view More...
 
virtual ~GUISUMOAbstractView ()
 destructor More...
 
Dealing with snapshots
void addSnapshot (SUMOTime time, const std::string &file, const int w=-1, const int h=-1)
 Sets the snapshot time to file map. More...
 
std::string makeSnapshot (const std::string &destFile, const int w=-1, const int h=-1)
 Takes a snapshots and writes it into the given file. More...
 
virtual void saveFrame (const std::string &destFile, FXColor *buf)
 Adds a frame to a video snapshot which will be initialized if necessary. More...
 
virtual void endSnapshot ()
 Ends a video snapshot. More...
 
virtual void checkSnapshots ()
 Checks whether it is time for a snapshot. More...
 
void waitForSnapshots (const SUMOTime snapshotTime)
 
virtual SUMOTime getCurrentTimeStep () const
 get the current simulation time More...
 
Additional visualisations
bool addAdditionalGLVisualisation (GUIGlObject *const which)
 Adds an object to call its additional visualisation method. More...
 
bool removeAdditionalGLVisualisation (GUIGlObject *const which)
 Removes an object from the list of objects that show additional things. More...
 
bool isAdditionalGLVisualisationEnabled (GUIGlObject *const which) const
 Check if an object is added in the additional GL visualitation. More...
 

Protected Member Functions

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

Protected Attributes

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

The list of decals to show

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

Static Private Attributes

static const double SENSITIVITY = 0.1
 

Detailed Description

This class is meant to be pure virtual later; It shall be the main class to inherit views of the simulation (micro- or macroscopic ones) from it.

Definition at line 70 of file GUISUMOAbstractView.h.

Constructor & Destructor Documentation

◆ GUISUMOAbstractView()

GUISUMOAbstractView::GUISUMOAbstractView ( FXComposite *  p,
GUIMainWindow app,
GUIGlChildWindow parent,
const SUMORTree grid,
FXGLVisual *  glVis,
FXGLCanvas *  share 
)

◆ ~GUISUMOAbstractView()

Member Function Documentation

◆ addAdditionalGLVisualisation()

bool GUISUMOAbstractView::addAdditionalGLVisualisation ( GUIGlObject *const  which)

Adds an object to call its additional visualisation method.

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

Definition at line 1820 of file GUISUMOAbstractView.cpp.

References myAdditionallyDrawn.

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

Here is the caller graph for this function:

◆ addDecals()

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

add decals

Definition at line 240 of file GUISUMOAbstractView.cpp.

References myDecals.

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

Here is the caller graph for this function:

◆ addSnapshot()

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

Sets the snapshot time to file map.

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

Definition at line 1313 of file GUISUMOAbstractView.cpp.

References mySnapshots, and mySnapshotsMutex.

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

Here is the caller graph for this function:

◆ applyGLTransform()

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

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

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

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

Here is the caller graph for this function:

◆ buildColorRainbow()

virtual void GUISUMOAbstractView::buildColorRainbow ( const GUIVisualizationSettings ,
GUIColorScheme ,
int  ,
GUIGlObjectType  ,
bool  hide = false,
double  hideThreshold = 0,
bool  hide2 = false,
double  hideThreshold2 = 0 
)
inlinevirtual

recalibrate color scheme according to the current value range

Reimplemented in GUIViewTraffic, and GNEViewNet.

Definition at line 246 of file GUISUMOAbstractView.h.

References UNUSED_PARAMETER.

Referenced by GUIDialog_ViewSettings::onCmdColorChange().

Here is the caller graph for this function:

◆ buildViewToolBars()

virtual void GUISUMOAbstractView::buildViewToolBars ( GUIGlChildWindow )
inlinevirtual

builds the view toolbars

Reimplemented in GUIViewTraffic, and GNEViewNet.

Definition at line 84 of file GUISUMOAbstractView.h.

Referenced by GUISUMOViewParent::init().

Here is the caller graph for this function:

◆ centerTo() [1/3]

void GUISUMOAbstractView::centerTo ( const Boundary bound)

centers to the chosen artifact

Definition at line 920 of file GUISUMOAbstractView.cpp.

References myChanger, and GUIPerspectiveChanger::setViewport().

◆ centerTo() [2/3]

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

centers to the chosen position

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

Definition at line 912 of file GUISUMOAbstractView.cpp.

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

◆ centerTo() [3/3]

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

centers to the chosen artifact

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

Definition at line 895 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ checkGDALImage()

FXImage * GUISUMOAbstractView::checkGDALImage ( Decal d)
protected

check whether we can read image data or position with gdal

Definition at line 1668 of file GUISUMOAbstractView.cpp.

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

Referenced by drawDecals().

Here is the caller graph for this function:

◆ checkSnapshots()

void GUISUMOAbstractView::checkSnapshots ( )
virtual

Checks whether it is time for a snapshot.

Reimplemented in GUIViewTraffic.

Definition at line 1479 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ copyViewportTo()

void GUISUMOAbstractView::copyViewportTo ( GUISUMOAbstractView view)
virtual

copy the viewport to the given view

Definition at line 1586 of file GUISUMOAbstractView.cpp.

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

Referenced by GUIApplicationWindow::openNewView().

Here is the caller graph for this function:

◆ destroyPopup()

◆ displayColorLegend()

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

Draws a legend for the given scheme.

Definition at line 715 of file GUISUMOAbstractView.cpp.

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

Referenced by displayLegends().

Here is the caller graph for this function:

◆ displayLegend()

void GUISUMOAbstractView::displayLegend ( )
protected

Draws a line with ticks, and the length information.

Definition at line 636 of file GUISUMOAbstractView.cpp.

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

Referenced by displayLegends().

Here is the caller graph for this function:

◆ displayLegends()

void GUISUMOAbstractView::displayLegends ( )
protected

Draws the configured legends.

Definition at line 702 of file GUISUMOAbstractView.cpp.

References displayColorLegend(), displayLegend(), GUIVisualizationSettings::getLaneEdgeScheme(), GUIPropertySchemeStorage< T >::getScheme(), myVisualizationSettings, GUIVisualizationSettings::showColorLegend, GUIVisualizationSettings::showSizeLegend, GUIVisualizationSettings::showVehicleColorLegend, and GUIVisualizationSettings::vehicleColorer.

Referenced by makeSnapshot(), and paintGL().

Here is the caller graph for this function:

◆ doInit()

void GUISUMOAbstractView::doInit ( )
protectedvirtual

doInit

Reimplemented in GNEViewNet.

Definition at line 272 of file GUISUMOAbstractView.cpp.

Referenced by onConfigure().

Here is the caller graph for this function:

◆ doPaintGL()

int GUISUMOAbstractView::doPaintGL ( int  ,
const Boundary  
)
protectedvirtual

paint GL

Reimplemented in GUIViewTraffic, and GNEViewNet.

Definition at line 266 of file GUISUMOAbstractView.cpp.

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

Here is the caller graph for this function:

◆ drawDecals()

void GUISUMOAbstractView::drawDecals ( )
protected

◆ drawFPS()

void GUISUMOAbstractView::drawFPS ( )
protected

Draws frames-per-second indicator.

Definition at line 854 of file GUISUMOAbstractView.cpp.

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

Referenced by paintGL().

Here is the caller graph for this function:

◆ editVisualisationSettings()

GUIVisualizationSettings * GUISUMOAbstractView::editVisualisationSettings ( ) const

edit visualization settings (allow modify VisualizationSetings, use carefully)

Definition at line 1607 of file GUISUMOAbstractView.cpp.

References myVisualizationSettings.

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

Here is the caller graph for this function:

◆ endSnapshot()

virtual void GUISUMOAbstractView::endSnapshot ( )
inlinevirtual

Ends a video snapshot.

Reimplemented in GUIViewTraffic.

Definition at line 213 of file GUISUMOAbstractView.h.

Referenced by GUISUMOViewParent::onCmdMakeSnapshot().

Here is the caller graph for this function:

◆ filterInernalLanes()

std::vector< GUIGlObject * > GUISUMOAbstractView::filterInernalLanes ( const std::vector< GUIGlObject * > &  objects) const
protected

filter internal lanes in Objects under cursor

Definition at line 551 of file GUISUMOAbstractView.cpp.

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

Referenced by openObjectDialogAtCursor().

Here is the caller graph for this function:

◆ getChanger()

GUIPerspectiveChanger & GUISUMOAbstractView::getChanger ( ) const

get changer

Definition at line 186 of file GUISUMOAbstractView.cpp.

References myChanger.

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

Here is the caller graph for this function:

◆ getColoringSchemesCombo()

FXComboBox * GUISUMOAbstractView::getColoringSchemesCombo ( )

get coloring schemes combo

Definition at line 1662 of file GUISUMOAbstractView.cpp.

References GUIGlChildWindow::getColoringSchemesCombo(), and myParent.

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

Here is the caller graph for this function:

◆ getCurrentTimeStep()

SUMOTime GUISUMOAbstractView::getCurrentTimeStep ( ) const
virtual

get the current simulation time

Reimplemented in GUIViewTraffic.

Definition at line 1521 of file GUISUMOAbstractView.cpp.

Referenced by checkSnapshots().

Here is the caller graph for this function:

◆ getDelay()

double GUISUMOAbstractView::getDelay ( ) const

Returns the delay of the parent application.

Definition at line 1892 of file GUISUMOAbstractView.cpp.

References GUIMainWindow::getDelay(), and myApp.

Referenced by GUIDialog_ViewSettings::onCmdExportSetting().

Here is the caller graph for this function:

◆ getEdgeDataAttrs()

virtual std::vector< std::string > GUISUMOAbstractView::getEdgeDataAttrs ( ) const
inlinevirtual

return list of loaded edgeData attributes

Reimplemented in GUIViewTraffic, and GNEViewNet.

Definition at line 256 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getEdgeLaneParamKeys()

virtual std::vector< std::string > GUISUMOAbstractView::getEdgeLaneParamKeys ( bool  ) const
inlinevirtual

return list of available edge parameters

Reimplemented in GUIViewTraffic, and GNEViewNet.

Definition at line 277 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getFPS()

double GUISUMOAbstractView::getFPS ( ) const

retrieve FPS

Definition at line 849 of file GUISUMOAbstractView.cpp.

References MAX2(), and myFrameDrawTime.

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

Here is the caller graph for this function:

◆ getGridHeight()

double GUISUMOAbstractView::getGridHeight ( ) const

get grid height

Definition at line 1631 of file GUISUMOAbstractView.cpp.

References Boundary::getHeight(), and myGrid.

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

Here is the caller graph for this function:

◆ getGridWidth()

double GUISUMOAbstractView::getGridWidth ( ) const

get grid width

Definition at line 1625 of file GUISUMOAbstractView.cpp.

References Boundary::getWidth(), and myGrid.

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

Here is the caller graph for this function:

◆ getGUIGlObjectsAtPosition()

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

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

Definition at line 476 of file GUISUMOAbstractView.cpp.

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

Referenced by getGUIGlObjectsUnderCursor(), and getGUIGlObjectsUnderSnappedCursor().

Here is the caller graph for this function:

◆ getGUIGlObjectsUnderCursor()

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

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

Definition at line 393 of file GUISUMOAbstractView.cpp.

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

Referenced by GNEViewNet::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GNEViewNet::openObjectDialogAtCursor(), openObjectDialogAtCursor(), and GNEViewNet::processLeftButtonReleaseNetwork().

Here is the caller graph for this function:

◆ getGUIGlObjectsUnderSnappedCursor()

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

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

Definition at line 399 of file GUISUMOAbstractView.cpp.

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

Referenced by GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ getLaneUnderCursor()

GUILane * GUISUMOAbstractView::getLaneUnderCursor ( )
protectedvirtual

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

Reimplemented in GUIViewTraffic.

Definition at line 375 of file GUISUMOAbstractView.cpp.

◆ getMainWindow()

GUIMainWindow * GUISUMOAbstractView::getMainWindow ( ) const

get main window

Definition at line 927 of file GUISUMOAbstractView.cpp.

References myApp.

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

Here is the caller graph for this function:

◆ getMeanDataAttrs()

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

return list of available attributes for the given meanData id

Reimplemented in GUIViewTraffic.

Definition at line 266 of file GUISUMOAbstractView.h.

References UNUSED_PARAMETER.

Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getMeanDataIDs()

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

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

Reimplemented in GUIViewTraffic.

Definition at line 261 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getObjectAtPosition()

◆ getObjectsAtPosition()

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

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

Definition at line 441 of file GUISUMOAbstractView.cpp.

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

Referenced by getObjectsUnderCursor().

Here is the caller graph for this function:

◆ getObjectsInBoundary()

std::vector< GUIGlID > GUISUMOAbstractView::getObjectsInBoundary ( Boundary  bound,
bool  singlePosition 
)
protected

◆ getObjectsUnderCursor()

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

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

Definition at line 387 of file GUISUMOAbstractView.cpp.

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

◆ getObjectUnderCursor()

GUIGlID GUISUMOAbstractView::getObjectUnderCursor ( )
protected

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

Definition at line 381 of file GUISUMOAbstractView.cpp.

References getObjectAtPosition(), and getPositionInformation().

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

Here is the caller graph for this function:

◆ getPOIParamKeys()

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

return list of available vehicle parameters

Reimplemented in GUIViewTraffic.

Definition at line 287 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::updatePOIParams().

Here is the caller graph for this function:

◆ getPopupPosition()

◆ getPositionInformation()

Position GUISUMOAbstractView::getPositionInformation ( ) const
virtual

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

Definition at line 200 of file GUISUMOAbstractView.cpp.

References myWindowCursorPositionX, myWindowCursorPositionY, and screenPos2NetPos().

Referenced by GNEConsecutiveSelector::addLane(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildPersonPlan(), GNEWireFrame::buildWireOverView(), GNEMoveElement::calculateNewLane(), GNEViewNet::doPaintGL(), GNETAZ::drawDottedContours(), GNEEdge::drawEdgeGeometryPoints(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPoly::drawGL(), GNELane::drawLaneAsRailway(), GNELane::drawMarkings(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEStoppingPlace::drawSign(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEEdge::drawTAZElements(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEViewNet::drawTemporalDrawingShape(), GNEViewNet::drawTemporalJunction(), GNEViewNet::drawTemporalSplitJunction(), GNEStop::drawVehicleStop(), getGUIGlObjectsUnderCursor(), getGUIGlObjectsUnderSnappedCursor(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEPersonTrip::getMoveOperation(), GNERide::getMoveOperation(), GNEStop::getMoveOperation(), GNETranship::getMoveOperation(), GNETransport::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEWalk::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEEdge::getMoveOperation(), GNEJunction::getMoveOperation(), GNELane::getMoveOperation(), GNEWalkingArea::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNENeteditAttributes::getNeteditAttributesAndValues(), getObjectsUnderCursor(), getObjectUnderCursor(), GUIEdge::getParameterWindow(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEViewNet::onCmdSetCustomGeometryPoint(), GUIDanielPerspectiveChanger::onKeyPress(), onLeftBtnRelease(), GUIDanielPerspectiveChanger::onMiddleBtnPress(), onMouseMove(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), onRightBtnRelease(), GNEViewNet::openDeleteDialogAtCursor(), GNEViewNet::openObjectDialogAtCursor(), openPopupDialog(), GNEViewNet::openSelectDialogAtCursor(), GNEViewNet::processLeftButtonPressData(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEDeleteFrame::removeGeometryPoint(), and updatePositionInformationLabel().

◆ getRelDataAttrs()

virtual std::vector< std::string > GUISUMOAbstractView::getRelDataAttrs ( ) const
inlinevirtual

return list of loaded edgeRelation and tazRelation attributes

Reimplemented in GNEViewNet.

Definition at line 272 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().

Here is the caller graph for this function:

◆ getTrackedID()

GUIGlID GUISUMOAbstractView::getTrackedID ( ) const
virtual

get tracked id

Reimplemented in GUIViewTraffic.

Definition at line 1647 of file GUISUMOAbstractView.cpp.

References GUIGlObject::INVALID_ID.

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

Here is the caller graph for this function:

◆ getVehicleParamKeys()

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

return list of available vehicle parameters

Reimplemented in GUIViewTraffic.

Definition at line 282 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::updateVehicleParams().

Here is the caller graph for this function:

◆ getViewportEditor()

GUIDialog_EditViewport * GUISUMOAbstractView::getViewportEditor ( )

get the viewport and create it on first access

Definition at line 1543 of file GUISUMOAbstractView.cpp.

References MAX2(), MIN2(), myViewportChooser, and updateViewportValues().

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

Here is the caller graph for this function:

◆ getVisibleBoundary()

Boundary GUISUMOAbstractView::getVisibleBoundary ( ) const

get visible boundary

Definition at line 277 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getViewport(), and myChanger.

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

Here is the caller graph for this function:

◆ getVisualisationSettings()

const GUIVisualizationSettings & GUISUMOAbstractView::getVisualisationSettings ( ) const

get visualization settings (read only)

Definition at line 1601 of file GUISUMOAbstractView.cpp.

References myVisualizationSettings.

Referenced by GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNEViewNetHelper::LockIcon::checkDrawing(), GNEPathManager::PathDraw::drawPathGeometry(), GNEAdditional::drawSemiCircleGeometryPoint(), GNEStop::getColor(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEEdge::getMoveOperation(), GNEJunction::getMoveOperation(), GNELane::getMoveOperation(), GNEWalkingArea::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEM_PathLegend::GNEM_PathLegend(), GNECrossingFrame::Information::Information(), GNEConnectorFrame::initTargets(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), GNEApplicationWindow::onCmdToggleDrawJunctionShape(), GNEApplicationWindow::onCmdToggleGrid(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNELane::removeGeometryPoint(), GNEPoly::removeGeometryPoint(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), and GNEStop::updateGeometry().

Here is the caller graph for this function:

◆ getWindowCursorPosition()

Position GUISUMOAbstractView::getWindowCursorPosition ( ) const

return windows cursor position

Definition at line 933 of file GUISUMOAbstractView.cpp.

References myWindowCursorPositionX, and myWindowCursorPositionY.

Referenced by updatePositionInformationLabel().

Here is the caller graph for this function:

◆ is3DView()

bool GUISUMOAbstractView::is3DView ( ) const
virtual

return whether this is a 3D view

Definition at line 283 of file GUISUMOAbstractView.cpp.

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

Here is the caller graph for this function:

◆ isAdditionalGLVisualisationEnabled()

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

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

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

Definition at line 1848 of file GUISUMOAbstractView.cpp.

References myAdditionallyDrawn.

◆ isInEditMode()

bool GUISUMOAbstractView::isInEditMode ( )

returns true, if the edit button was pressed

Definition at line 180 of file GUISUMOAbstractView.cpp.

References myInEditMode.

◆ m2p()

double GUISUMOAbstractView::m2p ( double  meter) const

meter-to-pixels conversion method

Definition at line 877 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ makeCurrent()

◆ makeSnapshot()

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

Takes a snapshots and writes it into the given file.

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

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

Definition at line 1323 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ onCmdAddRerouter()

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

Reimplemented in GUIViewTraffic.

Definition at line 357 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCloseEdge()

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

Reimplemented in GUIViewTraffic.

Definition at line 351 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCloseLane()

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

interaction with the simulation

Reimplemented in GUIViewTraffic.

Definition at line 345 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdShowReachability()

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

highlight edges according to reachability

Reimplemented in GUIViewTraffic.

Definition at line 363 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onConfigure()

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

mouse functions

Definition at line 953 of file GUISUMOAbstractView.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onDoubleClicked()

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

Reimplemented in GUIViewTraffic.

Definition at line 1130 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onGamingClick()

void GUISUMOAbstractView::onGamingClick ( Position  )
virtual

on gaming click

Reimplemented in GUIViewTraffic.

Definition at line 1653 of file GUISUMOAbstractView.cpp.

Referenced by onLeftBtnRelease().

Here is the caller graph for this function:

◆ onGamingRightClick()

void GUISUMOAbstractView::onGamingRightClick ( Position  )
virtual

Reimplemented in GUIViewTraffic.

Definition at line 1657 of file GUISUMOAbstractView.cpp.

Referenced by onRightBtnRelease().

Here is the caller graph for this function:

◆ onKeyPress()

long GUISUMOAbstractView::onKeyPress ( FXObject *  o,
FXSelector  sel,
void *  data 
)
virtual

keyboard functions

Reimplemented in GNEViewNet.

Definition at line 1276 of file GUISUMOAbstractView.cpp.

References GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, myChanger, myPopup, myVisualizationSettings, and GUIPerspectiveChanger::onKeyPress().

Referenced by FXDEFMAP(), GUISUMOViewParent::onKeyPress(), GNEViewNet::onKeyPress(), and GNEViewParent::onKeyPress().

Here is the caller graph for this function:

◆ onKeyRelease()

long GUISUMOAbstractView::onKeyRelease ( FXObject *  o,
FXSelector  sel,
void *  data 
)
virtual

Reimplemented in GNEViewNet.

Definition at line 1301 of file GUISUMOAbstractView.cpp.

References myChanger, myPopup, and GUIPerspectiveChanger::onKeyRelease().

Referenced by FXDEFMAP(), GUISUMOViewParent::onKeyRelease(), GNEViewNet::onKeyRelease(), and GNEViewParent::onKeyRelease().

Here is the caller graph for this function:

◆ onLeftBtnPress()

long GUISUMOAbstractView::onLeftBtnPress ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
virtual

Reimplemented in GNEViewNet.

Definition at line 1016 of file GUISUMOAbstractView.cpp.

References destroyPopup(), GUIGlObjectStorage::getObjectBlocking(), getObjectUnderCursor(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_PERSON, GLO_REROUTER_EDGE, GLO_VEHICLE, gSelected, makeCurrent(), myChanger, GUIGlObject::onLeftBtnPress(), GUIPerspectiveChanger::onLeftBtnPress(), startTrack(), and GUISelectedStorage::toggleSelection().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onLeftBtnRelease()

long GUISUMOAbstractView::onLeftBtnRelease ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
virtual

Reimplemented in GNEViewNet.

Definition at line 1065 of file GUISUMOAbstractView.cpp.

References destroyPopup(), getPositionInformation(), GUIMainWindow::isGaming(), myApp, myChanger, onGamingClick(), and GUIPerspectiveChanger::onLeftBtnRelease().

Referenced by FXDEFMAP(), and GNEViewNet::onLeftBtnRelease().

Here is the caller graph for this function:

◆ onMiddleBtnPress()

long GUISUMOAbstractView::onMiddleBtnPress ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
virtual

Reimplemented in GNEViewNet.

Definition at line 1077 of file GUISUMOAbstractView.cpp.

References destroyPopup(), GUICursorSubSys::getCursor(), MOVEVIEW, myChanger, myPanning, and GUIPerspectiveChanger::onMiddleBtnPress().

Referenced by FXDEFMAP(), and GNEViewNet::onMiddleBtnPress().

Here is the caller graph for this function:

◆ onMiddleBtnRelease()

long GUISUMOAbstractView::onMiddleBtnRelease ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
virtual

Reimplemented in GNEViewNet.

Definition at line 1092 of file GUISUMOAbstractView.cpp.

References DEFAULT, destroyPopup(), GUICursorSubSys::getCursor(), myChanger, myPanning, and GUIPerspectiveChanger::onMiddleBtnRelease().

Referenced by FXDEFMAP(), and GNEViewNet::onMiddleBtnRelease().

Here is the caller graph for this function:

◆ onMouseLeft()

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

Definition at line 1180 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onMouseMove()

long GUISUMOAbstractView::onMouseMove ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
virtual

◆ onMouseWheel()

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

Definition at line 1136 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUIMainWindow::isGaming(), myApp, myChanger, myViewportChooser, GUIPerspectiveChanger::onMouseWheel(), GUIDialog_EditViewport::setValues(), and updatePositionInformationLabel().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onPaint()

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

Definition at line 971 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ onRightBtnPress()

long GUISUMOAbstractView::onRightBtnPress ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
virtual

Reimplemented in GNEViewNet.

Definition at line 1106 of file GUISUMOAbstractView.cpp.

References destroyPopup(), myChanger, and GUIPerspectiveChanger::onRightBtnPress().

Referenced by FXDEFMAP(), and GNEViewNet::onRightBtnPress().

Here is the caller graph for this function:

◆ onRightBtnRelease()

long GUISUMOAbstractView::onRightBtnRelease ( FXObject *  o,
FXSelector  sel,
void *  ptr 
)
virtual

Reimplemented in GNEViewNet.

Definition at line 1115 of file GUISUMOAbstractView.cpp.

References destroyPopup(), getPositionInformation(), GUIMainWindow::isGaming(), myApp, myChanger, onGamingRightClick(), onMouseMove(), GUIPerspectiveChanger::onRightBtnRelease(), and openObjectDialogAtCursor().

Referenced by FXDEFMAP(), and GNEViewNet::onRightBtnRelease().

Here is the caller graph for this function:

◆ onVisualizationChange()

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

hook to react on change in visualization settings

Definition at line 369 of file GUISUMOAbstractView.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openObjectDialog()

void GUISUMOAbstractView::openObjectDialog ( const std::vector< GUIGlObject * > &  objects)

open object dialog for the given object

Definition at line 1247 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ openObjectDialogAtCursor()

void GUISUMOAbstractView::openObjectDialogAtCursor ( const FXEvent *  ev)
virtual

open object dialog at the cursor position

Reimplemented in GNEViewNet.

Definition at line 1186 of file GUISUMOAbstractView.cpp.

References filterInernalLanes(), getGUIGlObjectsUnderCursor(), GUIGlObjectStorage::getNetObject(), GUIGlObjectStorage::gIDStorage, GLO_CONTAINER, GLO_CONTAINERFLOW, GLO_EDGE, GLO_FLOW, GLO_PERSON, GLO_PERSONFLOW, GLO_ROUTEFLOW, GLO_TLLOGIC, GLO_TRIP, GLO_VEHICLE, makeCurrent(), myAmInitialised, and openObjectDialog().

Referenced by onRightBtnRelease().

Here is the caller graph for this function:

◆ openPopupDialog()

void GUISUMOAbstractView::openPopupDialog ( )
protected

open popup dialog

Definition at line 1792 of file GUISUMOAbstractView.cpp.

References getPositionInformation(), MAX2(), MIN2(), myApp, myChanger, myPopup, myPopupPosition, and GUIPerspectiveChanger::onRightBtnRelease().

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

Here is the caller graph for this function:

◆ p2m()

double GUISUMOAbstractView::p2m ( double  pixel) const

pixels-to-meters conversion method

Definition at line 883 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ paintGL()

◆ paintGLGrid()

void GUISUMOAbstractView::paintGLGrid ( )
protected

◆ recalculateBoundaries()

virtual void GUISUMOAbstractView::recalculateBoundaries ( )
pure virtual

recalculate boundaries

Implemented in GUIViewTraffic, and GNEViewNet.

Referenced by GUIDialog_ViewSettings::onCmdColorChange().

Here is the caller graph for this function:

◆ recenterView()

void GUISUMOAbstractView::recenterView ( )
virtual

recenters the view

Definition at line 889 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ remove() [1/2]

void GUISUMOAbstractView::remove ( GUIDialog_EditViewport )

remove viewport

Definition at line 1613 of file GUISUMOAbstractView.cpp.

References myViewportChooser.

Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().

Here is the caller graph for this function:

◆ remove() [2/2]

void GUISUMOAbstractView::remove ( GUIDialog_ViewSettings )

remove view settings

Definition at line 1619 of file GUISUMOAbstractView.cpp.

References myVisualizationChanger.

◆ removeAdditionalGLVisualisation()

bool GUISUMOAbstractView::removeAdditionalGLVisualisation ( GUIGlObject *const  which)

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

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

Definition at line 1832 of file GUISUMOAbstractView.cpp.

References myAdditionallyDrawn.

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

Here is the caller graph for this function:

◆ replacePopup()

void GUISUMOAbstractView::replacePopup ( GUIGLObjectPopupMenu popUp)

replace PopUp

Definition at line 1001 of file GUISUMOAbstractView.cpp.

References myChanger, myPopup, and GUIPerspectiveChanger::onRightBtnRelease().

Referenced by GUICursorDialog::onCmdOpenPropertiesPopUp().

Here is the caller graph for this function:

◆ retrieveBreakpoints()

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

retrieve breakpoints if provided by the application

Reimplemented in GUIViewTraffic.

Definition at line 417 of file GUISUMOAbstractView.h.

Referenced by GUIDialog_ViewSettings::onCmdExportSetting().

Here is the caller graph for this function:

◆ saveFrame()

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

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

Reimplemented in GUIViewTraffic.

Definition at line 1472 of file GUISUMOAbstractView.cpp.

References UNUSED_PARAMETER.

Referenced by makeSnapshot().

Here is the caller graph for this function:

◆ screenPos2NetPos()

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

Translate screen position to network position.

Definition at line 225 of file GUISUMOAbstractView.cpp.

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

Referenced by drawDecals(), and getPositionInformation().

Here is the caller graph for this function:

◆ setBreakpoints()

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

Sets the breakpoints of the parent application.

Definition at line 1904 of file GUISUMOAbstractView.cpp.

References myApp, and GUIMainWindow::setBreakpoints().

Referenced by GUIDialog_ViewSettings::loadSettings().

Here is the caller graph for this function:

◆ setColorScheme()

bool GUISUMOAbstractView::setColorScheme ( const std::string &  )
virtual

set color scheme

Reimplemented in GUIViewTraffic, and GNEViewNet.

Definition at line 1595 of file GUISUMOAbstractView.cpp.

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

Here is the caller graph for this function:

◆ setDelay()

void GUISUMOAbstractView::setDelay ( double  delay)

Sets the delay of the parent application.

Definition at line 1898 of file GUISUMOAbstractView.cpp.

References myApp, and GUIMainWindow::setDelay().

Referenced by GUIDialog_ViewSettings::loadSettings().

Here is the caller graph for this function:

◆ setViewportFromToRot()

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

◆ setWindowCursorPosition()

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

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

Definition at line 939 of file GUISUMOAbstractView.cpp.

References myMouseHotspotX, myMouseHotspotY, myWindowCursorPositionX, and myWindowCursorPositionY.

Referenced by GUIDanielPerspectiveChanger::onMouseMove().

Here is the caller graph for this function:

◆ showToolTipFor()

bool GUISUMOAbstractView::showToolTipFor ( const GUIGlID  idToolTip)
protected

invokes the tooltip for the given object

Definition at line 579 of file GUISUMOAbstractView.cpp.

References GUIGlObjectStorage::getObjectBlocking(), GUIGlChildWindow::getParent(), GUIMainWindow::getStaticTooltipView(), GUIGlObjectStorage::gIDStorage, MFXStaticToolTip::hideStaticToolTip(), GUIGlObject::INVALID_ID, myParent, and MFXStaticToolTip::showStaticToolTip().

Referenced by paintGL().

Here is the caller graph for this function:

◆ showViewportEditor()

void GUISUMOAbstractView::showViewportEditor ( )
virtual

show viewport editor

Definition at line 1569 of file GUISUMOAbstractView.cpp.

References GUIPerspectiveChanger::getRotation(), getViewportEditor(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), Position::INVALID, myChanger, myViewportChooser, GUIDialog_EditViewport::setOldValues(), and GUIDialog_EditViewport::show().

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

Here is the caller graph for this function:

◆ showViewschemeEditor()

void GUISUMOAbstractView::showViewschemeEditor ( )

show viewsscheme editor

Definition at line 1527 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ snapToActiveGrid()

◆ startTrack()

void GUISUMOAbstractView::startTrack ( int  )
virtual

star track

Reimplemented in GUIViewTraffic.

Definition at line 1637 of file GUISUMOAbstractView.cpp.

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

Here is the caller graph for this function:

◆ stopTrack()

void GUISUMOAbstractView::stopTrack ( )
virtual

stop track

Reimplemented in GUIViewTraffic.

Definition at line 1642 of file GUISUMOAbstractView.cpp.

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

Here is the caller graph for this function:

◆ updatePositionInformationLabel()

void GUISUMOAbstractView::updatePositionInformationLabel ( ) const
protectedvirtual

update position information labels

Definition at line 246 of file GUISUMOAbstractView.cpp.

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

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

Here is the caller graph for this function:

◆ updateToolTip()

void GUISUMOAbstractView::updateToolTip ( )

A method that updates the tooltip.

Definition at line 192 of file GUISUMOAbstractView.cpp.

References GUIGlChildWindow::getParent(), GUIMainWindow::getStaticTooltipView(), MFXStaticToolTip::isStaticToolTipEnabled(), and myParent.

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

Here is the caller graph for this function:

◆ updateViewportValues()

void GUISUMOAbstractView::updateViewportValues ( )
virtual

update the viewport chooser with the current view values

Definition at line 1561 of file GUISUMOAbstractView.cpp.

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

Referenced by getViewportEditor().

Here is the caller graph for this function:

◆ waitForSnapshots()

void GUISUMOAbstractView::waitForSnapshots ( const SUMOTime  snapshotTime)

Definition at line 1512 of file GUISUMOAbstractView.cpp.

References mySnapshotCondition, mySnapshots, and mySnapshotsMutex.

◆ zoom2Pos()

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

zoom interface for 3D view

Definition at line 288 of file GUISUMOAbstractView.cpp.

Referenced by GUIDialog_EditViewport::onCmdChanged().

Here is the caller graph for this function:

Field Documentation

◆ myAdditionallyDrawn

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

◆ myAmInitialised

bool GUISUMOAbstractView::myAmInitialised
protected

Internal information whether doInit() was called.

Definition at line 539 of file GUISUMOAbstractView.h.

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

◆ myApp

◆ myChanger

◆ myClickedPopupPosition

Position GUISUMOAbstractView::myClickedPopupPosition = Position::INVALID
protected

◆ myCurrentObjectsDialog

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

vector with current objects dialog

Definition at line 533 of file GUISUMOAbstractView.h.

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

◆ myDecals

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

◆ myDecalsLock

FXMutex GUISUMOAbstractView::myDecalsLock
protected

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

Definition at line 556 of file GUISUMOAbstractView.h.

Referenced by drawDecals(), and showViewschemeEditor().

◆ myFrameDrawTime

long GUISUMOAbstractView::myFrameDrawTime
protected

counter for measuring rendering time

Definition at line 575 of file GUISUMOAbstractView.h.

Referenced by getFPS(), and paintGL().

◆ myGrid

const SUMORTree* GUISUMOAbstractView::myGrid
protected

The visualization speed-up.

Definition at line 509 of file GUISUMOAbstractView.h.

Referenced by GUIViewTraffic::doPaintGL(), GNEViewNet::doPaintGL(), getGridHeight(), getGridWidth(), makeSnapshot(), and recenterView().

◆ myInEditMode

bool GUISUMOAbstractView::myInEditMode = false
protected

Information whether too-tip informations shall be generated.

Definition at line 518 of file GUISUMOAbstractView.h.

Referenced by isInEditMode().

◆ myMouseHotspotX

int GUISUMOAbstractView::myMouseHotspotX
protected

Offset to the mouse-hotspot from the mouse position.

Definition at line 521 of file GUISUMOAbstractView.h.

Referenced by setWindowCursorPosition().

◆ myMouseHotspotY

int GUISUMOAbstractView::myMouseHotspotY
protected

Definition at line 521 of file GUISUMOAbstractView.h.

Referenced by setWindowCursorPosition().

◆ myPanning

bool GUISUMOAbstractView::myPanning = false
protected

Panning flag.

Definition at line 515 of file GUISUMOAbstractView.h.

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

◆ myParent

GUIGlChildWindow* GUISUMOAbstractView::myParent
protected

The parent window.

Definition at line 506 of file GUISUMOAbstractView.h.

Referenced by getColoringSchemesCombo(), paintGL(), showToolTipFor(), and updateToolTip().

◆ myPolyDrawLock

FXMutex GUISUMOAbstractView::myPolyDrawLock
mutableprotected

poly draw lock

Definition at line 569 of file GUISUMOAbstractView.h.

◆ myPopup

◆ myPopupPosition

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

The current popup-menu position.

Definition at line 530 of file GUISUMOAbstractView.h.

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

◆ mySnapshotCondition

FXCondition GUISUMOAbstractView::mySnapshotCondition
protected

the semaphore when waiting for snapshots to finish

Definition at line 566 of file GUISUMOAbstractView.h.

Referenced by checkSnapshots(), and waitForSnapshots().

◆ mySnapshots

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

Snapshots.

Definition at line 560 of file GUISUMOAbstractView.h.

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

◆ mySnapshotsMutex

FXMutex GUISUMOAbstractView::mySnapshotsMutex
protected

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

Definition at line 563 of file GUISUMOAbstractView.h.

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

◆ myViewportChooser

GUIDialog_EditViewport* GUISUMOAbstractView::myViewportChooser
protected

◆ myVisualizationChanger

GUIDialog_ViewSettings* GUISUMOAbstractView::myVisualizationChanger
protected

◆ myVisualizationSettings

◆ myWindowCursorPositionX

FXint GUISUMOAbstractView::myWindowCursorPositionX
protected

Position of the cursor relative to the window.

Definition at line 545 of file GUISUMOAbstractView.h.

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

◆ myWindowCursorPositionY

FXint GUISUMOAbstractView::myWindowCursorPositionY
protected

◆ SENSITIVITY

const double GUISUMOAbstractView::SENSITIVITY = 0.1
staticprivate

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