![]() |
SUMO - Simulation of Urban MObility
|
#include <GUIViewTraffic.h>
Public Member Functions | |
void | addDecals (const std::vector< Decal > &decals) |
virtual void | buildViewToolBars (GUIGlChildWindow &) |
builds the view toolbars More... | |
virtual void | centerTo (GUIGlID id, bool applyZoom, SUMOReal zoomDist=20) |
centers to the chosen artifact More... | |
void | centerTo (const Boundary &bound) |
centers to the chosen artifact More... | |
void | checkSnapshots () |
Checks whether it is time for a snapshot. More... | |
void | destroyPopup () |
destoys the popup More... | |
void | endSnapshot () |
Ends a video snapshot. More... | |
GUIPerspectiveChanger & | getChanger () const |
FXComboBox & | getColoringSchemesCombo () |
SUMOTime | getCurrentTimeStep () const |
get the current simulation time More... | |
SUMOReal | getDelay () const |
Returns the delay of the parent application. More... | |
SUMOReal | getGridHeight () const |
SUMOReal | getGridWidth () const |
Position | getPositionInformation () const |
Returns the cursor's x/y position within the network. More... | |
int | getTrackedID () const |
Returns the id of the tracked vehicle (-1 if none) More... | |
GUIDialog_EditViewport * | getViewportEditor () |
get the viewport and create it on first access More... | |
Boundary | getVisibleBoundary () const |
GUIVisualizationSettings * | getVisualisationSettings () const |
GUIVisualizationSettings * | getVisualisationSettings () |
GUIViewTraffic (FXComposite *p, GUIMainWindow &app, GUISUMOViewParent *parent, GUINet &net, FXGLVisual *glVis, FXGLCanvas *share) | |
constructor More... | |
bool | isInEditMode () |
returns true, if the edit button was pressed More... | |
SUMOReal | m2p (SUMOReal meter) const |
meter-to-pixels conversion method More... | |
FXbool | makeCurrent () |
A reimplementation due to some internal reasons. More... | |
long | onCmdAddRerouter (FXObject *, FXSelector, void *) |
long | onCmdCloseEdge (FXObject *, FXSelector, void *) |
long | onCmdCloseLane (FXObject *, FXSelector, void *) |
interaction with the simulation More... | |
virtual long | onConfigure (FXObject *, FXSelector, void *) |
void | onGamingClick (Position pos) |
handle mouse click in gaming mode More... | |
virtual long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
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 void | openObjectDialog () |
SUMOReal | p2m (SUMOReal pixel) const |
pixels-to-meters conversion method More... | |
virtual void | recenterView () |
recenters the view More... | |
void | remove (GUIDialog_EditViewport *) |
void | remove (GUIDialog_ViewSettings *) |
void | saveFrame (const std::string &destFile, FXColor *buf) |
Adds a frame to a video snapshot which will be initialized if neccessary. More... | |
bool | setColorScheme (const std::string &name) |
void | setDelay (SUMOReal delay) |
Sets the delay of the parent application. More... | |
virtual void | setViewport (const Position &lookFrom, const Position &lookAt) |
applies the given viewport settings More... | |
void | setWindowCursorPosition (FXint x, FXint y) |
Returns the information whether rotation is allowd. More... | |
void | showToolTips (bool val) |
virtual void | showViewportEditor () |
void | showViewschemeEditor () |
void | startTrack (int id) |
Starts vehicle tracking. More... | |
void | stopTrack () |
Stops vehicle tracking. More... | |
void | updateToolTip () |
A method that updates the tooltip. More... | |
virtual | ~GUIViewTraffic () |
destructor More... | |
Dealing with snapshots | |
void | setSnapshots (std::map< SUMOTime, std::string > snaps) |
Sets the snapshot time to file map. More... | |
std::string | makeSnapshot (const std::string &destFile) |
Takes a snapshots and writes it into the given file. 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... | |
Protected Member Functions | |
void | applyGLTransform (bool fixRatio=true) |
FXImage * | checkGDALImage (Decal &d) |
check whether we can read image data or position with gdal More... | |
void | displayLegend () |
virtual void | doInit () |
int | doPaintGL (int mode, const Boundary &bound) |
void | drawDecals () |
Draws the stored decals. More... | |
GUILane * | getLaneUnderCursor () |
GUIGlID | getObjectAtPosition (Position pos) |
returns the id of the object at position using GL_SELECT More... | |
std::vector< GUIGlID > | getObjectsAtPosition (Position pos, SUMOReal radius) |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT More... | |
std::vector< GUIGlID > | getObjectsInBoundary (const Boundary &bound) |
returns the ids of all objects in the given boundary More... | |
GUIGlID | getObjectUnderCursor () |
returns the id of the object under the cursor using GL_SELECT More... | |
GUIViewTraffic () | |
void | paintGL () |
performs the painting of the simulation More... | |
void | paintGLGrid () |
paints a grid More... | |
void | showToolTipFor (unsigned int id) |
invokes the tooltip for the given object More... | |
void | updatePositionInformation () const |
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... | |
GUIMainWindow * | myApp |
The application. More... | |
GUIPerspectiveChanger * | myChanger |
The perspective changer. More... | |
SUMORTree * | myGrid |
The visualization speed-up. More... | |
bool | myInEditMode |
Information whether too-tip informations shall be generated. More... | |
int | myMouseHotspotX |
Offset to the mouse-hotspot from the mouse position. More... | |
int | myMouseHotspotY |
GUIGlChildWindow * | myParent |
The parent window. More... | |
MFXMutex | myPolyDrawLock |
GUIGLObjectPopupMenu * | myPopup |
The current popup-menu. More... | |
std::map< SUMOTime, std::string > | mySnapshots |
bool | myUseToolTips |
GUIDialog_EditViewport * | myViewportChooser |
GUIDialog_ViewSettings * | myVisualizationChanger |
GUIVisualizationSettings * | myVisualizationSettings |
FXint | myWindowCursorPositionX |
Position of the cursor relative to the window. More... | |
FXint | myWindowCursorPositionY |
Optionally shown decals | |
std::vector< Decal > | myDecals |
The list of decals to show. More... | |
MFXMutex | myDecalsLock |
The mutex to use before accessing the decals list in order to avoid thread conficts. More... | |
Private Attributes | |
int | myTrackedID |
Microsocopic view at the simulation
Definition at line 63 of file GUIViewTraffic.h.
GUIViewTraffic::GUIViewTraffic | ( | FXComposite * | p, |
GUIMainWindow & | app, | ||
GUISUMOViewParent * | parent, | ||
GUINet & | net, | ||
FXGLVisual * | glVis, | ||
FXGLCanvas * | share | ||
) |
constructor
Definition at line 93 of file GUIViewTraffic.cpp.
|
virtual |
destructor
Definition at line 107 of file GUIViewTraffic.cpp.
|
inlineprotected |
Definition at line 131 of file GUIViewTraffic.h.
|
inherited |
Adds an object to call its additional visualisation method.
[in] | which | The object to add |
Definition at line 1085 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIBaseVehicle::addActiveAddVisualisation(), GUIPerson::addActiveAddVisualisation(), and GUISUMOAbstractView::onGamingClick().
|
inlineinherited |
Definition at line 322 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::myDecals.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
protectedinherited |
Definition at line 1116 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GLO_MAX, GUISUMOAbstractView::myChanger, SUMOReal, Boundary::xmin(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::doInit(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
virtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 112 of file GUIViewTraffic.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getLocatorPopup(), GUICompleteSchemeStorage::getNames(), gSchemeStorage, MSGlobals::gUseMesoSim, ICON_LOCATEADD, ICON_LOCATEEDGE, ICON_LOCATEJUNCTION, ICON_LOCATEPERSON, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_LOCATETLS, ICON_LOCATEVEHICLE, MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPERSON, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATETLS, MID_LOCATEVEHICLE, GUISUMOAbstractView::myVisualizationSettings, and GUIVisualizationSettings::name.
|
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 |
Definition at line 506 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::centerTo(), Boundary::getCenter(), GUIGlObject::getCenteringBoundary(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewport(), GUIGlObjectStorage::unblockObject(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUIGLObjectPopupMenu::onCmdCenter(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processSet(), and GUIGlChildWindow::setView().
|
inherited |
centers to the chosen artifact
Definition at line 523 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::setViewport().
|
protectedinherited |
check whether we can read image data or position with gdal
Definition at line 965 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::Decal::centerX, GUISUMOAbstractView::Decal::centerY, GUISUMOAbstractView::Decal::filename, GUISUMOAbstractView::getGridHeight(), GUISUMOAbstractView::getGridWidth(), GeoConvHelper::getProcessing(), GUISUMOAbstractView::Decal::height, GUISUMOAbstractView::Decal::width, WRITE_MESSAGE, WRITE_WARNING, Position::x(), GeoConvHelper::x2cartesian(), and Position::y().
Referenced by GUISUMOAbstractView::doInit(), and GUISUMOAbstractView::drawDecals().
|
virtual |
Checks whether it is time for a snapshot.
Reimplemented from GUISUMOAbstractView.
Definition at line 387 of file GUIViewTraffic.cpp.
References GUISUMOAbstractView::checkSnapshots(), GUISUMOAbstractView::makeSnapshot(), and WRITE_WARNING.
|
inherited |
destoys the popup
Definition at line 582 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopup.
Referenced by GNEInternalLane::onDefault(), GUISUMOAbstractView::onGamingClick(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onRightBtnPress(), and GUISUMOAbstractView::onRightBtnRelease().
|
protectedinherited |
brief Draws the size legend
Draws a line with ticks, and the length information.
Definition at line 419 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::m2p(), pfDrawString(), pfSetPosition(), pfSetScaleXY(), and SUMOReal.
Referenced by GUISUMOAbstractView::doInit(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
inlineprotectedvirtualinherited |
Reimplemented in GNEViewNet.
Definition at line 351 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::checkGDALImage(), GUISUMOAbstractView::displayLegend(), GUISUMOAbstractView::drawDecals(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getObjectUnderCursor(), GUISUMOAbstractView::paintGLGrid(), GUISUMOAbstractView::showToolTipFor(), and SUMOReal.
Referenced by GUISUMOAbstractView::onConfigure().
|
protectedvirtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 190 of file GUIViewTraffic.cpp.
References GUISUMOAbstractView::drawDecals(), GUINet::getGUIInstance(), GUINet::lock(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::myAdditionallyDrawn, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myUseToolTips, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), GUIVisualizationSettings::scale, SUMORTree::Search(), GUIVisualizationSettings::showGrid, SUMO_const_laneWidth, GUINet::unlock(), Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
|
protectedinherited |
Draws the stored decals.
Definition at line 1044 of file GUISUMOAbstractView.cpp.
References GUITexturesHelper::add(), GUISUMOAbstractView::Decal::centerX, GUISUMOAbstractView::Decal::centerY, GUISUMOAbstractView::checkGDALImage(), GUITexturesHelper::drawTexturedBox(), GUISUMOAbstractView::Decal::filename, GUITexturesHelper::getMaxTextureSize(), GUISUMOAbstractView::Decal::glID, GUISUMOAbstractView::Decal::height, GUISUMOAbstractView::Decal::image, GUISUMOAbstractView::Decal::initialised, GUISUMOAbstractView::Decal::layer, MFXImageHelper::loadImage(), MFXMutex::lock(), GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::Decal::rot, MFXImageHelper::scalePower2(), GUISUMOAbstractView::Decal::skip2D, SUMOReal, MFXMutex::unlock(), GUISUMOAbstractView::Decal::width, WRITE_ERROR, and WRITE_WARNING.
Referenced by GUISUMOAbstractView::doInit(), doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
virtual |
Ends a video snapshot.
Reimplemented from GUISUMOAbstractView.
Definition at line 376 of file GUIViewTraffic.cpp.
|
inlineinherited |
Definition at line 131 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::getVisibleBoundary(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), and GUISUMOAbstractView::onPaint().
Referenced by GUIApplicationWindow::onCmdNetedit(), TraCIServerAPI_GUI::processGet(), and TraCIServerAPI_GUI::processSet().
|
inherited |
Definition at line 959 of file GUISUMOAbstractView.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), and GUISUMOAbstractView::myParent.
Referenced by GUISettingsHandler::addSettings(), GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::onCmdSaveSetting().
|
virtual |
get the current simulation time
Reimplemented from GUISUMOAbstractView.
Definition at line 305 of file GUIViewTraffic.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by onGamingClick().
|
inherited |
Returns the delay of the parent application.
Definition at line 1134 of file GUISUMOAbstractView.cpp.
References GUIMainWindow::getDelay(), and GUISUMOAbstractView::myApp.
Referenced by GUISUMOAbstractView::getVisualisationSettings(), and GUIDialog_ViewSettings::onCmdExportSetting().
|
inherited |
Definition at line 953 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), and GUISUMOAbstractView::myGrid.
Referenced by GUISUMOAbstractView::checkGDALImage(), GUIDialog_ViewSettings::onCmdEditTable(), and GUISUMOAbstractView::remove().
|
inherited |
Definition at line 947 of file GUISUMOAbstractView.cpp.
References Boundary::getWidth(), GUISUMOAbstractView::myGrid, and SUMOReal.
Referenced by GUISUMOAbstractView::checkGDALImage(), GUIDialog_ViewSettings::onCmdEditTable(), and GUISUMOAbstractView::remove().
|
protected |
Definition at line 311 of file GUIViewTraffic.cpp.
References GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUISUMOAbstractView::makeCurrent().
Referenced by onCmdAddRerouter(), onCmdCloseEdge(), and onCmdCloseLane().
returns the id of the object at position using GL_SELECT
Definition at line 261 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_LANE, GLO_POI, GLO_POLYGON, Boundary::grow(), max, SUMOReal, GUIGlObjectStorage::unblockObject(), and GUIVisualizationSettings::UseMesoSim.
Referenced by GUISUMOAbstractView::doInit(), GNEViewNet::getEdgeAtCursorPosition(), GNEViewNet::getJunctionAtCursorPosition(), GNEViewNet::getLaneAtCurserPosition(), and GUISUMOAbstractView::getObjectUnderCursor().
|
protectedinherited |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT
Definition at line 306 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, Boundary::grow(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::doInit(), and GNEViewNet::getEdgesAtCursorPosition().
|
protectedinherited |
returns the ids of all objects in the given boundary
Definition at line 334 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::doPaintGL(), GUIVisualizationSettings::drawForSelecting, GUIPerspectiveChanger::getViewport(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, GUIMainWindow::setStatusBarText(), GUIPerspectiveChanger::setViewport(), and toString().
Referenced by GUISUMOAbstractView::doInit(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GNEViewNet::mergeJunctions(), and GNEViewNet::onLeftBtnRelease().
|
protectedinherited |
returns the id of the object under the cursor using GL_SELECT
Definition at line 255 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getPositionInformation().
Referenced by GUISUMOAbstractView::doInit(), getLaneUnderCursor(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::paintGL().
|
inherited |
Returns the cursor's x/y position within the network.
Definition at line 172 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myWindowCursorPositionX, GUISUMOAbstractView::myWindowCursorPositionY, SUMOReal, Boundary::xmin(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEViewNet::markPopupPosition(), GUIDanielPerspectiveChanger::onKeyPress(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GNEViewNet::onMouseMove(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updatePositionInformation().
|
virtual |
Returns the id of the tracked vehicle (-1 if none)
Reimplemented from GUISUMOAbstractView.
Definition at line 257 of file GUIViewTraffic.cpp.
References myTrackedID.
|
inherited |
get the viewport and create it on first access
Definition at line 912 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setValues().
Referenced by GUISUMOAbstractView::getCurrentTimeStep(), GUIDialog_ViewSettings::onCmdExportSetting(), and GUISUMOAbstractView::showViewportEditor().
|
inherited |
Definition at line 197 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), and GUISUMOAbstractView::myChanger.
Referenced by GUISUMOAbstractView::getChanger(), and TraCIServerAPI_GUI::processGet().
|
inlineinherited |
Definition at line 218 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GNELane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIApplicationWindow::onCmdEditChosen(), and TraCIServerAPI_GUI::processGet().
|
inlineinherited |
Definition at line 327 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::getDelay(), GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::setDelay(), SUMOReal, and GUISUMOAbstractView::updatePositionInformation().
|
inherited |
returns true, if the edit button was pressed
Definition at line 157 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myInEditMode.
Referenced by GUISUMOAbstractView::buildViewToolBars().
meter-to-pixels conversion method
Definition at line 488 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GUISUMOAbstractView::myChanger, and SUMOReal.
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUISUMOAbstractView::displayLegend(), doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
inherited |
A reimplementation due to some internal reasons.
Definition at line 544 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::buildViewToolBars(), GNEViewNet::getEdgeAtCursorPosition(), GNEViewNet::getEdgesAtCursorPosition(), GNEViewNet::getJunctionAtCursorPosition(), GNEViewNet::getLaneAtCurserPosition(), getLaneUnderCursor(), GUISUMOAbstractView::makeSnapshot(), GNEViewNet::mergeJunctions(), GUISUMOAbstractView::onConfigure(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GUISUMOAbstractView::onPaint(), and GUISUMOAbstractView::openObjectDialog().
|
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 |
Definition at line 731 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUIVisualizationSettings::antialiase, GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::displayLegend(), GUIVisualizationSettings::dither, GUISUMOAbstractView::doPaintGL(), GUISUMOAbstractView::drawDecals(), GUIPerspectiveChanger::getViewport(), RGBColor::green(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myUseToolTips, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), RGBColor::red(), GUISUMOAbstractView::saveFrame(), MFXImageHelper::saveImage(), GUIVisualizationSettings::scale, SUMORTree::Search(), GUIVisualizationSettings::showGrid, GUIVisualizationSettings::showSizeLegend, FXSingleEventThread::sleep(), SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by checkSnapshots(), GUISUMOAbstractView::checkSnapshots(), GUIApplicationWindow::handleEvent_Screenshot(), GNEViewParent::onCmdMakeSnapshot(), GUISUMOViewParent::onCmdMakeSnapshot(), and GUISUMOAbstractView::onMiddleBtnRelease().
long GUIViewTraffic::onCmdAddRerouter | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 350 of file GUIViewTraffic.cpp.
References MSLane::getEdge(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
long GUIViewTraffic::onCmdCloseEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 338 of file GUIViewTraffic.cpp.
References MSLane::getEdge(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
long GUIViewTraffic::onCmdCloseLane | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
interaction with the simulation
Definition at line 326 of file GUIViewTraffic.cpp.
References GUILane::closeTraffic(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
|
virtualinherited |
Definition at line 551 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::checkSnapshots(), GUISUMOAbstractView::doInit(), RGBColor::green(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myVisualizationSettings, and RGBColor::red().
Referenced by GUISUMOAbstractView::getChanger().
|
virtual |
handle mouse click in gaming mode
Reimplemented from GUISUMOAbstractView.
Definition at line 263 of file GUIViewTraffic.cpp.
References MSSimpleTrafficLightLogic::changeStepAndDuration(), Position::distanceTo(), MSPhaseDefinition::duration, MSTLLogicControl::get(), MSTLLogicControl::TLSLogicVariants::getAllLogics(), MSTLLogicControl::getAllLogics(), getCurrentTimeStep(), Named::getID(), MSNet::getInstance(), MSTrafficLightLogic::getLanesAt(), MSSimpleTrafficLightLogic::getPhase(), MSTrafficLightLogic::getProgramID(), MSNet::getTLSControl(), MSTLLogicControl::isActive(), SUMOReal, and MSTLLogicControl::switchTo().
|
virtualinherited |
Definition at line 710 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onKeyPress().
Referenced by GNEViewParent::onKeyPress(), GUISUMOViewParent::onKeyPress(), and GUISUMOAbstractView::onMiddleBtnRelease().
|
virtualinherited |
Definition at line 717 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onKeyRelease().
Referenced by GNEViewParent::onKeyRelease(), GUISUMOViewParent::onKeyRelease(), and GUISUMOAbstractView::onMiddleBtnRelease().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 589 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getObjectUnderCursor(), gSelected, GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::onLeftBtnPress(), and GUISelectedStorage::toggleSelection().
Referenced by GUISUMOAbstractView::getChanger(), and GNEViewNet::onLeftBtnPress().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 616 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onGamingClick(), and GUIPerspectiveChanger::onLeftBtnRelease().
Referenced by GUISUMOAbstractView::getChanger(), and GNEViewNet::onLeftBtnRelease().
|
inlinevirtualinherited |
Definition at line 141 of file GUISUMOAbstractView.h.
|
inlinevirtualinherited |
Definition at line 144 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::onKeyRelease(), GUISUMOAbstractView::onMouseLeft(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::setSnapshots(), and GUISUMOAbstractView::updateToolTip().
|
virtualinherited |
Definition at line 672 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onMiddleBtnRelease().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 659 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUIDialog_EditViewport::haveGrabbed(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, GUIPerspectiveChanger::onMouseMove(), GUIDialog_EditViewport::setValues(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by GUISUMOAbstractView::onMiddleBtnRelease(), GNEViewNet::onMouseMove(), and GUISUMOAbstractView::onRightBtnRelease().
|
virtualinherited |
Definition at line 649 of file GUISUMOAbstractView.cpp.
References GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::onMouseWheel(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by GUISUMOAbstractView::onMiddleBtnRelease().
|
virtualinherited |
Definition at line 569 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, and GUISUMOAbstractView::paintGL().
Referenced by GUISUMOAbstractView::getChanger(), and GNEViewNet::updateModeSpecificControls().
|
virtualinherited |
Definition at line 628 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onRightBtnPress().
Referenced by GUISUMOAbstractView::onMiddleBtnRelease().
|
virtualinherited |
Definition at line 637 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onMouseMove(), GUIPerspectiveChanger::onRightBtnRelease(), and GUISUMOAbstractView::openObjectDialog().
Referenced by GUISUMOAbstractView::onMiddleBtnRelease().
|
virtualinherited |
Definition at line 678 of file GUISUMOAbstractView.cpp.
References GUIGlObjectStorage::getNetObject(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GUIGlObject::getPopUpMenu(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, GUIPerspectiveChanger::onRightBtnRelease(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::onMiddleBtnRelease(), and GUISUMOAbstractView::onRightBtnRelease().
pixels-to-meters conversion method
Definition at line 494 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUIDanielPerspectiveChanger::changeCanvassLeft(), GUIDanielPerspectiveChanger::move(), and GUISUMOAbstractView::showToolTipFor().
|
protectedinherited |
performs the painting of the simulation
Definition at line 202 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUIVisualizationSettings::antialiase, GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::displayLegend(), GUIVisualizationSettings::dither, GUISUMOAbstractView::doPaintGL(), GUISUMOAbstractView::getObjectUnderCursor(), GUISUMOAbstractView::getTrackedID(), GUIPerspectiveChanger::getViewport(), RGBColor::green(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myUseToolTips, GUISUMOAbstractView::myVisualizationSettings, RGBColor::red(), GUIVisualizationSettings::showSizeLegend, and GUISUMOAbstractView::showToolTipFor().
Referenced by GUISUMOAbstractView::getVisualisationSettings(), and GUISUMOAbstractView::onPaint().
|
protectedinherited |
paints a grid
Definition at line 387 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myVisualizationSettings, SUMOReal, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::doInit(), doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
virtualinherited |
recenters the view
Definition at line 500 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGrid, and GUIPerspectiveChanger::setViewport().
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUIGlChildWindow::onCmdRecenterView(), GUIDanielPerspectiveChanger::onKeyPress(), and GUICompleteSchemeStorage::setViewport().
|
inlineinherited |
Definition at line 222 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::myViewportChooser.
Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().
|
inlineinherited |
Definition at line 226 of file GUISUMOAbstractView.h.
References GUISUMOAbstractView::getGridHeight(), GUISUMOAbstractView::getGridWidth(), GUISUMOAbstractView::myVisualizationChanger, and SUMOReal.
|
inherited |
Removes an object from the list of objects that show additional things.
[in] | which | The object to remoe |
Definition at line 1097 of file GUISUMOAbstractView.cpp.
References GUIGlObject::getGlID(), GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::myAdditionallyDrawn, and GUISUMOAbstractView::stopTrack().
Referenced by GUISUMOAbstractView::onGamingClick(), GUIBaseVehicle::removeActiveAddVisualisation(), and GUIPerson::removeActiveAddVisualisation().
|
virtual |
Adds a frame to a video snapshot which will be initialized if neccessary.
Reimplemented from GUISUMOAbstractView.
Definition at line 362 of file GUIViewTraffic.cpp.
References GUIMainWindow::getDelay(), GUISUMOAbstractView::myApp, UNUSED_PARAMETER, and GUIVideoEncoder::writeFrame().
|
virtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 173 of file GUIViewTraffic.cpp.
References GUICompleteSchemeStorage::contains(), GUIVisualizationSettings::gaming, GUICompleteSchemeStorage::get(), GUIDialog_ViewSettings::getCurrentScheme(), gSchemeStorage, GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, and GUIDialog_ViewSettings::setCurrentScheme().
|
inherited |
Sets the delay of the parent application.
Definition at line 1140 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setDelay().
Referenced by GUISUMOAbstractView::getVisualisationSettings(), and GUIDialog_ViewSettings::loadSettings().
|
inherited |
Sets the snapshot time to file map.
[in] | snaps | The snapshots to take at certain times |
Definition at line 725 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshots.
Referenced by GUISUMOAbstractView::onMiddleBtnRelease(), and GUISettingsHandler::setSnapshots().
|
virtualinherited |
applies the given viewport settings
Definition at line 933 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewport(), Position::x(), Position::y(), and Position::z().
Referenced by GUISUMOAbstractView::buildViewToolBars(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIDialog_ViewSettings::loadSettings(), GUIDialog_EditViewport::onCmdCancel(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdLoad(), GUIDialog_EditViewport::onCmdOk(), TraCIServerAPI_GUI::processSet(), GUISettingsHandler::setViewport(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
Returns the information whether rotation is allowd.
Returns the gl-id of the object under the given coordinates
Definition at line 537 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myMouseHotspotX, GUISUMOAbstractView::myMouseHotspotY, GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.
Referenced by GUISUMOAbstractView::buildViewToolBars(), and GUIDanielPerspectiveChanger::onMouseMove().
|
protectedinherited |
invokes the tooltip for the given object
Definition at line 373 of file GUISUMOAbstractView.cpp.
References Position::add(), RGBColor::BLACK, GLHelper::drawTextBox(), GUIGlObject::getFullName(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPositionInformation(), GUIGlObjectStorage::gIDStorage, GLO_MAX, GUISUMOAbstractView::p2m(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::doInit(), and GUISUMOAbstractView::paintGL().
|
inherited |
Definition at line 940 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips, and SUMOReal.
Referenced by GUISUMOAbstractView::getCurrentTimeStep(), and GUIGlChildWindow::onCmdShowToolTips().
|
virtualinherited |
Definition at line 924 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getViewportEditor(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), Position::INVALID, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setOldValues().
Referenced by GUISUMOAbstractView::getCurrentTimeStep(), and GUIGlChildWindow::onCmdEditViewport().
|
inherited |
Definition at line 898 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, and GUIDialog_ViewSettings::setCurrent().
Referenced by GUISUMOAbstractView::getCurrentTimeStep(), GUIGlChildWindow::onCmdEditViewScheme(), and GUIDanielPerspectiveChanger::onKeyPress().
|
virtual |
Starts vehicle tracking.
[in] | id | The glID of the vehicle to track |
Reimplemented from GUISUMOAbstractView.
Definition at line 245 of file GUIViewTraffic.cpp.
References myTrackedID.
|
virtual |
Stops vehicle tracking.
Reimplemented from GUISUMOAbstractView.
Definition at line 251 of file GUIViewTraffic.cpp.
References myTrackedID.
|
protectedinherited |
Definition at line 182 of file GUISUMOAbstractView.cpp.
References GeoConvHelper::cartesian2geo(), GEO_OUTPUT_ACCURACY, GUIMainWindow::getCartesianLabel(), GeoConvHelper::getFinal(), GUIMainWindow::getGeoLabel(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myApp, toString(), Position::x(), and Position::y().
Referenced by GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::onMouseMove(), and GUISUMOAbstractView::onMouseWheel().
|
inherited |
A method that updates the tooltip.
Definition at line 163 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::onMiddleBtnRelease(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIDanielPerspectiveChanger::onMouseWheel().
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 447 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addAdditionalGLVisualisation(), doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::removeAdditionalGLVisualisation().
|
protectedinherited |
Internal information whether doInit() was called.
Definition at line 421 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onPaint(), and GUISUMOAbstractView::openObjectDialog().
|
protectedinherited |
The application.
Definition at line 396 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getDelay(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), GUISUMOAbstractView::openObjectDialog(), saveFrame(), setColorScheme(), GUISUMOAbstractView::setDelay(), GNEViewNet::setEditMode(), GNEViewNet::setStatusBarText(), and GUISUMOAbstractView::updatePositionInformation().
|
protectedinherited |
The perspective changer.
Definition at line 405 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::getChanger(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::getVisibleBoundary(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::onKeyRelease(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::p2m(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::recenterView(), GUISUMOAbstractView::setViewport(), GUISUMOAbstractView::showViewportEditor(), GNEViewNet::updateModeSpecificControls(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
The list of decals to show.
Definition at line 435 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addDecals(), GUISUMOAbstractView::drawDecals(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
The mutex to use before accessing the decals list in order to avoid thread conficts.
Definition at line 438 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::showViewschemeEditor().
|
protectedinherited |
The visualization speed-up.
Definition at line 402 of file GUISUMOAbstractView.h.
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::getGridHeight(), GUISUMOAbstractView::getGridWidth(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::paintGLGrid(), and GUISUMOAbstractView::recenterView().
|
protectedinherited |
Information whether too-tip informations shall be generated.
Definition at line 408 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::isInEditMode().
|
protectedinherited |
Offset to the mouse-hotspot from the mouse position.
Definition at line 411 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 411 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
The parent window.
Definition at line 399 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getColoringSchemesCombo().
|
mutableprotectedinherited |
Definition at line 444 of file GUISUMOAbstractView.h.
|
protectedinherited |
The current popup-menu.
Definition at line 414 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Definition at line 442 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::setSnapshots().
|
private |
Definition at line 124 of file GUIViewTraffic.h.
Referenced by getTrackedID(), startTrack(), and stopTrack().
|
protectedinherited |
Definition at line 418 of file GUISUMOAbstractView.h.
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTips(), and GUISUMOAbstractView::updateToolTip().
|
protectedinherited |
Definition at line 423 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::remove(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Definition at line 428 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::remove(), setColorScheme(), GNEViewNet::setColorScheme(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Definition at line 416 of file GUISUMOAbstractView.h.
Referenced by buildViewToolBars(), doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::paintGLGrid(), setColorScheme(), GNEViewNet::setColorScheme(), GNEViewNet::setEditMode(), GNEViewNet::setSelectionScaling(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Position of the cursor relative to the window.
Definition at line 426 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 426 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::setWindowCursorPosition().