![]() |
SUMO - Simulation of Urban MObility
|
#include <GUIViewTraffic.h>
Public Member Functions | |
void | addDecals (const std::vector< Decal > &decals) |
add decals More... | |
virtual void | buildViewToolBars (GUIGlChildWindow &) |
builds the view toolbars More... | |
virtual void | centerTo (GUIGlID id, bool applyZoom, double 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... | |
virtual void | copyViewportTo (GUISUMOAbstractView *view) |
copy the viewport to the given view More... | |
void | destroyPopup () |
destoys the popup More... | |
void | endSnapshot () |
Ends a video snapshot. More... | |
GUIPerspectiveChanger & | getChanger () const |
get changer More... | |
FXComboBox & | getColoringSchemesCombo () |
get coloring schemes combo More... | |
SUMOTime | getCurrentTimeStep () const |
get the current simulation time More... | |
double | getDelay () const |
Returns the delay of the parent application. More... | |
double | getGridHeight () const |
get grid Height More... | |
double | getGridWidth () const |
get grid width More... | |
Position | getPositionInformation () const |
Returns the cursor's x/y position within the network. More... | |
GUIGlID | 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 |
get visible boundary More... | |
GUIVisualizationSettings * | getVisualisationSettings () const |
get visualitation settings More... | |
GUIVisualizationSettings * | getVisualisationSettings () |
get visualisation settings More... | |
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... | |
double | m2p (double 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... | |
void | onGamingClick (Position pos) |
handle mouse click in gaming mode More... | |
virtual void | openObjectDialog () |
double | p2m (double pixel) const |
pixels-to-meters conversion method More... | |
virtual void | recenterView () |
recenters the view More... | |
void | remove (GUIDialog_EditViewport *) |
remove viewport More... | |
void | remove (GUIDialog_ViewSettings *) |
remove view settings More... | |
void | saveFrame (const std::string &destFile, FXColor *buf) |
Adds a frame to a video snapshot which will be initialized if neccessary. More... | |
Position | screenPos2NetPos (int x, int y) const |
Translate screen position to network position. More... | |
bool | setColorScheme (const std::string &name) |
set color scheme More... | |
void | setDelay (double delay) |
Sets the delay of the parent application. More... | |
virtual void | setViewportFromTo (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) |
show tool tips More... | |
virtual void | showViewportEditor () |
show viewport editor More... | |
void | showViewschemeEditor () |
show viewsscheme editor More... | |
Position | snapToActiveGrid (const Position &pos) const |
Returns a position that is mapped to the closest grid point if the grid is active. More... | |
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... | |
virtual long | onConfigure (FXObject *, FXSelector, void *) |
mouse functions More... | |
virtual long | onPaint (FXObject *, FXSelector, void *) |
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 | onRightBtnPress (FXObject *, FXSelector, void *) |
virtual long | onRightBtnRelease (FXObject *, FXSelector, void *) |
virtual long | onDoubleClicked (FXObject *, FXSelector, void *) |
virtual long | onMouseWheel (FXObject *, FXSelector, void *) |
virtual long | onMouseMove (FXObject *, FXSelector, void *) |
virtual long | onMouseLeft (FXObject *, FXSelector, void *) |
virtual long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
keyboard functions More... | |
virtual long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
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 (const GUIGlObject *const which) |
Adds an object to call its additional visualisation method. More... | |
bool | removeAdditionalGLVisualisation (const 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 | |
void | 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 | displayLegend () |
a line with ticks, and the length information. More... | |
virtual void | doInit () |
doInit More... | |
int | doPaintGL (int mode, const Boundary &bound) |
paint GL More... | |
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, double 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 (const GUIGlID id) |
invokes the tooltip for the given object More... | |
void | updatePositionInformation () const |
update position information More... | |
Protected Attributes | |
std::map< const 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 |
poly draw lock More... | |
GUIGLObjectPopupMenu * | myPopup |
The current popup-menu. More... | |
std::map< SUMOTime, std::string > | mySnapshots |
Snapshots. More... | |
bool | myUseToolTips |
use tool tips More... | |
GUIDialog_EditViewport * | myViewportChooser |
viewport chooser More... | |
GUIDialog_ViewSettings * | myVisualizationChanger |
Visualization changer. More... | |
GUIVisualizationSettings * | myVisualizationSettings |
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< Decal > | myDecals |
MFXMutex | myDecalsLock |
The mutex to use before accessing the decals list in order to avoid thread conficts. More... | |
Private Attributes | |
GUIGlID | 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 89 of file GUIViewTraffic.cpp.
|
virtual |
destructor
Definition at line 103 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 1233 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIBaseVehicle::addActiveAddVisualisation(), GUIPerson::addActiveAddVisualisation(), GUIVehicle::drawOutsideNetwork(), and GUISUMOAbstractView::endSnapshot().
|
inherited |
add decals
Definition at line 207 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
protectedinherited |
applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections)
Definition at line 1271 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GLO_MAX, GUISUMOAbstractView::myChanger, Boundary::xmin(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
virtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 108 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, MAX2(), 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 564 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(), GNECalibrator::GNECalibrator(), GNERouteProbe::GNERouteProbe(), GNEVaporizer::GNEVaporizer(), GUIGLObjectPopupMenu::onCmdCenter(), GNEDeleteFrame::onCmdCenterItem(), GNEInspectorFrame::onCmdCenterItem(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processSet(), and GUIGlChildWindow::setView().
|
inherited |
centers to the chosen artifact
Definition at line 581 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 1106 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::drawDecals().
|
virtual |
Checks whether it is time for a snapshot.
Reimplemented from GUISUMOAbstractView.
Definition at line 379 of file GUIViewTraffic.cpp.
References GUISUMOAbstractView::checkSnapshots(), GUISUMOAbstractView::makeSnapshot(), and WRITE_WARNING.
|
virtualinherited |
copy the viewport to the given view
Definition at line 1029 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::setViewportFromTo().
Referenced by GUISUMOAbstractView::buildViewToolBars(), and GUIApplicationWindow::openNewView().
|
inherited |
destoys the popup
Definition at line 640 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopup.
Referenced by GUISUMOAbstractView::endSnapshot(), GNEInternalLane::onDefault(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), and GNEViewNet::processClick().
|
protectedinherited |
a line with ticks, and the length information.
Definition at line 478 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::m2p(), pfDrawString(), pfSetPosition(), and pfSetScaleXY().
Referenced by GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
protectedvirtualinherited |
doInit
Reimplemented in GNEViewNet.
Definition at line 240 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onConfigure().
|
protectedvirtual |
paint GL
Reimplemented from GUISUMOAbstractView.
Definition at line 186 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 1185 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::p2m(), GUISUMOAbstractView::Decal::rot, MFXImageHelper::scalePower2(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::Decal::screenRelative, GUISUMOAbstractView::Decal::skip2D, MFXMutex::unlock(), GUISUMOAbstractView::Decal::width, WRITE_ERROR, Position::x(), and Position::y().
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
virtual |
Ends a video snapshot.
Reimplemented from GUISUMOAbstractView.
Definition at line 368 of file GUIViewTraffic.cpp.
|
inherited |
get changer
Definition at line 163 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger.
Referenced by GUISettingsHandler::applyViewport(), GUISUMOAbstractView::buildViewToolBars(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdLoad(), GUIApplicationWindow::onCmdNetedit(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), and GUIDialog_EditViewport::setValues().
|
inherited |
get coloring schemes combo
Definition at line 1100 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 297 of file GUIViewTraffic.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by onGamingClick().
|
inherited |
Returns the delay of the parent application.
Definition at line 1289 of file GUISUMOAbstractView.cpp.
References GUIMainWindow::getDelay(), and GUISUMOAbstractView::myApp.
Referenced by GUIDialog_ViewSettings::onCmdExportSetting().
|
inherited |
get grid Height
Definition at line 1073 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), and GUISUMOAbstractView::myGrid.
Referenced by GUISUMOAbstractView::checkGDALImage(), GUISUMOAbstractView::endSnapshot(), and GUIDialog_ViewSettings::onCmdEditTable().
|
inherited |
get grid width
Definition at line 1067 of file GUISUMOAbstractView.cpp.
References Boundary::getWidth(), and GUISUMOAbstractView::myGrid.
Referenced by GUISUMOAbstractView::checkGDALImage(), GUISUMOAbstractView::endSnapshot(), and GUIDialog_ViewSettings::onCmdEditTable().
|
protected |
Definition at line 303 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 310 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, GUIGlObjectStorage::unblockObject(), and GUIVisualizationSettings::UseMesoSim.
Referenced by 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 355 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, Boundary::grow(), and GUIGlObjectStorage::unblockObject().
Referenced by GNEViewNet::getEdgesAtCursorPosition().
|
protectedinherited |
returns the ids of all objects in the given boundary
Definition at line 383 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::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GNEViewNet::mergeJunctions(), and GNEViewNet::onLeftBtnRelease().
|
protectedinherited |
returns the id of the object under the cursor using GL_SELECT
Definition at line 304 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getPositionInformation().
Referenced by getLaneUnderCursor(), GNEViewNet::onDoubleClicked(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), GNEViewNet::onMouseMove(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::paintGL().
|
inherited |
Returns the cursor's x/y position within the network.
Definition at line 178 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myWindowCursorPositionX, GUISUMOAbstractView::myWindowCursorPositionY, and GUISUMOAbstractView::screenPos2NetPos().
Referenced by GNEAdditionalFrame::addAdditional(), GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GUILane::getPopUpMenu(), GNEViewNet::markPopupPosition(), GUIDanielPerspectiveChanger::onKeyPress(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GNEViewNet::onMouseMove(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GNEDeleteFrame::removeAttributeCarrier(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updatePositionInformation().
|
virtual |
Returns the id of the tracked vehicle (-1 if none)
Reimplemented from GUISUMOAbstractView.
Definition at line 249 of file GUIViewTraffic.cpp.
References myTrackedID.
|
inherited |
get the viewport and create it on first access
Definition at line 1002 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setValues().
Referenced by GUISUMOAbstractView::endSnapshot(), GUIDialog_ViewSettings::onCmdExportSetting(), and GUISUMOAbstractView::showViewportEditor().
|
inherited |
get visible boundary
Definition at line 245 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), and GUISUMOAbstractView::myChanger.
Referenced by GUISUMOAbstractView::buildViewToolBars(), and TraCIServerAPI_GUI::processGet().
|
inherited |
get visualitation settings
Definition at line 1049 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GUISUMOAbstractView::endSnapshot(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIApplicationWindow::onCmdEditChosen(), and TraCIServerAPI_GUI::processGet().
|
inherited |
get visualisation settings
Definition at line 213 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
|
inherited |
Check if an object is added in the additional GL visualitation.
[in] | which | The object to check |
Definition at line 1261 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUISUMOAbstractView::endSnapshot().
|
inherited |
returns true, if the edit button was pressed
Definition at line 157 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myInEditMode.
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
inherited |
meter-to-pixels conversion method
Definition at line 546 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUISUMOAbstractView::displayLegend(), doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
inherited |
A reimplementation due to some internal reasons.
Definition at line 602 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::buildViewToolBars(), GNEViewNet::getEdgeAtCursorPosition(), GNEViewNet::getEdgesAtCursorPosition(), GNEViewNet::getJunctionAtCursorPosition(), GNEViewNet::getLaneAtCurserPosition(), getLaneUnderCursor(), GUISUMOAbstractView::makeSnapshot(), GNEViewNet::mergeJunctions(), GUISUMOAbstractView::onConfigure(), GNEViewNet::onDoubleClicked(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), GNEViewNet::onMouseMove(), 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 811 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 GUISUMOAbstractView::buildViewToolBars(), checkSnapshots(), GUISUMOAbstractView::checkSnapshots(), GUIApplicationWindow::handleEvent_Screenshot(), GUISUMOViewParent::onCmdMakeSnapshot(), and GNEViewParent::onCmdMakeSnapshot().
long GUIViewTraffic::onCmdAddRerouter | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 342 of file GUIViewTraffic.cpp.
References MSLane::getEdge(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
long GUIViewTraffic::onCmdCloseEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 330 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 318 of file GUIViewTraffic.cpp.
References GUILane::closeTraffic(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
|
virtualinherited |
mouse functions
Definition at line 609 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::buildViewToolBars().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 723 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtual |
handle mouse click in gaming mode
Reimplemented from GUISUMOAbstractView.
Definition at line 255 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(), and MSTLLogicControl::switchTo().
|
virtualinherited |
keyboard functions
Definition at line 790 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onKeyPress().
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUISUMOViewParent::onKeyPress(), and GNEViewParent::onKeyPress().
|
virtualinherited |
Definition at line 797 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onKeyRelease().
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUISUMOViewParent::onKeyRelease(), and GNEViewParent::onKeyRelease().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 647 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getObjectUnderCursor(), gSelected, GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::onLeftBtnPress(), and GUISelectedStorage::toggleSelection().
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 678 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onGamingClick(), and GUIPerspectiveChanger::onLeftBtnRelease().
Referenced by GUISUMOAbstractView::buildViewToolBars(), and GNEViewNet::onLeftBtnRelease().
|
virtualinherited |
Definition at line 690 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtualinherited |
Definition at line 696 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtualinherited |
Definition at line 752 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 739 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::buildViewToolBars(), GNEViewNet::onMouseMove(), and GUISUMOAbstractView::onRightBtnRelease().
|
virtualinherited |
Definition at line 729 of file GUISUMOAbstractView.cpp.
References GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::onMouseWheel(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtualinherited |
Definition at line 627 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, and GUISUMOAbstractView::paintGL().
Referenced by GUISUMOAbstractView::buildViewToolBars(), and GNEViewNet::updateModeSpecificControls().
|
virtualinherited |
Definition at line 702 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onRightBtnPress().
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtualinherited |
Definition at line 711 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onMouseMove(), GUIPerspectiveChanger::onRightBtnRelease(), and GUISUMOAbstractView::openObjectDialog().
Referenced by GUISUMOAbstractView::buildViewToolBars().
|
virtualinherited |
Definition at line 758 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::buildViewToolBars(), and GUISUMOAbstractView::onRightBtnRelease().
|
inherited |
pixels-to-meters conversion method
Definition at line 552 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::drawDecals(), GUIDanielPerspectiveChanger::move(), and GUISUMOAbstractView::showToolTipFor().
|
protectedinherited |
performs the painting of the simulation
Definition at line 251 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(), GUIGlObject::INVALID_ID, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myUseToolTips, GUISUMOAbstractView::myVisualizationSettings, RGBColor::red(), GUIVisualizationSettings::showSizeLegend, and GUISUMOAbstractView::showToolTipFor().
Referenced by GUISUMOAbstractView::onPaint().
|
protectedinherited |
paints a grid
Definition at line 436 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::addSize, GUIVisualizationSizeSettings::getExaggeration(), GUIPerspectiveChanger::getViewport(), GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::scale, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
virtualinherited |
recenters the view
Definition at line 558 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGrid, and GUIPerspectiveChanger::setViewport().
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUIGlChildWindow::onCmdRecenterView(), GUIDanielPerspectiveChanger::onKeyPress(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
remove viewport
Definition at line 1055 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myViewportChooser.
Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().
|
inherited |
remove view settings
Definition at line 1061 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationChanger.
|
inherited |
Removes an object from the list of objects that show additional things.
[in] | which | The object to remoe |
Definition at line 1245 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIVehicle::drawOutsideNetwork(), GUISUMOAbstractView::endSnapshot(), 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 354 of file GUIViewTraffic.cpp.
References GUIMainWindow::getDelay(), GUISUMOAbstractView::myApp, UNUSED_PARAMETER, and GUIVideoEncoder::writeFrame().
|
inherited |
Translate screen position to network position.
Definition at line 197 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GUISUMOAbstractView::myChanger, Boundary::xmin(), and Boundary::ymin().
Referenced by GNEViewNet::doPaintGL(), GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::getPositionInformation().
|
virtual |
set color scheme
Reimplemented from GUISUMOAbstractView.
Definition at line 169 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 1295 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setDelay().
Referenced by GUIDialog_ViewSettings::loadSettings().
|
inherited |
Sets the snapshot time to file map.
[in] | snaps | The snapshots to take at certain times |
Definition at line 805 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshots.
Referenced by GUISUMOAbstractView::buildViewToolBars(), and GUISettingsHandler::setSnapshots().
|
virtualinherited |
applies the given viewport settings
Definition at line 1022 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewportFrom(), Position::x(), Position::y(), and Position::z().
Referenced by GUISettingsHandler::applyViewport(), GUISUMOAbstractView::buildViewToolBars(), GUISUMOAbstractView::copyViewportTo(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIDialog_EditViewport::onCmdCancel(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdOk(), TraCIServerAPI_GUI::processSet(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
Returns the information whether rotation is allowd.
Definition at line 595 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 422 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::paintGL().
|
inherited |
show tool tips
Definition at line 1037 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUISUMOAbstractView::endSnapshot(), and GUIGlChildWindow::onCmdShowToolTips().
|
virtualinherited |
show viewport editor
Definition at line 1013 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getViewportEditor(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), Position::INVALID, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, GUIDialog_EditViewport::setOldValues(), and GUIDialog_EditViewport::show().
Referenced by GUISUMOAbstractView::endSnapshot(), GUIGlChildWindow::onCmdEditViewport(), and GNEApplicationWindow::onCmdEditViewport().
|
inherited |
show viewsscheme editor
Definition at line 987 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrent(), and GUIDialog_ViewSettings::show().
Referenced by GUISUMOAbstractView::endSnapshot(), GUIGlChildWindow::onCmdEditViewScheme(), and GUIDanielPerspectiveChanger::onKeyPress().
Returns a position that is mapped to the closest grid point if the grid is active.
Definition at line 184 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, GUISUMOAbstractView::myVisualizationSettings, Position::setx(), Position::sety(), GUIVisualizationSettings::showGrid, Position::x(), and Position::y().
Referenced by GNEAdditionalFrame::addAdditional(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::onMouseMove().
|
virtual |
Starts vehicle tracking.
[in] | id | The glID of the vehicle to track |
Reimplemented from GUISUMOAbstractView.
Definition at line 237 of file GUIViewTraffic.cpp.
References myTrackedID.
|
virtual |
Stops vehicle tracking.
Reimplemented from GUISUMOAbstractView.
Definition at line 243 of file GUIViewTraffic.cpp.
References GUIGlObject::INVALID_ID, and myTrackedID.
|
protectedinherited |
update position information
Definition at line 219 of file GUISUMOAbstractView.cpp.
References GeoConvHelper::cartesian2geo(), GUIMainWindow::getCartesianLabel(), GeoConvHelper::getFinal(), GUIMainWindow::getGeoLabel(), GUISUMOAbstractView::getPositionInformation(), gPrecisionGeo, GUISUMOAbstractView::myApp, toString(), Position::x(), and Position::y().
Referenced by GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::onMouseMove(), and GUISUMOAbstractView::onMouseWheel().
|
inherited |
A method that updates the tooltip.
Definition at line 169 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUISUMOAbstractView::buildViewToolBars(), GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIDanielPerspectiveChanger::onMouseWheel().
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 434 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addAdditionalGLVisualisation(), doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::isAdditionalGLVisualisationEnabled(), and GUISUMOAbstractView::removeAdditionalGLVisualisation().
|
protectedinherited |
Internal information whether doInit() was called.
Definition at line 407 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onPaint(), and GUISUMOAbstractView::openObjectDialog().
|
protectedinherited |
The application.
Definition at line 380 of file GUISUMOAbstractView.h.
Referenced by GNEViewNet::doPaintGL(), 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 389 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::copyViewportTo(), GUISUMOAbstractView::getChanger(), GUISUMOAbstractView::getObjectsInBoundary(), 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::paintGLGrid(), GNEViewNet::processClick(), GUISUMOAbstractView::recenterView(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::setViewportFromTo(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Definition at line 421 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 424 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::showViewschemeEditor().
|
protectedinherited |
The visualization speed-up.
Definition at line 386 of file GUISUMOAbstractView.h.
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::getGridHeight(), GUISUMOAbstractView::getGridWidth(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::recenterView().
|
protectedinherited |
Information whether too-tip informations shall be generated.
Definition at line 392 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::isInEditMode().
|
protectedinherited |
Offset to the mouse-hotspot from the mouse position.
Definition at line 395 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 395 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
The parent window.
Definition at line 383 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getColoringSchemesCombo().
|
mutableprotectedinherited |
poly draw lock
Definition at line 431 of file GUISUMOAbstractView.h.
|
protectedinherited |
The current popup-menu.
Definition at line 398 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Snapshots.
Definition at line 428 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 |
use tool tips
Definition at line 404 of file GUISUMOAbstractView.h.
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTips(), and GUISUMOAbstractView::updateToolTip().
|
protectedinherited |
viewport chooser
Definition at line 410 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::remove(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Visualization changer.
Definition at line 416 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::remove(), setColorScheme(), GNEViewNet::setColorScheme(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
visualization settings
Definition at line 401 of file GUISUMOAbstractView.h.
Referenced by buildViewToolBars(), GNEViewNet::buildViewToolBars(), doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::makeSnapshot(), GNEViewNet::onCmdShowGrid(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::paintGLGrid(), setColorScheme(), GNEViewNet::setColorScheme(), GNEViewNet::setSelectionScaling(), GUISUMOAbstractView::showViewschemeEditor(), GUISUMOAbstractView::snapToActiveGrid(), GNEViewNet::updateModeSpecificControls(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Position of the cursor relative to the window.
Definition at line 413 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 413 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::setWindowCursorPosition().