![]() |
Eclipse 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... | |
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... | |
void | buildSelectionACPopupEntry (GUIGLObjectPopupMenu *ret, GNEAttributeCarrier *AC) |
Builds an entry which allows to (de)select the object. More... | |
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... | |
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... | |
std::set< std::pair< std::string, GNEAttributeCarrier * > > | getAttributeCarriersInBoundary (const Boundary &boundary, bool forceSelectEdges=false) |
get AttributeCarriers in Boundary More... | |
GUIPerspectiveChanger & | getChanger () const |
get changer More... | |
FXComboBox * | getColoringSchemesCombo () |
get coloring schemes combo More... | |
const GNEViewNetHelper::CommonViewOptions & | getCommonViewOptions () const |
get Common view options More... | |
double | getDelay () const |
Returns the delay of the parent application. More... | |
const GNEViewNetHelper::DemandViewOptions & | getDemandViewOptions () const |
get demand view options More... | |
const GNEAttributeCarrier * | getDottedAC () const |
get AttributeCarrier under cursor More... | |
virtual 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... | |
const GNEViewNetHelper::EditModes & | getEditModes () const |
get edit modes More... | |
const GNEViewNetHelper::EditShapes & | getEditShapes () const |
get Edit Shape modul More... | |
double | getFPS () const |
retrieve FPS More... | |
double | getGridHeight () const |
get grid height More... | |
double | getGridWidth () const |
get grid width More... | |
const GNEViewNetHelper::KeyPressed & | getKeyPressed () const |
get Key Pressed modul More... | |
GNENet * | getNet () const |
get the net object More... | |
const GNEViewNetHelper::NetworkViewOptions & | getNetworkViewOptions () const |
get network view options 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... | |
const GNEViewNetHelper::TestingMode & | getTestingMode () const |
get testing mode More... | |
virtual GUIGlID | getTrackedID () const |
get tracked id More... | |
GNEUndoList * | getUndoList () const |
get the undoList object More... | |
virtual std::vector< std::string > | getVehicleParamKeys (bool) const |
return list of available vehicle parameters 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 () |
get visualisation settings More... | |
GUIVisualizationSettings * | getVisualisationSettings () const |
get visualitation settings More... | |
Position | getWindowCursorPosition () const |
Returns the information whether rotation is allowd. More... | |
GNEViewNet (FXComposite *tmpParent, FXComposite *actualParent, GUIMainWindow &app, GNEViewParent *viewParent, GNENet *net, GNEUndoList *undoList, FXGLVisual *glVis, FXGLCanvas *share) | |
void | hotkeyBackSpace () |
handle backspace keypress More... | |
void | hotkeyDel () |
handle del keypress More... | |
void | hotkeyEnter () |
handle enter keypress More... | |
void | hotkeyFocusFrame () |
handle focus frame keypress 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 | onCmdAddReversedEdge (FXObject *, FXSelector, void *) |
add reversed edge More... | |
long | onCmdAddSelected (FXObject *, FXSelector, void *) |
select AC under cursor More... | |
long | onCmdClearConnections (FXObject *, FXSelector, void *) |
clear junction connections More... | |
long | onCmdClosePolygon (FXObject *, FXSelector, void *) |
close opened polygon More... | |
long | onCmdDeleteGeometryPoint (FXObject *, FXSelector, void *) |
delete the closes geometry point More... | |
long | onCmdDuplicateLane (FXObject *, FXSelector, void *) |
duplicate selected lane More... | |
long | onCmdEditConnectionShape (FXObject *, FXSelector, void *) |
edit connection shape More... | |
long | onCmdEditCrossingShape (FXObject *, FXSelector, void *) |
edit crossing shape More... | |
long | onCmdEditEdgeEndpoint (FXObject *, FXSelector, void *) |
change geometry endpoint More... | |
long | onCmdEditJunctionShape (FXObject *, FXSelector, void *) |
edit junction shape More... | |
long | onCmdLaneOperation (FXObject *, FXSelector sel, void *) |
add/remove/restrict lane More... | |
long | onCmdOpenAdditionalDialog (FXObject *, FXSelector, void *) |
open additional dialog More... | |
long | onCmdOpenPolygon (FXObject *, FXSelector, void *) |
open closed polygon More... | |
long | onCmdRemoveSelected (FXObject *, FXSelector, void *) |
unselect AC under cursor More... | |
long | onCmdReplaceJunction (FXObject *, FXSelector, void *) |
replace node by geometry More... | |
long | onCmdResetConnections (FXObject *, FXSelector, void *) |
reset junction connections More... | |
long | onCmdResetEdgeEndpoint (FXObject *, FXSelector, void *) |
change geometry endpoint More... | |
long | onCmdResetJunctionShape (FXObject *, FXSelector, void *) |
reset junction shape More... | |
long | onCmdResetLaneCustomShape (FXObject *, FXSelector, void *) |
reset custom shapes of selected lanes More... | |
long | onCmdResetLength (FXObject *, FXSelector, void *) |
reset custom edge lengths More... | |
long | onCmdReverseEdge (FXObject *, FXSelector, void *) |
reverse edge More... | |
long | onCmdSetFirstGeometryPoint (FXObject *, FXSelector, void *) |
set as first geometry point the closes geometry point More... | |
long | onCmdSimplifyShape (FXObject *, FXSelector, void *) |
simply shape of current polygon More... | |
long | onCmdSmoothEdges (FXObject *, FXSelector, void *) |
smooth geometry More... | |
long | onCmdSmoothEdgesElevation (FXObject *, FXSelector, void *) |
smooth elevation with regard to adjoining edges More... | |
long | onCmdSplitEdge (FXObject *, FXSelector, void *) |
split edge at cursor position More... | |
long | onCmdSplitEdgeBidi (FXObject *, FXSelector, void *) |
split edge at cursor position More... | |
long | onCmdSplitJunction (FXObject *, FXSelector, void *) |
split junction into multiple junctions More... | |
long | onCmdSplitJunctionReconnect (FXObject *, FXSelector, void *) |
split junction into multiple junctions and reconnect them More... | |
long | onCmdStraightenEdges (FXObject *, FXSelector, void *) |
makes selected edges straight More... | |
long | onCmdStraightenEdgesElevation (FXObject *, FXSelector, void *) |
interpolate z values linear between junctions More... | |
long | onCmdTransformPOI (FXObject *, FXSelector, void *) |
Transform POI to POILane, and viceversa. More... | |
virtual long | onConfigure (FXObject *, FXSelector, void *) |
mouse functions More... | |
virtual long | onDoubleClicked (FXObject *, FXSelector, void *) |
virtual void | onGamingClick (Position) |
on gaming click More... | |
virtual void | onGamingRightClick (Position) |
virtual long | onMiddleBtnPress (FXObject *, FXSelector, void *) |
virtual long | onMiddleBtnRelease (FXObject *, FXSelector, void *) |
virtual long | onMouseLeft (FXObject *, FXSelector, void *) |
virtual long | onMouseWheel (FXObject *, FXSelector, void *) |
virtual long | onPaint (FXObject *, FXSelector, void *) |
void | openObjectDialog () |
open object dialog More... | |
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... | |
virtual const std::vector< SUMOTime > | retrieveBreakpoints () const |
retrieve breakpoints if provided by the application More... | |
void | saveVisualizationSettings () const |
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... | |
void | setDottedAC (const GNEAttributeCarrier *AC) |
set attributeCarrier under cursor More... | |
void | setSelectionScaling (double selectionScale) |
set selection scaling More... | |
void | setStatusBarText (const std::string &text) |
set staturBar text 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... | |
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... | |
Position | snapToActiveGrid (const Position &pos, bool snapXY=true) const |
Returns a position that is mapped to the closest grid point if the grid is active. More... | |
virtual void | startTrack (int) |
star track More... | |
virtual void | stopTrack () |
stop track More... | |
void | update () const |
Mark the entire GNEViewNet to be repainted later. More... | |
void | updateControls () |
update control contents after undo/redo or recompute More... | |
void | updateToolTip () |
A method that updates the tooltip. More... | |
~GNEViewNet () | |
destructor More... | |
overloaded handlers | |
called when user press mouse's left button | |
long | onLeftBtnPress (FXObject *, FXSelector, void *) |
long | onLeftBtnRelease (FXObject *, FXSelector, void *) |
called when user releases mouse's left button More... | |
long | onRightBtnPress (FXObject *, FXSelector, void *) |
called when user press mouse's right button More... | |
long | onRightBtnRelease (FXObject *, FXSelector, void *) |
called when user releases mouse's right button More... | |
long | onMouseMove (FXObject *, FXSelector, void *) |
called when user moves mouse More... | |
long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
called when user press a key More... | |
long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
called when user release a key More... | |
set modes call backs | |
called when user press a supermode button | |
long | onCmdSetSupermode (FXObject *, FXSelector sel, void *) |
long | onCmdSetMode (FXObject *, FXSelector sel, void *) |
called when user press a mode button (Network or demand) More... | |
View options network call backs | |
toogle show demand elements | |
long | onCmdToogleShowDemandElements (FXObject *, FXSelector, void *) |
long | onCmdToogleSelectEdges (FXObject *, FXSelector, void *) |
toogle select edges More... | |
long | onCmdToogleShowConnections (FXObject *, FXSelector, void *) |
toogle show connections More... | |
long | onCmdToogleHideConnections (FXObject *, FXSelector, void *) |
toogle hide connections More... | |
long | onCmdToogleExtendSelection (FXObject *, FXSelector, void *) |
toogle extend selection More... | |
long | onCmdToogleChangeAllPhases (FXObject *, FXSelector, void *) |
toogle change all phases More... | |
long | onCmdToogleShowGrid (FXObject *, FXSelector, void *) |
toogle show grid More... | |
long | onCmdToogleWarnAboutMerge (FXObject *, FXSelector, void *) |
toogle warn for merge More... | |
long | onCmdToogleShowJunctionBubbles (FXObject *, FXSelector, void *) |
toogle show junction bubbles More... | |
long | onCmdToogleMoveElevation (FXObject *, FXSelector, void *) |
toogle move elevation More... | |
long | onCmdToogleChainEdges (FXObject *, FXSelector, void *) |
toogle chain edges More... | |
long | onCmdToogleAutoOppositeEdge (FXObject *, FXSelector, void *) |
toogle autoOpposite edge More... | |
long | onCmdToogleHideNonInspecteDemandElements (FXObject *, FXSelector, void *) |
toogle hide non inspected demand elements More... | |
long | onCmdToogleHideShapes (FXObject *, FXSelector, void *) |
toogle hide shapes in super mode demand More... | |
long | onCmdToogleShowAllPersonPlans (FXObject *, FXSelector, void *) |
toogle show all person plans in super mode demand More... | |
long | onCmdToogleLockPerson (FXObject *, FXSelector, void *) |
toogle lock person in super mode demand 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... | |
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... | |
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... | |
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... | |
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< 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 |
Private Member Functions | |
void | processLeftButtonPressNetwork (void *eventData) |
mouse process functions More... | |
void | processLeftButtonReleaseNetwork () |
process left button release function in Supermode Network More... | |
void | processMoveMouseNetwork () |
process move mouse function in Supermode Network More... | |
void | processLeftButtonPressDemand (void *eventData) |
process left button press function in Supermode Demand More... | |
void | processLeftButtonReleaseDemand () |
process left button release function in Supermode Demand More... | |
void | processMoveMouseDemand () |
process move mouse function in Supermode Demand More... | |
GNEViewNet (const GNEViewNet &)=delete | |
Invalidated copy constructor. More... | |
GNEViewNet & | operator= (const GNEViewNet &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
structs related with modes and testing mode | |
GNEViewNetHelper::EditModes | myEditModes |
variable used to save variables related with edit moves modes More... | |
GNEViewNetHelper::TestingMode | myTestingMode |
variable used to save variables related with testing mode More... | |
structs related with input (keyboard and mouse) | |
GNEViewNetHelper::KeyPressed | myKeyPressed |
variable used to save key status after certain events More... | |
GNEViewNetHelper::ObjectsUnderCursor | myObjectsUnderCursor |
variable use to save all pointers to objects under cursor after a click More... | |
GNEViewNetHelper::ObjectsUnderCursor | myObjectsUnderGrippedCursor |
variable use to save all pointers to objects under cursor after a click with grid enabled More... | |
structs related with checkable buttons | |
GNEViewNetHelper::CommonCheckableButtons | myCommonCheckableButtons |
variable used to save checkable buttons for common supermodes More... | |
GNEViewNetHelper::NetworkCheckableButtons | myNetworkCheckableButtons |
variable used to save checkable buttons for Supermode Network More... | |
GNEViewNetHelper::DemandCheckableButtons | myDemandCheckableButtons |
variable used to save checkable buttons for Supermode Demand More... | |
structs related with view options | |
GNEViewNetHelper::CommonViewOptions | myCommonViewOptions |
variable used to save variables related with common view options More... | |
GNEViewNetHelper::NetworkViewOptions | myNetworkViewOptions |
variable used to save variables related with view options in Network Supermode More... | |
GNEViewNetHelper::DemandViewOptions | myDemandViewOptions |
variable used to save variables related with view options in Demand Supermode More... | |
structs related with move elements | |
variable used to save variables related with movement of single elements | |
GNEViewNetHelper::MoveSingleElementValues | myMoveSingleElementValues |
GNEViewNetHelper::MoveMultipleElementValues | myMoveMultipleElementValues |
variable used to save variables related with movement of multiple elements More... | |
Static Private Attributes | |
static const double | SENSITIVITY = 0.1 |
Friends | |
struct | GNEViewNetHelper |
FOX-declaration. More... | |
structs related with Demand options | |
GNEViewNetHelper::VehicleOptions | myVehicleOptions |
variable used to save variables related with vehicle options More... | |
GNEViewNetHelper::VehicleTypeOptions | myVehicleTypeOptions |
variable used to save variables related with vehicle type options More... | |
GNEViewNetHelper::SelectingArea | mySelectingArea |
variable used to save variables related with selecting areas More... | |
GNEViewNetHelper::EditShapes | myEditShapes |
struct for grouping all variables related with edit shapes More... | |
GNEViewParent * | myViewParent |
view parent More... | |
GNENet * | myNet |
Pointer to current net. (We are not responsible for deletion) More... | |
GNEFrame * | myCurrentFrame |
the current frame More... | |
GNEUndoList * | myUndoList |
a reference to the undolist maintained in the application More... | |
const GNEAttributeCarrier * | myDottedAC |
current AttributeCarrier that is drawn using with a dotted contour note: it's constant because is edited from constant functions (example: drawGL(...) const) More... | |
void | buildEditModeControls () |
create edit mode buttons and elements More... | |
void | updateNetworkModeSpecificControls () |
updates Network mode specific controls More... | |
void | updateDemandModeSpecificControls () |
updates Demand mode specific controls More... | |
void | deleteSelectedJunctions () |
delete all currently selected junctions More... | |
void | deleteSelectedLanes () |
delete all currently selected lanes More... | |
void | deleteSelectedEdges () |
delete all currently selected edges More... | |
void | deleteSelectedAdditionals () |
delete all currently selected additionals More... | |
void | deleteSelectedDemandElements () |
delete all currently selected demand elements More... | |
void | deleteSelectedCrossings () |
delete all currently selected crossings More... | |
void | deleteSelectedConnections () |
delete all currently selected connections More... | |
void | deleteSelectedShapes () |
delete all currently selected shapes More... | |
bool | mergeJunctions (GNEJunction *moved, const Position &oldPos) |
try to merge moved junction with another junction in that spot return true if merging did take place More... | |
GNEEdge * | getEdgeAtPopupPosition () |
try to retrieve an edge at popup position More... | |
GNELane * | getLaneAtPopupPosition () |
try to retrieve a lane at popup position More... | |
GNEJunction * | getJunctionAtPopupPosition () |
try to retrieve a junction at popup position More... | |
GNEConnection * | getConnectionAtPopupPosition () |
try to retrieve a connection at popup position More... | |
GNECrossing * | getCrossingAtPopupPosition () |
try to retrieve a crossing at popup position More... | |
GNEAdditional * | getAdditionalAtPopupPosition () |
try to retrieve a additional at popup position More... | |
GNEPoly * | getPolygonAtPopupPosition () |
try to retrieve a polygon at popup position More... | |
GNEPOI * | getPOIAtPopupPosition () |
try to retrieve a POILane at popup position More... | |
bool | restrictLane (SUMOVehicleClass vclass) |
restrict lane More... | |
bool | addRestrictedLane (SUMOVehicleClass vclass) |
add restricted lane More... | |
bool | removeRestrictedLane (SUMOVehicleClass vclass) |
remove restricted lane More... | |
void | processClick (void *eventData) |
Auxiliar function used by onLeftBtnPress(...) More... | |
void | updateCursor () |
update cursor after every click/key press/release More... | |
void | drawLaneCandidates () const |
draw functions More... | |
void | drawTemporalDrawShape () const |
draw temporal polygon shape in Polygon Mode More... | |
Dealing with snapshots | |
void | addSnapshot (SUMOTime time, const std::string &file, const int w=-1, const int h=-1) |
Sets the snapshot time to file map. More... | |
std::string | makeSnapshot (const std::string &destFile, const int w=-1, const int h=-1) |
Takes a snapshots and writes it into the given file. More... | |
virtual void | saveFrame (const std::string &destFile, FXColor *buf) |
Adds a frame to a video snapshot which will be initialized if neccessary. More... | |
virtual void | endSnapshot () |
Ends a video snapshot. More... | |
virtual void | checkSnapshots () |
Checks whether it is time for a snapshot. More... | |
void | waitForSnapshots (const SUMOTime snapshotTime) |
virtual SUMOTime | getCurrentTimeStep () const |
get the current simulation time More... | |
Microsocopic view at the simulation
Definition at line 42 of file GNEViewNet.h.
GNEViewNet::GNEViewNet | ( | FXComposite * | tmpParent, |
FXComposite * | actualParent, | ||
GUIMainWindow & | app, | ||
GNEViewParent * | viewParent, | ||
GNENet * | net, | ||
GNEUndoList * | undoList, | ||
FXGLVisual * | glVis, | ||
FXGLCanvas * | share | ||
) |
Definition at line 171 of file GNEViewNet.cpp.
References GUITextureSubSys::resetTextures().
GNEViewNet::~GNEViewNet | ( | ) |
destructor
Definition at line 213 of file GNEViewNet.cpp.
|
protected |
FOX needs this.
Definition at line 552 of file GNEViewNet.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNet::abortOperation | ( | bool | clearSelection = true | ) |
abort current edition operation
Definition at line 836 of file GNEViewNet.cpp.
References GNEAdditionalFrame::SelectorParentLanes::abortConsecutiveLaneSelector(), GNEFrameModuls::DrawingShape::abortDrawing(), GNECreateEdgeFrame::abortEdgeCreation(), GNEFrameModuls::EdgePathCreator::abortEdgePathCreation(), GNEPersonPlanFrame::PersonPlanCreator::abortPersonPlanCreation(), GNESelectorFrame::clearCurrentSelection(), GNEViewNetHelper::EditModes::currentSupermode, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCreateEdgeFrame(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEPersonFrame::getEdgePathCreator(), GNEVehicleFrame::getEdgePathCreator(), GNEViewParent::getPersonFrame(), GNEPersonPlanFrame::getPersonPlanCreator(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getVehicleFrame(), GNE_DMODE_PERSON, GNE_DMODE_PERSONPLAN, GNE_DMODE_ROUTE, GNE_DMODE_SELECT, GNE_DMODE_VEHICLE, GNE_NMODE_ADDITIONAL, GNE_NMODE_CONNECT, GNE_NMODE_CREATE_EDGE, GNE_NMODE_MOVE, GNE_NMODE_POLYGON, GNE_NMODE_PROHIBITION, GNE_NMODE_SELECT, GNE_NMODE_TAZ, GNE_NMODE_TLS, GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, GNERouteFrame::hotkeyEsc(), GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myEditShapes, mySelectingArea, myUndoList, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEUndoList::p_abort(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNETAZFrame::TAZCurrent::setTAZ(), and GNEViewNetHelper::EditShapes::stopEditCustomShape().
Referenced by GNEApplicationWindow::onCmdAbort().
|
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().
|
private |
add restricted lane
Definition at line 1803 of file GNEViewNet.cpp.
References GNENet::addRestrictedLane(), GNELane::getIndex(), getLaneAtPopupPosition(), GNEEdge::getLanes(), GNELane::getParentEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), SVC_PEDESTRIAN, toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
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 GUIViewTraffic::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().
bool GNEViewNet::autoSelectNodes | ( | ) |
whether to autoselect nodes or to lanes
Definition at line 529 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, and myNetworkViewOptions.
Referenced by GNESelectorFrame::handleIDs().
|
virtual |
recalibrate color scheme according to the current value range
Reimplemented from GUISUMOAbstractView.
Definition at line 476 of file GNEViewNet.cpp.
References GUIPropertyScheme< T >::addColor(), RGBColor::BLUE, GUIPropertyScheme< T >::clear(), RGBColor::CYAN, GLO_JUNCTION, GLO_LANE, RGBColor::GREEN, GUIPropertyScheme< T >::isFixed(), RGBColor::MAGENTA, MAX2(), MIN2(), myNet, RGBColor::ORANGE, RGBColor::RED, GNENet::retrieveJunctions(), GNENet::retrieveLanes(), UNUSED_PARAMETER, and RGBColor::YELLOW.
|
private |
create edit mode buttons and elements
Definition at line 2445 of file GNEViewNet.cpp.
References GNEViewNetHelper::CommonCheckableButtons::buildCommonCheckableButtons(), GNEViewNetHelper::CommonViewOptions::buildCommonViewOptionsMenuChecks(), GNEViewNetHelper::DemandCheckableButtons::buildDemandCheckableButtons(), GNEViewNetHelper::DemandViewOptions::buildDemandViewOptionsMenuChecks(), GNEViewNetHelper::NetworkCheckableButtons::buildNetworkCheckableButtons(), GNEViewNetHelper::NetworkViewOptions::buildNetworkViewOptionsMenuChecks(), GNEViewNetHelper::EditModes::buildSuperModeButtons(), myCommonCheckableButtons, myCommonViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myNetworkCheckableButtons, and myNetworkViewOptions.
void GNEViewNet::buildSelectionACPopupEntry | ( | GUIGLObjectPopupMenu * | ret, |
GNEAttributeCarrier * | AC | ||
) |
Builds an entry which allows to (de)select the object.
ret | The popup menu to add the entry to |
AC | AttributeCarrier that will be select/unselected |
Definition at line 338 of file GNEViewNet.cpp.
References GUIIconSubSys::getIcon(), ICON_FLAG_MINUS, ICON_FLAG_PLUS, GNEAttributeCarrier::isAttributeCarrierSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
virtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 221 of file GNEViewNet.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getLocatorPopup(), GUICompleteSchemeStorage::getNames(), gSchemeStorage, ICON_LOCATEADD, ICON_LOCATEEDGE, ICON_LOCATEJUNCTION, ICON_LOCATEPERSON, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_LOCATEROUTE, ICON_LOCATESTOP, ICON_LOCATETLS, ICON_LOCATEVEHICLE, MAX2(), MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPERSON, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATEROUTE, MID_LOCATESTOP, 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().
bool GNEViewNet::changeAllPhases | ( | ) | const |
change all phases
Definition at line 541 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, and myNetworkViewOptions.
Referenced by GNETLSEditorFrame::handleChange().
|
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().
|
virtualinherited |
Checks whether it is time for a snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 1273 of file GUISUMOAbstractView.cpp.
References DELTA_T, GUISUMOAbstractView::getCurrentTimeStep(), joinToString(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::mySnapshotCondition, GUISUMOAbstractView::mySnapshots, GUISUMOAbstractView::mySnapshotsMutex, toString(), and WRITE_WARNING.
Referenced by GUIViewTraffic::checkSnapshots(), GUISUMOAbstractView::onConfigure(), and GUISUMOViewParent::onSimStep().
|
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().
|
private |
delete all currently selected additionals
Definition at line 2838 of file GNEViewNet.cpp.
References GNENet::deleteAdditional(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveAdditional(), and GNENet::retrieveAdditionals().
Referenced by hotkeyDel().
|
private |
delete all currently selected connections
Definition at line 2898 of file GNEViewNet.cpp.
References GNENet::deleteConnection(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_CONNECTION, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected crossings
Definition at line 2872 of file GNEViewNet.cpp.
References GNENet::deleteCrossing(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveCrossing(), GNENet::retrieveJunctions(), SUMO_TAG_CROSSING, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected demand elements
Definition at line 2855 of file GNEViewNet.cpp.
References GNENet::deleteDemandElement(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveDemandElement(), and GNENet::retrieveDemandElements().
Referenced by hotkeyDel().
|
private |
delete all currently selected edges
Definition at line 2823 of file GNEViewNet.cpp.
References GNENet::deleteEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_EDGE, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected junctions
Definition at line 2794 of file GNEViewNet.cpp.
References GNENet::deleteJunction(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), SUMO_TAG_JUNCTION, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected lanes
Definition at line 2808 of file GNEViewNet.cpp.
References GNENet::deleteLane(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), SUMO_TAG_LANE, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected shapes
Definition at line 2922 of file GNEViewNet.cpp.
References GNENet::deleteShape(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveShapes().
Referenced by hotkeyDel().
|
inherited |
destoys the popup
Definition at line 884 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, and Position::set().
Referenced by onCmdClearConnections(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetJunctionShape(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), GNEInternalLane::onDefault(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), 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().
|
protectedvirtual |
called after some features are already initialized
Reimplemented from GUISUMOAbstractView.
Definition at line 217 of file GNEViewNet.cpp.
|
protectedvirtual |
do paintGL
Reimplemented from GUISUMOAbstractView.
Definition at line 603 of file GNEViewNet.cpp.
References GUIVisualizationSettings::colorSettings, GNEViewNetHelper::EditModes::currentSupermode, GNEViewNetHelper::EditModes::demandEditMode, GUIVisualizationSettings::disableLaneIcons, GUISUMOAbstractView::drawDecals(), GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, drawLaneCandidates(), GNEViewNetHelper::SelectingArea::drawRectangleSelection(), drawTemporalDrawShape(), GNEPersonPlanFrame::PersonPlanCreator::drawTemporalRoute(), GNEFrameModuls::EdgePathCreator::drawTemporalRoute(), GNERouteFrame::drawTemporalRoute(), GNEViewNetHelper::TestingMode::drawTestingElements(), GUIVisualizationSettings::forceDrawForPositionSelection, GUIVisualizationSettings::forceDrawForRectangleSelection, OptionsCont::getBool(), getDottedAC(), GNEPersonFrame::getEdgePathCreator(), GNEVehicleFrame::getEdgePathCreator(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), OptionsCont::getOptions(), GNEViewParent::getPersonFrame(), GNEPersonPlanFrame::getPersonPlanCreator(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteFrame(), GNEAttributeCarrier::getTagProperty(), GNEViewParent::getVehicleFrame(), GNE_DMODE_INSPECT, GNE_SUPERMODE_DEMAND, GNEAttributeCarrier::TagProperties::isPerson(), GNEAttributeCarrier::TagProperties::isPersonPlan(), GNEAttributeCarrier::TagProperties::isPersonStop(), GUIVisualizationSettings::lefthand, GUISUMOAbstractView::m2p(), GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid, GUISUMOAbstractView::myApp, myCommonViewOptions, myDemandViewOptions, myEditModes, GUISUMOAbstractView::myGrid, myNetworkViewOptions, mySelectingArea, myTestingMode, GUISUMOAbstractView::myUseToolTips, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), GUIVisualizationSettings::scale, SUMORTree::Search(), GUIVisualizationColorSettings::selectionColor, GUIVisualizationSettings::showGrid, GUIVisualizationSettings::showLane2Lane, SUMO_const_laneWidth, 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 GUIViewTraffic::doPaintGL(), 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().
|
private |
draw functions
draw connections between lane candidates during selecting lane mode in Additional mode
Definition at line 3018 of file GNEViewNet.cpp.
References GNEGeometry::calculateLength(), GNEGeometry::calculateRotation(), RGBColor::CYAN, GLHelper::drawBoxLines(), GLHelper::drawFilledCircle(), GLHelper::drawText(), GNEViewParent::getAdditionalFrame(), GUIVisualizationSettings::getCircleResolution(), NBEdge::getConnection(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNELane::getIndex(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEAdditionalFrame::SelectorParentLanes::getSelectedLaneColor(), GNEAdditionalFrame::SelectorParentLanes::getSelectedLanes(), GLO_JUNCTION, GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), myViewParent, GUISUMOAbstractView::myVisualizationSettings, RGBColor::RED, GLHelper::setColor(), NBEdge::Connection::shape, Position::x(), and Position::y().
Referenced by doPaintGL().
|
private |
draw temporal polygon shape in Polygon Mode
Definition at line 3090 of file GNEViewNet.cpp.
References RGBColor::BLUE, GLHelper::drawLine(), GNEFrameModuls::DrawingShape::getDeleteLastCreatedPoint(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getTAZFrame(), GNEFrameModuls::DrawingShape::getTemporalShape(), GLO_MAX, RGBColor::GREEN, GNEFrameModuls::DrawingShape::isDrawing(), myViewParent, RGBColor::RED, GLHelper::setColor(), and GUISUMOAbstractView::snapToActiveGrid().
Referenced by doPaintGL().
|
inlinevirtualinherited |
Ends a video snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 193 of file GUISUMOAbstractView.h.
Referenced by GUISUMOViewParent::onCmdMakeSnapshot().
|
private |
try to retrieve a additional at popup position
Definition at line 1147 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdOpenAdditionalDialog().
std::set< std::pair< std::string, GNEAttributeCarrier * > > GNEViewNet::getAttributeCarriersInBoundary | ( | const Boundary & | boundary, |
bool | forceSelectEdges = false |
||
) |
get AttributeCarriers in Boundary
Definition at line 306 of file GNEViewNet.cpp.
References GNEAttributeCarrier::getID(), GNESelectorFrame::getLockGLObjectTypes(), GUISUMOAbstractView::getObjectsInBoundary(), GNEViewParent::getSelectorFrame(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GUISUMOAbstractView::makeCurrent(), myNet, myNetworkViewOptions, myViewParent, GNENet::retrieveAttributeCarrier(), GNEViewNetHelper::NetworkViewOptions::selectEdges(), and SUMO_TAG_LANE.
Referenced by GNETAZFrame::shapeDrawed().
|
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().
const GNEViewNetHelper::CommonViewOptions & GNEViewNet::getCommonViewOptions | ( | ) | const |
get Common view options
Definition at line 446 of file GNEViewNet.cpp.
References myCommonViewOptions.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions(), and GNEApplicationWindow::onCmdToogleGrid().
|
private |
try to retrieve a connection at popup position
Definition at line 1065 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_CONNECTION, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdEditConnectionShape().
|
private |
try to retrieve a crossing at popup position
Definition at line 1086 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_CROSSING, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdEditCrossingShape().
|
virtualinherited |
get the current simulation time
Reimplemented in GUIViewTraffic.
Definition at line 1315 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::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().
const GNEViewNetHelper::DemandViewOptions & GNEViewNet::getDemandViewOptions | ( | ) | const |
get demand view options
Definition at line 458 of file GNEViewNet.cpp.
References myDemandViewOptions.
Referenced by GNEStop::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GNEEdge::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawJunctionChilds(), GNEEdge::drawPartialPersonPlan(), and GNEApplicationWindow::onCmdToogleEditOptions().
const GNEAttributeCarrier * GNEViewNet::getDottedAC | ( | ) | const |
get AttributeCarrier under cursor
Definition at line 1026 of file GNEViewNet.cpp.
References myDottedAC.
Referenced by doPaintGL(), GNECalibrator::drawCalibratorSymbol(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNEDetectorE1Instant::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNEDetectorE2::drawGL(), GNETAZ::drawGL(), GNEConnection::drawGL(), GNELane::drawGL(), GNEStop::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GNEEdge::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawJunctionChilds(), GNELane::drawPartialE2DetectorPlan(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawRerouterSymbol(), GNELane::drawVSSSymbol(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), onCmdToogleLockPerson(), and GNELane::setLaneColor().
|
private |
try to retrieve an edge at popup position
Definition at line 1106 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_EDGE, GLO_LANE, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdAddReversedEdge(), onCmdEditEdgeEndpoint(), onCmdResetEdgeEndpoint(), onCmdResetLength(), onCmdReverseEdge(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), and onCmdStraightenEdgesElevation().
|
inlinevirtualinherited |
return list of loaded edgeData attributes
Reimplemented in GUIViewTraffic.
Definition at line 230 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().
|
virtual |
return list of available edge parameters
Reimplemented from GUISUMOAbstractView.
Definition at line 570 of file GNEViewNet.cpp.
References NBEdgeCont::getAllEdges(), GNENet::getEdgeCont(), and myNet.
const GNEViewNetHelper::EditModes & GNEViewNet::getEditModes | ( | ) | const |
get edit modes
Definition at line 434 of file GNEViewNet.cpp.
References myEditModes.
Referenced by GNEDeleteFrame::ACsToDelete(), GNESelectorFrame::ACsToSelected(), GNEFrameAttributesModuls::AttributesEditorRow::AttributesEditorRow(), GNESelectorFrame::clearCurrentSelection(), GNEEdge::drawGeometryPoints(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNETAZ::drawGL(), GNEConnection::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), GNEJunction::drawTLSIcon(), GNENetElement::drawUsingSelectColor(), GNEShape::drawUsingSelectColor(), GNEAdditional::drawUsingSelectColor(), GNEDemandElement::drawUsingSelectColor(), GNEJunction::getColorValue(), GNEInternalLane::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getSelectedAttributeCarriers(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEPoly::isAttributeEnabled(), GNEPOI::isAttributeEnabled(), GNEApplicationWindow::onCmdProcessButton(), GNEDeleteFrame::removeSelectedAttributeCarriers(), and GNELane::updateGeometry().
const GNEViewNetHelper::EditShapes & GNEViewNet::getEditShapes | ( | ) | const |
get Edit Shape modul
Definition at line 470 of file GNEViewNet.cpp.
References myEditShapes.
Referenced by GNEPoly::commitShapeChange().
|
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 onLeftBtnPress(), and 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 onLeftBtnPress().
|
private |
try to retrieve a junction at popup position
Definition at line 1044 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_JUNCTION, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdClearConnections(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetJunctionShape(), onCmdSplitJunction(), and onCmdSplitJunctionReconnect().
const GNEViewNetHelper::KeyPressed & GNEViewNet::getKeyPressed | ( | ) | const |
get Key Pressed modul
Definition at line 464 of file GNEViewNet.cpp.
References myKeyPressed.
Referenced by GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().
|
private |
try to retrieve a lane at popup position
Definition at line 1130 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_LANE, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by addRestrictedLane(), onCmdDuplicateLane(), onCmdResetLaneCustomShape(), removeRestrictedLane(), and restrictLane().
GNENet * GNEViewNet::getNet | ( | ) | const |
get the net object
Definition at line 1014 of file GNEViewNet.cpp.
References myNet.
Referenced by GNEDeleteFrame::ACsToDelete(), GNESelectorFrame::ACsToSelected(), GNERouteHandler::addPersonTrip(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNERouteHandler::addRide(), GNERouteHandler::addStop(), GNEVehicleFrame::addVehicle(), GNERouteHandler::addWalk(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildChargingStation(), GNEConnectorFrame::buildConnection(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNETLSEditorFrame::buildIinternalLanes(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouter(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNEAdditional::changeAdditionalID(), GNEHierarchicalChildElements::changeChildEdges(), GNEHierarchicalChildElements::changeChildLanes(), GNEDemandElement::changeDemandElementID(), GNETLSEditorFrame::cleanup(), GNESelectorFrame::clearCurrentSelection(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNETAZ::commitGeometryMoving(), GNEDetectorE3::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEDetectorE1::commitGeometryMoving(), GNEDetectorEntryExit::commitGeometryMoving(), GNEDetectorE1Instant::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEStop::commitGeometryMoving(), GNEDetectorE2::commitGeometryMoving(), GNERide::commitGeometryMoving(), GNEPersonTrip::commitGeometryMoving(), GNEWalk::commitGeometryMoving(), GNETAZ::commitShapeChange(), GNETAZ::deleteGeometryPoint(), GNEStop::disableAttribute(), GNEVehicleFrame::edgePathCreated(), GNETLSEditorFrame::editJunction(), GNEStop::enableAttribute(), GNEPerson::enableAttribute(), GNEVehicle::enableAttribute(), GNEAdditional::endGeometryMoving(), GNEAdditional::generateChildID(), GNEDemandElement::generateChildID(), GNEAdditionalFrame::generateID(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAdditionalHandler::getLanePos(), GNESelectorFrame::getMatches(), GNEDetectorE3::getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNEVehicleType::getParentName(), GNETAZ::getParentName(), GNERide::getParentName(), GNEPersonTrip::getParentName(), GNEWalk::getParentName(), GNERoute::getParentName(), GNEPerson::getParentName(), GNEAdditional::getPopUpMenu(), GNEVehicle::getPopUpMenu(), GNEStopFrame::getStopParameter(), GNEPersonTypeFrame::GNEPersonTypeFrame(), GNEVehicleTypeFrame::GNEVehicleTypeFrame(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNERouteHandler::isPersonIdDuplicated(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEChargingStation::isValid(), GNEParkingArea::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntryExit::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEDestProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEDetectorE1Instant::isValid(), GNECalibratorFlow::isValid(), GNEVariableSpeedSign::isValid(), GNERerouter::isValid(), GNEAccess::isValid(), GNEDetectorE2::isValid(), GNECalibrator::isValid(), GNEVehicleType::isValid(), GNEStop::isValid(), GNERide::isValid(), GNEPersonTrip::isValid(), GNEWalk::isValid(), GNERoute::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNERouteHandler::isVehicleIdDuplicated(), GNEFixDemandElements::onCmdAccept(), GNEFixAdditionalElements::onCmdAccept(), GNECalibratorDialog::onCmdAddFlow(), GNECalibratorDialog::onCmdAddVehicleType(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNETLSEditorFrame::onCmdDefSwitch(), GNEViewParent::onCmdLocate(), GNETLSEditorFrame::onCmdOK(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), onCmdToogleShowConnections(), GNEAdditionalHandler::parseAndBuildAccess(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildCalibratorFlow(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorE3(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEAdditionalHandler::parseAndBuildParkingSpace(), GNEAdditionalHandler::parseAndBuildPOI(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildRerouterClosingLaneReroute(), GNEAdditionalHandler::parseAndBuildRerouterClosingReroute(), GNEAdditionalHandler::parseAndBuildRerouterDestProbReroute(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEAdditionalHandler::parseAndBuildRerouterParkingAreaReroute(), GNEAdditionalHandler::parseAndBuildRerouterRouteProbReroute(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildTAZ(), GNEAdditionalHandler::parseAndBuildTAZSink(), GNEAdditionalHandler::parseAndBuildTAZSource(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEAdditionalHandler::parseAndBuildVariableSpeedSign(), GNEAdditionalHandler::parseAndBuildVariableSpeedSignStep(), GNETLSEditorFrame::parseTLSPrograms(), GNECreateEdgeFrame::processClick(), GNEPolygonFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEHierarchicalParentElements::replaceParentAdditional(), GNEHierarchicalParentElements::replaceParentDemandElement(), GNEHierarchicalParentElements::replaceParentEdges(), GNEHierarchicalParentElements::replaceParentLanes(), GNEAdditionalHandler::HierarchyInsertedAdditionals::retrieveParentAdditional(), GNEBusStop::setAttribute(), GNEContainerStop::setAttribute(), GNEChargingStation::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntryExit::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEClosingReroute::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEDetectorE3::setAttribute(), GNEParkingSpace::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNECalibratorFlow::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouterInterval::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEAccess::setAttribute(), GNERerouter::setAttribute(), GNEDetectorE2::setAttribute(), GNECalibrator::setAttribute(), GNETAZ::setAttribute(), GNEVehicleType::setAttribute(), GNEStop::setAttribute(), GNERide::setAttribute(), GNEPersonTrip::setAttribute(), GNEWalk::setAttribute(), GNERoute::setAttribute(), GNEPerson::setAttribute(), GNEVehicle::setAttribute(), GNEVehicle::setColor(), GNERouteHandler::RouteParameter::setEdges(), GNETAZFrame::TAZCurrent::setTAZ(), GNEPolygonFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEStopFrame::show(), GNEDeleteFrame::show(), GNEPersonPlanFrame::show(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierChildren(), GNEFrameModuls::AttributeCarrierHierarchy::showAttributeCarrierParents(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEParkingArea::updateGeometry(), GNECalibratorDialog::updateRouteTable(), and GNECalibratorDialog::updateVehicleTypeTable().
const GNEViewNetHelper::NetworkViewOptions & GNEViewNet::getNetworkViewOptions | ( | ) | const |
get network view options
Definition at line 452 of file GNEViewNet.cpp.
References myNetworkViewOptions.
Referenced by GNEEdge::drawGeometryPoints(), GNEJunction::drawGL(), GNEConnection::drawGL(), GNEStop::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawJunctionChilds(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEInspectorFrame::processNetworkSupermodeClick(), and GNEInspectorFrame::selectedOverlappedElement().
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 getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectUnderCursor(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), onCmdAddSelected(), and 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 getAttributeCarriersInBoundary(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), mergeJunctions(), and 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 GUIViewTraffic::getLaneUnderCursor(), GUISUMOAbstractView::onLeftBtnPress(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::paintGL().
|
private |
try to retrieve a POILane at popup position
Definition at line 1175 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdTransformPOI().
|
private |
try to retrieve a polygon at popup position
Definition at line 1161 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdClosePolygon(), onCmdDeleteGeometryPoint(), onCmdOpenPolygon(), onCmdSetFirstGeometryPoint(), and onCmdSimplifyShape().
|
inherited |
get position of current popup
Definition at line 879 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopupPosition.
Referenced by getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), onCmdAddSelected(), onCmdDeleteGeometryPoint(), onCmdEditEdgeEndpoint(), onCmdRemoveSelected(), onCmdResetEdgeEndpoint(), onCmdSetFirstGeometryPoint(), onCmdSplitEdge(), and 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(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEJunction::drawGL(), GNETAZ::drawGL(), GNEPoly::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEGeometry::drawLaneGeometry(), GNEEdge::drawPartialPersonPlan(), GNEGeometry::drawSegmentGeometry(), drawTemporalDrawShape(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GUISUMOAbstractView::getObjectsUnderCursor(), GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GUIEdge::getPopUpMenu(), GNELane::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updatePositionInformation().
const GNEViewNetHelper::TestingMode & GNEViewNet::getTestingMode | ( | ) | const |
get testing mode
Definition at line 440 of file GNEViewNet.cpp.
References myTestingMode.
Referenced by GNEPOI::drawGL().
|
virtualinherited |
get tracked id
Reimplemented in GUIViewTraffic.
Definition at line 1435 of file GUISUMOAbstractView.cpp.
References GUIGlObject::INVALID_ID.
Referenced by GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processGet(), and TraCIServerAPI_GUI::processSet().
GNEUndoList * GNEViewNet::getUndoList | ( | ) | const |
get the undoList object
Definition at line 1020 of file GNEViewNet.cpp.
References myUndoList.
Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNETAZFrame::addOrRemoveTAZMember(), GNEPolygonFrame::addPOI(), GNENet::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEConnectorFrame::buildConnection(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowWithEmbeddedRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonFlow(), GNEPersonFrame::buildPersonOverRoute(), GNEPersonFrame::buildPersonOverStop(), GNERouteHandler::buildPersonTripBusStop(), GNERouteHandler::buildPersonTripFromTo(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRideBusStop(), GNERouteHandler::buildRideFromTo(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVehicleWithEmbeddedRoute(), GNERouteHandler::buildWalkBusStop(), GNERouteHandler::buildWalkEdges(), GNERouteHandler::buildWalkFromTo(), GNERouteHandler::buildWalkRoute(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEPoly::changeFirstGeometryPoint(), GNESelectorFrame::clearCurrentSelection(), GNERouteHandler::closePerson(), GNEPoly::closePolygon(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVehicle(), GNERouteHandler::closeVType(), GNENet::computeAndUpdate(), GNETAZ::deleteGeometryPoint(), GNEEdge::deleteGeometryPoint(), GNEPoly::deleteGeometryPoint(), GNETAZFrame::dropTAZMembers(), GNEPersonFrame::edgePathCreated(), GNETLSEditorFrame::editJunction(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNESelectorFrame::handleIDs(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEAdditionalHandler::myEndElement(), GNEFixDemandElements::onCmdAccept(), GNEFixAdditionalElements::onCmdAccept(), GNEAllowDisallow::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNETLSEditorFrame::onCmdCancel(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNETLSEditorFrame::onCmdOK(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdOpenAttributeDialog(), GNEApplicationWindow::onCmdRedo(), GNERouteDialog::onCmdSetVariable(), GNECalibratorFlowDialog::onCmdSetVariable(), GNEApplicationWindow::onCmdUndo(), GNEPoly::openPolygon(), GNETLSEditorFrame::parseTLSPrograms(), GNECreateEdgeFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDemandElementDialog::resetChanges(), GNEAdditionalDialog::resetChanges(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
|
inlinevirtualinherited |
return list of available vehicle parameters
Reimplemented in GUIViewTraffic.
Definition at line 240 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::updateVehicleParams().
GNEViewParent * GNEViewNet::getViewParent | ( | ) | const |
get the net object
Definition at line 1008 of file GNEViewNet.cpp.
References myViewParent.
Referenced by GNENet::computeAndUpdate(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNETAZ::drawGL(), GNELane::getPopUpMenu(), GNEFrame::hide(), GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEInspectorFrame::onCmdGoBack(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdRedo(), GNEApplicationWindow::onCmdSetTemplate(), GNEApplicationWindow::onCmdUndo(), GNELane::onDefault(), GNECreateEdgeFrame::processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNENet::removePolygonForEditShapes(), GNENet::removeShape(), GNENet::requireSaveAdditionals(), GNENet::requireSaveDemandElements(), GNENet::requireSaveTLSPrograms(), GNENet::saveDemandElements(), GNENetElement::selectAttributeCarrier(), GNEVehicleType::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEFrame::show(), GNEChange_DemandElement::undo(), GNENetElement::unselectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().
|
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
|
inherited |
get visualitation settings
Definition at line 236 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.
void GNEViewNet::hotkeyBackSpace | ( | ) |
handle backspace keypress
Definition at line 980 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNEViewNetHelper::EditModes::demandEditMode, GNEPersonFrame::getEdgePathCreator(), GNEVehicleFrame::getEdgePathCreator(), GNEViewParent::getPersonFrame(), GNEPersonPlanFrame::getPersonPlanCreator(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getVehicleFrame(), GNE_DMODE_PERSON, GNE_DMODE_PERSONPLAN, GNE_DMODE_ROUTE, GNE_DMODE_VEHICLE, GNE_SUPERMODE_DEMAND, GNERouteFrame::hotkeyBackSpace(), myEditModes, myViewParent, GNEPersonPlanFrame::PersonPlanCreator::removeLastAddedElement(), and GNEFrameModuls::EdgePathCreator::removeLastInsertedElement().
Referenced by GNEApplicationWindow::onCmdBackspace().
void GNEViewNet::hotkeyDel | ( | ) |
handle del keypress
Definition at line 899 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, deleteSelectedAdditionals(), deleteSelectedConnections(), deleteSelectedCrossings(), deleteSelectedDemandElements(), deleteSelectedEdges(), deleteSelectedJunctions(), deleteSelectedLanes(), deleteSelectedShapes(), GNE_NMODE_CONNECT, GNE_NMODE_TLS, GNE_SUPERMODE_NETWORK, myEditModes, myUndoList, GNEViewNetHelper::EditModes::networkEditMode, GNEUndoList::p_begin(), GNEUndoList::p_end(), setStatusBarText(), and update().
Referenced by GNEApplicationWindow::onCmdDel().
void GNEViewNet::hotkeyEnter | ( | ) |
handle enter keypress
Definition at line 926 of file GNEViewNet.cpp.
References GNECrossingFrame::createCrossingHotkey(), GNEViewNetHelper::EditModes::currentSupermode, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::EditShapes::editedShapePoly, GNEFrameModuls::EdgePathCreator::finishEdgePathCreation(), GNEPersonPlanFrame::PersonPlanCreator::finishPersonPlanCreation(), GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCrossingFrame(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEPersonFrame::getEdgePathCreator(), GNEVehicleFrame::getEdgePathCreator(), GNEViewParent::getPersonFrame(), GNEPersonPlanFrame::getPersonPlanCreator(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getRouteFrame(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSaveChangesModul(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getVehicleFrame(), GNE_DMODE_PERSON, GNE_DMODE_PERSONPLAN, GNE_DMODE_ROUTE, GNE_DMODE_VEHICLE, GNE_NMODE_ADDITIONAL, GNE_NMODE_CONNECT, GNE_NMODE_CROSSING, GNE_NMODE_MOVE, GNE_NMODE_POLYGON, GNE_NMODE_TAZ, GNE_NMODE_TLS, GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, GNERouteFrame::hotkeyEnter(), GNETAZFrame::TAZSaveChanges::isChangesPending(), GNEFrameModuls::DrawingShape::isDrawing(), GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), myEditModes, myEditShapes, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GNETLSEditorFrame::onCmdOK(), GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEViewNetHelper::EditShapes::saveEditedShape(), GNEFrameModuls::DrawingShape::startDrawing(), GNEAdditionalFrame::SelectorParentLanes::stopConsecutiveLaneSelector(), and GNEFrameModuls::DrawingShape::stopDrawing().
Referenced by GNEApplicationWindow::onCmdEnter().
void GNEViewNet::hotkeyFocusFrame | ( | ) |
handle focus frame keypress
Definition at line 997 of file GNEViewNet.cpp.
References GNEFrame::focusUpperElement(), and myCurrentFrame.
Referenced by GNEApplicationWindow::onCmdFocusFrame().
|
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(), GUIViewTraffic::doPaintGL(), doPaintGL(), GUISUMOAbstractView::getObjectsInBoundary(), and GUISUMOAbstractView::makeSnapshot().
|
inherited |
A reimplementation due to some internal reasons.
Definition at line 841 of file GUISUMOAbstractView.cpp.
Referenced by getAdditionalAtPopupPosition(), getAttributeCarriersInBoundary(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), GUIViewTraffic::getLaneUnderCursor(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), GUISUMOAbstractView::makeSnapshot(), mergeJunctions(), onCmdAddSelected(), onCmdRemoveSelected(), GUISUMOAbstractView::onConfigure(), onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onPaint(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), and 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().
|
private |
try to merge moved junction with another junction in that spot return true if merging did take place
Definition at line 2938 of file GNEViewNet.cpp.
References Boundary::add(), GNEJunction::endGeometryMoving(), GUIGlObject::getGlID(), GUIGlObject::getMicrosimID(), GNEJunction::getNBNode(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), NBNode::getPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_JUNCTION, Boundary::grow(), GUISUMOAbstractView::makeCurrent(), GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNENet::mergeJunctions(), GNEJunction::moveGeometry(), myNet, myNetworkViewOptions, myUndoList, toString(), GUIGlObjectStorage::unblockObject(), and WRITE_DEBUG.
long GNEViewNet::onCmdAddReversedEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
add reversed edge
Definition at line 1338 of file GNEViewNet.cpp.
References GNENet::addReversedEdge(), getEdgeAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_EDGE, and toString().
long GNEViewNet::onCmdAddSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
select AC under cursor
Definition at line 2406 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GNEAttributeCarrier::selectAttributeCarrier(), and GUIGlObjectStorage::unblockObject().
long GNEViewNet::onCmdClearConnections | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
clear junction connections
Definition at line 2102 of file GNEViewNet.cpp.
References GNENet::clearJunctionConnections(), GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), and update().
long GNEViewNet::onCmdClosePolygon | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
close opened polygon
Definition at line 1514 of file GNEViewNet.cpp.
References GNEPoly::closePolygon(), GNEViewNetHelper::EditShapes::editedShapePoly, getPolygonAtPopupPosition(), myEditShapes, and update().
long GNEViewNet::onCmdDeleteGeometryPoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
delete the closes geometry point
Definition at line 1499 of file GNEViewNet.cpp.
References GNEPoly::deleteGeometryPoint(), GNEViewNetHelper::EditShapes::editedShapePoly, getPolygonAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), myEditShapes, and update().
long GNEViewNet::onCmdDuplicateLane | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
duplicate selected lane
Definition at line 1635 of file GNEViewNet.cpp.
References GNENet::duplicateLane(), getLaneAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), SUMO_TAG_LANE, and toString().
long GNEViewNet::onCmdEditConnectionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit connection shape
Definition at line 2150 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), GNEConnection::getConnectionShape(), myEditShapes, and GNEViewNetHelper::EditShapes::startEditCustomShape().
long GNEViewNet::onCmdEditCrossingShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit crossing shape
Definition at line 2164 of file GNEViewNet.cpp.
References NBNode::Crossing::customShape, GUISUMOAbstractView::destroyPopup(), getCrossingAtPopupPosition(), GNECrossing::getNBCrossing(), myEditShapes, NBNode::Crossing::shape, and GNEViewNetHelper::EditShapes::startEditCustomShape().
long GNEViewNet::onCmdEditEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change geometry endpoint
Definition at line 1359 of file GNEViewNet.cpp.
References GNEEdge::editEndpoint(), getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), and myUndoList.
long GNEViewNet::onCmdEditJunctionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit junction shape
Definition at line 2009 of file GNEViewNet.cpp.
References PositionVector::closePolygon(), GNENet::computeAndUpdate(), NBNode::computeNodeShape(), GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getShape(), myEditShapes, myNet, and GNEViewNetHelper::EditShapes::startEditCustomShape().
long GNEViewNet::onCmdLaneOperation | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
add/remove/restrict lane
Definition at line 1681 of file GNEViewNet.cpp.
References addRestrictedLane(), MID_GNE_LANE_ADD_BIKE, MID_GNE_LANE_ADD_BUS, MID_GNE_LANE_ADD_GREENVERGE, MID_GNE_LANE_ADD_SIDEWALK, MID_GNE_LANE_REMOVE_BIKE, MID_GNE_LANE_REMOVE_BUS, MID_GNE_LANE_REMOVE_GREENVERGE, MID_GNE_LANE_REMOVE_SIDEWALK, MID_GNE_LANE_TRANSFORM_BIKE, MID_GNE_LANE_TRANSFORM_BUS, MID_GNE_LANE_TRANSFORM_GREENVERGE, MID_GNE_LANE_TRANSFORM_SIDEWALK, removeRestrictedLane(), restrictLane(), SVC_BICYCLE, SVC_BUS, SVC_IGNORING, and SVC_PEDESTRIAN.
long GNEViewNet::onCmdOpenAdditionalDialog | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
open additional dialog
Definition at line 1716 of file GNEViewNet.cpp.
References getAdditionalAtPopupPosition(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::TagProperties::hasDialog(), and GNEAdditional::openAdditionalDialog().
long GNEViewNet::onCmdOpenPolygon | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
open closed polygon
Definition at line 1529 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditShapes::editedShapePoly, getPolygonAtPopupPosition(), myEditShapes, GNEPoly::openPolygon(), and update().
long GNEViewNet::onCmdRemoveSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
unselect AC under cursor
Definition at line 2424 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GUIGlObjectStorage::unblockObject(), and GNEAttributeCarrier::unselectAttributeCarrier().
long GNEViewNet::onCmdReplaceJunction | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
replace node by geometry
Definition at line 2060 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::replaceJunctionByGeometry(), and update().
long GNEViewNet::onCmdResetConnections | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset junction connections
Definition at line 2126 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::resetJunctionConnections(), GNENet::retrieveJunctions(), and update().
long GNEViewNet::onCmdResetEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change geometry endpoint
Definition at line 1370 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), myUndoList, and GNEEdge::resetEndpoint().
long GNEViewNet::onCmdResetJunctionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset junction shape
Definition at line 2034 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), GNEJunction::setAttribute(), and SUMO_ATTR_SHAPE.
long GNEViewNet::onCmdResetLaneCustomShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset custom shapes of selected lanes
Definition at line 1658 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), GNELane::setAttribute(), and SUMO_ATTR_CUSTOMSHAPE.
long GNEViewNet::onCmdResetLength | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset custom edge lengths
Definition at line 1465 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::setAttribute(), and SUMO_ATTR_LENGTH.
long GNEViewNet::onCmdReverseEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reverse edge
Definition at line 1317 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNENet::reverseEdge(), SUMO_TAG_EDGE, and toString().
long GNEViewNet::onCmdSetFirstGeometryPoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
set as first geometry point the closes geometry point
Definition at line 1544 of file GNEViewNet.cpp.
References GNEPoly::changeFirstGeometryPoint(), GNEViewNetHelper::EditShapes::editedShapePoly, getPolygonAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEPoly::getVertexIndex(), myEditShapes, and update().
long GNEViewNet::onCmdSetMode | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when user press a mode button (Network or demand)
Definition at line 1204 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNE_DMODE_DELETE, GNE_DMODE_INSPECT, GNE_DMODE_MOVE, GNE_DMODE_PERSON, GNE_DMODE_PERSONPLAN, GNE_DMODE_PERSONTYPES, GNE_DMODE_ROUTE, GNE_DMODE_SELECT, GNE_DMODE_STOP, GNE_DMODE_VEHICLE, GNE_DMODE_VEHICLETYPES, GNE_NMODE_ADDITIONAL, GNE_NMODE_CONNECT, GNE_NMODE_CREATE_EDGE, GNE_NMODE_CROSSING, GNE_NMODE_DELETE, GNE_NMODE_INSPECT, GNE_NMODE_MOVE, GNE_NMODE_POLYGON, GNE_NMODE_PROHIBITION, GNE_NMODE_SELECT, GNE_NMODE_TAZ, GNE_NMODE_TLS, GNE_SUPERMODE_NETWORK, MID_HOTKEY_A_ADDITIONALMODE_STOPMODE, MID_HOTKEY_C_CONNECTMODE_PERSONPLANMODE, MID_HOTKEY_D_DELETEMODE, MID_HOTKEY_E_EDGEMODE, MID_HOTKEY_I_INSPECTMODE, MID_HOTKEY_M_MOVEMODE, MID_HOTKEY_P_POLYGONMODE_PERSONMODE, MID_HOTKEY_R_CROSSINGMODE_ROUTEMODE, MID_HOTKEY_S_SELECTMODE, MID_HOTKEY_T_TLSMODE_VTYPEMODE, MID_HOTKEY_V_VEHICLEMODE, MID_HOTKEY_W_PROHIBITIONMODE_PERSONTYPEMODE, MID_HOTKEY_Z_TAZMODE, myEditModes, GNEViewNetHelper::EditModes::setDemandEditMode(), and GNEViewNetHelper::EditModes::setNetworkEditMode().
Referenced by GNEApplicationWindow::onCmdSetMode().
long GNEViewNet::onCmdSetSupermode | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
Definition at line 1188 of file GNEViewNet.cpp.
References GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_NETWORK, MID_HOTKEY_F4_SUPERMODE_DEMAND, myEditModes, and GNEViewNetHelper::EditModes::setSupermode().
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GNEApplicationWindow::onCmdSetSuperMode().
long GNEViewNet::onCmdSimplifyShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
simply shape of current polygon
Definition at line 1484 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditShapes::editedShapePoly, getPolygonAtPopupPosition(), myEditShapes, GNEPoly::simplifyShape(), and update().
long GNEViewNet::onCmdSmoothEdges | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
smooth geometry
Definition at line 1402 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::smooth(), SUMO_TAG_EDGE, and toString().
long GNEViewNet::onCmdSmoothEdgesElevation | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
smooth elevation with regard to adjoining edges
Definition at line 1444 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::smoothElevation(), SUMO_TAG_EDGE, and toString().
long GNEViewNet::onCmdSplitEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split edge at cursor position
Definition at line 1292 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, myUndoList, and GNENet::splitEdge().
long GNEViewNet::onCmdSplitEdgeBidi | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split edge at cursor position
Definition at line 1302 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEEdge::getOppositeEdge(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, myUndoList, and GNENet::splitEdgesBidi().
long GNEViewNet::onCmdSplitJunction | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split junction into multiple junctions
Definition at line 2074 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::splitJunction(), and update().
long GNEViewNet::onCmdSplitJunctionReconnect | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split junction into multiple junctions and reconnect them
Definition at line 2088 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::splitJunction(), and update().
long GNEViewNet::onCmdStraightenEdges | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
makes selected edges straight
Definition at line 1380 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, SUMO_TAG_EDGE, and toString().
long GNEViewNet::onCmdStraightenEdgesElevation | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
interpolate z values linear between junctions
Definition at line 1423 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNENetElement::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::straightenElevation(), SUMO_TAG_EDGE, and toString().
long GNEViewNet::onCmdToogleAutoOppositeEdge | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle autoOpposite edge
Definition at line 2324 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleChainEdges | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle chain edges
Definition at line 2312 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleChangeAllPhases | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle change all phases
Definition at line 2246 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleExtendSelection | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle extend selection
Definition at line 2234 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleHideConnections | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle hide connections
Definition at line 2222 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleHideNonInspecteDemandElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle hide non inspected demand elements
Definition at line 2336 of file GNEViewNet.cpp.
References GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, myDemandViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleHideShapes | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle hide shapes in super mode demand
Definition at line 2348 of file GNEViewNet.cpp.
References GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, myDemandViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleLockPerson | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle lock person in super mode demand
Definition at line 2372 of file GNEViewNet.cpp.
References getDottedAC(), GNEAttributeCarrier::getID(), GNEHierarchicalParentElements::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::TagProperties::isPerson(), GNEViewNetHelper::DemandViewOptions::lockPerson(), GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, myDemandViewOptions, GNEViewNetHelper::DemandViewOptions::unlockPerson(), and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleMoveElevation | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle move elevation
Definition at line 2300 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleSelectEdges | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle select edges
Definition at line 2192 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, and myNetworkViewOptions.
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleShowAllPersonPlans | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show all person plans in super mode demand
Definition at line 2360 of file GNEViewNet.cpp.
References GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, myDemandViewOptions, and update().
long GNEViewNet::onCmdToogleShowConnections | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show connections
Definition at line 2202 of file GNEViewNet.cpp.
References getNet(), GNENet::initGNEConnections(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, GNENet::requireRecompute(), GUIVisualizationSettings::showLane2Lane, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleShowDemandElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
Definition at line 2180 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleShowGrid | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show grid
Definition at line 2258 of file GNEViewNet.cpp.
References GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid, MID_GNE_COMMONVIEWOPTIONS_SHOWGRID, myCommonViewOptions, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::showGrid, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions(), and GNEApplicationWindow::onCmdToogleGrid().
long GNEViewNet::onCmdToogleShowJunctionBubbles | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show junction bubbles
Definition at line 2288 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdToogleWarnAboutMerge | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle warn for merge
Definition at line 2276 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, myNetworkViewOptions, and update().
Referenced by GNEApplicationWindow::onCmdToogleEditOptions().
long GNEViewNet::onCmdTransformPOI | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Transform POI to POILane, and viceversa.
Definition at line 1559 of file GNEViewNet.cpp.
References GNENet::addPOI(), GNENet::deleteShape(), Position::distanceTo(), GNEAttributeCarrier::getID(), GNELane::getLaneShape(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), getPOIAtPopupPosition(), GUIGlObjectStorage::gIDStorage, myNet, myUndoList, PositionVector::nearest_offset_to_point2D(), GNEUndoList::p_begin(), GNEUndoList::p_end(), PositionVector::positionAtOffset(), SUMO_TAG_LANE, SUMO_TAG_POI, toString(), update(), and WRITE_WARNING.
|
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().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 991 of file GUISUMOAbstractView.cpp.
|
virtualinherited |
on gaming click
Reimplemented in GUIViewTraffic.
Definition at line 1441 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onLeftBtnRelease().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 1445 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onRightBtnRelease().
|
virtual |
called when user press a key
Reimplemented from GUISUMOAbstractView.
Definition at line 798 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNEViewParent::getTAZFrame(), GNE_NMODE_POLYGON, GNE_NMODE_TAZ, GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myKeyPressed, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onKeyPress(), GNEFrameModuls::DrawingShape::setDeleteLastCreatedPoint(), GNEViewNetHelper::KeyPressed::shiftKeyPressed(), update(), GNEViewNetHelper::KeyPressed::update(), and updateCursor().
|
virtual |
called when user release a key
Reimplemented from GUISUMOAbstractView.
Definition at line 816 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNE_NMODE_POLYGON, GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myKeyPressed, mySelectingArea, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onKeyRelease(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEFrameModuls::DrawingShape::setDeleteLastCreatedPoint(), GNEViewNetHelper::KeyPressed::shiftKeyPressed(), update(), GNEViewNetHelper::KeyPressed::update(), and updateCursor().
|
virtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 700 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNEViewNetHelper::EditShapes::editedShapePoly, GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, GUISUMOAbstractView::makeCurrent(), myEditModes, myEditShapes, myKeyPressed, myObjectsUnderCursor, myObjectsUnderGrippedCursor, GUISUMOAbstractView::myVisualizationSettings, processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GUIVisualizationSettings::showGrid, update(), GNEViewNetHelper::KeyPressed::update(), updateCursor(), and GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor().
|
virtual |
called when user releases mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 730 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, myEditModes, myKeyPressed, GUISUMOAbstractView::onLeftBtnRelease(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), update(), GNEViewNetHelper::KeyPressed::update(), and updateCursor().
|
virtualinherited |
Definition at line 955 of file GUISUMOAbstractView.cpp.
|
virtualinherited |
Definition at line 961 of file GUISUMOAbstractView.cpp.
|
virtualinherited |
Definition at line 1034 of file GUISUMOAbstractView.cpp.
|
virtual |
called when user moves mouse
Reimplemented from GUISUMOAbstractView.
Definition at line 780 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditModes::currentSupermode, GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, myEditModes, myKeyPressed, GUISUMOAbstractView::onMouseMove(), processMoveMouseDemand(), processMoveMouseNetwork(), GNEViewNetHelper::KeyPressed::update(), and updateCursor().
|
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().
|
virtualinherited |
Definition at line 866 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, and GUISUMOAbstractView::paintGL().
Referenced by updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
virtual |
called when user press mouse's right button
Reimplemented from GUISUMOAbstractView.
Definition at line 750 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNE_NMODE_POLYGON, GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myKeyPressed, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onRightBtnPress(), GNEViewNetHelper::KeyPressed::update(), and updateCursor().
|
virtual |
called when user releases mouse's right button
Reimplemented from GUISUMOAbstractView.
Definition at line 765 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNE_NMODE_POLYGON, GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myKeyPressed, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onRightBtnRelease(), GNEViewNetHelper::KeyPressed::update(), and updateCursor().
|
virtual |
open object dialog
Reimplemented from GUISUMOAbstractView.
Definition at line 365 of file GNEViewNet.cpp.
References GNEFrameModuls::OverlappedInspection::checkSavedPosition(), GNEInspectorFrame::getAttributesEditor(), GNEFrameAttributesModuls::AttributesEditor::getEditedACs(), GNEViewParent::getInspectorFrame(), GUIGlObjectStorage::getNetObject(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectUnderCursor(), GNEInspectorFrame::getOverlappedInspection(), GUIGlObject::getPopUpMenu(), GUISUMOAbstractView::getPositionInformation(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, myViewParent, GUIPerspectiveChanger::onRightBtnRelease(), GNEFrameModuls::OverlappedInspection::overlappedInspectionShown(), and GUIGlObjectStorage::unblockObject().
|
privatedelete |
Invalidated assignment operator.
|
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 GUIViewTraffic::doPaintGL(), doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
private |
Auxiliar function used by onLeftBtnPress(...)
Definition at line 1965 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onLeftBtnPress().
Referenced by processLeftButtonPressDemand(), and processLeftButtonPressNetwork().
|
private |
process left button press function in Supermode Demand
Definition at line 3401 of file GNEViewNet.cpp.
References GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementDemandMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::KeyPressed::controlKeyPressed(), GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewParent::getDeleteFrame(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNESelectorFrame::getLockGLObjectTypes(), GNELane::getParentEdge(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEAttributeCarrier::getTagProperty(), GNEViewParent::getVehicleFrame(), GNE_DMODE_DELETE, GNE_DMODE_INSPECT, GNE_DMODE_MOVE, GNE_DMODE_PERSON, GNE_DMODE_PERSONPLAN, GNE_DMODE_ROUTE, GNE_DMODE_SELECT, GNE_DMODE_STOP, GNE_DMODE_VEHICLE, GNERouteFrame::handleEdgeClick(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEAttributeCarrier::TagProperties::isDemandElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), myEditModes, myKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myObjectsUnderCursor, mySelectingArea, myViewParent, processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::KeyPressed::shiftKeyPressed(), GNEAttributeCarrier::unselectAttributeCarrier(), and update().
Referenced by onLeftBtnPress().
|
private |
mouse process functions
process left button press function in Supermode Network
Definition at line 3127 of file GNEViewNet.cpp.
References GNEAdditionalFrame::addAdditional(), GNECrossingFrame::addCrossing(), GNEAdditionalFrame::SelectorParentLanes::addSelectedLane(), GNEPolygonFrame::ADDSHAPE_UPDATEDTEMPORALSHAPE, GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementNetworkMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::KeyPressed::controlKeyPressed(), GNEDeleteFrame::DeleteOptions::deleteOnlyGeometryPoints(), GNETLSEditorFrame::editTLS(), GNEViewParent::getAdditionalFrame(), GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewNetHelper::ObjectsUnderCursor::getConnectionFront(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDeleteFrame(), GNEDeleteFrame::getDeleteOptions(), GNEViewNetHelper::ObjectsUnderCursor::getEdgeFront(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getJunctionFront(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewNetHelper::ObjectsUnderCursor::getPOIFront(), GNEViewNetHelper::ObjectsUnderCursor::getPolyFront(), GNEViewParent::getPolygonFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEAttributeCarrier::TagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEEdge::getVertexIndex(), GNEPoly::getVertexIndex(), GNE_NMODE_ADDITIONAL, GNE_NMODE_CONNECT, GNE_NMODE_CREATE_EDGE, GNE_NMODE_CROSSING, GNE_NMODE_DELETE, GNE_NMODE_INSPECT, GNE_NMODE_MOVE, GNE_NMODE_POLYGON, GNE_NMODE_PROHIBITION, GNE_NMODE_SELECT, GNE_NMODE_TAZ, GNE_NMODE_TLS, GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEAttributeCarrier::TagProperties::isDemandElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), GNEAdditionalFrame::SelectorParentLanes::isShown(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, myEditModes, myKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myNetworkViewOptions, myObjectsUnderCursor, myObjectsUnderGrippedCursor, mySelectingArea, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GNECreateEdgeFrame::processClick(), GNEPolygonFrame::processClick(), GNETAZFrame::processClick(), processClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::NetworkViewOptions::selectEdges(), GNEViewNetHelper::KeyPressed::shiftKeyPressed(), GUISUMOAbstractView::snapToActiveGrid(), GNEAdditionalFrame::SelectorParentLanes::startConsecutiveLaneSelector(), SUMO_TAG_LANE, GNEViewNetHelper::ObjectsUnderCursor::swapLane2Edge(), GNEAttributeCarrier::unselectAttributeCarrier(), and update().
Referenced by onLeftBtnPress().
|
private |
process left button release function in Supermode Demand
Definition at line 3533 of file GNEViewNet.cpp.
References GNEViewNetHelper::MoveMultipleElementValues::finishMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement(), GNEViewNetHelper::SelectingArea::finishRectangleSelection(), GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection(), myMoveMultipleElementValues, myMoveSingleElementValues, mySelectingArea, GNEViewNetHelper::SelectingArea::processRectangleSelection(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, and GNEViewNetHelper::SelectingArea::startDrawing.
Referenced by onLeftBtnRelease().
|
private |
process left button release function in Supermode Network
Definition at line 3340 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditShapes::editedShapePoly, GNEViewNetHelper::MoveMultipleElementValues::finishMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement(), GNEViewNetHelper::SelectingArea::finishRectangleSelection(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNEViewParent::getTAZFrame(), GNE_NMODE_SELECT, GNE_NMODE_TAZ, GNENetElement::isAttributeCarrierSelected(), GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection(), GUISUMOAbstractView::makeCurrent(), myEditModes, myEditShapes, myKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myObjectsUnderCursor, mySelectingArea, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GNEViewNetHelper::SelectingArea::processEdgeRectangleSelection(), GNETAZFrame::processEdgeSelection(), GNEViewNetHelper::SelectingArea::processRectangleSelection(), GNENetElement::selectAttributeCarrier(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEViewNetHelper::KeyPressed::shiftKeyPressed(), GNEViewNetHelper::SelectingArea::startDrawing, GNENetElement::unselectAttributeCarrier(), and GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor().
Referenced by onLeftBtnRelease().
|
private |
process move mouse function in Supermode Demand
Definition at line 3552 of file GNEViewNet.cpp.
References GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), myMoveSingleElementValues, mySelectingArea, and GNEViewNetHelper::SelectingArea::selectingUsingRectangle.
Referenced by onMouseMove().
|
private |
process move mouse function in Supermode Network
Definition at line 3381 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNE_NMODE_POLYGON, GNEFrameModuls::DrawingShape::isDrawing(), GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection(), GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveMultipleElementValues::moveSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), myEditModes, myKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, mySelectingArea, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEFrameModuls::DrawingShape::setDeleteLastCreatedPoint(), and GNEViewNetHelper::KeyPressed::shiftKeyPressed().
Referenced by onMouseMove().
|
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().
|
private |
remove restricted lane
Definition at line 1888 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNELane::getParentEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::removeRestrictedLane(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
private |
restrict lane
Definition at line 1728 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::restrictLane(), GNENet::retrieveEdge(), GNENet::retrieveLanes(), toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
inlinevirtualinherited |
retrieve breakpoints if provided by the application
Reimplemented in GUIViewTraffic.
Definition at line 372 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::onCmdExportSetting().
|
virtualinherited |
Adds a frame to a video snapshot which will be initialized if neccessary.
Reimplemented in GUIViewTraffic.
Definition at line 1266 of file GUISUMOAbstractView.cpp.
References UNUSED_PARAMETER.
Referenced by GUISUMOAbstractView::makeSnapshot().
void GNEViewNet::saveVisualizationSettings | ( | ) | const |
Definition at line 406 of file GNEViewNet.cpp.
References OutputDevice::close(), OutputDevice::closeTag(), OutputDevice::getDevice(), OptionsCont::getOptions(), GUIPerspectiveChanger::getRotation(), OptionsCont::getString(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, OutputDevice::openTag(), GUIVisualizationSettings::save(), SUMO_ATTR_ANGLE, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_ZOOM, SUMO_TAG_VIEWPORT, SUMO_TAG_VIEWSETTINGS, WRITE_ERROR, and OutputDevice::writeAttr().
Referenced by GNEApplicationWindow::closeAllWindows().
|
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 349 of file GNEViewNet.cpp.
References GUICompleteSchemeStorage::contains(), GUICompleteSchemeStorage::get(), GUIDialog_ViewSettings::getCurrentScheme(), gSchemeStorage, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrentScheme(), and update().
|
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().
void GNEViewNet::setDottedAC | ( | const GNEAttributeCarrier * | AC | ) |
set attributeCarrier under cursor
Definition at line 1032 of file GNEViewNet.cpp.
References myDottedAC.
Referenced by GNEInspectorFrame::clearInspectedAC(), GNEInspectorFrame::hide(), and GNEInspectorFrame::inspectSingleElement().
void GNEViewNet::setSelectionScaling | ( | double | selectionScale | ) |
set selection scaling
Definition at line 535 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myVisualizationSettings, and GUIVisualizationSettings::selectionScale.
void GNEViewNet::setStatusBarText | ( | const std::string & | text | ) |
set staturBar text
Definition at line 523 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setStatusBarText().
Referenced by GNEAdditionalFrame::addAdditional(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlan(), GNEVehicleFrame::addVehicle(), GNEConnectorFrame::buildConnection(), GNEPersonFrame::buildPersonOverRoute(), GNEPersonFrame::buildPersonOverStop(), GNEPersonFrame::edgePathCreated(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), hotkeyDel(), GNETLSEditorFrame::onCmdDefSwitch(), GNETLSEditorFrame::parseTLSPrograms(), GNEPersonPlanFrame::personPlanCreated(), GNECreateEdgeFrame::processClick(), and GNEPolygonFrame::processClick().
|
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().
bool GNEViewNet::showJunctionAsBubbles | ( | ) | const |
return true if junction must be showed as bubbles
Definition at line 547 of file GNEViewNet.cpp.
References GNE_NMODE_MOVE, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, myEditModes, myNetworkViewOptions, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNEJunction::drawGL().
bool GNEViewNet::showLockIcon | ( | ) | const |
check if lock icon should be visible
Definition at line 1038 of file GNEViewNet.cpp.
References GNE_NMODE_ADDITIONAL, GNE_NMODE_INSPECT, GNE_NMODE_MOVE, myEditModes, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNEShape::draw().
|
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 GUIGlChildWindow::onCmdEditViewport(), and GNEApplicationWindow::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 GUIGlChildWindow::onCmdEditViewScheme(), and GNEApplicationWindow::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(), drawTemporalDrawShape(), GNEEdge::editEndpoint(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GNETAZ::getVertexIndex(), GNEEdge::getVertexIndex(), GNEPoly::getVertexIndex(), GNETAZ::moveGeometry(), GNEDetectorE3::moveGeometry(), GNEParkingSpace::moveGeometry(), GNEVariableSpeedSign::moveGeometry(), GNEAccess::moveGeometry(), GNERerouter::moveGeometry(), GNEDetectorE1::moveGeometry(), GNEDetectorEntryExit::moveGeometry(), GNEDetectorE1Instant::moveGeometry(), GNEStoppingPlace::moveGeometry(), GNEStop::moveGeometry(), GNEDetectorE2::moveGeometry(), GNERide::moveGeometry(), GNEPOI::moveGeometry(), GNEPersonTrip::moveGeometry(), GNEWalk::moveGeometry(), GNEJunction::moveGeometry(), GNEEdge::moveShapeEnd(), GNEEdge::moveShapeStart(), GNETAZ::moveVertexShape(), GNEPoly::moveVertexShape(), GNEEdge::moveVertexShape(), GNECreateEdgeFrame::processClick(), and processLeftButtonPressNetwork().
|
virtualinherited |
star track
Reimplemented in GUIViewTraffic.
Definition at line 1425 of file GUISUMOAbstractView.cpp.
Referenced by GUIDialog_GLObjChooser::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), and TraCIServerAPI_GUI::processSet().
|
virtualinherited |
stop track
Reimplemented in GUIViewTraffic.
Definition at line 1430 of file GUISUMOAbstractView.cpp.
Referenced by GUIDialog_GLObjChooser::onCmdCenter(), and TraCIServerAPI_GUI::processSet().
void GNEViewNet::update | ( | ) | const |
Mark the entire GNEViewNet to be repainted later.
Definition at line 299 of file GNEViewNet.cpp.
Referenced by GNECrossingFrame::addCrossing(), GNENet::addPolygonForEditShapes(), GNENet::cleanInvalidDemandElements(), GNENet::cleanUnusedRoutes(), GNESelectorFrame::clearCurrentSelection(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNERouteFrame::handleEdgeClick(), GNESelectorFrame::handleIDs(), GNERouteFrame::hotkeyBackSpace(), hotkeyDel(), GNERouteFrame::hotkeyEnter(), GNERouteFrame::hotkeyEsc(), GNENet::insertShape(), GNENet::joinRoutes(), GNEApplicationWindow::onCmdAbort(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), onCmdClearConnections(), onCmdClosePolygon(), onCmdDeleteGeometryPoint(), GNETLSEditorFrame::onCmdOK(), onCmdOpenPolygon(), GNETLSEditorFrame::onCmdPhaseSwitch(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdSetFirstGeometryPoint(), onCmdSimplifyShape(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdToogleAutoOppositeEdge(), onCmdToogleChainEdges(), onCmdToogleChangeAllPhases(), onCmdToogleExtendSelection(), onCmdToogleHideConnections(), onCmdToogleHideNonInspecteDemandElements(), onCmdToogleHideShapes(), onCmdToogleLockPerson(), onCmdToogleMoveElevation(), onCmdToogleShowAllPersonPlans(), onCmdToogleShowConnections(), onCmdToogleShowDemandElements(), onCmdToogleShowGrid(), onCmdToogleShowJunctionBubbles(), onCmdToogleWarnAboutMerge(), onCmdTransformPOI(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEChange_Crossing::redo(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::removePolygonForEditShapes(), GNENet::removeShape(), GNENet::saveAdditionals(), GNENet::saveDemandElements(), GNEInspectorFrame::selectedOverlappedElement(), setColorScheme(), GNEChange_Crossing::undo(), GNENet::update(), updateControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
void GNEViewNet::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 3001 of file GNEViewNet.cpp.
References GNEViewParent::getInspectorFrame(), GNE_NMODE_INSPECT, myEditModes, myViewParent, GNEViewNetHelper::EditModes::networkEditMode, and update().
Referenced by GNEApplicationWindow::updateControls().
|
private |
update cursor after every click/key press/release
Definition at line 1980 of file GNEViewNet.cpp.
References GNEViewNetHelper::KeyPressed::controlKeyPressed(), GNEViewNetHelper::EditModes::currentSupermode, GNEViewNetHelper::EditModes::demandEditMode, GUICursorSubSys::getCursor(), GNE_DMODE_ROUTE, GNE_DMODE_STOP, GNE_DMODE_VEHICLE, GNE_NMODE_ADDITIONAL, GNE_NMODE_POLYGON, GNE_NMODE_TAZ, GNE_SUPERMODE_DEMAND, GNE_SUPERMODE_NETWORK, myEditModes, myKeyPressed, GNEViewNetHelper::EditModes::networkEditMode, SUMOCURSOR_DEFAULT, and SUMOCURSOR_MOVE.
Referenced by onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), and onRightBtnRelease().
|
private |
updates Demand mode specific controls
show toolbar grip of view options
Definition at line 2629 of file GNEViewNet.cpp.
References GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::disableDemandCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getDeleteFrame(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPersonTypeFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::getVehicleFrame(), GNEViewParent::getVehicleTypeFrame(), GNE_DMODE_DELETE, GNE_DMODE_INSPECT, GNE_DMODE_MOVE, GNE_DMODE_PERSON, GNE_DMODE_PERSONPLAN, GNE_DMODE_PERSONTYPES, GNE_DMODE_ROUTE, GNE_DMODE_SELECT, GNE_DMODE_STOP, GNE_DMODE_VEHICLE, GNE_DMODE_VEHICLETYPES, GNEViewParent::hideAllFrames(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid, GNEApplicationWindow::ToolbarsGrip::modeOptions, GNEApplicationWindow::ToolbarsGrip::modes, GNEViewNetHelper::CommonCheckableButtons::moveButton, myCommonCheckableButtons, myCommonViewOptions, myCurrentFrame, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::DemandCheckableButtons::personButton, GNEViewNetHelper::DemandCheckableButtons::personPlanButton, GNEViewNetHelper::DemandCheckableButtons::personTypeButton, GNEViewNetHelper::DemandCheckableButtons::routeButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEPersonFrame::show(), GNEVehicleFrame::show(), GNEStopFrame::show(), GNEDeleteFrame::show(), GNEPersonTypeFrame::show(), GNEVehicleTypeFrame::show(), GNEPersonPlanFrame::show(), GNERouteFrame::show(), GNEInspectorFrame::show(), GNESelectorFrame::show(), GUIVisualizationSettings::showGrid, GNEViewNetHelper::DemandCheckableButtons::stopButton, update(), GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::updateDemandCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::vehicleButton, and GNEViewNetHelper::DemandCheckableButtons::vehicleTypeButton.
|
private |
updates Network mode specific controls
Definition at line 2470 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkCheckableButtons::additionalButton, GNEViewNetHelper::NetworkCheckableButtons::connectionButton, GNEViewNetHelper::NetworkCheckableButtons::createEdgeButton, GNEViewNetHelper::NetworkCheckableButtons::crossingButton, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::NetworkCheckableButtons::disableNetworkCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getAdditionalFrame(), GNEViewParent::getConnectorFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDeleteFrame(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEApplicationWindow::getToolbarsGrip(), GNE_NMODE_ADDITIONAL, GNE_NMODE_CONNECT, GNE_NMODE_CREATE_EDGE, GNE_NMODE_CROSSING, GNE_NMODE_DELETE, GNE_NMODE_INSPECT, GNE_NMODE_MOVE, GNE_NMODE_POLYGON, GNE_NMODE_PROHIBITION, GNE_NMODE_SELECT, GNE_NMODE_TAZ, GNE_NMODE_TLS, GNEViewParent::hideAllFrames(), GNEViewNetHelper::CommonViewOptions::hideCommonViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::CommonViewOptions::menuCheckShowGrid, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNEApplicationWindow::ToolbarsGrip::modeOptions, GNEApplicationWindow::ToolbarsGrip::modes, GNEViewNetHelper::CommonCheckableButtons::moveButton, myCommonCheckableButtons, myCommonViewOptions, myCurrentFrame, myDemandViewOptions, myEditModes, myNetworkCheckableButtons, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::NetworkCheckableButtons::prohibitionButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEViewNetHelper::NetworkCheckableButtons::shapeButton, GNEFrame::show(), GNEDeleteFrame::show(), GNEPolygonFrame::show(), GNEProhibitionFrame::show(), GNEInspectorFrame::show(), GNEAdditionalFrame::show(), GNETLSEditorFrame::show(), GNESelectorFrame::show(), GUIVisualizationSettings::showGrid, GNEViewNetHelper::NetworkCheckableButtons::TAZButton, GNEViewNetHelper::NetworkCheckableButtons::trafficLightButton, update(), GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), and GNEViewNetHelper::NetworkCheckableButtons::updateNetworkCheckableButtons().
|
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.
|
friend |
FOX-declaration.
declare GNEViewNetHelper as friend struct
Definition at line 47 of file GNEViewNet.h.
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 510 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::addAdditionalGLVisualisation(), GUIViewTraffic::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(), openObjectDialog(), and GUISUMOAbstractView::openObjectDialog().
|
protectedinherited |
The application.
Definition at line 447 of file GUISUMOAbstractView.h.
Referenced by doPaintGL(), GUISUMOAbstractView::getDelay(), GUISUMOAbstractView::getObjectsInBoundary(), GUIViewTraffic::onDoubleClicked(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), GUIViewTraffic::retrieveBreakpoints(), GUIViewTraffic::saveFrame(), GUISUMOAbstractView::setBreakpoints(), GUIViewTraffic::setColorScheme(), GUISUMOAbstractView::setDelay(), 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(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::p2m(), GUISUMOAbstractView::paintGLGrid(), processClick(), GUISUMOAbstractView::recenterView(), saveVisualizationSettings(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::setViewportFromToRot(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
private |
variable used to save checkable buttons for common supermodes
Definition at line 389 of file GNEViewNet.h.
Referenced by buildEditModeControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save variables related with common view options
Definition at line 402 of file GNEViewNet.h.
Referenced by buildEditModeControls(), doPaintGL(), getCommonViewOptions(), onCmdToogleShowGrid(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
the current frame
Definition at line 443 of file GNEViewNet.h.
Referenced by hotkeyFocusFrame(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
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().
|
private |
variable used to save checkable buttons for Supermode Demand
Definition at line 395 of file GNEViewNet.h.
Referenced by buildEditModeControls(), and updateDemandModeSpecificControls().
|
private |
variable used to save variables related with view options in Demand Supermode
Definition at line 408 of file GNEViewNet.h.
Referenced by buildEditModeControls(), doPaintGL(), getDemandViewOptions(), onCmdToogleHideNonInspecteDemandElements(), onCmdToogleHideShapes(), onCmdToogleLockPerson(), onCmdToogleShowAllPersonPlans(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
current AttributeCarrier that is drawn using with a dotted contour note: it's constant because is edited from constant functions (example: drawGL(...) const)
Definition at line 451 of file GNEViewNet.h.
Referenced by getDottedAC(), and setDottedAC().
|
private |
variable used to save variables related with edit moves modes
Definition at line 366 of file GNEViewNet.h.
Referenced by abortOperation(), buildEditModeControls(), doPaintGL(), getEditModes(), hotkeyBackSpace(), hotkeyDel(), hotkeyEnter(), onCmdSetMode(), onCmdSetSupermode(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), showJunctionAsBubbles(), showLockIcon(), updateControls(), updateCursor(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
struct for grouping all variables related with edit shapes
Definition at line 434 of file GNEViewNet.h.
Referenced by abortOperation(), getEditShapes(), hotkeyEnter(), onCmdClosePolygon(), onCmdDeleteGeometryPoint(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdOpenPolygon(), onCmdSetFirstGeometryPoint(), onCmdSimplifyShape(), onLeftBtnPress(), and processLeftButtonReleaseNetwork().
|
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 GUIViewTraffic::doPaintGL(), 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().
|
private |
variable used to save key status after certain events
Definition at line 376 of file GNEViewNet.h.
Referenced by getKeyPressed(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), and updateCursor().
|
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().
|
private |
variable used to save variables related with movement of multiple elements
Definition at line 417 of file GNEViewNet.h.
Referenced by processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), and processMoveMouseNetwork().
|
private |
Definition at line 414 of file GNEViewNet.h.
Referenced by processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), processMoveMouseDemand(), and processMoveMouseNetwork().
|
private |
Pointer to current net. (We are not responsible for deletion)
Definition at line 440 of file GNEViewNet.h.
Referenced by addRestrictedLane(), buildColorRainbow(), deleteSelectedAdditionals(), deleteSelectedConnections(), deleteSelectedCrossings(), deleteSelectedDemandElements(), deleteSelectedEdges(), deleteSelectedJunctions(), deleteSelectedLanes(), deleteSelectedShapes(), getAttributeCarriersInBoundary(), getEdgeLaneParamKeys(), getNet(), mergeJunctions(), onCmdAddReversedEdge(), onCmdClearConnections(), onCmdDuplicateLane(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdReverseEdge(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdTransformPOI(), removeRestrictedLane(), and restrictLane().
|
private |
variable used to save checkable buttons for Supermode Network
Definition at line 392 of file GNEViewNet.h.
Referenced by buildEditModeControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save variables related with view options in Network Supermode
Definition at line 405 of file GNEViewNet.h.
Referenced by autoSelectNodes(), buildEditModeControls(), changeAllPhases(), doPaintGL(), getAttributeCarriersInBoundary(), getNetworkViewOptions(), mergeJunctions(), onCmdToogleAutoOppositeEdge(), onCmdToogleChainEdges(), onCmdToogleChangeAllPhases(), onCmdToogleExtendSelection(), onCmdToogleHideConnections(), onCmdToogleMoveElevation(), onCmdToogleSelectEdges(), onCmdToogleShowConnections(), onCmdToogleShowDemandElements(), onCmdToogleShowJunctionBubbles(), onCmdToogleWarnAboutMerge(), processLeftButtonPressNetwork(), showJunctionAsBubbles(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable use to save all pointers to objects under cursor after a click
Definition at line 379 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), and processLeftButtonReleaseNetwork().
|
private |
variable use to save all pointers to objects under cursor after a click with grid enabled
Definition at line 382 of file GNEViewNet.h.
Referenced by onLeftBtnPress(), and processLeftButtonPressNetwork().
|
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(), 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(), openObjectDialog(), and GUISUMOAbstractView::openObjectDialog().
|
private |
variable used to save variables related with selecting areas
Definition at line 431 of file GNEViewNet.h.
Referenced by abortOperation(), doPaintGL(), onKeyRelease(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), processMoveMouseDemand(), and processMoveMouseNetwork().
|
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 |
variable used to save variables related with testing mode
Definition at line 369 of file GNEViewNet.h.
Referenced by doPaintGL(), and getTestingMode().
|
private |
a reference to the undolist maintained in the application
Definition at line 446 of file GNEViewNet.h.
Referenced by abortOperation(), addRestrictedLane(), deleteSelectedAdditionals(), deleteSelectedConnections(), deleteSelectedCrossings(), deleteSelectedDemandElements(), deleteSelectedEdges(), deleteSelectedJunctions(), deleteSelectedLanes(), deleteSelectedShapes(), getUndoList(), hotkeyDel(), mergeJunctions(), onCmdAddReversedEdge(), onCmdClearConnections(), onCmdDuplicateLane(), onCmdEditEdgeEndpoint(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdReverseEdge(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdTransformPOI(), removeRestrictedLane(), and restrictLane().
|
protectedinherited |
use tool tips
Definition at line 474 of file GUISUMOAbstractView.h.
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTips(), and GUISUMOAbstractView::updateToolTip().
|
private |
variable used to save variables related with vehicle options
Definition at line 424 of file GNEViewNet.h.
|
private |
variable used to save variables related with vehicle type options
Definition at line 427 of file GNEViewNet.h.
|
private |
view parent
Definition at line 437 of file GNEViewNet.h.
Referenced by abortOperation(), doPaintGL(), drawLaneCandidates(), drawTemporalDrawShape(), getAttributeCarriersInBoundary(), getViewParent(), hotkeyBackSpace(), hotkeyEnter(), onKeyPress(), onKeyRelease(), onRightBtnPress(), onRightBtnRelease(), openObjectDialog(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), updateControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
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(), GUIViewTraffic::setColorScheme(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
visualization settings
Definition at line 471 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUIViewTraffic::buildViewToolBars(), buildViewToolBars(), GUISUMOAbstractView::displayColorLegend(), GUIViewTraffic::doPaintGL(), doPaintGL(), drawLaneCandidates(), GUISUMOAbstractView::getGUIGlObjectsUnderGrippedCursor(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::makeSnapshot(), GUIViewTraffic::onCmdShowReachability(), onCmdToogleShowConnections(), onCmdToogleShowGrid(), GUISUMOAbstractView::onConfigure(), onLeftBtnPress(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::paintGLGrid(), saveVisualizationSettings(), setColorScheme(), GUIViewTraffic::setColorScheme(), setSelectionScaling(), GUISUMOAbstractView::showToolTipFor(), GUISUMOAbstractView::showViewschemeEditor(), GUISUMOAbstractView::snapToActiveGrid(), updateDemandModeSpecificControls(), 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().