SUMO - Simulation of Urban MObility
|
#include <GNEViewNet.h>
Public Member Functions | |
void | abortOperation (bool clearSelection=true) |
abort current edition operation More... | |
void | addDecals (const std::vector< Decal > &decals) |
add decals More... | |
bool | autoSelectNodes () |
whether to autoselect nodes or to lanes More... | |
virtual void | buildViewToolBars (GUIGlChildWindow &) |
builds the view toolbars More... | |
virtual void | centerTo (GUIGlID id, bool applyZoom, SUMOReal zoomDist=20) |
centers to the chosen artifact More... | |
void | centerTo (const Boundary &bound) |
centers to the chosen artifact More... | |
bool | changeAllPhases () const |
change all phases More... | |
virtual void | copyViewportTo (GUISUMOAbstractView *view) |
copy the viewport to the given view More... | |
void | destroyPopup () |
destoys the popup More... | |
GUIPerspectiveChanger & | getChanger () const |
get changer More... | |
FXComboBox & | getColoringSchemesCombo () |
get coloring schemes combo More... | |
EditMode | getCurrentEditMode () const |
get the current edit mode More... | |
SUMOReal | getDelay () const |
Returns the delay of the parent application. More... | |
SUMOReal | getGridHeight () const |
get grid Height More... | |
SUMOReal | getGridWidth () const |
get grid width More... | |
GNENet * | getNet () const |
get the net object More... | |
Position | getPositionInformation () const |
Returns the cursor's x/y position within the network. More... | |
virtual GUIGlID | getTrackedID () const |
get tracked id More... | |
GNEUndoList * | getUndoList () const |
get the undoList object More... | |
GNEViewParent * | getViewParent () const |
get the net object 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... | |
GNEViewNet (FXComposite *tmpParent, FXComposite *actualParent, GUIMainWindow &app, GNEViewParent *viewParent, GNENet *net, GNEUndoList *undoList, FXGLVisual *glVis, FXGLCanvas *share, FXToolBar *toolBar) | |
FOX-declaration. More... | |
void | hotkeyDel () |
handle del keypress More... | |
void | hotkeyEnter () |
handle enter keypress More... | |
bool | isInEditMode () |
returns true, if the edit button was pressed More... | |
SUMOReal | m2p (SUMOReal meter) const |
meter-to-pixels conversion method More... | |
FXbool | makeCurrent () |
A reimplementation due to some internal reasons. More... | |
void | markPopupPosition () |
store the position where a popup-menu was requested More... | |
long | onCmdAddRestrictedLaneBikelane (FXObject *, FXSelector typeOfTransformation, void *) |
Add restricted lane for bikes. More... | |
long | onCmdAddRestrictedLaneBuslane (FXObject *, FXSelector typeOfTransformation, void *) |
Add restricted lane for buses. More... | |
long | onCmdAddRestrictedLaneSidewalk (FXObject *, FXSelector typeOfTransformation, void *) |
Add restricted lane for pedestrians. More... | |
long | onCmdAddReversedEdge (FXObject *, FXSelector, void *) |
add reversed edge More... | |
long | onCmdChangeMode (FXObject *, FXSelector, void *) |
sets edit mode via combo box More... | |
long | onCmdDeleteGeometry (FXObject *, FXSelector, void *) |
delete the closes geometry point More... | |
long | onCmdDuplicateLane (FXObject *, FXSelector, void *) |
duplicate selected lane More... | |
long | onCmdNodeReplace (FXObject *, FXSelector, void *) |
replace node by geometry More... | |
long | onCmdNodeShape (FXObject *, FXSelector, void *) |
input custom node shape More... | |
long | onCmdRemoveRestrictedLaneBikelane (FXObject *, FXSelector typeOfTransformation, void *) |
remove restricted lane for bikes More... | |
long | onCmdRemoveRestrictedLaneBuslane (FXObject *, FXSelector typeOfTransformation, void *) |
remove restricted lane for bus More... | |
long | onCmdRemoveRestrictedLaneSidewalk (FXObject *, FXSelector typeOfTransformation, void *) |
remove restricted lane for pedestrians More... | |
long | onCmdResetEdgeEndpoint (FXObject *, FXSelector, void *) |
restore geometry endpoint to node position More... | |
long | onCmdRestrictLaneBikelane (FXObject *, FXSelector typeOfTransformation, void *) |
restrict lane to bikes More... | |
long | onCmdRestrictLaneBuslane (FXObject *, FXSelector typeOfTransformation, void *) |
restrict lane to buslanes More... | |
long | onCmdRestrictLaneSidewalk (FXObject *, FXSelector typeOfTransformation, void *) |
restrict lane to pedestrians More... | |
long | onCmdReverseEdge (FXObject *, FXSelector, void *) |
reverse edge More... | |
long | onCmdRevertRestriction (FXObject *, FXSelector, void *) |
revert transformation More... | |
long | onCmdSetEdgeEndpoint (FXObject *, FXSelector, void *) |
set non-default geometry endpoint More... | |
long | onCmdSimplifyShape (FXObject *, FXSelector, void *) |
simply shape of current polygon More... | |
long | onCmdSplitEdge (FXObject *, FXSelector, void *) |
split edge at cursor position More... | |
long | onCmdSplitEdgeBidi (FXObject *, FXSelector, void *) |
split edge at cursor position More... | |
long | onCmdStraightenEdges (FXObject *, FXSelector, void *) |
makes selected edges straight More... | |
long | onCmdToogleShowBubbles (FXObject *, FXSelector, void *) |
toogle show bubbles More... | |
long | onCmdToogleShowConnection (FXObject *, FXSelector, void *) |
toogle show connections More... | |
virtual void | onGamingClick (Position) |
on gaming click More... | |
virtual void | openObjectDialog () |
SUMOReal | p2m (SUMOReal pixel) const |
pixels-to-meters conversion method More... | |
virtual void | recenterView () |
recenters the view More... | |
void | remove (GUIDialog_EditViewport *) |
remove viewport More... | |
void | remove (GUIDialog_ViewSettings *) |
remove view settings More... | |
Position | screenPos2NetPos (int x, int y) const |
Translate screen position to network position. More... | |
bool | selectEdges () |
whether inspection, selection and inversion should apply to edges or to lanes More... | |
bool | setColorScheme (const std::string &name) |
set color schieme More... | |
void | setDelay (SUMOReal delay) |
Sets the delay of the parent application. More... | |
void | setEditModeFromHotkey (FXushort selid) |
sets edit mode (from hotkey) More... | |
void | setSelectionScaling (SUMOReal selectionScale) |
set selection scaling More... | |
void | setStatusBarText (const std::string &text) |
set staturBar text 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... | |
bool | showConnections () |
show connections over junctions More... | |
bool | showJunctionAsBubbles () const |
return true if junction must be showed as bubbles More... | |
bool | showLockIcon () const |
check if lock icon should be visible More... | |
void | showToolTips (bool val) |
show tool tips More... | |
virtual void | showViewportEditor () |
show viewport editor More... | |
void | showViewschemeEditor () |
show viewsscheme editor More... | |
virtual void | startTrack (int) |
star track More... | |
virtual void | stopTrack () |
stop track More... | |
void | updateControls () |
update control contents after undo/redo or recompute More... | |
void | updateToolTip () |
A method that updates the tooltip. More... | |
virtual | ~GNEViewNet () |
destructor More... | |
long | onLeftBtnPress (FXObject *, FXSelector, void *) |
overloaded handlers More... | |
long | onLeftBtnRelease (FXObject *, FXSelector, void *) |
called when user releases mouse's left button More... | |
long | onDoubleClicked (FXObject *, FXSelector, void *) |
called when user press mouse's left button two times More... | |
long | onMouseMove (FXObject *, FXSelector, void *) |
called when user moves mouse More... | |
virtual long | onConfigure (FXObject *, FXSelector, void *) |
mouse functions More... | |
virtual long | onPaint (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 | onMouseWheel (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... | |
virtual void | saveFrame (const std::string &destFile, FXColor *buf) |
Adds a frame to a video snapshot which will be initialized if neccessary. More... | |
virtual void | endSnapshot () |
Ends a video snapshot. More... | |
virtual void | checkSnapshots () |
Checks whether it is time for a snapshot. More... | |
virtual SUMOTime | getCurrentTimeStep () const |
get the current simulation time 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... | |
void | doInit () |
called after some features are already initialized More... | |
int | doPaintGL (int mode, const Boundary &bound) |
do paintGL More... | |
void | drawDecals () |
Draws the stored decals. More... | |
GUIGlID | getObjectAtPosition (Position pos) |
returns the id of the object at position using GL_SELECT More... | |
std::vector< GUIGlID > | getObjectsAtPosition (Position pos, SUMOReal radius) |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT More... | |
std::vector< GUIGlID > | getObjectsInBoundary (const Boundary &bound) |
returns the ids of all objects in the given boundary More... | |
GUIGlID | getObjectUnderCursor () |
returns the id of the object under the cursor using GL_SELECT More... | |
GNEViewNet () | |
FOX needs this. More... | |
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 Member Functions | |
bool | addRestrictedLane (SUMOVehicleClass vclass) |
add restricted lane More... | |
void | buildEditModeControls () |
adds controls for setting the edit mode More... | |
void | deleteSelectedEdges () |
delete all currently selected edges More... | |
void | deleteSelectedJunctions () |
delete all currently selected junctions More... | |
GNEEdge * | getEdgeAtCursorPosition (Position &pos) |
try to retrieve an edge at the given position More... | |
std::set< GNEEdge * > | getEdgesAtCursorPosition (Position &pos) |
try to retrieve multiple edges at the given position More... | |
GNEJunction * | getJunctionAtCursorPosition (Position &pos) |
try to retrieve a junction at the given position More... | |
GNELane * | getLaneAtCurserPosition (Position &pos) |
try to retrieve a lane at the given position More... | |
GNEViewNet (const GNEViewNet &) | |
Invalidated copy constructor. More... | |
bool | mergeJunctions (GNEJunction *moved) |
try to merge moved junction with another junction in that spot return true if merging did take place More... | |
GNEViewNet & | operator= (const GNEViewNet &) |
Invalidated assignment operator. More... | |
void | removeCurrentPoly () |
remove the currently edited polygon More... | |
bool | removeRestrictedLane (SUMOVehicleClass vclass) |
remove restricted lane More... | |
bool | restrictLane (SUMOVehicleClass vclass) |
restrict lane More... | |
void | setEditMode (EditMode mode) |
set edit mode More... | |
void | updateModeSpecificControls () |
updates mode specific controls More... | |
Private Attributes | |
FXMenuCheck * | myChangeAllPhases |
menu check to set change all phases More... | |
GNEPoly * | myCurrentPoly |
current polygon More... | |
EditMode | myEditMode |
the current edit mode More... | |
FXMenuCheck * | myExtendToEdgeNodes |
menu check to extend to edge nodes More... | |
GNENet * | myNet |
we are not responsible for deletion More... | |
Position | myPopupSpot |
Poput spot. More... | |
EditMode | myPreviousEditMode |
the previous edit mode used for toggling More... | |
FXMenuCheck * | mySelectEdges |
menu check to select only edges More... | |
bool | myShowConnectionActivated |
whether show connections has been activated once More... | |
FXMenuCheck * | myShowConnections |
menu check to show connections More... | |
GNEUndoList * | myUndoList |
a reference to the undolist maintained in the application More... | |
GNEViewParent * | myViewParent |
view parent More... | |
the state-variables of the create-edge state-machine | |
GNEJunction * | myCreateEdgeSource |
source junction for new edge 0 if no edge source is selected an existing (or newly created) junction otherwise More... | |
FXMenuCheck * | myChainCreateEdge |
whether the endpoint for a created edge should be set as the new source More... | |
FXMenuCheck * | myAutoCreateOppositeEdge |
the state-variables of the move state-machine | |
GNEJunction * | myJunctionToMove |
the Junction to be moved. More... | |
GNEEdge * | myEdgeToMove |
the edge of which geometry is being moved More... | |
GNEPoly * | myPolyToMove |
the poly of which geometry is being moved More... | |
GNEAdditional * | myAdditionalToMove |
the stoppingPlace element which shape is being moved More... | |
Position | myAdditionalMovingReference |
variable for calculating moving offset of additionals More... | |
Position | myOldAdditionalPosition |
variable for saving additional position before moving More... | |
Position | myMoveSrc |
position from which to move edge geometry More... | |
bool | myMoveSelection |
whether a selection is being moved More... | |
FXMenuCheck * | myWarnAboutMerge |
whether we should warn about merging junctions More... | |
FXMenuCheck * | myShowJunctionAsBubble |
show connection as buuble in "Move" mode. More... | |
state-variables of inspect-mode and select-mode | |
bool | myAmInRectSelect |
whether we have started rectangle-selection More... | |
Position | mySelCorner1 |
firstcorner of the rectangle-selection More... | |
Position | mySelCorner2 |
second corner of the rectangle-selection More... | |
toolbar related stuff | |
a reference to the toolbar in myParent | |
FXToolBar * | myToolbar |
FXComboBox * | myEditModesCombo |
combo box for selecting the edit mode More... | |
StringBijection< EditMode > | myEditModeNames |
since we cannot switch on strings we map the mode names to an enum More... | |
StringBijection< EditMode > | myEditAdditionalModeNames |
Microsocopic view at the simulation
Definition at line 86 of file GNEViewNet.h.
GNEViewNet::GNEViewNet | ( | FXComposite * | tmpParent, |
FXComposite * | actualParent, | ||
GUIMainWindow & | app, | ||
GNEViewParent * | viewParent, | ||
GNENet * | net, | ||
GNEUndoList * | undoList, | ||
FXGLVisual * | glVis, | ||
FXGLCanvas * | share, | ||
FXToolBar * | toolBar | ||
) |
FOX-declaration.
Definition at line 119 of file GNEViewNet.cpp.
References GUIPropertyScheme< T >::addColor(), GUIPropertySchemeStorage< T >::addScheme(), RGBColor::BLACK, RGBColor::BLUE, RGBColor::CYAN, RGBColor::GREEN, RGBColor::GREY, RGBColor::MAGENTA, RGBColor::ORANGE, RGBColor::RED, GUIPropertyScheme< T >::setAllowsNegativeValues(), SUMOReal, SVC_BICYCLE, SVC_BUS, SVC_DELIVERY, SVC_MOPED, SVC_NON_ROAD, SVC_PASSENGER, SVC_PEDESTRIAN, SVC_SHIP, SVC_TAXI, SVCAll, and RGBColor::YELLOW.
|
virtual |
destructor
Definition at line 258 of file GNEViewNet.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 262 of file GNEViewNet.h.
|
private |
Invalidated copy constructor.
void GNEViewNet::abortOperation | ( | bool | clearSelection = true | ) |
abort current edition operation
Definition at line 807 of file GNEViewNet.cpp.
References GUISelectedStorage::clear(), GNEViewParent::getConnectorFrame(), GNEViewParent::getTLSEditorFrame(), GNE_MODE_CONNECT, GNE_MODE_MOVE, GNE_MODE_SELECT, GNE_MODE_TLS, gSelected, myAmInRectSelect, myCreateEdgeSource, myEditMode, myUndoList, myViewParent, GNEConnectorFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEUndoList::p_abort(), removeCurrentPoly(), and GNEJunction::unMarkAsCreateEdgeSource().
Referenced by GNEApplicationWindow::onCmdAbort(), and setEditMode().
|
inherited |
Adds an object to call its additional visualisation method.
[in] | which | The object to add |
Definition at line 1208 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIBaseVehicle::addActiveAddVisualisation(), GUIPerson::addActiveAddVisualisation(), and GUIVehicle::drawOutsideNetwork().
|
inherited |
add decals
Definition at line 191 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
private |
add restricted lane
Definition at line 1267 of file GNEViewNet.cpp.
References GNENet::addSRestrictedLane(), getLaneAtCurserPosition(), GNELane::getParentEdge(), myNet, myPopupSpot, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), and toString().
Referenced by onCmdAddRestrictedLaneBikelane(), onCmdAddRestrictedLaneBuslane(), and onCmdAddRestrictedLaneSidewalk().
|
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 1249 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GLO_MAX, GUISUMOAbstractView::myChanger, SUMOReal, Boundary::xmin(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
bool GNEViewNet::autoSelectNodes | ( | ) |
whether to autoselect nodes or to lanes
Definition at line 340 of file GNEViewNet.cpp.
References myExtendToEdgeNodes.
Referenced by GNESelectorFrame::handleIDs().
|
private |
adds controls for setting the edit mode
Definition at line 1576 of file GNEViewNet.cpp.
References StringBijection< T >::getStrings(), GNE_MODE_ADDITIONAL, GNE_MODE_CONNECT, GNE_MODE_CREATE_EDGE, GNE_MODE_DELETE, GNE_MODE_INSPECT, GNE_MODE_MOVE, GNE_MODE_SELECT, GNE_MODE_TLS, StringBijection< T >::insert(), MID_GNE_MODE_CHANGE, MID_GNE_SHOW_BUBBLES, MID_GNE_SHOW_CONNECTIONS, myAutoCreateOppositeEdge, myChainCreateEdge, myChangeAllPhases, myEditModeNames, myEditModesCombo, myExtendToEdgeNodes, mySelectEdges, myShowConnections, myShowJunctionAsBubble, myToolbar, myWarnAboutMerge, and StringBijection< T >::size().
|
virtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 266 of file GNEViewNet.cpp.
References GUIIconSubSys::getIcon(), GUIGlChildWindow::getLocatorPopup(), ICON_LOCATEEDGE, ICON_LOCATEJUNCTION, ICON_LOCATETLS, MID_LOCATEEDGE, MID_LOCATEJUNCTION, and MID_LOCATETLS.
Referenced by GNEViewParent::GNEViewParent().
|
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 538 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 GNECalibrator::GNECalibrator(), GNERouteProbe::GNERouteProbe(), GNEVaporizer::GNEVaporizer(), GUIGLObjectPopupMenu::onCmdCenter(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processSet(), and GUIGlChildWindow::setView().
|
inherited |
centers to the chosen artifact
Definition at line 555 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::setViewport().
bool GNEViewNet::changeAllPhases | ( | ) | const |
change all phases
Definition at line 352 of file GNEViewNet.cpp.
References myChangeAllPhases.
Referenced by GNETLSEditorFrame::handleChange().
|
protectedinherited |
check whether we can read image data or position with gdal
Definition at line 1081 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().
|
virtualinherited |
Checks whether it is time for a snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 943 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getCurrentTimeStep(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::mySnapshots, and WRITE_WARNING.
Referenced by GUIViewTraffic::checkSnapshots(), GUISUMOAbstractView::onConfigure(), and GUISUMOViewParent::onSimStep().
|
virtualinherited |
copy the viewport to the given view
Definition at line 1004 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::setViewportFromTo().
Referenced by GUIApplicationWindow::openNewView().
|
private |
delete all currently selected edges
Definition at line 1721 of file GNEViewNet.cpp.
References GNENet::deleteEdge(), GNENet::deleteLane(), myNet, mySelectEdges, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), and GNENet::retrieveLanes().
Referenced by hotkeyDel().
|
private |
delete all currently selected junctions
Definition at line 1710 of file GNEViewNet.cpp.
References GNENet::deleteJunction(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveJunctions().
Referenced by hotkeyDel().
|
inherited |
destoys the popup
Definition at line 614 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopup.
Referenced by GNEInternalLane::onDefault(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onRightBtnPress(), and GUISUMOAbstractView::onRightBtnRelease().
|
protectedinherited |
a line with ticks, and the length information.
Definition at line 452 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::m2p(), pfDrawString(), pfSetPosition(), pfSetScaleXY(), and SUMOReal.
Referenced by GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
protectedvirtual |
called after some features are already initialized
Reimplemented from GUISUMOAbstractView.
Definition at line 262 of file GNEViewNet.cpp.
|
protectedvirtual |
do paintGL
Reimplemented from GUISUMOAbstractView.
Definition at line 364 of file GNEViewNet.cpp.
References GUISUMOAbstractView::drawDecals(), GUIVisualizationSettings::editMode, GLO_ADDITIONAL, GLO_MAX, GUISUMOAbstractView::m2p(), GUISUMOAbstractView::myAdditionallyDrawn, myAmInRectSelect, myEditMode, GUISUMOAbstractView::myGrid, mySelCorner1, mySelCorner2, GUISUMOAbstractView::myUseToolTips, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), GUIVisualizationSettings::scale, SUMORTree::Search(), GNENet::selectionColor, GLHelper::setColor(), GUIVisualizationSettings::showGrid, SUMO_const_laneWidth, SUMOReal, Position::x(), Boundary::xmax(), Boundary::xmin(), Position::y(), Boundary::ymax(), and Boundary::ymin().
|
protectedinherited |
Draws the stored decals.
Definition at line 1160 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, SUMOReal, MFXMutex::unlock(), GUISUMOAbstractView::Decal::width, WRITE_ERROR, Position::x(), and Position::y().
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
inlinevirtualinherited |
Ends a video snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 187 of file GUISUMOAbstractView.h.
Referenced by GUISUMOViewParent::onCmdMakeSnapshot().
|
inherited |
get changer
Definition at line 160 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger.
Referenced by GUISettingsHandler::applyViewport(), 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 1075 of file GUISUMOAbstractView.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), and GUISUMOAbstractView::myParent.
Referenced by GUISettingsHandler::addSettings(), GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::onCmdSaveSetting().
EditMode GNEViewNet::getCurrentEditMode | ( | ) | const |
get the current edit mode
Definition at line 924 of file GNEViewNet.cpp.
References myEditMode.
Referenced by GNELane::updateGeometry().
|
virtualinherited |
get the current simulation time
Reimplemented in GUIViewTraffic.
Definition at line 955 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::checkSnapshots().
|
inherited |
Returns the delay of the parent application.
Definition at line 1267 of file GUISUMOAbstractView.cpp.
References GUIMainWindow::getDelay(), and GUISUMOAbstractView::myApp.
Referenced by GUIDialog_ViewSettings::onCmdExportSetting().
try to retrieve an edge at the given position
Definition at line 959 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_EDGE, GLO_LANE, GUISUMOAbstractView::makeCurrent(), myPopupSpot, and GUIGlObjectStorage::unblockObject().
Referenced by onCmdAddReversedEdge(), onCmdResetEdgeEndpoint(), onCmdReverseEdge(), onCmdSetEdgeEndpoint(), onCmdSplitEdge(), and onCmdStraightenEdges().
try to retrieve multiple edges at the given position
Definition at line 1000 of file GNEViewNet.cpp.
References GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsAtPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_EDGE, GLO_LANE, GUISUMOAbstractView::makeCurrent(), myPopupSpot, and GUIGlObjectStorage::unblockObject().
Referenced by onCmdSplitEdgeBidi().
|
inherited |
get grid Height
Definition at line 1048 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 1042 of file GUISUMOAbstractView.cpp.
References Boundary::getWidth(), and GUISUMOAbstractView::myGrid.
Referenced by GUISUMOAbstractView::checkGDALImage(), and GUIDialog_ViewSettings::onCmdEditTable().
|
private |
try to retrieve a junction at the given position
Definition at line 936 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_JUNCTION, GUISUMOAbstractView::makeCurrent(), myPopupSpot, and GUIGlObjectStorage::unblockObject().
Referenced by onCmdNodeReplace(), and onCmdNodeShape().
try to retrieve a lane at the given position
Definition at line 983 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_LANE, GUISUMOAbstractView::makeCurrent(), myPopupSpot, and GUIGlObjectStorage::unblockObject().
Referenced by addRestrictedLane(), onCmdDuplicateLane(), onCmdRevertRestriction(), removeRestrictedLane(), and restrictLane().
GNENet * GNEViewNet::getNet | ( | ) | const |
get the net object
Definition at line 912 of file GNEViewNet.cpp.
References myNet.
Referenced by GNEAdditionalFrame::addAdditional(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE2(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNETLSEditorFrame::buildIinternalLanes(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignal(), GNEAdditional::changeEdge(), GNEAdditional::changeLane(), GNEVariableSpeedSignal::commmitAdditionalGeometryMoved(), GNEDetectorE3::commmitAdditionalGeometryMoved(), GNEStoppingPlace::commmitAdditionalGeometryMoved(), GNEDetector::commmitAdditionalGeometryMoved(), GNEAdditional::commmitAdditionalGeometryMoved(), GNERerouter::commmitAdditionalGeometryMoved(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEDetectorE3::getParentName(), GNEVariableSpeedSignal::getParentName(), GNEAdditional::getParentName(), GNERerouter::getParentName(), GNEAdditional::getPopUpMenu(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEConnectorFrame::initTargets(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEDetectorE1::isValid(), GNEDetectorE2::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEDetectorE3::isValid(), GNEVaporizer::isValid(), GNEVariableSpeedSignal::isValid(), GNERouteProbe::isValid(), GNEChargingStation::isValid(), GNECalibrator::isValid(), GNERerouter::isValid(), GNESelectorFrame::onCmdClear(), GNETLSEditorFrame::onCmdDefSwitch(), GNESelectorFrame::onCmdInvert(), GNEViewParent::onCmdLocate(), GNETLSEditorFrame::onCmdOK(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), onCmdToogleShowBubbles(), onCmdToogleShowConnection(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEAdditionalHandler::parseAndBuildVariableSpeedSignal(), GNEAdditionalHandler::parseCalibratorFlow(), GNEAdditionalHandler::parseVariableSpeedSignalStep(), GNEAdditionalFrame::removeAdditional(), GNEAdditional::setAdditionalID(), GNEVariableSpeedSignal::setAttribute(), GNECalibrator::setAttribute(), GNERerouter::setAttribute(), GNEAdditionalFrame::additionalSet::showList(), GNEAdditionalFrame::edgesSelector::showList(), GNEAdditionalFrame::lanesSelector::showList(), GNEVariableSpeedSignal::updateGeometry(), GNEDetectorEntry::updateGeometry(), GNEDetectorExit::updateGeometry(), GNEDetectorE1::updateGeometry(), GNEDetectorE3::updateGeometry(), GNEChargingStation::updateGeometry(), GNEDetectorE2::updateGeometry(), GNEVaporizer::updateGeometry(), GNERouteProbe::updateGeometry(), GNEBusStop::updateGeometry(), GNEContainerStop::updateGeometry(), GNECalibrator::updateGeometry(), GNERerouter::updateGeometry(), GNEAdditionalFrame::edgesSelector::updateUseSelectedEdges(), and GNEAdditionalFrame::lanesSelector::updateUseSelectedLanes().
returns the id of the object at position using GL_SELECT
Definition at line 294 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_LANE, GLO_POI, GLO_POLYGON, Boundary::grow(), max, SUMOReal, GUIGlObjectStorage::unblockObject(), and GUIVisualizationSettings::UseMesoSim.
Referenced by getEdgeAtCursorPosition(), getJunctionAtCursorPosition(), getLaneAtCurserPosition(), and GUISUMOAbstractView::getObjectUnderCursor().
|
protectedinherited |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT
Definition at line 339 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, Boundary::grow(), and GUIGlObjectStorage::unblockObject().
Referenced by getEdgesAtCursorPosition().
|
protectedinherited |
returns the ids of all objects in the given boundary
Definition at line 367 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(), mergeJunctions(), and onLeftBtnRelease().
|
protectedinherited |
returns the id of the object under the cursor using GL_SELECT
Definition at line 288 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getPositionInformation().
Referenced by GUIViewTraffic::getLaneUnderCursor(), onDoubleClicked(), onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::paintGL().
|
inherited |
Returns the cursor's x/y position within the network.
Definition at line 175 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(), markPopupPosition(), GUIDanielPerspectiveChanger::onKeyPress(), onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), onMouseMove(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updatePositionInformation().
|
virtualinherited |
get tracked id
Reimplemented in GUIViewTraffic.
Definition at line 1064 of file GUISUMOAbstractView.cpp.
References GUIGlObject::INVALID_ID.
Referenced by GUIPerson::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUISUMOAbstractView::paintGL(), and GUISUMOAbstractView::removeAdditionalGLVisualisation().
GNEUndoList * GNEViewNet::getUndoList | ( | ) | const |
get the undoList object
Definition at line 918 of file GNEViewNet.cpp.
References myUndoList.
Referenced by GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE2(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignal(), GNENet::deleteConnection(), GNETLSEditorFrame::editJunction(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNEConnectorFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNESelectorFrame::onCmdClear(), GNEConnectorFrame::onCmdClearSelectedConnections(), GNEInspectorFrame::onCmdCopyTemplate(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), GNEConnectorFrame::onCmdResetSelectedConnections(), and GNEAdditionalFrame::removeAdditional().
GNEViewParent * GNEViewNet::getViewParent | ( | ) | const |
get the net object
Definition at line 906 of file GNEViewNet.cpp.
References myViewParent.
Referenced by GNEConnectorFrame::hide(), GNETLSEditorFrame::hide(), GNESelectorFrame::hide(), GNEInspectorFrame::hide(), GNEAdditionalFrame::hide(), GNEConnectorFrame::onCmdSelectConflicts(), GNEConnectorFrame::onCmdSelectDeadEnds(), GNEConnectorFrame::onCmdSelectDeadStarts(), GNEConnectorFrame::onCmdSelectPass(), GNEConnectorFrame::show(), GNETLSEditorFrame::show(), GNESelectorFrame::show(), GNEInspectorFrame::show(), and GNEAdditionalFrame::show().
|
inherited |
get the viewport and create it on first access
Definition at line 976 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setValues().
Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), and GUISUMOAbstractView::showViewportEditor().
|
inherited |
get visible boundary
Definition at line 229 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), and GUISUMOAbstractView::myChanger.
Referenced by TraCIServerAPI_GUI::processGet().
|
inherited |
get visualitation settings
Definition at line 1024 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GUIApplicationWindow::onCmdEditChosen(), and TraCIServerAPI_GUI::processGet().
|
inherited |
get visualisation settings
Definition at line 197 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
void GNEViewNet::hotkeyDel | ( | ) |
handle del keypress
Definition at line 829 of file GNEViewNet.cpp.
References deleteSelectedEdges(), deleteSelectedJunctions(), GNE_MODE_CONNECT, GNE_MODE_TLS, myEditMode, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and setStatusBarText().
Referenced by GNEApplicationWindow::onCmdDel().
void GNEViewNet::hotkeyEnter | ( | ) |
handle enter keypress
Definition at line 842 of file GNEViewNet.cpp.
References GNEViewParent::getConnectorFrame(), GNEPoly::getEditedJunction(), SUMO::Polygon::getShape(), GNEViewParent::getTLSEditorFrame(), GNE_MODE_CONNECT, GNE_MODE_MOVE, GNE_MODE_TLS, myCurrentPoly, myEditMode, myUndoList, myViewParent, GNEConnectorFrame::onCmdOK(), GNETLSEditorFrame::onCmdOK(), removeCurrentPoly(), GNEJunction::setAttribute(), SUMO_ATTR_SHAPE, and toString().
Referenced by GNEApplicationWindow::onCmdEnter().
|
inherited |
Check if an object is added in the additional GL visualitation.
[in] | which | The object to check |
Definition at line 1239 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
|
inherited |
returns true, if the edit button was pressed
Definition at line 154 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myInEditMode.
meter-to-pixels conversion method
Definition at line 520 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUISUMOAbstractView::displayLegend(), GUIViewTraffic::doPaintGL(), doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
inherited |
A reimplementation due to some internal reasons.
Definition at line 576 of file GUISUMOAbstractView.cpp.
Referenced by getEdgeAtCursorPosition(), getEdgesAtCursorPosition(), getJunctionAtCursorPosition(), getLaneAtCurserPosition(), GUIViewTraffic::getLaneUnderCursor(), GUISUMOAbstractView::makeSnapshot(), mergeJunctions(), GUISUMOAbstractView::onConfigure(), onDoubleClicked(), onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), onLeftBtnRelease(), GUISUMOAbstractView::onPaint(), and GUISUMOAbstractView::openObjectDialog().
|
inherited |
Takes a snapshots and writes it into the given file.
The format to use is determined from the extension. If compiled with ffmpeg and a video format is requested it will instantiate a video encoder.
[in] | destFile | The name of the file to write the snapshot into |
Definition at line 785 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 GUIViewTraffic::checkSnapshots(), GUISUMOAbstractView::checkSnapshots(), GUIApplicationWindow::handleEvent_Screenshot(), GUISUMOViewParent::onCmdMakeSnapshot(), and GNEViewParent::onCmdMakeSnapshot().
void GNEViewNet::markPopupPosition | ( | ) |
store the position where a popup-menu was requested
Definition at line 900 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getPositionInformation(), and myPopupSpot.
|
private |
try to merge moved junction with another junction in that spot return true if merging did take place
Definition at line 1740 of file GNEViewNet.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObject::getMicrosimID(), GNEJunction::getNBNode(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), NBNode::getPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_JUNCTION, Boundary::grow(), GUISUMOAbstractView::makeCurrent(), GNENet::mergeJunctions(), myNet, myUndoList, myWarnAboutMerge, toString(), and GUIGlObjectStorage::unblockObject().
Referenced by onLeftBtnRelease().
long GNEViewNet::onCmdAddRestrictedLaneBikelane | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
Add restricted lane for bikes.
Definition at line 1172 of file GNEViewNet.cpp.
References addRestrictedLane(), and SVC_BICYCLE.
long GNEViewNet::onCmdAddRestrictedLaneBuslane | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
Add restricted lane for buses.
Definition at line 1178 of file GNEViewNet.cpp.
References addRestrictedLane(), and SVC_BUS.
long GNEViewNet::onCmdAddRestrictedLaneSidewalk | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
Add restricted lane for pedestrians.
Definition at line 1166 of file GNEViewNet.cpp.
References addRestrictedLane(), and SVC_PEDESTRIAN.
long GNEViewNet::onCmdAddReversedEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
add reversed edge
Definition at line 1056 of file GNEViewNet.cpp.
References GNENet::addReversedEdge(), getEdgeAtCursorPosition(), myNet, myPopupSpot, and myUndoList.
long GNEViewNet::onCmdChangeMode | ( | FXObject * | , |
FXSelector | , | ||
void * | data | ||
) |
sets edit mode via combo box
Definition at line 858 of file GNEViewNet.cpp.
References StringBijection< T >::get(), myEditModeNames, and setEditMode().
long GNEViewNet::onCmdDeleteGeometry | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
delete the closes geometry point
Definition at line 1117 of file GNEViewNet.cpp.
References GNEPoly::deleteGeometryNear(), myCurrentPoly, and myPopupSpot.
long GNEViewNet::onCmdDuplicateLane | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
duplicate selected lane
Definition at line 1127 of file GNEViewNet.cpp.
References GNENet::duplicateLane(), GUIGlObject::getGlID(), getLaneAtCurserPosition(), GLO_LANE, gSelected, GUISelectedStorage::isSelected(), myNet, myPopupSpot, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveLanes().
long GNEViewNet::onCmdNodeReplace | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
replace node by geometry
Definition at line 1510 of file GNEViewNet.cpp.
References getJunctionAtCursorPosition(), myNet, myPopupSpot, myUndoList, and GNENet::replaceJunctionByGeometry().
long GNEViewNet::onCmdNodeShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
input custom node shape
Definition at line 1467 of file GNEViewNet.cpp.
References SUMORTree::addAdditionalGLObject(), PositionVector::closePolygon(), NBNode::computeNodeShape(), getJunctionAtCursorPosition(), GUIGlObject::getMicrosimID(), GNEJunction::getNBNode(), SUMO::Polygon::getShape(), NBNode::getShape(), GNENet::getVisualisationSpeedUp(), GLO_POLYGON, RGBColor::GREEN, MID_GNE_MODE_MOVE, myCurrentPoly, myNet, myPopupSpot, myUndoList, SUMORTree::removeAdditionalGLObject(), removeCurrentPoly(), GNEJunction::setAttribute(), setEditModeFromHotkey(), GUIPolygon::setLineWidth(), SUMO_ATTR_SHAPE, and toString().
long GNEViewNet::onCmdRemoveRestrictedLaneBikelane | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
remove restricted lane for bikes
Definition at line 1190 of file GNEViewNet.cpp.
References removeRestrictedLane(), and SVC_BICYCLE.
long GNEViewNet::onCmdRemoveRestrictedLaneBuslane | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
remove restricted lane for bus
Definition at line 1196 of file GNEViewNet.cpp.
References removeRestrictedLane(), and SVC_BUS.
long GNEViewNet::onCmdRemoveRestrictedLaneSidewalk | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
remove restricted lane for pedestrians
Definition at line 1184 of file GNEViewNet.cpp.
References removeRestrictedLane(), and SVC_PEDESTRIAN.
long GNEViewNet::onCmdResetEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
restore geometry endpoint to node position
Definition at line 1076 of file GNEViewNet.cpp.
References getEdgeAtCursorPosition(), myPopupSpot, myUndoList, and GNEEdge::resetEndpoint().
long GNEViewNet::onCmdRestrictLaneBikelane | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
restrict lane to bikes
Definition at line 1154 of file GNEViewNet.cpp.
References restrictLane(), and SVC_BICYCLE.
long GNEViewNet::onCmdRestrictLaneBuslane | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
restrict lane to buslanes
Definition at line 1160 of file GNEViewNet.cpp.
References restrictLane(), and SVC_BUS.
long GNEViewNet::onCmdRestrictLaneSidewalk | ( | FXObject * | , |
FXSelector | typeOfTransformation, | ||
void * | |||
) |
restrict lane to pedestrians
Definition at line 1148 of file GNEViewNet.cpp.
References restrictLane(), and SVC_PEDESTRIAN.
long GNEViewNet::onCmdReverseEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reverse edge
Definition at line 1046 of file GNEViewNet.cpp.
References getEdgeAtCursorPosition(), myNet, myPopupSpot, myUndoList, and GNENet::reverseEdge().
long GNEViewNet::onCmdRevertRestriction | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
revert transformation
Definition at line 1401 of file GNEViewNet.cpp.
References GUIGlObject::getGlID(), getLaneAtCurserPosition(), GNELane::getParentEdge(), GLO_EDGE, GLO_LANE, gSelected, GUISelectedStorage::isSelected(), myNet, myPopupSpot, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), GNENet::revertLaneRestriction(), SVC_BICYCLE, SVC_BUS, SVC_PEDESTRIAN, and toString().
long GNEViewNet::onCmdSetEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
set non-default geometry endpoint
Definition at line 1066 of file GNEViewNet.cpp.
References getEdgeAtCursorPosition(), myPopupSpot, myUndoList, and GNEEdge::setEndpoint().
long GNEViewNet::onCmdSimplifyShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
simply shape of current polygon
Definition at line 1107 of file GNEViewNet.cpp.
References myCurrentPoly, and GNEPoly::simplifyShape().
long GNEViewNet::onCmdSplitEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split edge at cursor position
Definition at line 1026 of file GNEViewNet.cpp.
References getEdgeAtCursorPosition(), GNEEdge::getSplitPos(), myNet, myPopupSpot, myUndoList, and GNENet::splitEdge().
long GNEViewNet::onCmdSplitEdgeBidi | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split edge at cursor position
Definition at line 1036 of file GNEViewNet.cpp.
References getEdgesAtCursorPosition(), myNet, myPopupSpot, myUndoList, and GNENet::splitEdgesBidi().
long GNEViewNet::onCmdStraightenEdges | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
makes selected edges straight
Definition at line 1086 of file GNEViewNet.cpp.
References getEdgeAtCursorPosition(), GUIGlObject::getGlID(), GLO_EDGE, gSelected, GUISelectedStorage::isSelected(), myNet, myPopupSpot, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::setAttribute(), and SUMO_ATTR_SHAPE.
long GNEViewNet::onCmdToogleShowBubbles | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
toogle show bubbles
Definition at line 1535 of file GNEViewNet.cpp.
References getNet(), and GNENet::updateJunctionShapes().
long GNEViewNet::onCmdToogleShowConnection | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
toogle show connections
Definition at line 1521 of file GNEViewNet.cpp.
References getNet(), GNENet::initGNEConnections(), myShowConnectionActivated, and GNENet::requireRecompute().
|
virtualinherited |
mouse functions
Definition at line 583 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().
|
virtual |
called when user press mouse's left button two times
Reimplemented from GUISUMOAbstractView.
Definition at line 751 of file GNEViewNet.cpp.
References GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_ADDITIONAL, GNE_MODE_ADDITIONAL, GNE_MODE_INSPECT, GUISUMOAbstractView::makeCurrent(), myEditMode, GNEAdditional::openAdditionalDialog(), and GUIGlObjectStorage::unblockObject().
|
virtualinherited |
on gaming click
Reimplemented in GUIViewTraffic.
Definition at line 1070 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onLeftBtnRelease().
|
virtualinherited |
keyboard functions
Definition at line 764 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onKeyPress().
Referenced by GUISUMOViewParent::onKeyPress(), and GNEViewParent::onKeyPress().
|
virtualinherited |
Definition at line 771 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onKeyRelease().
Referenced by GUISUMOViewParent::onKeyRelease(), and GNEViewParent::onKeyRelease().
|
virtual |
overloaded handlers
called when user press mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 419 of file GNEViewNet.cpp.
References GNEAdditionalFrame::addAdditional(), GNENet::createEdge(), GNENet::createJunction(), GNENet::deleteConnection(), GNENet::deleteGeometryOrEdge(), GNENet::deleteJunction(), GNENet::deleteLane(), GNETLSEditorFrame::editJunction(), GNEViewParent::getAdditionalFrame(), GNEAdditional::getAttribute(), GNEViewParent::getConnectorFrame(), GNEInspectorFrame::getEdgeTemplate(), GUIGlObject::getGlID(), Named::getID(), GNEViewParent::getInspectorFrame(), GNEAdditional::getLane(), GUIGlObject::getMicrosimID(), GNEEdge::getNBEdge(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GNELane::getParentEdge(), GUISUMOAbstractView::getPositionInformation(), GNEAdditional::getPositionInView(), GUISelectedStorage::getSelected(), GNELane::getShape(), GNENet::getShapeContainer(), GNEAttributeCarrier::getTag(), GNEViewParent::getTLSEditorFrame(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_ADDITIONAL, GLO_CONNECTION, GLO_CROSSING, GLO_EDGE, GLO_JUNCTION, GLO_LANE, GLO_POI, GLO_POLYGON, GNE_MODE_ADDITIONAL, GNE_MODE_CONNECT, GNE_MODE_CREATE_EDGE, GNE_MODE_DELETE, GNE_MODE_INSPECT, GNE_MODE_MOVE, GNE_MODE_SELECT, GNE_MODE_TLS, gSelected, GNEConnectorFrame::handleLaneClick(), GNEAttributeCarrier::hasAttribute(), GNEUndoList::hasCommandGroup(), GNEInspectorFrame::inspect(), GNEAdditional::isAdditionalBlocked(), GUISelectedStorage::isSelected(), GUISUMOAbstractView::makeCurrent(), GNEJunction::markAsCreateEdgeSource(), myAdditionalMovingReference, myAdditionalToMove, myAmInRectSelect, myAutoCreateOppositeEdge, myChainCreateEdge, myCreateEdgeSource, myEdgeToMove, myEditMode, myJunctionToMove, myMoveSelection, myMoveSrc, myNet, myOldAdditionalPosition, myPolyToMove, mySelCorner1, mySelCorner2, mySelectEdges, myUndoList, myViewParent, PositionVector::nearest_offset_to_point2D(), GUISUMOAbstractView::onLeftBtnPress(), GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEAdditionalFrame::removeAdditional(), ShapeContainer::removePOI(), GNENet::retrieveAttributeCarriers(), selectEdges(), Position::set(), setStatusBarText(), SUMO_ATTR_ENDPOS, SUMO_ATTR_LENGTH, SUMO_ATTR_STARTPOS, SUMOReal, GUISelectedStorage::toggleSelection(), GUIGlObjectStorage::unblockObject(), and GNEJunction::unMarkAsCreateEdgeSource().
|
virtual |
called when user releases mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 705 of file GNEViewNet.cpp.
References Boundary::add(), GNEAdditional::commmitAdditionalGeometryMoved(), GNENet::finishMoveSelection(), GNEEdge::getAttribute(), GNEAdditional::getLane(), GUISUMOAbstractView::getObjectsInBoundary(), GNEViewParent::getSelectorFrame(), GNESelectorFrame::handleIDs(), GUISUMOAbstractView::makeCurrent(), mergeJunctions(), myAdditionalMovingReference, myAdditionalToMove, myAmInRectSelect, myEdgeToMove, myJunctionToMove, myMoveSelection, myNet, myOldAdditionalPosition, myPolyToMove, mySelCorner1, mySelCorner2, myUndoList, myViewParent, GUISUMOAbstractView::onLeftBtnRelease(), GNEJunction::registerMove(), selectEdges(), GNEEdge::setAttribute(), and SUMO_ATTR_SHAPE.
|
virtualinherited |
Definition at line 664 of file GUISUMOAbstractView.cpp.
|
virtualinherited |
Definition at line 670 of file GUISUMOAbstractView.cpp.
|
virtualinherited |
Definition at line 726 of file GUISUMOAbstractView.cpp.
|
virtual |
called when user moves mouse
Reimplemented from GUISUMOAbstractView.
Definition at line 774 of file GNEViewNet.cpp.
References GNEAdditional::getLane(), GUISUMOAbstractView::getPositionInformation(), GNELane::getShape(), GNEJunction::move(), GNEAdditional::moveAdditionalGeometry(), GNEPoly::moveGeometry(), GNEEdge::moveGeometry(), GNENet::moveSelection(), myAdditionalMovingReference, myAdditionalToMove, myAmInRectSelect, myEdgeToMove, myJunctionToMove, myMoveSelection, myMoveSrc, myNet, myOldAdditionalPosition, myPolyToMove, mySelCorner2, PositionVector::nearest_offset_to_point2D(), GUISUMOAbstractView::onMouseMove(), Position::set(), SUMOReal, and Position::x().
|
virtualinherited |
Definition at line 703 of file GUISUMOAbstractView.cpp.
References GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::onMouseWheel(), and GUISUMOAbstractView::updatePositionInformation().
|
virtualinherited |
Definition at line 601 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, and GUISUMOAbstractView::paintGL().
Referenced by updateModeSpecificControls().
|
virtualinherited |
Definition at line 676 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onRightBtnPress().
|
virtualinherited |
Definition at line 685 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::destroyPopup(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::onMouseMove(), GUIPerspectiveChanger::onRightBtnRelease(), and GUISUMOAbstractView::openObjectDialog().
|
virtualinherited |
Definition at line 732 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::onRightBtnRelease().
|
private |
Invalidated assignment operator.
pixels-to-meters conversion method
Definition at line 526 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUIDanielPerspectiveChanger::changeCanvassLeft(), GUISUMOAbstractView::drawDecals(), GUIDanielPerspectiveChanger::move(), and GUISUMOAbstractView::showToolTipFor().
|
protectedinherited |
performs the painting of the simulation
Definition at line 235 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 420 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myVisualizationSettings, SUMOReal, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
virtualinherited |
recenters the view
Definition at line 532 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 1030 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myViewportChooser.
Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().
|
inherited |
remove view settings
Definition at line 1036 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 1220 of file GUISUMOAbstractView.cpp.
References GUIGlObject::getGlID(), GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::myAdditionallyDrawn, and GUISUMOAbstractView::stopTrack().
Referenced by GUIVehicle::drawOutsideNetwork(), GUIBaseVehicle::removeActiveAddVisualisation(), and GUIPerson::removeActiveAddVisualisation().
|
private |
remove the currently edited polygon
Definition at line 1500 of file GNEViewNet.cpp.
References GNENet::getVisualisationSpeedUp(), myCurrentPoly, myNet, and SUMORTree::removeAdditionalGLObject().
Referenced by abortOperation(), hotkeyEnter(), and onCmdNodeShape().
|
private |
remove restricted lane
Definition at line 1334 of file GNEViewNet.cpp.
References getLaneAtCurserPosition(), GNELane::getParentEdge(), myNet, myPopupSpot, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::removeRestrictedLane(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), and toString().
Referenced by onCmdRemoveRestrictedLaneBikelane(), onCmdRemoveRestrictedLaneBuslane(), and onCmdRemoveRestrictedLaneSidewalk().
|
private |
restrict lane
Definition at line 1202 of file GNEViewNet.cpp.
References getLaneAtCurserPosition(), myNet, myPopupSpot, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::restrictLane(), GNENet::retrieveEdge(), GNENet::retrieveLanes(), and toString().
Referenced by onCmdRestrictLaneBikelane(), onCmdRestrictLaneBuslane(), and onCmdRestrictLaneSidewalk().
|
virtualinherited |
Adds a frame to a video snapshot which will be initialized if neccessary.
Reimplemented in GUIViewTraffic.
Definition at line 936 of file GUISUMOAbstractView.cpp.
References UNUSED_PARAMETER.
Referenced by GUISUMOAbstractView::makeSnapshot().
|
inherited |
Translate screen position to network position.
Definition at line 181 of file GUISUMOAbstractView.cpp.
References Boundary::getHeight(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GUISUMOAbstractView::myChanger, SUMOReal, Boundary::xmin(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::getPositionInformation().
bool GNEViewNet::selectEdges | ( | ) |
whether inspection, selection and inversion should apply to edges or to lanes
Definition at line 322 of file GNEViewNet.cpp.
References mySelectEdges.
Referenced by GNESelectorFrame::onCmdInvert(), onLeftBtnPress(), and onLeftBtnRelease().
|
virtual |
set color schieme
Reimplemented from GUISUMOAbstractView.
Definition at line 300 of file GNEViewNet.cpp.
References GUICompleteSchemeStorage::contains(), GUICompleteSchemeStorage::get(), GUIDialog_ViewSettings::getCurrentScheme(), gSchemeStorage, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, and GUIDialog_ViewSettings::setCurrentScheme().
|
inherited |
Sets the delay of the parent application.
Definition at line 1273 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setDelay().
Referenced by GUIDialog_ViewSettings::loadSettings().
|
private |
set edit mode
Definition at line 1547 of file GNEViewNet.cpp.
References abortOperation(), GNENet::computeEverything(), GNE_MODE_CONNECT, GNE_MODE_MOVE, GNE_MODE_TLS, GUISUMOAbstractView::myApp, myEditMode, myNet, myPreviousEditMode, myShowJunctionAsBubble, setStatusBarText(), GNENet::updateJunctionShapes(), and updateModeSpecificControls().
Referenced by onCmdChangeMode(), and setEditModeFromHotkey().
void GNEViewNet::setEditModeFromHotkey | ( | FXushort | selid | ) |
sets edit mode (from hotkey)
[in] | selid | An id MID_GNE_MODE_<foo> as defined in GUIAppEnum |
Definition at line 865 of file GNEViewNet.cpp.
References StringBijection< T >::getString(), GNE_MODE_ADDITIONAL, GNE_MODE_CONNECT, GNE_MODE_CREATE_EDGE, GNE_MODE_DELETE, GNE_MODE_INSPECT, GNE_MODE_MOVE, GNE_MODE_SELECT, GNE_MODE_TLS, MID_GNE_MODE_ADDITIONAL, MID_GNE_MODE_CONNECT, MID_GNE_MODE_CREATE_EDGE, MID_GNE_MODE_DELETE, MID_GNE_MODE_INSPECT, MID_GNE_MODE_MOVE, MID_GNE_MODE_SELECT, MID_GNE_MODE_TLS, myEditMode, myEditModeNames, myEditModesCombo, and setEditMode().
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), onCmdNodeShape(), and GNEApplicationWindow::onCmdSetMode().
void GNEViewNet::setSelectionScaling | ( | SUMOReal | selectionScale | ) |
set selection scaling
Definition at line 346 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myVisualizationSettings, and GUIVisualizationSettings::selectionScale.
Referenced by GNESelectorFrame::onCmdScaleSelection().
|
inherited |
Sets the snapshot time to file map.
[in] | snaps | The snapshots to take at certain times |
Definition at line 779 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshots.
Referenced by GUISettingsHandler::setSnapshots().
void GNEViewNet::setStatusBarText | ( | const std::string & | text | ) |
set staturBar text
Definition at line 316 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setStatusBarText().
Referenced by GNETLSEditorFrame::editJunction(), GNEConnectorFrame::handleLaneClick(), hotkeyDel(), GNEConnectorFrame::onCmdCancel(), GNETLSEditorFrame::onCmdDefSwitch(), GNEConnectorFrame::onCmdOK(), onLeftBtnPress(), and setEditMode().
|
virtualinherited |
applies the given viewport settings
Definition at line 997 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewportFrom(), Position::x(), Position::y(), and Position::z().
Referenced by GUISettingsHandler::applyViewport(), 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 569 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myMouseHotspotX, GUISUMOAbstractView::myMouseHotspotY, GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.
Referenced by GUIDanielPerspectiveChanger::onMouseMove().
bool GNEViewNet::showConnections | ( | ) |
show connections over junctions
Definition at line 328 of file GNEViewNet.cpp.
References GNE_MODE_CONNECT, myEditMode, and myShowConnections.
Referenced by GNEConnection::drawGL().
bool GNEViewNet::showJunctionAsBubbles | ( | ) | const |
return true if junction must be showed as bubbles
Definition at line 358 of file GNEViewNet.cpp.
References GNE_MODE_MOVE, myEditMode, and myShowJunctionAsBubble.
Referenced by GNEJunction::updateShapesAndGeometries().
bool GNEViewNet::showLockIcon | ( | ) | const |
check if lock icon should be visible
Definition at line 930 of file GNEViewNet.cpp.
References GNE_MODE_ADDITIONAL, GNE_MODE_INSPECT, GNE_MODE_MOVE, and myEditMode.
Referenced by GNEAdditional::drawLockIcon().
|
protectedinherited |
invokes the tooltip for the given object
Definition at line 406 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 1012 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUIGlChildWindow::onCmdShowToolTips().
|
virtualinherited |
show viewport editor
Definition at line 988 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getViewportEditor(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), Position::INVALID, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setOldValues().
Referenced by GUIGlChildWindow::onCmdEditViewport().
|
inherited |
show viewsscheme editor
Definition at line 961 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, and GUIDialog_ViewSettings::setCurrent().
Referenced by GUIGlChildWindow::onCmdEditViewScheme(), and GUIDanielPerspectiveChanger::onKeyPress().
|
virtualinherited |
star track
Reimplemented in GUIViewTraffic.
Definition at line 1054 of file GUISUMOAbstractView.cpp.
Referenced by TraCIServerAPI_GUI::processSet().
|
virtualinherited |
stop track
Reimplemented in GUIViewTraffic.
Definition at line 1059 of file GUISUMOAbstractView.cpp.
Referenced by TraCIServerAPI_GUI::processSet(), and GUISUMOAbstractView::removeAdditionalGLVisualisation().
void GNEViewNet::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 1788 of file GNEViewNet.cpp.
References GNEViewParent::getInspectorFrame(), GNE_MODE_INSPECT, myEditMode, and myViewParent.
Referenced by GNEApplicationWindow::updateControls().
|
private |
updates mode specific controls
Definition at line 1622 of file GNEViewNet.cpp.
References GUIPerspectiveChanger::changeCanvassLeft(), GNEViewParent::getAdditionalFrame(), GNEViewParent::getConnectorFrame(), GNEViewParent::getInspectorFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTLSEditorFrame(), GNE_MODE_ADDITIONAL, GNE_MODE_CONNECT, GNE_MODE_CREATE_EDGE, GNE_MODE_DELETE, GNE_MODE_INSPECT, GNE_MODE_MOVE, GNE_MODE_SELECT, GNE_MODE_TLS, GNEConnectorFrame::hide(), GNETLSEditorFrame::hide(), GNESelectorFrame::hide(), GNEInspectorFrame::hide(), GNEAdditionalFrame::hide(), myAutoCreateOppositeEdge, myChainCreateEdge, myChangeAllPhases, GUISUMOAbstractView::myChanger, myEditMode, myExtendToEdgeNodes, mySelectEdges, myShowConnections, myShowJunctionAsBubble, myToolbar, myViewParent, myWarnAboutMerge, GUISUMOAbstractView::onPaint(), GNEConnectorFrame::show(), GNETLSEditorFrame::show(), GNESelectorFrame::show(), GNEInspectorFrame::show(), and GNEAdditionalFrame::show().
Referenced by setEditMode().
|
protectedinherited |
update position information
Definition at line 203 of file GUISUMOAbstractView.cpp.
References GeoConvHelper::cartesian2geo(), GEO_OUTPUT_ACCURACY, GUIMainWindow::getCartesianLabel(), GeoConvHelper::getFinal(), GUIMainWindow::getGeoLabel(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myApp, toString(), Position::x(), and Position::y().
Referenced by GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::onMouseMove(), and GUISUMOAbstractView::onMouseWheel().
|
inherited |
A method that updates the tooltip.
Definition at line 166 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIDanielPerspectiveChanger::onMouseWheel().
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 431 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addAdditionalGLVisualisation(), GUIViewTraffic::doPaintGL(), doPaintGL(), GUISUMOAbstractView::isAdditionalGLVisualisationEnabled(), and GUISUMOAbstractView::removeAdditionalGLVisualisation().
|
private |
variable for calculating moving offset of additionals
Definition at line 323 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
private |
the stoppingPlace element which shape is being moved
Definition at line 320 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
protectedinherited |
Internal information whether doInit() was called.
Definition at line 404 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onPaint(), and GUISUMOAbstractView::openObjectDialog().
|
private |
whether we have started rectangle-selection
Definition at line 344 of file GNEViewNet.h.
Referenced by abortOperation(), doPaintGL(), onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
protectedinherited |
The application.
Definition at line 377 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getDelay(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), GUISUMOAbstractView::openObjectDialog(), GUIViewTraffic::saveFrame(), GUIViewTraffic::setColorScheme(), GUISUMOAbstractView::setDelay(), setEditMode(), setStatusBarText(), and GUISUMOAbstractView::updatePositionInformation().
|
private |
Definition at line 305 of file GNEViewNet.h.
Referenced by buildEditModeControls(), onLeftBtnPress(), and updateModeSpecificControls().
|
private |
whether the endpoint for a created edge should be set as the new source
Definition at line 304 of file GNEViewNet.h.
Referenced by buildEditModeControls(), onLeftBtnPress(), and updateModeSpecificControls().
|
private |
menu check to set change all phases
Definition at line 296 of file GNEViewNet.h.
Referenced by buildEditModeControls(), changeAllPhases(), and updateModeSpecificControls().
|
protectedinherited |
The perspective changer.
Definition at line 386 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::recenterView(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::setViewportFromTo(), GUISUMOAbstractView::showViewportEditor(), updateModeSpecificControls(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
private |
source junction for new edge 0 if no edge source is selected an existing (or newly created) junction otherwise
Definition at line 301 of file GNEViewNet.h.
Referenced by abortOperation(), and onLeftBtnPress().
|
private |
current polygon
Definition at line 373 of file GNEViewNet.h.
Referenced by hotkeyEnter(), onCmdDeleteGeometry(), onCmdNodeShape(), onCmdSimplifyShape(), and removeCurrentPoly().
|
protectedinherited |
Definition at line 418 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 421 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::showViewschemeEditor().
|
private |
the edge of which geometry is being moved
Definition at line 314 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
private |
Definition at line 363 of file GNEViewNet.h.
|
private |
the current edit mode
Definition at line 278 of file GNEViewNet.h.
Referenced by abortOperation(), doPaintGL(), getCurrentEditMode(), hotkeyDel(), hotkeyEnter(), onDoubleClicked(), onLeftBtnPress(), setEditMode(), setEditModeFromHotkey(), showConnections(), showJunctionAsBubbles(), showLockIcon(), updateControls(), and updateModeSpecificControls().
|
private |
since we cannot switch on strings we map the mode names to an enum
Definition at line 362 of file GNEViewNet.h.
Referenced by buildEditModeControls(), onCmdChangeMode(), and setEditModeFromHotkey().
|
private |
combo box for selecting the edit mode
Definition at line 359 of file GNEViewNet.h.
Referenced by buildEditModeControls(), and setEditModeFromHotkey().
|
private |
menu check to extend to edge nodes
Definition at line 293 of file GNEViewNet.h.
Referenced by autoSelectNodes(), buildEditModeControls(), and updateModeSpecificControls().
|
protectedinherited |
The visualization speed-up.
Definition at line 383 of file GUISUMOAbstractView.h.
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), GUISUMOAbstractView::getGridHeight(), GUISUMOAbstractView::getGridWidth(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::paintGLGrid(), and GUISUMOAbstractView::recenterView().
|
protectedinherited |
Information whether too-tip informations shall be generated.
Definition at line 389 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::isInEditMode().
|
private |
the Junction to be moved.
Definition at line 311 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
protectedinherited |
Offset to the mouse-hotspot from the mouse position.
Definition at line 392 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 392 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
private |
whether a selection is being moved
Definition at line 332 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
private |
position from which to move edge geometry
Definition at line 329 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), and onMouseMove().
|
private |
we are not responsible for deletion
Definition at line 275 of file GNEViewNet.h.
Referenced by addRestrictedLane(), deleteSelectedEdges(), deleteSelectedJunctions(), getNet(), mergeJunctions(), onCmdAddReversedEdge(), onCmdDuplicateLane(), onCmdNodeReplace(), onCmdNodeShape(), onCmdReverseEdge(), onCmdRevertRestriction(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), removeCurrentPoly(), removeRestrictedLane(), restrictLane(), and setEditMode().
|
private |
variable for saving additional position before moving
Definition at line 326 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
protectedinherited |
The parent window.
Definition at line 380 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getColoringSchemesCombo().
|
mutableprotectedinherited |
poly draw lock
Definition at line 428 of file GUISUMOAbstractView.h.
|
private |
the poly of which geometry is being moved
Definition at line 317 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
protectedinherited |
The current popup-menu.
Definition at line 395 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
private |
Poput spot.
Definition at line 370 of file GNEViewNet.h.
Referenced by addRestrictedLane(), getEdgeAtCursorPosition(), getEdgesAtCursorPosition(), getJunctionAtCursorPosition(), getLaneAtCurserPosition(), markPopupPosition(), onCmdAddReversedEdge(), onCmdDeleteGeometry(), onCmdDuplicateLane(), onCmdNodeReplace(), onCmdNodeShape(), onCmdResetEdgeEndpoint(), onCmdReverseEdge(), onCmdRevertRestriction(), onCmdSetEdgeEndpoint(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), removeRestrictedLane(), and restrictLane().
|
private |
the previous edit mode used for toggling
Definition at line 281 of file GNEViewNet.h.
Referenced by setEditMode().
|
private |
firstcorner of the rectangle-selection
Definition at line 347 of file GNEViewNet.h.
Referenced by doPaintGL(), onLeftBtnPress(), and onLeftBtnRelease().
|
private |
second corner of the rectangle-selection
Definition at line 350 of file GNEViewNet.h.
Referenced by doPaintGL(), onLeftBtnPress(), onLeftBtnRelease(), and onMouseMove().
|
private |
menu check to select only edges
Definition at line 284 of file GNEViewNet.h.
Referenced by buildEditModeControls(), deleteSelectedEdges(), onLeftBtnPress(), selectEdges(), and updateModeSpecificControls().
|
private |
whether show connections has been activated once
Definition at line 290 of file GNEViewNet.h.
Referenced by onCmdToogleShowConnection().
|
private |
menu check to show connections
Definition at line 287 of file GNEViewNet.h.
Referenced by buildEditModeControls(), showConnections(), and updateModeSpecificControls().
|
private |
show connection as buuble in "Move" mode.
Definition at line 338 of file GNEViewNet.h.
Referenced by buildEditModeControls(), setEditMode(), showJunctionAsBubbles(), and updateModeSpecificControls().
|
protectedinherited |
Snapshots.
Definition at line 425 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::setSnapshots().
|
private |
Definition at line 356 of file GNEViewNet.h.
Referenced by buildEditModeControls(), and updateModeSpecificControls().
|
private |
a reference to the undolist maintained in the application
Definition at line 367 of file GNEViewNet.h.
Referenced by abortOperation(), addRestrictedLane(), deleteSelectedEdges(), deleteSelectedJunctions(), getUndoList(), hotkeyDel(), hotkeyEnter(), mergeJunctions(), onCmdAddReversedEdge(), onCmdDuplicateLane(), onCmdNodeReplace(), onCmdNodeShape(), onCmdResetEdgeEndpoint(), onCmdReverseEdge(), onCmdRevertRestriction(), onCmdSetEdgeEndpoint(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), onLeftBtnPress(), onLeftBtnRelease(), removeRestrictedLane(), and restrictLane().
|
protectedinherited |
use tool tips
Definition at line 401 of file GUISUMOAbstractView.h.
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTips(), and GUISUMOAbstractView::updateToolTip().
|
private |
view parent
Definition at line 272 of file GNEViewNet.h.
Referenced by abortOperation(), getViewParent(), hotkeyEnter(), onLeftBtnPress(), onLeftBtnRelease(), updateControls(), and updateModeSpecificControls().
|
protectedinherited |
viewport chooser
Definition at line 407 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::remove(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Visualization changer.
Definition at line 413 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::remove(), GUIViewTraffic::setColorScheme(), setColorScheme(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
visualization settings
Definition at line 398 of file GUISUMOAbstractView.h.
Referenced by GUIViewTraffic::buildViewToolBars(), GUIViewTraffic::doPaintGL(), doPaintGL(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::paintGLGrid(), GUIViewTraffic::setColorScheme(), setColorScheme(), setSelectionScaling(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
private |
whether we should warn about merging junctions
Definition at line 335 of file GNEViewNet.h.
Referenced by buildEditModeControls(), mergeJunctions(), and updateModeSpecificControls().
|
protectedinherited |
Position of the cursor relative to the window.
Definition at line 410 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 410 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::setWindowCursorPosition().