![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUIViewTraffic.h>
Public Member Functions | |
void | addDecals (const std::vector< Decal > &decals) |
add decals More... | |
void | buildColorRainbow (const GUIVisualizationSettings &s, GUIColorScheme &scheme, int active, GUIGlObjectType objectType, bool hide=false, double hideThreshold=0) |
recalibrate color scheme according to the current value range More... | |
virtual void | buildViewToolBars (GUIGlChildWindow &) |
builds the view toolbars More... | |
void | centerTo (const Boundary &bound) |
centers to the chosen artifact More... | |
virtual void | centerTo (const Position &pos, bool applyZoom, double zoomDist=20) |
centers to the chosen position More... | |
virtual void | centerTo (GUIGlID id, bool applyZoom, double zoomDist=20) |
centers to the chosen artifact More... | |
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... | |
std::vector< std::string > | getEdgeDataAttrs () const |
return list of loaded edgeData attributes More... | |
std::vector< std::string > | getEdgeLaneParamKeys (bool edgeKeys) const |
return list of available edge parameters More... | |
double | getFPS () const |
retrieve FPS More... | |
double | getGridHeight () const |
get grid height More... | |
double | getGridWidth () const |
get grid width More... | |
const Position & | getPopupPosition () const |
get position of current popup 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... | |
std::vector< std::string > | getVehicleParamKeys (bool vTypeKeys) const |
return list of available vehicle parameters More... | |
GUIDialog_EditViewport * | getViewportEditor () |
get the viewport and create it on first access More... | |
Boundary | getVisibleBoundary () const |
get visible boundary More... | |
GUIVisualizationSettings * | getVisualisationSettings () |
get visualisation settings More... | |
GUIVisualizationSettings * | getVisualisationSettings () const |
get visualitation settings More... | |
Position | getWindowCursorPosition () const |
Returns the information whether rotation is allowd. 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... | |
long | onCmdShowReachability (FXObject *, FXSelector, void *) |
highlight edges according to reachability More... | |
virtual long | onConfigure (FXObject *, FXSelector, void *) |
mouse functions More... | |
long | onDoubleClicked (FXObject *, FXSelector, void *) |
void | onGamingClick (Position pos) |
handle mouse click in gaming mode More... | |
void | onGamingRightClick (Position pos) |
virtual long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
keyboard functions More... | |
virtual long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
virtual long | onLeftBtnPress (FXObject *, FXSelector, void *) |
virtual long | onLeftBtnRelease (FXObject *, FXSelector, void *) |
virtual long | onMiddleBtnPress (FXObject *, FXSelector, void *) |
virtual long | onMiddleBtnRelease (FXObject *, FXSelector, void *) |
virtual long | onMouseLeft (FXObject *, FXSelector, void *) |
virtual long | onMouseMove (FXObject *, FXSelector, void *) |
virtual long | onMouseWheel (FXObject *, FXSelector, void *) |
virtual long | onPaint (FXObject *, FXSelector, void *) |
virtual long | onRightBtnPress (FXObject *, FXSelector, void *) |
virtual long | onRightBtnRelease (FXObject *, FXSelector, void *) |
virtual 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... | |
const std::vector< SUMOTime > | retrieveBreakpoints () const |
retrieve breakpoints from the current runThread 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... | |
void | setBreakpoints (const std::vector< SUMOTime > &breakpoints) |
Sets the breakpoints of the parent application. More... | |
bool | setColorScheme (const std::string &name) |
set color scheme More... | |
void | setDelay (double delay) |
Sets the delay of the parent application. More... | |
virtual void | setViewportFromToRot (const Position &lookFrom, const Position &lookAt, double rotation) |
applies the given viewport settings More... | |
void | setWindowCursorPosition (FXint x, FXint y) |
Returns the gl-id of the object under the given coordinates. More... | |
void | showToolTips (bool val) |
show tool tips More... | |
virtual void | showViewportEditor () |
show viewport editor More... | |
void | showViewschemeEditor () |
show viewsscheme editor More... | |
Position | snapToActiveGrid (const Position &pos, bool snapXY=true) const |
Returns a position that is mapped to the closest grid point if the grid is active. More... | |
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 | addSnapshot (SUMOTime time, const std::string &file, const int w=-1, const int h=-1) |
Sets the snapshot time to file map. More... | |
std::string | makeSnapshot (const std::string &destFile, const int w=-1, const int h=-1) |
Takes a snapshots and writes it into the given file. More... | |
void | waitForSnapshots (const SUMOTime snapshotTime) |
Additional visualisations | |
bool | addAdditionalGLVisualisation (GUIGlObject *const which) |
Adds an object to call its additional visualisation method. More... | |
bool | removeAdditionalGLVisualisation (GUIGlObject *const which) |
Removes an object from the list of objects that show additional things. More... | |
bool | isAdditionalGLVisualisationEnabled (GUIGlObject *const which) const |
Check if an object is added in the additional GL visualitation. More... | |
Protected Member Functions | |
Boundary | applyGLTransform (bool fixRatio=true) |
applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections) More... | |
FXImage * | checkGDALImage (Decal &d) |
check whether we can read image data or position with gdal More... | |
void | displayColorLegend () |
Draws a legend for the current edge coloring scheme. More... | |
void | displayLegend () |
Draws 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... | |
void | drawFPS () |
Draws frames-per-second indicator. More... | |
std::vector< GUIGlObject * > | getGUIGlObjectsAtPosition (Position pos, double radius) |
returns the GUIGlObjects at position within the given (rectangular) radius using GL_SELECT More... | |
std::vector< GUIGlObject * > | getGUIGlObjectsUnderCursor () |
returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects) More... | |
std::vector< GUIGlObject * > | getGUIGlObjectsUnderGrippedCursor () |
returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects) 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 (Boundary bound, bool singlePosition) |
returns the ids of all objects in the given boundary More... | |
std::vector< GUIGlID > | getObjectsUnderCursor () |
returns the id of the objects under the cursor using GL_SELECT (including overlapped objects) More... | |
GUIGlID | getObjectUnderCursor () |
returns the id of the front object under the cursor using GL_SELECT More... | |
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< 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... | |
long | myFrameDrawTime |
counter for measuring rendering time 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... | |
FXMutex | myPolyDrawLock |
poly draw lock More... | |
GUIGLObjectPopupMenu * | myPopup |
The current popup-menu. More... | |
Position | myPopupPosition |
The current popup-menu position. More... | |
FXCondition | mySnapshotCondition |
the semaphore when waiting for snapshots to finish More... | |
std::map< SUMOTime, std::vector< std::tuple< std::string, int, int > > > | mySnapshots |
Snapshots. More... | |
FXMutex | mySnapshotsMutex |
The mutex to use before accessing the decals list in order to avoid thread conflicts. More... | |
bool | myUseToolTips |
use tool tips More... | |
GUIDialog_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 |
FXMutex | myDecalsLock |
The mutex to use before accessing the decals list in order to avoid thread conflicts. More... | |
Private Attributes | |
bool | myTLSGame |
whether game mode was set to 'tls' More... | |
GUIGlID | myTrackedID |
Static Private Attributes | |
static const double | SENSITIVITY = 0.1 |
Microsocopic view at the simulation
Definition at line 54 of file GUIViewTraffic.h.
GUIViewTraffic::GUIViewTraffic | ( | FXComposite * | p, |
GUIMainWindow & | app, | ||
GUISUMOViewParent * | parent, | ||
GUINet & | net, | ||
FXGLVisual * | glVis, | ||
FXGLCanvas * | share | ||
) |
constructor
Definition at line 82 of file GUIViewTraffic.cpp.
|
virtual |
|
inlineprotected |
Definition at line 147 of file GUIViewTraffic.h.
|
inherited |
Adds an object to call its additional visualisation method.
[in] | which | The object to add |
Definition at line 1583 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIBaseVehicle::addActiveAddVisualisation(), GUIPerson::addActiveAddVisualisation(), and GUIVehicle::drawOutsideNetwork().
|
inherited |
add decals
Definition at line 230 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
inherited |
Sets the snapshot time to file map.
[in] | snaps | The snapshots to take at certain times |
[in] | w | The snapshot image width |
[in] | w | The snapshot image height |
Definition at line 1097 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshots, and GUISUMOAbstractView::mySnapshotsMutex.
Referenced by checkSnapshots(), TraCIServerAPI_GUI::processSet(), and GUISettingsHandler::setSnapshots().
|
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 1621 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIVisualizationSettings::angle, DEG2RAD, Boundary::getCenter(), Boundary::getHeight(), GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GLO_MAX, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, Position::rotateAround2D(), Position::x(), Boundary::xmax(), Boundary::xmin(), Position::y(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
virtual |
recalibrate color scheme according to the current value range
Reimplemented from GUISUMOAbstractView.
Definition at line 181 of file GUIViewTraffic.cpp.
References GUIPropertyScheme< T >::addColor(), RGBColor::BLUE, GUIPropertyScheme< T >::clear(), RGBColor::CYAN, RGBColor::fromHSV(), MSEdge::getAllEdges(), GUIEdge::getColorValue(), GUILane::getColorValue(), GUIPropertyScheme< T >::getName(), GLO_JUNCTION, GLO_LANE, RGBColor::GREEN, MSGlobals::gUseMesoSim, GUIPropertyScheme< T >::isFixed(), RGBColor::MAGENTA, MAX2(), MIN2(), RGBColor::ORANGE, RGBColor::RED, GUIVisualizationSettings::SCHEME_NAME_PERMISSION_CODE, and RGBColor::YELLOW.
|
virtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 103 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.
|
inherited |
centers to the chosen artifact
Definition at line 814 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::setViewport().
|
virtualinherited |
centers to the chosen position
[in] | pos | Position to center view |
[in] | applyZoom | Whether to zoom in |
[in] | zoomDist | The distance in m to use for the zoom, values < 0 means: use the centeringBoundary |
Definition at line 806 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::centerTo(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::updatePositionInformation().
|
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 789 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::centerTo(), Boundary::getCenter(), GUIGlObject::getCenteringBoundary(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewport(), GUIGlObjectStorage::unblockObject(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GUIGLObjectPopupMenu::onCmdCenter(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processSet(), and GUIGlChildWindow::setView().
|
protectedinherited |
check whether we can read image data or position with gdal
Definition at line 1456 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(), and Position::y().
Referenced by GUISUMOAbstractView::drawDecals().
|
virtual |
Checks whether it is time for a snapshot.
Reimplemented from GUISUMOAbstractView.
Definition at line 632 of file GUIViewTraffic.cpp.
References GUISUMOAbstractView::addSnapshot(), GUISUMOAbstractView::checkSnapshots(), DELTA_T, and getCurrentTimeStep().
|
virtualinherited |
copy the viewport to the given view
Definition at line 1374 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::setViewportFromToRot().
Referenced by GUIApplicationWindow::openNewView().
|
inherited |
destoys the popup
Definition at line 884 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, and Position::set().
Referenced by GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdEditConnectionShape(), GNEViewNet::onCmdEditCrossingShape(), GNEViewNet::onCmdEditJunctionShape(), GNEViewNet::onCmdReplaceJunction(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdSplitJunction(), GNEViewNet::onCmdSplitJunctionReconnect(), GNEInternalLane::onDefault(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), GNEViewNet::processClick(), and GUIBaseVehicle::~GUIBaseVehicle().
|
protectedinherited |
Draws a legend for the current edge coloring scheme.
Definition at line 648 of file GUISUMOAbstractView.cpp.
References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_RIGHT, GUIPropertyScheme< T >::getColors(), GUIVisualizationSettings::getLaneEdgeScheme(), GUIPropertyScheme< T >::getNames(), GUIPropertyScheme< T >::getThresholds(), RGBColor::interpolate(), GUIPropertyScheme< T >::isFixed(), GUISUMOAbstractView::myVisualizationSettings, GLHelper::setColor(), toString(), and RGBColor::WHITE.
Referenced by GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
protectedinherited |
Draws a line with ticks, and the length information.
Definition at line 582 of file GUISUMOAbstractView.cpp.
References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, and GUISUMOAbstractView::m2p().
Referenced by GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
protectedvirtualinherited |
doInit
Reimplemented in GNEViewNet.
Definition at line 263 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onConfigure().
|
protectedvirtual |
paint GL
Reimplemented from GUISUMOAbstractView.
Definition at line 304 of file GUIViewTraffic.cpp.
References GUISUMOAbstractView::drawDecals(), GUIVisualizationSettings::drawForRectangleSelection, 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 1535 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(), GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::p2m(), GUISUMOAbstractView::Decal::rot, MFXImageHelper::scalePower2(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::Decal::screenRelative, GUISUMOAbstractView::Decal::skip2D, GUISUMOAbstractView::Decal::width, WRITE_ERROR, Position::x(), and Position::y().
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
protectedinherited |
Draws frames-per-second indicator.
Definition at line 751 of file GUISUMOAbstractView.cpp.
References GLHelper::drawText(), FONS_ALIGN_LEFT, GUISUMOAbstractView::getFPS(), RGBColor::RED, and toString().
Referenced by GUISUMOAbstractView::paintGL().
|
virtual |
Ends a video snapshot.
Reimplemented from GUISUMOAbstractView.
Definition at line 621 of file GUIViewTraffic.cpp.
Referenced by ~GUIViewTraffic().
|
inherited |
get changer
Definition at line 175 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger.
Referenced by GUISettingsHandler::applyViewport(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdLoad(), GUIApplicationWindow::onCmdNetedit(), GNEApplicationWindow::onCmdOpenSUMOGUI(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), and GUIDialog_EditViewport::setValues().
|
inherited |
get coloring schemes combo
Definition at line 1450 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 484 of file GUIViewTraffic.cpp.
References MSNet::getCurrentTimeStep(), and MSNet::getInstance().
Referenced by checkSnapshots().
|
inherited |
Returns the delay of the parent application.
Definition at line 1655 of file GUISUMOAbstractView.cpp.
References GUIMainWindow::getDelay(), and GUISUMOAbstractView::myApp.
Referenced by GUIDialog_ViewSettings::onCmdExportSetting().
|
virtual |
return list of loaded edgeData attributes
Reimplemented from GUISUMOAbstractView.
Definition at line 260 of file GUIViewTraffic.cpp.
References GUINet::getEdgeDataAttrs(), and GUINet::getGUIInstance().
|
virtual |
return list of available edge parameters
Reimplemented from GUISUMOAbstractView.
Definition at line 269 of file GUIViewTraffic.cpp.
References MSEdge::getAllEdges().
|
inherited |
retrieve FPS
Definition at line 746 of file GUISUMOAbstractView.cpp.
References MAX2(), and GUISUMOAbstractView::myFrameDrawTime.
Referenced by GUISUMOAbstractView::drawFPS(), and GUINet::getParameterWindow().
|
inherited |
get grid height
Definition at line 1419 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), and GUISUMOAbstractView::myGrid.
Referenced by GUISUMOAbstractView::checkGDALImage(), and GUIDialog_ViewSettings::onCmdEditTable().
|
inherited |
get grid width
Definition at line 1413 of file GUISUMOAbstractView.cpp.
References Boundary::getWidth(), and GUISUMOAbstractView::myGrid.
Referenced by GUISUMOAbstractView::checkGDALImage(), and GUIDialog_ViewSettings::onCmdEditTable().
|
protectedinherited |
returns the GUIGlObjects at position within the given (rectangular) radius using GL_SELECT
Definition at line 442 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObjectStorage::gIDStorage, Boundary::grow(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), and GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor().
|
protectedinherited |
returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects)
Definition at line 351 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::SENSITIVITY.
Referenced by GNEViewNet::onLeftBtnPress(), and GNEViewNet::processLeftButtonReleaseNetwork().
|
protectedinherited |
returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects)
Definition at line 341 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::SENSITIVITY, GUIVisualizationSettings::showGrid, and GUISUMOAbstractView::snapToActiveGrid().
Referenced by GNEViewNet::onLeftBtnPress().
|
protected |
Definition at line 490 of file GUIViewTraffic.cpp.
References GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUISUMOAbstractView::makeCurrent().
Referenced by onCmdAddRerouter(), onCmdCloseEdge(), onCmdCloseLane(), and onCmdShowReachability().
returns the id of the object at position using GL_SELECT
Definition at line 357 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_LANE, GLO_NETWORK, GLO_POI, GLO_POLYGON, Boundary::grow(), GUISUMOAbstractView::SENSITIVITY, GUIGlObjectStorage::unblockObject(), and GUIVisualizationSettings::UseMesoSim.
Referenced by GNEViewNet::getAdditionalAtPopupPosition(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectUnderCursor(), GNEViewNet::getPOIAtPopupPosition(), GNEViewNet::getPolygonAtPopupPosition(), GNEViewNet::onCmdAddSelected(), and GNEViewNet::onCmdRemoveSelected().
|
protectedinherited |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT
Definition at line 407 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_NETWORK, Boundary::grow(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::getObjectsUnderCursor().
|
protectedinherited |
returns the ids of all objects in the given boundary
Definition at line 472 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::doPaintGL(), GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, GUIPerspectiveChanger::getViewport(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::scale, GUIMainWindow::setStatusBarText(), GUIPerspectiveChanger::setViewport(), SUMO_const_laneWidth, and toString().
Referenced by GNEViewNet::getAttributeCarriersInBoundary(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GNEViewNet::mergeJunctions(), and GNEViewNet::onCmdTransformPOI().
|
protectedinherited |
returns the id of the objects under the cursor using GL_SELECT (including overlapped objects)
Definition at line 335 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::SENSITIVITY.
|
protectedinherited |
returns the id of the front object under the cursor using GL_SELECT
Definition at line 329 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getPositionInformation().
Referenced by getLaneUnderCursor(), GUISUMOAbstractView::onLeftBtnPress(), GNEViewNet::openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::paintGL().
|
inherited |
get position of current popup
Definition at line 879 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopupPosition.
Referenced by GNEViewNet::getAdditionalAtPopupPosition(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GNEViewNet::getPOIAtPopupPosition(), GNEViewNet::getPolygonAtPopupPosition(), GNEViewNet::onCmdAddSelected(), GNEViewNet::onCmdDeleteGeometryPoint(), GNEViewNet::onCmdEditEdgeEndpoint(), GNEViewNet::onCmdRemoveSelected(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdSetFirstGeometryPoint(), GNEViewNet::onCmdSplitEdge(), and GNEViewNet::onCmdSplitEdgeBidi().
|
inherited |
Returns the cursor's x/y position within the network.
Definition at line 190 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myWindowCursorPositionX, GUISUMOAbstractView::myWindowCursorPositionY, and GUISUMOAbstractView::screenPos2NetPos().
Referenced by GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverLanes(), GNEAdditionalFrame::buildAdditionalOverView(), GNEGeometry::drawGeometry(), GNEEdge::drawGeometryPoints(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEPoly::drawGL(), GNETAZ::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GNEGeometry::drawLaneGeometry(), GNEEdge::drawPartialPersonPlan(), GNEGeometry::drawSegmentGeometry(), GNEViewNet::drawTemporalDrawShape(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GUISUMOAbstractView::getObjectsUnderCursor(), GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNELane::getPopUpMenu(), GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), GNEViewNet::openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updatePositionInformation().
|
virtual |
Returns the id of the tracked vehicle (-1 if none)
Reimplemented from GUISUMOAbstractView.
Definition at line 370 of file GUIViewTraffic.cpp.
References myTrackedID.
|
virtual |
return list of available vehicle parameters
Reimplemented from GUISUMOAbstractView.
Definition at line 289 of file GUIViewTraffic.cpp.
References GUINet::getGUIInstance(), GUINet::getGUIVehicleControl(), MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), GUIVehicleControl::releaseVehicles(), and GUIVehicleControl::secureVehicles().
|
inherited |
get the viewport and create it on first access
Definition at line 1336 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), MAX2(), MIN2(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setValues().
Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), and GUISUMOAbstractView::showViewportEditor().
|
inherited |
get visible boundary
Definition at line 268 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), and GUISUMOAbstractView::myChanger.
Referenced by TraCIServerAPI_GUI::processGet().
|
inherited |
get visualisation settings
Definition at line 236 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
|
inherited |
get visualitation settings
Definition at line 1395 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GNEProhibitionFrame::buildProhibition(), GNEEdge::commitShapeChange(), GNEGeometry::drawGeometry(), GNEPoly::drawGL(), GNEGeometry::drawLaneGeometry(), GNEGeometry::drawSegmentGeometry(), GNEStop::getColor(), GUIApplicationWindow::onCmdEditChosen(), TraCIServerAPI_GUI::processGet(), and GNEProhibitionFrame::ProhibitionLegend::ProhibitionLegend().
|
inherited |
Returns the information whether rotation is allowd.
return windows cursor position
Definition at line 828 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.
|
inherited |
Check if an object is added in the additional GL visualitation.
[in] | which | The object to check |
Definition at line 1611 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
|
inherited |
returns true, if the edit button was pressed
Definition at line 169 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myInEditMode.
|
inherited |
meter-to-pixels conversion method
Definition at line 771 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUISUMOAbstractView::displayLegend(), doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::getObjectsInBoundary(), and GUISUMOAbstractView::makeSnapshot().
|
inherited |
A reimplementation due to some internal reasons.
Definition at line 841 of file GUISUMOAbstractView.cpp.
Referenced by GNEViewNet::getAdditionalAtPopupPosition(), GNEViewNet::getAttributeCarriersInBoundary(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), getLaneUnderCursor(), GNEViewNet::getPOIAtPopupPosition(), GNEViewNet::getPolygonAtPopupPosition(), GUISUMOAbstractView::makeSnapshot(), GNEViewNet::mergeJunctions(), GNEViewNet::onCmdAddSelected(), GNEViewNet::onCmdRemoveSelected(), GUISUMOAbstractView::onConfigure(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onPaint(), GNEViewNet::openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), and GNEViewNet::processLeftButtonReleaseNetwork().
|
inherited |
Takes a snapshots and writes it into the given file.
The format to use is determined from the extension. If compiled with ffmpeg and a video format is requested it will instantiate a video encoder.
[in] | destFile | The name of the file to write the snapshot into |
[in] | w | The snapshot image width |
[in] | w | The snapshot image height |
Definition at line 1107 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::displayColorLegend(), 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(), GLHelper::setGL2PS(), GUIVisualizationSettings::showColorLegend, GUIVisualizationSettings::showGrid, GUIVisualizationSettings::showSizeLegend, FXSingleEventThread::sleep(), SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::checkSnapshots(), GUISUMOViewParent::onCmdMakeSnapshot(), and GNEViewParent::onCmdMakeSnapshot().
long GUIViewTraffic::onCmdAddRerouter | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 529 of file GUIViewTraffic.cpp.
References MSLane::getEdge(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
Referenced by FXDEFMAP().
long GUIViewTraffic::onCmdCloseEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 517 of file GUIViewTraffic.cpp.
References MSLane::getEdge(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
Referenced by FXDEFMAP().
long GUIViewTraffic::onCmdCloseLane | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
interaction with the simulation
Definition at line 505 of file GUIViewTraffic.cpp.
References GUILane::closeTraffic(), GUIGlObject::getGlID(), getLaneUnderCursor(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().
Referenced by FXDEFMAP().
long GUIViewTraffic::onCmdShowReachability | ( | FXObject * | menu, |
FXSelector | , | ||
void * | |||
) |
highlight edges according to reachability
Definition at line 541 of file GUIViewTraffic.cpp.
References GUISelectedStorage::clear(), GUIPropertySchemeStorage< T >::getActive(), MSEdge::getAllEdges(), MSLane::getEdge(), GUIGlObject::getGlID(), MSEdge::getLanes(), getLaneUnderCursor(), MSEdge::getLength(), MSEdge::getSpeedLimit(), MSEdge::getSuccessors(), gSelected, GUIVisualizationSettings::laneColorer, SUMOVTypeParameter::VClassDefaultValues::maxSpeed, MIN2(), GUISUMOAbstractView::myVisualizationSettings, GUISelectedStorage::select(), GUIPropertySchemeStorage< T >::setActive(), GUILane::setReachability(), SumoVehicleClassStrings, and UNREACHABLE.
Referenced by FXDEFMAP().
|
virtualinherited |
mouse functions
Definition at line 848 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::checkSnapshots(), GUISUMOAbstractView::doInit(), RGBColor::green(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myVisualizationSettings, and RGBColor::red().
Referenced by FXDEFMAP().
|
virtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 594 of file GUIViewTraffic.cpp.
References GUIMainWindow::isFullScreen(), GUISUMOAbstractView::myApp, GUIMainWindow::onCmdFullScreen(), and stopTrack().
|
virtual |
handle mouse click in gaming mode
Reimplemented from GUISUMOAbstractView.
Definition at line 376 of file GUIViewTraffic.cpp.
References GUIBaseVehicle::addActiveAddVisualisation(), NamedObjectCont< T >::begin(), MSSimpleTrafficLightLogic::changeStepAndDuration(), Position::distanceTo(), Position::distanceTo2D(), MSPhaseDefinition::duration, NamedObjectCont< T >::end(), MSLane::geometryPositionAtOffset(), MSTLLogicControl::get(), MSTLLogicControl::TLSLogicVariants::getAllLogics(), MSTLLogicControl::getAllLogics(), MSNet::getCurrentTimeStep(), MSStoppingPlace::getEndLanePosition(), GUIGlObject::getGlID(), Named::getID(), MSNet::getInstance(), MSStoppingPlace::getLane(), MSVehicle::getLane(), GUIGlObjectStorage::getObjectBlocking(), MSBaseVehicle::getParameter(), MSSimpleTrafficLightLogic::getPhase(), GUIVehicle::getPosition(), MSTrafficLightLogic::getProgramID(), GUISelectedStorage::getSelected(), MSNet::getStoppingPlaces(), MSNet::getTLSControl(), MSNet::getVehicleControl(), MSLane::getVehiclesSecure(), GUIGlObjectStorage::gIDStorage, GLO_VEHICLE, gSelected, MSGlobals::gUseMesoSim, MSTLLogicControl::isActive(), SUMOVehicleParameter::line, MSVehicleControl::loadedVehBegin(), MSVehicleControl::loadedVehEnd(), myTLSGame, MSLane::releaseVehicles(), GUIVehicle::rerouteDRTStop(), GUISelectedStorage::select(), SUMO_TAG_BUS_STOP, MSTLLogicControl::switchTo(), GUIGlObjectStorage::unblockObject(), and GUIBaseVehicle::VO_SHOW_FUTURE_ROUTE.
|
virtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 469 of file GUIViewTraffic.cpp.
References GUISelectedStorage::clear(), GUIGlObjectStorage::getObjectBlocking(), GUISelectedStorage::getSelected(), GUIGlObjectStorage::gIDStorage, GLO_VEHICLE, gSelected, GUIBaseVehicle::removeActiveAddVisualisation(), GUIGlObjectStorage::unblockObject(), and GUIBaseVehicle::VO_SHOW_FUTURE_ROUTE.
|
virtualinherited |
keyboard functions
Reimplemented in GNEViewNet.
Definition at line 1074 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, and GUIPerspectiveChanger::onKeyPress().
Referenced by FXDEFMAP(), GUISUMOViewParent::onKeyPress(), GNEViewNet::onKeyPress(), and GNEViewParent::onKeyPress().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 1085 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, and GUIPerspectiveChanger::onKeyRelease().
Referenced by FXDEFMAP(), GUISUMOViewParent::onKeyRelease(), GNEViewNet::onKeyRelease(), and GNEViewParent::onKeyRelease().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 894 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_PERSON, GLO_REROUTER_EDGE, GLO_VEHICLE, gSelected, GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myChanger, GUIGlObject::onLeftBtnPress(), GUIPerspectiveChanger::onLeftBtnPress(), GUISUMOAbstractView::startTrack(), and GUISelectedStorage::toggleSelection().
Referenced by FXDEFMAP().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 943 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onGamingClick(), and GUIPerspectiveChanger::onLeftBtnRelease().
Referenced by FXDEFMAP(), and GNEViewNet::onLeftBtnRelease().
|
virtualinherited |
Definition at line 955 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 961 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 1034 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 1013 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUIDialog_EditViewport::haveGrabbed(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myViewportChooser, GUIPerspectiveChanger::onMouseMove(), GUIDialog_EditViewport::setValues(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by FXDEFMAP(), GNEViewNet::onMouseMove(), and GUISUMOAbstractView::onRightBtnRelease().
|
virtualinherited |
Definition at line 997 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, GUIPerspectiveChanger::onMouseWheel(), GUIDialog_EditViewport::setValues(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 866 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, and GUISUMOAbstractView::paintGL().
Referenced by FXDEFMAP(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 967 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onRightBtnPress().
Referenced by FXDEFMAP(), and GNEViewNet::onRightBtnPress().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 976 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onGamingRightClick(), GUISUMOAbstractView::onMouseMove(), GUIPerspectiveChanger::onRightBtnRelease(), and GUISUMOAbstractView::openObjectDialog().
Referenced by FXDEFMAP(), and GNEViewNet::onRightBtnRelease().
|
virtualinherited |
Reimplemented in GNEViewNet.
Definition at line 1040 of file GUISUMOAbstractView.cpp.
References GUIGlObjectStorage::getNetObject(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GUIGlObject::getPopUpMenu(), GUISUMOAbstractView::getPositionInformation(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, GUIPerspectiveChanger::onRightBtnRelease(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::onRightBtnRelease().
|
inherited |
pixels-to-meters conversion method
Definition at line 777 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), GUISUMOAbstractView::drawDecals(), GUIDanielPerspectiveChanger::move(), and GUISUMOAbstractView::showToolTipFor().
|
protectedinherited |
performs the painting of the simulation
Definition at line 274 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::displayColorLegend(), GUISUMOAbstractView::displayLegend(), GUIVisualizationSettings::dither, GUISUMOAbstractView::doPaintGL(), GUISUMOAbstractView::drawFPS(), GUIVisualizationSettings::fps, SysUtils::getCurrentMillis(), GUISUMOAbstractView::getObjectUnderCursor(), GUISUMOAbstractView::getTrackedID(), RGBColor::green(), GUIGlObject::INVALID_ID, GUISUMOAbstractView::myFrameDrawTime, GUISUMOAbstractView::myUseToolTips, GUISUMOAbstractView::myVisualizationSettings, RGBColor::red(), GUIVisualizationSettings::showColorLegend, GUIVisualizationSettings::showSizeLegend, and GUISUMOAbstractView::showToolTipFor().
Referenced by GUISUMOAbstractView::onPaint().
|
protectedinherited |
paints a grid
Definition at line 540 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 783 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGrid, and GUIPerspectiveChanger::setViewport().
Referenced by GUIGlChildWindow::onCmdRecenterView(), GUIDanielPerspectiveChanger::onKeyPress(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
remove viewport
Definition at line 1401 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myViewportChooser.
Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().
|
inherited |
remove view settings
Definition at line 1407 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 1595 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIVehicle::drawOutsideNetwork(), GUIBaseVehicle::removeActiveAddVisualisation(), and GUIPerson::removeActiveAddVisualisation().
|
virtual |
retrieve breakpoints from the current runThread
Reimplemented from GUISUMOAbstractView.
Definition at line 643 of file GUIViewTraffic.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::retrieveBreakpoints().
|
virtual |
Adds a frame to a video snapshot which will be initialized if neccessary.
Reimplemented from GUISUMOAbstractView.
Definition at line 607 of file GUIViewTraffic.cpp.
References GUIMainWindow::getDelay(), GUISUMOAbstractView::myApp, and UNUSED_PARAMETER.
|
inherited |
Translate screen position to network position.
Definition at line 215 of file GUISUMOAbstractView.cpp.
References DEG2RAD, Boundary::getCenter(), Boundary::getHeight(), GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GUISUMOAbstractView::myChanger, Position::rotateAround2D(), Boundary::xmin(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::getPositionInformation().
|
inherited |
Sets the breakpoints of the parent application.
Definition at line 1667 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setBreakpoints().
Referenced by GUIDialog_ViewSettings::loadSettings().
|
virtual |
set color scheme
Reimplemented from GUISUMOAbstractView.
Definition at line 164 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 1661 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setDelay().
Referenced by GUIDialog_ViewSettings::loadSettings().
|
virtualinherited |
applies the given viewport settings
Definition at line 1366 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setRotation(), GUIPerspectiveChanger::setViewportFrom(), Position::x(), Position::y(), and Position::z().
Referenced by GUISettingsHandler::applyViewport(), GUISUMOAbstractView::copyViewportTo(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIDialog_EditViewport::onCmdCancel(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdOk(), TraCIServerAPI_GUI::processSet(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
Returns the gl-id of the object under the given coordinates.
Definition at line 834 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myMouseHotspotX, GUISUMOAbstractView::myMouseHotspotY, GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.
Referenced by GUIDanielPerspectiveChanger::onMouseMove().
|
protectedinherited |
invokes the tooltip for the given object
Definition at line 520 of file GUISUMOAbstractView.cpp.
References Position::add(), RGBColor::BLACK, GLHelper::drawTextBox(), GUIVisualizationSettings::edgeValue, GUIGlObject::getColorValue(), GUIVisualizationSettings::getLaneEdgeMode(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPositionInformation(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_EDGE, GLO_LANE, GLO_MAX, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::p2m(), GUIVisualizationTextSettings::show, toString(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::paintGL().
|
inherited |
show tool tips
Definition at line 1383 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUIGlChildWindow::onCmdShowToolTips().
|
virtualinherited |
show viewport editor
Definition at line 1357 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUISUMOAbstractView::getViewportEditor(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), Position::INVALID, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, GUIDialog_EditViewport::setOldValues(), and GUIDialog_EditViewport::show().
Referenced by GNEApplicationWindow::onCmdEditViewport(), and GUIGlChildWindow::onCmdEditViewport().
|
inherited |
show viewsscheme editor
Definition at line 1321 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrent(), and GUIDialog_ViewSettings::show().
Referenced by GNEApplicationWindow::onCmdEditViewScheme(), and GUIGlChildWindow::onCmdEditViewScheme().
|
inherited |
Returns a position that is mapped to the closest grid point if the grid is active.
note: formats are pos(x,y,0) por pos(0,0,z)
Definition at line 196 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, GUISUMOAbstractView::myVisualizationSettings, Position::setx(), Position::sety(), Position::setz(), GUIVisualizationSettings::showGrid, Position::x(), Position::y(), and Position::z().
Referenced by GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEViewNet::drawTemporalDrawShape(), GNEEdge::editEndpoint(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEEdge::getVertexIndex(), GNEAccess::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEDetectorE2::moveGeometry(), GNEDetectorE3::moveGeometry(), GNEDetectorEntryExit::moveGeometry(), GNEParkingSpace::moveGeometry(), GNERerouter::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNETAZ::moveGeometry(), GNEVariableSpeedSign::moveGeometry(), GNEPersonTrip::moveGeometry(), GNERide::moveGeometry(), GNEStop::moveGeometry(), GNEWalk::moveGeometry(), GNEPOI::moveGeometry(), GNEJunction::moveGeometry(), GNEEdge::moveShapeEnd(), GNEEdge::moveShapeStart(), GNEPoly::moveVertexShape(), GNETAZ::moveVertexShape(), GNEEdge::moveVertexShape(), GNECreateEdgeFrame::processClick(), and GNEViewNet::processLeftButtonPressNetwork().
|
virtual |
Starts vehicle tracking.
[in] | id | The glID of the vehicle to track |
Reimplemented from GUISUMOAbstractView.
Definition at line 358 of file GUIViewTraffic.cpp.
References myTrackedID.
|
virtual |
Stops vehicle tracking.
Reimplemented from GUISUMOAbstractView.
Definition at line 364 of file GUIViewTraffic.cpp.
References GUIGlObject::INVALID_ID, and myTrackedID.
Referenced by onDoubleClicked().
|
protectedinherited |
update position information
Definition at line 242 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 181 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIDanielPerspectiveChanger::onMouseWheel().
|
inherited |
Definition at line 1306 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshotCondition, GUISUMOAbstractView::mySnapshots, and GUISUMOAbstractView::mySnapshotsMutex.
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 510 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addAdditionalGLVisualisation(), doPaintGL(), GUISUMOAbstractView::isAdditionalGLVisualisationEnabled(), GUISUMOAbstractView::removeAdditionalGLVisualisation(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Internal information whether doInit() was called.
Definition at line 477 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onPaint(), GNEViewNet::openObjectDialog(), and GUISUMOAbstractView::openObjectDialog().
|
protectedinherited |
The application.
Definition at line 447 of file GUISUMOAbstractView.h.
Referenced by GNEViewNet::doPaintGL(), GUISUMOAbstractView::getDelay(), GUISUMOAbstractView::getObjectsInBoundary(), onDoubleClicked(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), GNEViewNet::openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), retrieveBreakpoints(), saveFrame(), GUISUMOAbstractView::setBreakpoints(), setColorScheme(), GUISUMOAbstractView::setDelay(), GNEViewNet::setStatusBarText(), and GUISUMOAbstractView::updatePositionInformation().
|
protectedinherited |
The perspective changer.
Definition at line 456 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(), GNEViewNet::openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::p2m(), GUISUMOAbstractView::paintGLGrid(), GNEViewNet::processClick(), GUISUMOAbstractView::recenterView(), GNEViewNet::saveVisualizationSettings(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::setViewportFromToRot(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Definition at line 491 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 conflicts.
Definition at line 494 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::showViewschemeEditor().
|
protectedinherited |
counter for measuring rendering time
Definition at line 513 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getFPS(), and GUISUMOAbstractView::paintGL().
|
protectedinherited |
The visualization speed-up.
Definition at line 453 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 459 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::isInEditMode().
|
protectedinherited |
Offset to the mouse-hotspot from the mouse position.
Definition at line 462 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 462 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
The parent window.
Definition at line 450 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getColoringSchemesCombo().
|
mutableprotectedinherited |
poly draw lock
Definition at line 507 of file GUISUMOAbstractView.h.
|
protectedinherited |
The current popup-menu.
Definition at line 465 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::onKeyRelease(), GUISUMOAbstractView::onMouseMove(), GNEViewNet::openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
The current popup-menu position.
Definition at line 468 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPopupPosition(), GNEViewNet::openObjectDialog(), and GUISUMOAbstractView::openObjectDialog().
|
protectedinherited |
the semaphore when waiting for snapshots to finish
Definition at line 504 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::waitForSnapshots().
|
protectedinherited |
Snapshots.
Definition at line 498 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addSnapshot(), GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::waitForSnapshots().
|
protectedinherited |
The mutex to use before accessing the decals list in order to avoid thread conflicts.
Definition at line 501 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addSnapshot(), GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::waitForSnapshots().
|
private |
whether game mode was set to 'tls'
Definition at line 140 of file GUIViewTraffic.h.
Referenced by onGamingClick().
|
private |
Definition at line 137 of file GUIViewTraffic.h.
Referenced by getTrackedID(), startTrack(), and stopTrack().
|
protectedinherited |
use tool tips
Definition at line 474 of file GUISUMOAbstractView.h.
Referenced by doPaintGL(), GNEViewNet::doPaintGL(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTips(), and GUISUMOAbstractView::updateToolTip().
|
protectedinherited |
viewport chooser
Definition at line 480 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::remove(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Visualization changer.
Definition at line 486 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::remove(), setColorScheme(), GNEViewNet::setColorScheme(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
visualization settings
Definition at line 471 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), buildViewToolBars(), GNEViewNet::buildViewToolBars(), GUISUMOAbstractView::displayColorLegend(), doPaintGL(), GNEViewNet::doPaintGL(), GNEViewNet::drawLaneCandidates(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::makeSnapshot(), onCmdShowReachability(), GNEViewNet::onCmdToogleShowConnections(), GNEViewNet::onCmdToogleShowGrid(), GUISUMOAbstractView::onConfigure(), GNEViewNet::onLeftBtnPress(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::paintGLGrid(), GNEViewNet::saveVisualizationSettings(), setColorScheme(), GNEViewNet::setColorScheme(), GNEViewNet::setSelectionScaling(), GUISUMOAbstractView::showToolTipFor(), GUISUMOAbstractView::showViewschemeEditor(), GUISUMOAbstractView::snapToActiveGrid(), GNEViewNet::updateDemandModeSpecificControls(), GNEViewNet::updateNetworkModeSpecificControls(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Position of the cursor relative to the window.
Definition at line 483 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::getWindowCursorPosition(), and GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 483 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::getWindowCursorPosition(), and GUISUMOAbstractView::setWindowCursorPosition().
|
staticprivateinherited |
Definition at line 517 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getObjectsUnderCursor().