![]() |
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 | aksChangeSupermode (const std::string &operation, Supermode expectedSupermode) |
ask about change supermode 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, bool hide2=false, double hideThreshold2=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 *v) |
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 () |
destroys the popup More... | |
bool | drawDeleteContour (const GUIGlObject *GLObject, const GNEAttributeCarrier *AC) const |
check if draw delete contour More... | |
bool | drawSelectContour (const GUIGlObject *GLObject, const GNEAttributeCarrier *AC) const |
check if draw select contour More... | |
void | drawTranslateFrontAttributeCarrier (const GNEAttributeCarrier *AC, double typeOrLayer, const double extraOffset=0) |
draw front attributeCarrier More... | |
GUIVisualizationSettings * | editVisualisationSettings () const |
edit visualization settings (allow modify VisualizationSetings, use carefully) More... | |
void | forceSupermodeNetwork () |
set supermode Network (used after load/create new network) 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::DataViewOptions & | getDataViewOptions () const |
get data view options More... | |
double | getDelay () const |
Returns the delay of the parent application. More... | |
const GNEViewNetHelper::DemandViewOptions & | getDemandViewOptions () const |
get demand view options More... | |
std::vector< std::string > | getEdgeDataAttrs () const |
return list of loaded edgeData attributes More... | |
std::vector< std::string > | getEdgeLaneParamKeys (bool edgeKeys) const |
return list of available edge parameters More... | |
const GNEViewNetHelper::EditModes & | getEditModes () const |
get edit modes More... | |
const GNEViewNetHelper::EditNetworkElementShapes & | getEditNetworkElementShapes () const |
get Edit Shape module More... | |
double | getFPS () const |
retrieve FPS More... | |
const GNEAttributeCarrier * | getFrontAttributeCarrier () const |
get front attributeCarrier More... | |
double | getGridHeight () const |
get grid height More... | |
double | getGridWidth () const |
get grid width More... | |
const std::vector< GNEAttributeCarrier * > & | getInspectedAttributeCarriers () const |
get inspected attribute carriers More... | |
GNEViewNetHelper::IntervalBar & | getIntervalBar () |
get interval bar More... | |
GNEDemandElement * | getLastCreatedRoute () const |
get last created route More... | |
GNEViewNetHelper::LockManager & | getLockManager () |
get lock manager More... | |
GUIMainWindow * | getMainWindow () const |
get main window More... | |
virtual std::vector< std::string > | getMeanDataAttrs (const std::string &meanDataID) const |
return list of available attributes for the given meanData id More... | |
virtual std::vector< std::string > | getMeanDataIDs () const |
return list of loaded edgeData ids (being computed in the current simulation) More... | |
const GNEViewNetHelper::MouseButtonKeyPressed & | getMouseButtonKeyPressed () const |
get Key Pressed module More... | |
const GNEViewNetHelper::MoveMultipleElementValues & | getMoveMultipleElementValues () const |
get move multiple element values More... | |
GNENet * | getNet () const |
get the net object More... | |
const GNEViewNetHelper::NetworkViewOptions & | getNetworkViewOptions () const |
get network view options More... | |
const GNEViewNetHelper::ObjectsUnderCursor & | getObjectsUnderCursor () const |
get objects under cursor More... | |
virtual std::vector< std::string > | getPOIParamKeys () const |
return list of available vehicle parameters More... | |
const Position & | getPopupPosition () const |
get position of current popup More... | |
virtual Position | getPositionInformation () const |
Returns the cursor's x/y position within the network. More... | |
std::vector< std::string > | getRelDataAttrs () const |
return list of loaded edgeRelation and tazRelation attributes 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... | |
const GUIVisualizationSettings & | getVisualisationSettings () const |
get visualization settings (read only) More... | |
Position | getWindowCursorPosition () const |
return windows cursor position More... | |
GNEViewNet (FXComposite *tmpParent, FXComposite *actualParent, GUIMainWindow &app, GNEViewParent *viewParent, GNENet *net, const bool newNet, 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... | |
virtual bool | is3DView () const |
return whether this is a 3D view More... | |
bool | isAttributeCarrierInspected (const GNEAttributeCarrier *AC) const |
check if attribute carrier is being inspected 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... | |
bool | mergeJunctions (GNEJunction *movedJunction, GNEJunction *targetJunction) |
try to merge moved junction with another junction in that spot return true if merging did take place More... | |
long | onCmdAddEdgeSelected (FXObject *, FXSelector, void *) |
select Edge under cursor More... | |
long | onCmdAddJoinTLS (FXObject *, FXSelector, void *) |
add Join TLS More... | |
virtual long | onCmdAddRerouter (FXObject *, FXSelector, void *) |
long | onCmdAddReversedEdge (FXObject *, FXSelector, void *) |
add reversed edge More... | |
long | onCmdAddReversedEdgeDisconnected (FXObject *, FXSelector, void *) |
add reversed edge disconnected More... | |
long | onCmdAddSelected (FXObject *, FXSelector, void *) |
select AC under cursor More... | |
long | onCmdAddTLS (FXObject *, FXSelector, void *) |
add TLS More... | |
long | onCmdClearConnections (FXObject *, FXSelector, void *) |
clear junction connections More... | |
virtual long | onCmdCloseEdge (FXObject *, FXSelector, void *) |
virtual long | onCmdCloseLane (FXObject *, FXSelector, void *) |
interaction with the simulation More... | |
long | onCmdClosePolygon (FXObject *, FXSelector, void *) |
close opened polygon More... | |
long | onCmdConvertRoundabout (FXObject *, FXSelector, void *) |
convert junction to roundabout More... | |
long | onCmdDeleteGeometryPoint (FXObject *, FXSelector, void *) |
delete the closes geometry point More... | |
long | onCmdDuplicateLane (FXObject *, FXSelector, void *) |
duplicate selected lane More... | |
long | onCmdEdgeUseAsTemplate (FXObject *, FXSelector, void *) |
use edge as template 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 | onCmdEditLaneShape (FXObject *, FXSelector, void *) |
edit lane shape More... | |
long | onCmdEditWalkingAreaShape (FXObject *, FXSelector, void *) |
edit walkingArea shape More... | |
long | onCmdEgeApplyTemplate (FXObject *, FXSelector, void *) |
apply template to edge More... | |
long | onCmdLaneOperation (FXObject *, FXSelector sel, void *) |
add/remove/restrict lane More... | |
long | onCmdLaneReachability (FXObject *, FXSelector sel, void *) |
show lane reachability More... | |
long | onCmdOpenAdditionalDialog (FXObject *, FXSelector, void *) |
open additional dialog More... | |
long | onCmdOpenPolygon (FXObject *, FXSelector, void *) |
open closed polygon More... | |
long | onCmdRemoveEdgeSelected (FXObject *, FXSelector, void *) |
unselect Edge under cursor 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 | onCmdResetEdgeEndPoints (FXObject *, FXSelector, void *) |
edit junction shape More... | |
long | onCmdResetEndPoints (FXObject *, FXSelector, void *) |
reset edge end points 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 | onCmdResetOppositeLane (FXObject *, FXSelector, void *) |
reset oppositeLane of current lane More... | |
long | onCmdReverseEdge (FXObject *, FXSelector, void *) |
reverse edge More... | |
long | onCmdSelectPolygonElements (FXObject *, FXSelector, void *) |
select elements within polygon boundary More... | |
long | onCmdSelectRoundabout (FXObject *, FXSelector, void *) |
select all roundabout nodes and edges More... | |
long | onCmdSetCustomGeometryPoint (FXObject *, FXSelector, void *) |
set custom geometry point More... | |
long | onCmdSetFirstGeometryPoint (FXObject *, FXSelector, void *) |
set as first geometry point the closes geometry point More... | |
virtual long | onCmdShowReachability (FXObject *, FXSelector, void *) |
highlight edges according to reachability More... | |
long | onCmdSimplifyShape (FXObject *, FXSelector, void *) |
simply shape of current polygon More... | |
long | onCmdSmoothConnectionShape (FXObject *, FXSelector, void *) |
edit connection shape 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 vice versa More... | |
virtual long | onConfigure (FXObject *, FXSelector, void *) |
mouse functions More... | |
virtual long | onDoubleClicked (FXObject *, FXSelector, void *) |
long | onEnterConvertRoundabout (FXObject *, FXSelector, void *) |
enter to convert junction to roundabout More... | |
virtual void | onGamingClick (Position) |
on gaming click More... | |
virtual void | onGamingRightClick (Position) |
long | onLeaveConvertRoundabout (FXObject *, FXSelector, void *) |
leave to convert junction to roundabout More... | |
virtual long | onMouseLeft (FXObject *, FXSelector, void *) |
virtual long | onMouseWheel (FXObject *, FXSelector, void *) |
virtual long | onPaint (FXObject *, FXSelector, void *) |
virtual long | onVisualizationChange (FXObject *, FXSelector, void *) |
hook to react on change in visualization settings More... | |
void | openDeleteDialogAtCursor (const std::vector< GUIGlObject * > &GLObjects) |
open delete dialog at cursor More... | |
void | openObjectDialog (const std::vector< GUIGlObject * > &objects) |
open object dialog for the given object More... | |
void | openObjectDialogAtCursor (const FXEvent *ev) |
open object dialog More... | |
void | openSelectDialogAtCursor (const std::vector< GUIGlObject * > &GLObjects) |
open select dialog at cursor More... | |
double | p2m (double pixel) const |
pixels-to-meters conversion method More... | |
void | recalculateBoundaries () |
recalculate boundaries More... | |
virtual void | recenterView () |
recenters the view More... | |
void | remove (GUIDialog_EditViewport *) |
remove viewport More... | |
void | remove (GUIDialog_ViewSettings *) |
remove view settings More... | |
void | removeFromAttributeCarrierInspected (const GNEAttributeCarrier *AC) |
remove given AC of list of inspected Attribute Carriers More... | |
void | replacePopup (GUIGLObjectPopupMenu *popUp) |
replace PopUp More... | |
void | resetLastClickedPosition () |
reset last clicked position 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... | |
bool | selectingDetectorsTLSMode () const |
check if we're selecting detectors in TLS mode More... | |
bool | selectingJunctionsTLSMode () const |
check if we're selecting junctions in TLS mode 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 | setFrontAttributeCarrier (GNEAttributeCarrier *AC) |
set front attributeCarrier More... | |
void | setInspectedAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs) |
set inspected attributeCarrier More... | |
void | setLastCreatedRoute (GNEDemandElement *lastCreatedRoute) |
set last created route More... | |
void | setSelectorFrameScale (double selectionScale) |
set selection scaling (in GNESelectorFrame) More... | |
void | setStatusBarText (const std::string &text) |
set statusBar 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... | |
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 | updateControls () |
update control contents after undo/redo or recompute More... | |
void | updateToolTip () |
A method that updates the tooltip. More... | |
void | updateViewNet () const |
Mark the entire GNEViewNet to be repainted later. More... | |
virtual void | updateViewportValues () |
update the viewport chooser with the current view values More... | |
virtual void | zoom2Pos (Position &camera, Position &lookAt, double zoom) |
zoom interface for 3D view 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 | onMiddleBtnPress (FXObject *, FXSelector, void *) |
called when user press mouse's left button More... | |
long | onMiddleBtnRelease (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 | |
long | onCmdToggleSelectEdges (FXObject *, FXSelector, void *) |
toggle select edges More... | |
long | onCmdToggleShowConnections (FXObject *, FXSelector, void *) |
toggle show connections More... | |
long | onCmdToggleHideConnections (FXObject *, FXSelector, void *) |
toggle hide connections More... | |
long | onCmdToggleShowAdditionalSubElements (FXObject *, FXSelector, void *) |
toggle show additional sub-elements More... | |
long | onCmdToggleShowTAZElements (FXObject *, FXSelector, void *) |
toggle show TAZ elements More... | |
long | onCmdToggleExtendSelection (FXObject *, FXSelector, void *) |
toggle extend selection More... | |
long | onCmdToggleChangeAllPhases (FXObject *, FXSelector, void *) |
toggle change all phases More... | |
long | onCmdToggleShowGrid (FXObject *, FXSelector, void *) |
toggle show grid More... | |
long | onCmdToggleDrawJunctionShape (FXObject *, FXSelector, void *) |
toggle draw junction shape More... | |
long | onCmdToggleDrawSpreadVehicles (FXObject *, FXSelector, void *) |
toggle draw vehicles in begin position or spread in lane More... | |
long | onCmdToggleWarnAboutMerge (FXObject *, FXSelector, void *) |
toggle warn for merge More... | |
long | onCmdToggleShowJunctionBubbles (FXObject *, FXSelector, void *) |
toggle show junction bubbles More... | |
long | onCmdToggleMoveElevation (FXObject *, FXSelector, void *) |
toggle move elevation More... | |
long | onCmdToggleChainEdges (FXObject *, FXSelector, void *) |
toggle chain edges More... | |
long | onCmdToggleAutoOppositeEdge (FXObject *, FXSelector, void *) |
toggle autoOpposite edge More... | |
long | onCmdToggleHideNonInspecteDemandElements (FXObject *, FXSelector, void *) |
toggle hide non inspected demand elements More... | |
long | onCmdToggleShowOverlappedRoutes (FXObject *, FXSelector, void *) |
toggle hide non inspected demand elements More... | |
long | onCmdToggleHideShapes (FXObject *, FXSelector, void *) |
toggle hide shapes in super mode demand More... | |
long | onCmdToggleShowTrips (FXObject *, FXSelector, void *) |
toggle show all trips in super mode demand More... | |
long | onCmdToggleShowAllPersonPlans (FXObject *, FXSelector, void *) |
toggle show all person plans in super mode demand More... | |
long | onCmdToggleLockPerson (FXObject *, FXSelector, void *) |
toggle lock person in super mode demand More... | |
long | onCmdToggleShowAllContainerPlans (FXObject *, FXSelector, void *) |
toggle show all container plans in super mode demand More... | |
long | onCmdToggleLockContainer (FXObject *, FXSelector, void *) |
toggle lock container in super mode demand More... | |
long | onCmdToggleShowAdditionals (FXObject *, FXSelector, void *) |
toggle show additionals in super mode data More... | |
long | onCmdToggleShowShapes (FXObject *, FXSelector, void *) |
toggle show shapes in super mode data More... | |
long | onCmdToggleShowDemandElementsNetwork (FXObject *, FXSelector, void *) |
toggle show demand elements (network) More... | |
long | onCmdToggleShowDemandElementsData (FXObject *, FXSelector, void *) |
toggle show demand elements (data) More... | |
long | onCmdToggleTAZRelDrawing (FXObject *, FXSelector, void *) |
toggle TAZRel drawing More... | |
long | onCmdToggleTAZDrawFill (FXObject *, FXSelector, void *) |
toggle TAZdrawFill More... | |
long | onCmdToggleTAZRelOnlyFrom (FXObject *, FXSelector, void *) |
toggle TAZRez only from More... | |
long | onCmdToggleTAZRelOnlyTo (FXObject *, FXSelector, void *) |
toggle TAZRez only to More... | |
interval bar functions | |
long | onCmdIntervalBarGenericDataType (FXObject *, FXSelector, void *) |
change generic data type in interval bar More... | |
long | onCmdIntervalBarDataSet (FXObject *, FXSelector, void *) |
change data set in interval bar More... | |
long | onCmdIntervalBarLimit (FXObject *, FXSelector, void *) |
change limit interval in interval bar More... | |
long | onCmdIntervalBarSetBegin (FXObject *, FXSelector, void *) |
change begin in interval bar More... | |
long | onCmdIntervalBarSetEnd (FXObject *, FXSelector, void *) |
change end in interval bar More... | |
long | onCmdIntervalBarSetParameter (FXObject *, FXSelector, void *) |
change parameter in interval bar 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 necessary. 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... | |
Additional visualisations | |
bool | addAdditionalGLVisualisation (GUIGlObject *const which) |
Adds an object to call its additional visualisation method. More... | |
bool | removeAdditionalGLVisualisation (GUIGlObject *const which) |
Removes an object from the list of objects that show additional things. More... | |
bool | isAdditionalGLVisualisationEnabled (GUIGlObject *const which) const |
Check if an object is added in the additional GL visualitation. More... | |
Protected Member Functions | |
Boundary | applyGLTransform (bool fixRatio=true) |
applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections) More... | |
FXImage * | checkGDALImage (Decal &d) |
check whether we can read image data or position with gdal More... | |
void | displayColorLegend (const GUIColorScheme &scheme, bool leftSide) |
Draws a legend for the given scheme. More... | |
void | displayLegend () |
Draws a line with ticks, and the length information. More... | |
void | displayLegends () |
Draws the configured legends. 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 * > | filterInernalLanes (const std::vector< GUIGlObject * > &objects) const |
filter internal lanes in Objects under cursor 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 * > | getGUIGlObjectsUnderSnappedCursor () |
returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects) More... | |
virtual GUILane * | getLaneUnderCursor () |
returns the GUILane at cursor position (implementation depends on view) 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 | openPopupDialog () |
open popup dialog More... | |
void | paintGL () |
FOX needs this. More... | |
void | paintGLGrid () |
paints a grid More... | |
bool | showToolTipFor (const GUIGlID idToolTip) |
invokes the tooltip for the given object More... | |
virtual void | updatePositionInformationLabel () const |
update position information labels 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... | |
Position | myClickedPopupPosition = Position::INVALID |
clicked poup position More... | |
std::vector< GUIGlObject * > | myCurrentObjectsDialog |
vector with current objects dialog More... | |
long | myFrameDrawTime |
counter for measuring rendering time More... | |
const SUMORTree * | myGrid |
The visualization speed-up. More... | |
bool | myInEditMode = false |
Information whether too-tip informations shall be generated. More... | |
int | myMouseHotspotX |
Offset to the mouse-hotspot from the mouse position. More... | |
int | myMouseHotspotY |
bool | myPanning = false |
Panning flag. More... | |
GUIGlChildWindow * | myParent |
The parent window. More... | |
FXMutex | myPolyDrawLock |
poly draw lock More... | |
GUIGLObjectPopupMenu * | myPopup = nullptr |
The current popup-menu. More... | |
Position | myPopupPosition = Position(0, 0) |
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... | |
GUIDialog_EditViewport * | myViewportChooser |
viewport chooser More... | |
GUIDialog_ViewSettings * | myVisualizationChanger |
Visualization changer. More... | |
GUIVisualizationSettings * | myVisualizationSettings |
visualization settings More... | |
FXint | myWindowCursorPositionX |
Position of the cursor relative to the window. More... | |
FXint | myWindowCursorPositionY |
Optionally shown decals | |
The list of decals to show | |
std::vector< Decal > | myDecals |
FXMutex | myDecalsLock |
The mutex to use before accessing the decals list in order to avoid thread conflicts. More... | |
Private Member Functions | |
void | processLeftButtonPressNetwork (void *eventData) |
mouse process functions More... | |
void | processLeftButtonReleaseNetwork () |
process left button release function in Supermode Network More... | |
void | processMoveMouseNetwork (const bool mouseLeftButtonPressed) |
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 (const bool mouseLeftButtonPressed) |
process move mouse function in Supermode Demand More... | |
void | processLeftButtonPressData (void *eventData) |
process left button press function in Supermode Data More... | |
void | processLeftButtonReleaseData () |
process left button release function in Supermode Data More... | |
void | processMoveMouseData (const bool mouseLeftButtonPressed) |
process move mouse function in Supermode Data More... | |
GNEViewNet (const GNEViewNet &)=delete | |
Invalidated copy constructor. More... | |
GNEViewNet & | operator= (const GNEViewNet &)=delete |
Invalidated assignment operator. More... | |
Private Attributes | |
GNEViewNetHelper::IntervalBar | myIntervalBar |
variable used to save IntervalBar More... | |
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::MouseButtonKeyPressed | myMouseButtonKeyPressed |
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... | |
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... | |
GNEViewNetHelper::DataCheckableButtons | myDataCheckableButtons |
variable used to save checkable buttons for Supermode Data More... | |
structs related with view options | |
GNEViewNetHelper::NetworkViewOptions | myNetworkViewOptions |
variable used to save variables related with view options in supermode Network More... | |
GNEViewNetHelper::DemandViewOptions | myDemandViewOptions |
variable used to save variables related with view options in supermode Demand More... | |
GNEViewNetHelper::DataViewOptions | myDataViewOptions |
variable used to save variables related with view options in supermode Data 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::SaveElements | mySaveElements |
variable used to save elements More... | |
GNEViewNetHelper::SelectingArea | mySelectingArea |
variable used to save variables related with selecting areas More... | |
GNEViewNetHelper::EditNetworkElementShapes | myEditNetworkElementShapes |
struct for grouping all variables related with edit shapes More... | |
GNEViewNetHelper::LockManager | myLockManager |
lock manager More... | |
GNEViewParent * | myViewParent = nullptr |
view parent More... | |
GNENet * | myNet = nullptr |
Pointer to current net. (We are not responsible for deletion) More... | |
GNEFrame * | myCurrentFrame = nullptr |
the current frame More... | |
GNEUndoList * | myUndoList = nullptr |
a reference to the undolist maintained in the application More... | |
std::vector< GNEAttributeCarrier * > | myInspectedAttributeCarriers |
current inspected attribute carrier More... | |
GNEAttributeCarrier * | myFrontAttributeCarrier = nullptr |
front attribute carrier More... | |
GNEDemandElement * | myLastCreatedRoute = nullptr |
last created route More... | |
bool | myDrawPreviewRoundabout = false |
draw preview roundabout More... | |
Position | myLastClickedPosition = Position::INVALID |
last clicked position More... | |
bool | myPostDrawing = false |
flag for post-drawing (used for dotted contours) More... | |
bool | myCreatedPopup = false |
flag for mark if during this frame a popup was created (needed to avoid problems in linux with CursorDialogs) 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 | updateDataModeSpecificControls () |
updates Data mode specific controls More... | |
void | deleteNetworkAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs) |
delete given network attribute carriers More... | |
void | deleteDemandAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs) |
delete given demand attribute carriers More... | |
void | deleteDataAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs) |
delete data attribute carriers 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... | |
GNEWalkingArea * | getWalkingAreaAtPopupPosition () |
try to retrieve a walkingArea 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... | |
GNETAZ * | getTAZAtPopupPosition () |
try to retrieve a TAZ at popup position More... | |
bool | restrictLane (SUMOVehicleClass vclass) |
restrict lane More... | |
bool | addRestrictedLane (SUMOVehicleClass vclass, const bool insertAtFront) |
add restricted lane More... | |
bool | removeRestrictedLane (SUMOVehicleClass vclass) |
remove restricted lane More... | |
void | processClick (void *eventData) |
Auxiliary function used by onLeftBtnPress(...) More... | |
void | updateCursor () |
update cursor after every click/key press/release More... | |
void | drawTemporalDrawingShape () const |
draw functions More... | |
void | drawTemporalJunction () const |
draw temporal junction in create edge mode More... | |
void | drawTemporalSplitJunction () const |
draw temporal split junction in create edge mode More... | |
void | drawTemporalRoundabout () const |
draw temporal roundabout More... | |
void | drawTemporalE1TLSLines () const |
draw temporal E1 TLS Lines More... | |
void | drawTemporalJunctionTLSLines () const |
draw temporal Junction TLS Lines More... | |
void | drawDeleteDottedContour () |
draw delete dotted contours More... | |
void | drawSelectDottedContour () |
draw select dotted contours More... | |
Microscopic view at the simulation
Definition at line 43 of file GNEViewNet.h.
GNEViewNet::GNEViewNet | ( | FXComposite * | tmpParent, |
FXComposite * | actualParent, | ||
GUIMainWindow & | app, | ||
GNEViewParent * | viewParent, | ||
GNENet * | net, | ||
const bool | newNet, | ||
GNEUndoList * | undoList, | ||
FXGLVisual * | glVis, | ||
FXGLCanvas * | share | ||
) |
Definition at line 235 of file GNEViewNet.cpp.
References GUITextureSubSys::resetTextures().
GNEViewNet::~GNEViewNet | ( | ) |
destructor
Definition at line 284 of file GNEViewNet.cpp.
|
protected |
FOX needs this.
Definition at line 891 of file GNEViewNet.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNet::abortOperation | ( | bool | clearSelection = true | ) |
abort current edition operation
Definition at line 1327 of file GNEViewNet.cpp.
References GNEUndoList::abortAllChangeGroups(), GNEDrawingShape::abortDrawing(), GNECreateEdgeFrame::abortEdgeCreation(), GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNESelectorFrame::clearCurrentSelection(), GNENetworkSelector::clearSelection(), GNETAZRelDataFrame::clearTAZSelection(), DATA_EDGERELDATA, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNETLSEditorFrame::TLSAttributes::disableE1DetectorMode(), GNETLSEditorFrame::TLSJunction::disableJoiningJunctionMode(), GNETLSEditorFrame::TLSDefinition::discardChanges(), GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEWireFrame::getConsecutiveLaneSelector(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getCreateEdgeFrame(), GNETAZFrame::getCurrentTAZModule(), GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GNEViewParent::getEdgeRelDataFrame(), GNEAdditionalFrame::getEdgesSelector(), GNEAdditionalFrame::getLanesSelector(), GNEGenericDataFrame::getPathCreator(), GNEContainerFrame::getPathCreator(), GNEContainerPlanFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getRouteFrame(), GNEProhibitionFrame::getSelectionModul(), GNEViewParent::getSelectorFrame(), GNEViewParent::getShapeFrame(), GNETAZFrame::CurrentTAZ::getTAZ(), GNEViewParent::getTAZFrame(), GNEViewParent::getTAZRelDataFrame(), GNETLSEditorFrame::getTLSAttributes(), GNETLSEditorFrame::getTLSDefinition(), GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GNEViewParent::getVehicleFrame(), GNEViewParent::getWireFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEDrawingShape::isDrawing(), GNETLSEditorFrame::TLSJunction::isJoiningJunctions(), GNETLSEditorFrame::TLSAttributes::isSetDetectorsToggleButtonEnabled(), myEditModes, myEditNetworkElementShapes, mySelectingArea, myUndoList, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNEProhibitionFrame::Selection::onCmdCancel(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEPersonPlanFrame::resetSelectedPerson(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNETAZFrame::CurrentTAZ::setTAZ(), GNEViewNetHelper::EditNetworkElementShapes::stopEditCustomShape(), and updateViewNet().
Referenced by GNEApplicationWindow::onCmdAbort().
|
inherited |
Adds an object to call its additional visualisation method.
[in] | which | The object to add |
Definition at line 1820 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIBaseVehicle::addActiveAddVisualisation(), GUIPerson::addActiveAddVisualisation(), and GUIVehicle::drawOutsideNetwork().
|
inherited |
add decals
Definition at line 240 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
private |
add restricted lane
Definition at line 2888 of file GNEViewNet.cpp.
References GNENet::addGreenVergeLane(), GNENet::addRestrictedLane(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNELane::getIndex(), getLaneAtPopupPosition(), GNEEdge::getLanes(), GNELane::getParentEdge(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNENetHelper::AttributeCarriers::getSelectedLanes(), LANE, myNet, myUndoList, GNENetHelper::AttributeCarriers::retrieveEdge(), SVC_IGNORING, 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 1313 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshots, and GUISUMOAbstractView::mySnapshotsMutex.
Referenced by GUIViewTraffic::checkSnapshots(), and GUISettingsHandler::setSnapshots().
bool GNEViewNet::aksChangeSupermode | ( | const std::string & | operation, |
Supermode | expectedSupermode | ||
) |
ask about change supermode
Definition at line 846 of file GNEViewNet.cpp.
References DATA, DEMAND, GUISUMOAbstractView::myApp, myEditModes, NETWORK, and GNEViewNetHelper::EditModes::setSupermode().
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
|
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 1858 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 780 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GLO_JUNCTION, GNEViewNetHelper::LockManager::isObjectLocked(), GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, myLockManager, and myNetworkViewOptions.
Referenced by GNESelectorFrame::handleIDs().
|
virtual |
recalibrate color scheme according to the current value range
Reimplemented from GUISUMOAbstractView.
Definition at line 674 of file GNEViewNet.cpp.
References GUIPropertyScheme< T >::addColor(), RGBColor::BLUE, GUIPropertyScheme< T >::clear(), GUIVisualizationSettings::COL_MISSING_DATA, RGBColor::CYAN, RGBColor::fromHSV(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getGenericDatas(), GNENetHelper::AttributeCarriers::getJunctions(), GNENetHelper::AttributeCarriers::getLanes(), GUIPropertyScheme< T >::getName(), GLO_JUNCTION, GLO_LANE, GLO_TAZRELDATA, RGBColor::GREEN, GUIPropertyScheme< T >::isFixed(), RGBColor::MAGENTA, MAX2(), MIN2(), GUIVisualizationSettings::MISSING_DATA, myNet, RGBColor::ORANGE, RGBColor::RED, GUIVisualizationSettings::SCHEME_NAME_DATA_ATTRIBUTE_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_EDGEDATA_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_LANE_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_PARAM_NUMERICAL, GUIVisualizationSettings::SCHEME_NAME_PERMISSION_CODE, SUMO_TAG_TAZREL, UNUSED_PARAMETER, and RGBColor::YELLOW.
|
private |
create edit mode buttons and elements
Definition at line 4355 of file GNEViewNet.cpp.
References GNEViewNetHelper::CommonCheckableButtons::buildCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::buildDataCheckableButtons(), GNEViewNetHelper::DataViewOptions::buildDataViewOptionsMenuChecks(), GNEViewNetHelper::DemandCheckableButtons::buildDemandCheckableButtons(), GNEViewNetHelper::DemandViewOptions::buildDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::buildIntervalBarElements(), GNEViewNetHelper::NetworkCheckableButtons::buildNetworkCheckableButtons(), GNEViewNetHelper::NetworkViewOptions::buildNetworkViewOptionsMenuChecks(), GNEViewNetHelper::SaveElements::buildSaveElementsButtons(), GNEViewNetHelper::EditModes::buildSuperModeButtons(), GNEViewParent::getGNEAppWindows(), GNEApplicationWindow::getToolbarsGrip(), GUIDesignVerticalSeparator, GNEApplicationWindowHelper::ToolbarsGrip::modes, myCommonCheckableButtons, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkCheckableButtons, myNetworkViewOptions, mySaveElements, and myViewParent.
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 474 of file GNEViewNet.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIIconSubSys::getIcon(), GNEAttributeCarrier::isAttributeCarrierSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().
|
virtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 321 of file GNEViewNet.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), GNEViewParent::getGNEAppWindows(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getLocatorPopup(), GUICompleteSchemeStorage::getNames(), GUIMainWindow::getStaticTooltipMenu(), gSchemeStorage, LOCATEADD, LOCATEEDGE, LOCATEJUNCTION, LOCATEPERSON, LOCATEPOI, LOCATEPOLY, LOCATEROUTE, LOCATESTOP, LOCATETLS, LOCATEVEHICLE, LOCATEWALKINGAREA, MAX2(), MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPERSON, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATEROUTE, MID_LOCATESTOP, MID_LOCATETLS, MID_LOCATEVEHICLE, MID_LOCATEWALKINGAREA, myViewParent, GUISUMOAbstractView::myVisualizationSettings, and GUIVisualizationSettings::name.
|
inherited |
centers to the chosen artifact
Definition at line 920 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 912 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::centerTo(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::updatePositionInformationLabel().
|
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 895 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::centerTo(), Boundary::getCenter(), GUIGlObject::getCenteringBoundary(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewport(), GUIGlObjectStorage::unblockObject(), and GUISUMOAbstractView::updatePositionInformationLabel().
Referenced by GNERouteHandler::buildContainerPlan(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEAdditionalHandler::buildLaneCalibrator(), GNERouteHandler::buildPersonPlan(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GNEVehicleFrame::buildVehicleOverRoute(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUISUMOAbstractView::paintGL(), and GUIGlChildWindow::setView().
bool GNEViewNet::changeAllPhases | ( | ) | const |
change all phases
Definition at line 796 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, and myNetworkViewOptions.
Referenced by GNETLSEditorFrame::handleChange().
|
protectedinherited |
check whether we can read image data or position with gdal
Definition at line 1668 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_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 1479 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 1586 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::setViewportFromToRot().
Referenced by GUIApplicationWindow::openNewView().
|
private |
delete data attribute carriers
Definition at line 4945 of file GNEViewNet.cpp.
References GNENet::deleteDataInterval(), GNENet::deleteDataSet(), GNENet::deleteGenericData(), GNENet::getAttributeCarriers(), myNet, myUndoList, GNENetHelper::AttributeCarriers::retrieveDataInterval(), GNENetHelper::AttributeCarriers::retrieveDataSet(), GNENetHelper::AttributeCarriers::retrieveGenericData(), SUMO_TAG_DATAINTERVAL, and SUMO_TAG_DATASET.
Referenced by hotkeyDel().
|
private |
delete given demand attribute carriers
Definition at line 4931 of file GNEViewNet.cpp.
References GNENet::deleteDemandElement(), GNENet::getAttributeCarriers(), myNet, myUndoList, and GNENetHelper::AttributeCarriers::retrieveDemandElement().
Referenced by hotkeyDel().
|
private |
delete given network attribute carriers
Definition at line 4880 of file GNEViewNet.cpp.
References GNENet::deleteAdditional(), GNENet::deleteConnection(), GNENet::deleteCrossing(), GNENet::deleteEdge(), GNENet::deleteJunction(), GNENet::deleteLane(), GNENet::getAttributeCarriers(), myNet, myUndoList, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveJunction(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, and SUMO_TAG_LANE.
Referenced by hotkeyDel().
|
inherited |
destroys the popup
Definition at line 990 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myCurrentObjectsDialog, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, and Position::set().
Referenced by GNEApplicationWindow::clearUndoList(), GNENet::computeAndUpdate(), onCmdAddJoinTLS(), onCmdAddTLS(), onCmdClearConnections(), onCmdConvertRoundabout(), GUICursorDialog::onCmdDeleteElement(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdEditLaneShape(), onCmdEditWalkingAreaShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndPoints(), onCmdResetJunctionShape(), GUICursorDialog::onCmdSelectElement(), onCmdSelectRoundabout(), GUICursorDialog::onCmdSetFrontElement(), onCmdSmoothConnectionShape(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), GNEInternalLane::onDefault(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMiddleBtnPress(), GUISUMOAbstractView::onMiddleBtnRelease(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), openDeleteDialogAtCursor(), openSelectDialogAtCursor(), processClick(), and GUIBaseVehicle::~GUIBaseVehicle().
|
protectedinherited |
Draws a legend for the given scheme.
Definition at line 715 of file GUISUMOAbstractView.cpp.
References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, FONS_ALIGN_RIGHT, GUIPropertyScheme< T >::getColors(), GUIPropertyScheme< T >::getNames(), GUIPropertyScheme< T >::getThresholds(), RGBColor::interpolate(), GUIPropertyScheme< T >::isFixed(), GUIVisualizationSettings::MISSING_DATA, GLHelper::popMatrix(), GLHelper::pushMatrix(), GLHelper::setColor(), std::swap(), toString(), and RGBColor::WHITE.
Referenced by GUISUMOAbstractView::displayLegends().
|
protectedinherited |
Draws a line with ticks, and the length information.
Definition at line 636 of file GUISUMOAbstractView.cpp.
References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, GUISUMOAbstractView::m2p(), GLHelper::popMatrix(), and GLHelper::pushMatrix().
Referenced by GUISUMOAbstractView::displayLegends().
|
protectedinherited |
Draws the configured legends.
Definition at line 702 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::displayColorLegend(), GUISUMOAbstractView::displayLegend(), GUIVisualizationSettings::getLaneEdgeScheme(), GUIPropertySchemeStorage< T >::getScheme(), GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::showColorLegend, GUIVisualizationSettings::showSizeLegend, GUIVisualizationSettings::showVehicleColorLegend, and GUIVisualizationSettings::vehicleColorer.
Referenced by GUISUMOAbstractView::makeSnapshot(), and GUISUMOAbstractView::paintGL().
|
protectedvirtual |
called after some features are already initialized
Reimplemented from GUISUMOAbstractView.
Definition at line 317 of file GNEViewNet.cpp.
|
protectedvirtual |
do paintGL
Reimplemented from GUISUMOAbstractView.
Definition at line 975 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEPathManager::PathDraw::clearPathDraw(), GUIVisualizationSettings::colorSettings, GUIVisualizationSettings::disableLaneIcons, GUISUMOAbstractView::drawDecals(), drawDeleteDottedContour(), GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, GUIGlObject::drawGL(), GNEViewNetHelper::SelectingArea::drawRectangleSelection(), drawSelectDottedContour(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), drawTemporalDrawingShape(), drawTemporalE1TLSLines(), drawTemporalJunction(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), GNEPathCreator::drawTemporalRoute(), drawTemporalSplitJunction(), GNEViewNetHelper::TestingMode::drawTestingElements(), GUIPostDrawing::executePostDrawingTasks(), GUIVisualizationSettings::forceDrawForPositionSelection, GUIVisualizationSettings::forceDrawForRectangleSelection, GNEPathManager::forceDrawPath(), GNEViewParent::getAdditionalFrame(), OptionsCont::getBool(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEWireFrame::getConsecutiveLaneSelector(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEAttributeCarrier::getGUIGlObject(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), OptionsCont::getOptions(), GNEGenericDataFrame::getPathCreator(), GNEContainerFrame::getPathCreator(), GNEContainerPlanFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEPathManager::getPathDraw(), GNENet::getPathManager(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getRouteFrame(), GNEViewParent::getVehicleFrame(), GNEViewParent::getWireFrame(), gPostDrawing, GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUIVisualizationSettings::lefthand, GUISUMOAbstractView::m2p(), GUIPostDrawing::markedRoute, GNEViewNetHelper::IntervalBar::markForUpdate(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, GUIPostDrawing::mousePos, GUISUMOAbstractView::myApp, myDemandViewOptions, myEditModes, myFrontAttributeCarrier, GUISUMOAbstractView::myGrid, myInspectedAttributeCarriers, myIntervalBar, myNet, myNetworkViewOptions, myPostDrawing, mySelectingArea, myTestingMode, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), GLHelper::popMatrix(), GLHelper::pushMatrix(), GUIVisualizationSettings::scale, SUMORTree::Search(), GUIVisualizationColorSettings::selectionColor, MFXCheckableButton::setChecked(), GUIVisualizationSettings::showGrid, GUIVisualizationSettings::showLane2Lane, SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
|
protectedinherited |
Draws the stored decals.
Definition at line 1746 of file GUISUMOAbstractView.cpp.
References GUITexturesHelper::add(), GUISUMOAbstractView::checkGDALImage(), GUITexturesHelper::drawTexturedBox(), GUITexturesHelper::getMaxTextureSize(), MFXImageHelper::loadImage(), GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::p2m(), GLHelper::popMatrix(), GLHelper::popName(), GLHelper::pushMatrix(), GLHelper::pushName(), MFXImageHelper::scalePower2(), GUISUMOAbstractView::screenPos2NetPos(), WRITE_ERROR, Position::x(), and Position::y().
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
bool GNEViewNet::drawDeleteContour | ( | const GUIGlObject * | GLObject, |
const GNEAttributeCarrier * | AC | ||
) | const |
check if draw delete contour
Definition at line 1684 of file GNEViewNet.cpp.
References DATA_DELETE, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_DELETE, GNEViewNetHelper::EditModes::demandEditMode, GUIPostDrawing::elementsMarkedToRemove, GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), gPostDrawing, GNETagProperties::isAdditionalElement(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETagProperties::isDataElement(), GNETagProperties::isDemandElement(), GUIPostDrawing::isElementUnderCursor(), GNETagProperties::isNetworkElement(), GNEViewNetHelper::LockManager::isObjectLocked(), myEditModes, myLockManager, myPostDrawing, NETWORK_DELETE, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNECalibrator::drawCalibratorSymbol(), GNEJunction::drawDottedContours(), GNETAZ::drawDottedContours(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), and GNEStop::drawVehicleStop().
|
private |
draw delete dotted contours
Definition at line 5272 of file GNEViewNet.cpp.
References GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, GUIPostDrawing::elementsMarkedToRemove, GNEPathManager::forceDrawPath(), GNEPathManager::getPathElement(), GNENet::getPathManager(), gPostDrawing, myNet, and GUISUMOAbstractView::myVisualizationSettings.
Referenced by doPaintGL().
|
protectedinherited |
Draws frames-per-second indicator.
Definition at line 854 of file GUISUMOAbstractView.cpp.
References GLHelper::drawText(), FONS_ALIGN_LEFT, GUISUMOAbstractView::getFPS(), GLHelper::getMatrixCounter(), GLHelper::getVertexCounter(), GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::RED, and toString().
Referenced by GUISUMOAbstractView::paintGL().
bool GNEViewNet::drawSelectContour | ( | const GUIGlObject * | GLObject, |
const GNEAttributeCarrier * | AC | ||
) | const |
check if draw select contour
Definition at line 1716 of file GNEViewNet.cpp.
References DATA_SELECT, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_SELECT, GNEViewNetHelper::EditModes::demandEditMode, GUIPostDrawing::elementsMarkedToSelect, GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), gPostDrawing, GNETagProperties::isAdditionalElement(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETagProperties::isDataElement(), GNETagProperties::isDemandElement(), GUIPostDrawing::isElementUnderCursor(), GNETagProperties::isNetworkElement(), GNEViewNetHelper::LockManager::isObjectLocked(), myEditModes, myLockManager, myPostDrawing, NETWORK_SELECT, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNECalibrator::drawCalibratorSymbol(), GNEJunction::drawDottedContours(), GNETAZ::drawDottedContours(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingSpace::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), and GNEStop::drawVehicleStop().
|
private |
draw select dotted contours
Definition at line 5292 of file GNEViewNet.cpp.
References GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, GUIPostDrawing::elementsMarkedToSelect, GNEPathManager::forceDrawPath(), GNEPathManager::getPathElement(), GNENet::getPathManager(), gPostDrawing, myNet, and GUISUMOAbstractView::myVisualizationSettings.
Referenced by doPaintGL().
|
private |
draw functions
draw temporal polygon shape in Polygon Mode
Definition at line 5035 of file GNEViewNet.cpp.
References RGBColor::BLUE, GLHelper::drawLine(), GNEDrawingShape::getDeleteLastCreatedPoint(), GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getShapeFrame(), GNEViewParent::getTAZFrame(), GNEDrawingShape::getTemporalShape(), GLO_TEMPORALSHAPE, RGBColor::GREEN, GNEDrawingShape::isDrawing(), myViewParent, GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::RED, GLHelper::setColor(), and GUISUMOAbstractView::snapToActiveGrid().
Referenced by doPaintGL().
|
private |
draw temporal E1 TLS Lines
Definition at line 5214 of file GNEViewNet.cpp.
References GUIVisualizationSettings::additionalSettings, GUIGeometry::drawChildLine(), E1, GNENet::getAttributeCarriers(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNETLSEditorFrame::TLSAttributes::getE1Detectors(), GNEJunction::getNBNode(), NBNode::getPosition(), GNETLSEditorFrame::getTLSAttributes(), GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GLO_TEMPORALSHAPE, myNet, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), GNENetHelper::AttributeCarriers::retrieveAdditional(), selectingDetectorsTLSMode(), SUMO_TAG_INDUCTION_LOOP, and GUIVisualizationAdditionalSettings::TLSConnectionColor.
Referenced by doPaintGL().
|
private |
draw temporal junction in create edge mode
Definition at line 5072 of file GNEViewNet.cpp.
References GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), MFXCheckableButton::amChecked(), RGBColor::BLACK, GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), Position::distanceSquaredTo(), GUIGeometry::drawGeometry(), GLHelper::drawOutlineCircle(), GUIVisualizationSettings::getCircleResolution(), GUIPropertyScheme< T >::getColor(), GNEViewParent::getCreateEdgeFrame(), GUIVisualizationSizeSettings::getExaggeration(), GNECreateEdgeFrame::getJunctionSource(), GUISUMOAbstractView::getPositionInformation(), GNEJunction::getPositionInView(), GUIPropertySchemeStorage< T >::getScheme(), GLO_TEMPORALSHAPE, GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUIVisualizationNeteditSizeSettings::junctionBubbleRadius, GUIVisualizationSettings::junctionColorer, GUIVisualizationSettings::junctionSize, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, PositionVector::move2side(), myEditModes, myMouseButtonKeyPressed, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::neteditSizeSettings, NETWORK_CREATE_EDGE, GNEViewNetHelper::EditModes::networkEditMode, GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::setAlpha(), GLHelper::setColor(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GUISUMOAbstractView::snapToActiveGrid(), GUIGeometry::updateGeometry(), Position::x(), and Position::y().
Referenced by doPaintGL().
|
private |
draw temporal Junction TLS Lines
Definition at line 5244 of file GNEViewNet.cpp.
References GUIVisualizationSettings::additionalSettings, GUIGeometry::drawChildLine(), GNENet::getAttributeCarriers(), GNETLSEditorFrame::TLSJunction::getCurrentJunction(), GNEJunction::getNBNode(), NBNode::getPosition(), GNETLSEditorFrame::TLSJunction::getSelectedJunctionIDs(), GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GLO_TEMPORALSHAPE, myNet, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), GNENetHelper::AttributeCarriers::retrieveJunction(), selectingJunctionsTLSMode(), and GUIVisualizationAdditionalSettings::TLSConnectionColor.
Referenced by doPaintGL().
|
private |
draw temporal roundabout
Definition at line 5187 of file GNEViewNet.cpp.
References GLHelper::drawOutlineCircle(), GNENet::getAttributeCarriers(), GUIVisualizationSettings::getCircleResolution(), GLO_JUNCTION, GLO_TEMPORALSHAPE, RGBColor::GREEN, GUISUMOAbstractView::myCurrentObjectsDialog, myDrawPreviewRoundabout, myNet, GUISUMOAbstractView::myVisualizationSettings, GLHelper::popMatrix(), GLHelper::pushMatrix(), GNENetHelper::AttributeCarriers::retrieveJunction(), and GLHelper::setColor().
Referenced by doPaintGL().
|
private |
draw temporal split junction in create edge mode
Definition at line 5139 of file GNEViewNet.cpp.
References GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GLHelper::drawFilledCircle(), GLHelper::drawOutlineCircle(), GUIVisualizationSettings::getCircleResolution(), GUIPropertyScheme< T >::getColor(), GUIVisualizationSizeSettings::getExaggeration(), GNEEdge::getLanes(), GUISUMOAbstractView::getPositionInformation(), GUIPropertySchemeStorage< T >::getScheme(), GLO_TEMPORALSHAPE, gPostDrawing, GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUIVisualizationNeteditSizeSettings::junctionBubbleRadius, GUIVisualizationSettings::junctionColorer, GUIVisualizationSettings::junctionSize, GUIPostDrawing::markedEdge, myEditModes, myMouseButtonKeyPressed, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::neteditSizeSettings, NETWORK_CREATE_EDGE, GNEViewNetHelper::EditModes::networkEditMode, GLHelper::popMatrix(), GLHelper::pushMatrix(), GLHelper::setColor(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), and GUISUMOAbstractView::snapToActiveGrid().
Referenced by doPaintGL().
void GNEViewNet::drawTranslateFrontAttributeCarrier | ( | const GNEAttributeCarrier * | AC, |
double | typeOrLayer, | ||
const double | extraOffset = 0 |
||
) |
draw front attributeCarrier
Definition at line 1674 of file GNEViewNet.cpp.
References GLO_DOTTEDCONTOUR_FRONT, and myFrontAttributeCarrier.
Referenced by GNECalibrator::drawCalibratorSymbol(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPoly::drawGL(), GNEDemandElement::drawJunctionLine(), GNEEdge::drawLaneStopOffset(), GNEAdditional::drawListedAddtional(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEEdge::drawTAZElements(), and GNEStop::drawVehicleStop().
|
inherited |
edit visualization settings (allow modify VisualizationSetings, use carefully)
Definition at line 1607 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GUILane::getParameterWindow(), GUIApplicationWindow::onCmdEditChosen(), and GUIApplicationWindow::onCmdToggleDrawJunctionShape().
|
inlinevirtualinherited |
Ends a video snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 213 of file GUISUMOAbstractView.h.
Referenced by GUISUMOViewParent::onCmdMakeSnapshot().
|
protectedinherited |
filter internal lanes in Objects under cursor
Definition at line 551 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::drawJunctionShape, GLO_JUNCTION, GLO_LANE, and GUISUMOAbstractView::myVisualizationSettings.
Referenced by GUISUMOAbstractView::openObjectDialogAtCursor().
void GNEViewNet::forceSupermodeNetwork | ( | ) |
set supermode Network (used after load/create new network)
Definition at line 421 of file GNEViewNet.cpp.
References myEditModes, NETWORK, and GNEViewNetHelper::EditModes::setSupermode().
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().
|
private |
try to retrieve a additional at popup position
Definition at line 1859 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 427 of file GNEViewNet.cpp.
References GNEAttributeCarrier::getAttribute(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getID(), GUISUMOAbstractView::getObjectsInBoundary(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNE_ATTR_PARENT, GNEAttributeCarrier::isAttributeCarrierSelected(), GNEViewNetHelper::LockManager::isObjectLocked(), GNETagProperties::isSelectable(), GUISUMOAbstractView::makeCurrent(), myLockManager, myNet, myNetworkViewOptions, GNENetHelper::AttributeCarriers::retrieveAttributeCarrier(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNEViewNetHelper::NetworkViewOptions::selectEdges(), SUMO_TAG_EDGE, and SUMO_TAG_LANE.
Referenced by onCmdSelectPolygonElements(), and GNETAZFrame::shapeDrawed().
|
inherited |
get changer
Definition at line 186 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger.
Referenced by GUISettingsHandler::applyViewport(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdLoad(), GUIApplicationWindow::onCmdNetedit(), GNEApplicationWindow::onCmdOpenSUMOGUI(), and GUIDialog_EditViewport::setValues().
|
inherited |
get coloring schemes combo
Definition at line 1662 of file GUISUMOAbstractView.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), and GUISUMOAbstractView::myParent.
Referenced by GUISettingsHandler::addSettings(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::onCmdSaveSetting().
|
private |
try to retrieve a connection at popup position
Definition at line 1775 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(), and onCmdSmoothConnectionShape().
|
private |
try to retrieve a crossing at popup position
Definition at line 1790 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 1521 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::checkSnapshots().
const GNEViewNetHelper::DataViewOptions & GNEViewNet::getDataViewOptions | ( | ) | const |
get data view options
Definition at line 656 of file GNEViewNet.cpp.
References myDataViewOptions.
Referenced by GNETAZ::drawDottedContours(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNEAdditional::drawListedAddtional(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNERoute::drawPartialGL(), GNEAdditional::drawSquaredAdditional(), GNETAZRelData::drawTAZRel(), GNEApplicationWindow::onCmdToggleEditOptions(), GNEApplicationWindow::onUpdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().
|
inherited |
Returns the delay of the parent application.
Definition at line 1892 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 650 of file GNEViewNet.cpp.
References myDemandViewOptions.
Referenced by GNEStopFrame::addStop(), GNEStop::canDrawVehicleStop(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNEDemandElement::drawContainerPlan(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNEPathManager::drawLanePathElements(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlan(), GNEApplicationWindow::onCmdToggleEditOptions(), GNEApplicationWindow::onUpdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
|
private |
try to retrieve an edge at popup position
Definition at line 1820 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(), onCmdAddReversedEdgeDisconnected(), onCmdEdgeUseAsTemplate(), onCmdEditEdgeEndpoint(), onCmdEgeApplyTemplate(), onCmdResetEdgeEndpoint(), onCmdResetLength(), onCmdReverseEdge(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), and onCmdStraightenEdgesElevation().
|
virtual |
return list of loaded edgeData attributes
Reimplemented from GUISUMOAbstractView.
Definition at line 947 of file GNEViewNet.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getGenericDatas(), myNet, and SUMO_TAG_MEANDATA_EDGE.
|
virtual |
return list of available edge parameters
Reimplemented from GUISUMOAbstractView.
Definition at line 915 of file GNEViewNet.cpp.
References NBEdgeCont::getAllEdges(), GNENet::getEdgeCont(), and myNet.
const GNEViewNetHelper::EditModes & GNEViewNet::getEditModes | ( | ) | const |
get edit modes
Definition at line 632 of file GNEViewNet.cpp.
References myEditModes.
Referenced by GNEUndoList::begin(), GNENet::computeDemandElements(), GNEDemandElement::drawContainerPlan(), GNEJunction::drawDottedContours(), GNEEdge::drawEdgeGeometryPoints(), GNEStop::drawGeometryPoints(), GNERerouterSymbol::drawGL(), GNETAZ::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNEWalkingArea::drawGL(), GNEPoly::drawGL(), GNELaneAreaDetector::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlan(), GNEAdditional::drawSemiCircleGeometryPoint(), GNETAZRelData::drawTAZRel(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEUndoList::end(), GNEDetector::getMoveOperation(), GNEOverheadWire::getMoveOperation(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNEStop::getMoveOperation(), GNEPOI::getMoveOperation(), GNETAZ::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEPOI::isAttributeEnabled(), GNEPoly::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GNEFrameAttributeModules::isSupermodeValid(), GNEApplicationWindow::onCmdProcessButton(), GNEApplicationWindow::onCmdRedo(), GNEElementSet::onCmdSelectElementSet(), GNEApplicationWindow::onCmdUndo(), GNEApplicationWindow::onUpdComputePathManager(), GNEApplicationWindow::onUpdLockMenuTitle(), GNEAttributesCreator::refreshRows(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEOverlappedInspection::showOverlappedInspection(), and GNELane::updateGeometry().
const GNEViewNetHelper::EditNetworkElementShapes & GNEViewNet::getEditNetworkElementShapes | ( | ) | const |
get Edit Shape module
Definition at line 668 of file GNEViewNet.cpp.
References myEditNetworkElementShapes.
Referenced by GNEConnection::drawGL().
|
inherited |
retrieve FPS
Definition at line 849 of file GUISUMOAbstractView.cpp.
References MAX2(), and GUISUMOAbstractView::myFrameDrawTime.
Referenced by GUISUMOAbstractView::drawFPS(), and GUINet::getParameterWindow().
const GNEAttributeCarrier * GNEViewNet::getFrontAttributeCarrier | ( | ) | const |
get front attributeCarrier
Definition at line 1660 of file GNEViewNet.cpp.
References myFrontAttributeCarrier.
Referenced by GNECalibrator::drawCalibratorSymbol(), GNEJunction::drawDottedContours(), GNETAZ::drawDottedContours(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterInterval::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNELane::drawLaneAsRailway(), GNEEdge::drawLaneStopOffset(), GNEAdditional::drawListedAddtional(), GNEAdditional::drawParentChildLines(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEEdge::drawTAZElements(), GNEStop::drawVehicleStop(), GNEConnectorFrame::handleLaneClick(), GNEApplicationWindow::onCmdSetFrontElement(), GNEApplicationWindow::onUpdNeedsFrontElement(), and GNEPersonPlanFrame::show().
|
inherited |
get grid height
Definition at line 1631 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 1625 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 476 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::getGUIGlObjectsUnderSnappedCursor().
|
protectedinherited |
returns the GUIGlObject under the cursor using GL_SELECT (including overlapped objects)
Definition at line 393 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::SENSITIVITY.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), openObjectDialogAtCursor(), GUISUMOAbstractView::openObjectDialogAtCursor(), and processLeftButtonReleaseNetwork().
|
protectedinherited |
returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects)
Definition at line 399 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::SENSITIVITY, and GUISUMOAbstractView::snapToActiveGrid().
Referenced by processLeftButtonPressNetwork().
const std::vector< GNEAttributeCarrier * > & GNEViewNet::getInspectedAttributeCarriers | ( | ) | const |
get inspected attribute carriers
Definition at line 1615 of file GNEViewNet.cpp.
References myInspectedAttributeCarriers.
Referenced by GNEInspectorFrame::clearInspectedAC(), GNEDemandElement::drawContainerPlan(), GNEJunction::drawDottedContours(), GNEDemandElement::drawPersonPlan(), GNEDemandElement::drawPersonPlanPartial(), GNETAZRelData::drawTAZRel(), GNEStop::getColor(), GNEContainer::getHierarchyName(), GNEVehicle::getHierarchyName(), GNESingleParametersDialog::GNESingleParametersDialog(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNEElementTree::onCmdDeleteItem(), GNEMultipleParametersDialog::onCmdReset(), GNESingleParametersDialog::onCmdReset(), GNEApplicationWindow::onCmdSetFrontElement(), and GNELane::setLaneColor().
GNEViewNetHelper::IntervalBar & GNEViewNet::getIntervalBar | ( | ) |
get interval bar
Definition at line 1609 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by GNEGenericData::isVisibleInspectDeleteSelect(), GNEDataInterval::setAttribute(), GNEDataSet::setAttribute(), GNEEdgeRelData::setAttribute(), and GNETAZRelData::setAttribute().
|
private |
try to retrieve a junction at popup position
Definition at line 1760 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_JUNCTION, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdAddJoinTLS(), onCmdAddTLS(), onCmdClearConnections(), onCmdConvertRoundabout(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndPoints(), onCmdResetJunctionShape(), onCmdSelectRoundabout(), onCmdSplitJunction(), and onCmdSplitJunctionReconnect().
|
private |
try to retrieve a lane at popup position
Definition at line 1844 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(), onCmdEditLaneShape(), onCmdLaneReachability(), onCmdResetEndPoints(), onCmdResetLaneCustomShape(), onCmdResetOppositeLane(), onCmdSetCustomGeometryPoint(), removeRestrictedLane(), and restrictLane().
|
protectedvirtualinherited |
returns the GUILane at cursor position (implementation depends on view)
Reimplemented in GUIViewTraffic.
Definition at line 375 of file GUISUMOAbstractView.cpp.
GNEDemandElement * GNEViewNet::getLastCreatedRoute | ( | ) | const |
get last created route
Definition at line 1748 of file GNEViewNet.cpp.
References myLastCreatedRoute.
Referenced by GNEVehicleFrame::createPath(), and GNEPathCreator::onUpdUseLastRoute().
GNEViewNetHelper::LockManager & GNEViewNet::getLockManager | ( | ) |
get lock manager
Definition at line 1621 of file GNEViewNet.cpp.
References myLockManager.
Referenced by GNETAZ::drawGL(), GNEPoly::drawGL(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GNEApplicationWindow::onCmdLockAllElements(), GNEApplicationWindow::onCmdLockElements(), GNEApplicationWindow::onCmdUnlockAllElements(), and GNESelectorFrame::selectAttributeCarrier().
|
inherited |
get main window
Definition at line 927 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp.
Referenced by GUICursorDialog::buildDialogElements(), and GUICursorDialog::onCmdOpenPropertiesPopUp().
|
inlinevirtualinherited |
return list of available attributes for the given meanData id
Reimplemented in GUIViewTraffic.
Definition at line 266 of file GUISUMOAbstractView.h.
References UNUSED_PARAMETER.
Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().
|
inlinevirtualinherited |
return list of loaded edgeData ids (being computed in the current simulation)
Reimplemented in GUIViewTraffic.
Definition at line 261 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::rebuildColorMatrices().
const GNEViewNetHelper::MouseButtonKeyPressed & GNEViewNet::getMouseButtonKeyPressed | ( | ) | const |
get Key Pressed module
Definition at line 662 of file GNEViewNet.cpp.
References myMouseButtonKeyPressed.
Referenced by GNEStop::drawGeometryPoints(), GNELane::drawGL(), GNEAdditional::drawSemiCircleGeometryPoint(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNEStop::getMoveOperation(), GNEPOI::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().
const GNEViewNetHelper::MoveMultipleElementValues & GNEViewNet::getMoveMultipleElementValues | ( | ) | const |
get move multiple element values
Definition at line 468 of file GNEViewNet.cpp.
References myMoveMultipleElementValues.
Referenced by GNEEdge::getMoveOperation(), and GNEEdge::processNoneJunctionSelected().
GNENet * GNEViewNet::getNet | ( | ) | const |
get the net object
Definition at line 1597 of file GNEViewNet.cpp.
References myNet.
Referenced by GNEEdgeDataFrame::addEdgeData(), GNETAZFrame::addOrRemoveTAZMember(), GNEShapeFrame::addShape(), GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEPathCreator::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNEEdgeRelDataFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEAttributesCreatorRow::generateID(), GNESelectorFrame::getMatches(), GNEContainerFrame::GNEContainerFrame(), GNEPersonFrame::GNEPersonFrame(), GNETypeFrame::GNETypeFrame(), GNEVehicleFrame::GNEVehicleFrame(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEAttributesCreatorRow::isValidID(), GNEFixAdditionalElements::onCmdAccept(), GNECalibratorDialog::onCmdAddFlow(), GNECalibratorDialog::onCmdAddVehicleType(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEApplicationWindow::onCmdComputePathManager(), GNEElementTree::onCmdDeleteItem(), GNEApplicationWindow::onCmdForceSaveAdditionals(), GNEApplicationWindow::onCmdForceSaveDataElements(), GNEApplicationWindow::onCmdForceSaveDemandElements(), GNEApplicationWindow::onCmdForceSaveNetwork(), GNEViewParent::onCmdLocate(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEApplicationWindow::onCmdReloadDataElements(), GNEApplicationWindow::onCmdSaveNetwork(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), DemandElementSelector::onCmdSelectDemandElement(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), onCmdToggleShowConnections(), GNENetworkSelector::onCmdUseSelectedElements(), GNEApplicationWindow::onUpdComputePathManager(), GNETLSEditorFrame::parseTLSPrograms(), GNEPathCreator::Path::Path(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), DemandElementSelector::refreshDemandElementSelector(), GNESelectorParent::refreshSelectorParentModule(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDeleteFrame::selectedACsToDelete(), GNETagSelector::setCurrentTagType(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEElementTree::showAttributeCarrierParents(), DemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNETAZFrame::TAZParameters::TAZParameters(), GNEPathCreator::updateEdgeColors(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), GNEApplicationWindow::updateRecomputingLabel(), GNECalibratorDialog::updateRouteTable(), GNEMatchGenericDataAttribute::updateTAZComboBox(), and GNECalibratorDialog::updateVehicleTypeTable().
const GNEViewNetHelper::NetworkViewOptions & GNEViewNet::getNetworkViewOptions | ( | ) | const |
get network view options
Definition at line 644 of file GNEViewNet.cpp.
References myNetworkViewOptions.
Referenced by GNEDemandElement::drawContainerPlan(), GNEEdge::drawEdgeGeometryPoints(), GNECalibrator::drawGL(), GNERerouter::drawGL(), GNETAZ::drawGL(), GNEVariableSpeedSign::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPoly::drawGL(), GNELaneAreaDetector::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlan(), GNEEdge::drawTAZElements(), GNEApplicationWindow::onCmdToggleEditOptions(), GNEApplicationWindow::onUpdToggleViewOption(), GNEInspectorFrame::selectedOverlappedElement(), GNEApplicationWindowHelper::toggleEditOptionsNetwork(), GNEEdge::updateGeometry(), and GNELane::updateGeometry().
returns the id of the object at position using GL_SELECT
Definition at line 405 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getClickPriority(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObjectStorage::gIDStorage, Boundary::grow(), GUISUMOAbstractView::SENSITIVITY, and GUIGlObjectStorage::unblockObject().
Referenced by getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectUnderCursor(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), getTAZAtPopupPosition(), getWalkingAreaAtPopupPosition(), onCmdAddEdgeSelected(), onCmdAddSelected(), onCmdRemoveEdgeSelected(), and onCmdRemoveSelected().
|
protectedinherited |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT
Definition at line 441 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 506 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(), onCmdTransformPOI(), and recalculateBoundaries().
|
protectedinherited |
returns the id of the objects under the cursor using GL_SELECT (including overlapped objects)
Definition at line 387 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::SENSITIVITY.
const GNEViewNetHelper::ObjectsUnderCursor & GNEViewNet::getObjectsUnderCursor | ( | ) | const |
get objects under cursor
Definition at line 462 of file GNEViewNet.cpp.
References myObjectsUnderCursor.
Referenced by GNEJunction::commitMoveShape(), GNEAdditionalFrame::createBaseAdditionalObject(), and GNEWireFrame::createBaseWireObject().
|
protectedinherited |
returns the id of the front object under the cursor using GL_SELECT
Definition at line 381 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getPositionInformation().
Referenced by GUIViewTraffic::getLaneUnderCursor(), GUISUMOAbstractView::onLeftBtnPress(), and GUISUMOAbstractView::paintGL().
|
private |
try to retrieve a POILane at popup position
Definition at line 1887 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdTransformPOI().
|
inlinevirtualinherited |
return list of available vehicle parameters
Reimplemented in GUIViewTraffic.
Definition at line 287 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::updatePOIParams().
|
private |
try to retrieve a polygon at popup position
Definition at line 1873 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdClosePolygon(), onCmdDeleteGeometryPoint(), onCmdOpenPolygon(), onCmdSelectPolygonElements(), onCmdSetCustomGeometryPoint(), onCmdSetFirstGeometryPoint(), and onCmdSimplifyShape().
|
inherited |
get position of current popup
Definition at line 984 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopupPosition.
Referenced by getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), getTAZAtPopupPosition(), getWalkingAreaAtPopupPosition(), onCmdAddEdgeSelected(), onCmdAddSelected(), onCmdDeleteGeometryPoint(), onCmdEditEdgeEndpoint(), onCmdRemoveEdgeSelected(), onCmdRemoveSelected(), onCmdResetEdgeEndpoint(), onCmdSetFirstGeometryPoint(), onCmdSplitEdge(), and onCmdSplitEdgeBidi().
|
virtualinherited |
Returns the cursor's x/y position within the network.
Definition at line 200 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myWindowCursorPositionX, GUISUMOAbstractView::myWindowCursorPositionY, and GUISUMOAbstractView::screenPos2NetPos().
Referenced by GNEConsecutiveSelector::addLane(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildPersonPlan(), GNEWireFrame::buildWireOverView(), GNEMoveElement::calculateNewLane(), doPaintGL(), GNETAZ::drawDottedContours(), GNEEdge::drawEdgeGeometryPoints(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPoly::drawGL(), GNELane::drawLaneAsRailway(), GNELane::drawMarkings(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEStoppingPlace::drawSign(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEEdge::drawTAZElements(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), drawTemporalDrawingShape(), drawTemporalJunction(), drawTemporalSplitJunction(), GNEStop::drawVehicleStop(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEPersonTrip::getMoveOperation(), GNERide::getMoveOperation(), GNEStop::getMoveOperation(), GNETranship::getMoveOperation(), GNETransport::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEWalk::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEEdge::getMoveOperation(), GNEJunction::getMoveOperation(), GNELane::getMoveOperation(), GNEWalkingArea::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNENeteditAttributes::getNeteditAttributesAndValues(), GUISUMOAbstractView::getObjectsUnderCursor(), GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEPoly::getPopUpMenu(), onCmdSetCustomGeometryPoint(), GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUIDanielPerspectiveChanger::onMiddleBtnPress(), GUISUMOAbstractView::onMouseMove(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), openDeleteDialogAtCursor(), openObjectDialogAtCursor(), GUISUMOAbstractView::openPopupDialog(), openSelectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeGeometryPoint(), and GUISUMOAbstractView::updatePositionInformationLabel().
|
virtual |
return list of loaded edgeRelation and tazRelation attributes
Reimplemented from GUISUMOAbstractView.
Definition at line 959 of file GNEViewNet.cpp.
References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getGenericDatas(), myNet, SUMO_TAG_EDGEREL, and SUMO_TAG_TAZREL.
|
private |
try to retrieve a TAZ at popup position
Definition at line 1901 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdSetCustomGeometryPoint().
const GNEViewNetHelper::TestingMode & GNEViewNet::getTestingMode | ( | ) | const |
get testing mode
Definition at line 638 of file GNEViewNet.cpp.
References myTestingMode.
Referenced by GNEPOI::drawGL().
|
virtualinherited |
get tracked id
Reimplemented in GUIViewTraffic.
Definition at line 1647 of file GUISUMOAbstractView.cpp.
References GUIGlObject::INVALID_ID.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), and GUISUMOAbstractView::paintGL().
GNEUndoList * GNEViewNet::getUndoList | ( | ) | const |
get the undoList object
Definition at line 1603 of file GNEViewNet.cpp.
References myUndoList.
Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNETAZFrame::addOrRemoveTAZMember(), GNECreateEdgeFrame::addSidewalk(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEConnectorFrame::buildConnection(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildWalk(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEPoly::changeFirstGeometryPoint(), GNEPoly::closePolygon(), GNENet::computeAndUpdate(), GNEContainerFrame::createPath(), GNEPersonFrame::createPath(), GNEPoly::deleteGeometryPoint(), GNEAdditional::deleteGLObject(), GNEGenericData::deleteGLObject(), GNEDemandElement::deleteGLObject(), GNEConnection::deleteGLObject(), GNECrossing::deleteGLObject(), GNEEdge::deleteGLObject(), GNEEdgeType::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNELaneType::deleteGLObject(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEEntryExitDetector::fixAdditionalProblem(), GNEInductionLoopDetector::fixAdditionalProblem(), GNEInstantInductionLoopDetector::fixAdditionalProblem(), GNELaneAreaDetector::fixAdditionalProblem(), GNEOverheadWire::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixStopPositionOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNESelectorFrame::handleIDs(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEAllowVClassesDialog::onCmdAccept(), GNEFixAdditionalElements::onCmdAccept(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), onCmdAddJoinTLS(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), onCmdAddTLS(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), onCmdClosePolygon(), GNEElementTree::onCmdDeleteItem(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEApplicationWindow::onCmdOpenEdgeTypes(), onCmdOpenPolygon(), GNEApplicationWindow::onCmdRedo(), GNEApplicationWindow::onCmdReloadEdgeTypes(), onCmdSelectPolygonElements(), GNEFlowEditor::onCmdSetFlowAttribute(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), onCmdSimplifyShape(), GNEApplicationWindow::onCmdUndo(), GNEPoly::openPolygon(), GNEAdditionalHandler::overwriteAdditional(), GNERouteHandler::overwriteDemandElement(), GNETLSEditorFrame::parseTLSPrograms(), GNECreateEdgeFrame::processClick(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNEConnection::smootShape(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
|
inlinevirtualinherited |
return list of available vehicle parameters
Reimplemented in GUIViewTraffic.
Definition at line 282 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::updateVehicleParams().
GNEViewParent * GNEViewNet::getViewParent | ( | ) | const |
get the net object
Definition at line 1591 of file GNEViewNet.cpp.
References myViewParent.
Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPathCreator::addStoppingPlace(), GNELane::buildTemplateOperations(), GNETLSTable::Cell::Cell(), GNETLSTable::Column::Column(), GNENet::computeAndUpdate(), GNEElementTree::createPopUpMenu(), GNENet::deleteDemandElement(), GNEEdge::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNEGenericData::drawAttribute(), GNEJunction::drawDottedContours(), GNETAZ::drawDottedContours(), GNEEdge::drawEdgeGeometryPoints(), GNEInductionLoopDetector::drawGL(), GNETAZ::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawGL(), GNELane::drawGL(), GNEPoly::drawGL(), GNEStop::drawIndex(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNETAZRelData::drawTAZRel(), GNEUndoList::end(), GNEStop::getColor(), GNEAccess::getMoveOperation(), GNEDetector::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationSingleLane(), GNELane::getPopUpMenu(), GNEContainerPlanFrame::hide(), GNEPersonPlanFrame::hide(), GNEFrame::hide(), GNEInspectorFrame::inspectMultisection(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEProhibitionFrame::Legend::Legend(), GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEElementTree::onCmdDeleteItem(), MFXGroupBoxModule::onCmdExtendButton(), GNEInspectorFrame::onCmdGoBack(), GNEElementTree::onCmdInspectItem(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdRedo(), GNEApplicationWindow::onCmdReloadEdgeTypes(), GNEApplicationWindow::onCmdReloadTLSPrograms(), MFXGroupBoxModule::onCmdResetButton(), GNEApplicationWindow::onCmdSetFrontElement(), GNEApplicationWindow::onCmdSetTemplate(), GNEApplicationWindow::onCmdUndo(), GNELane::onDefault(), MFXGroupBoxModule::onUpdResetButton(), GNEApplicationWindow::onUpdSaveAdditionals(), GNECreateEdgeFrame::processClick(), GNETLSTable::recalcTableWidth(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNENet::requireSaveAdditionals(), GNENet::requireSaveDataElements(), GNENet::requireSaveDemandElements(), GNENet::requireSaveTLSPrograms(), GNETLSTable::Row::Row(), GNENet::saveDataElements(), GNENet::saveDemandElements(), GNEAdditional::selectGLObject(), GNEGenericData::selectGLObject(), GNEDemandElement::selectGLObject(), GNENetworkElement::selectGLObject(), GNEProhibitionFrame::Selection::Selection(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEStop::setAttribute(), GNEEdge::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNELane::setLaneColor(), GNEFrame::show(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), and GNEChange_EdgeType::undo().
|
inherited |
get the viewport and create it on first access
Definition at line 1543 of file GUISUMOAbstractView.cpp.
References MAX2(), MIN2(), GUISUMOAbstractView::myViewportChooser, and GUISUMOAbstractView::updateViewportValues().
Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), and GUISUMOAbstractView::showViewportEditor().
|
inherited |
get visible boundary
Definition at line 277 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), and GUISUMOAbstractView::myChanger.
Referenced by GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildPersonPlan(), and GNEVehicleFrame::buildVehicleOverRoute().
|
inherited |
get visualization settings (read only)
Definition at line 1601 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNEViewNetHelper::LockIcon::checkDrawing(), GNEPathManager::PathDraw::drawPathGeometry(), GNEAdditional::drawSemiCircleGeometryPoint(), GNEStop::getColor(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEEdge::getMoveOperation(), GNEJunction::getMoveOperation(), GNELane::getMoveOperation(), GNEWalkingArea::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEM_PathLegend::GNEM_PathLegend(), GNECrossingFrame::Information::Information(), GNEConnectorFrame::initTargets(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GUIApplicationWindow::onCmdToggleDrawJunctionShape(), GNEApplicationWindow::onCmdToggleDrawJunctionShape(), GNEApplicationWindow::onCmdToggleGrid(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNELane::removeGeometryPoint(), GNEPoly::removeGeometryPoint(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), and GNEStop::updateGeometry().
|
private |
try to retrieve a walkingArea at popup position
Definition at line 1805 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_WALKINGAREA, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdEditWalkingAreaShape().
|
inherited |
return windows cursor position
Definition at line 933 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.
Referenced by GUISUMOAbstractView::updatePositionInformationLabel().
void GNEViewNet::hotkeyBackSpace | ( | ) |
handle backspace keypress
Definition at line 1552 of file GNEViewNet.cpp.
References DATA_EDGERELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getAdditionalFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEGenericDataFrame::getPathCreator(), GNEContainerFrame::getPathCreator(), GNEContainerPlanFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), myEditModes, myViewParent, NETWORK_ADDITIONAL, GNEViewNetHelper::EditModes::networkEditMode, GNEConsecutiveSelector::removeLastElement(), and GNEPathCreator::removeLastElement().
Referenced by GNEApplicationWindow::onCmdBackspace().
void GNEViewNet::hotkeyDel | ( | ) |
handle del keypress
Definition at line 1422 of file GNEViewNet.cpp.
References GNEUndoList::begin(), deleteDataAttributeCarriers(), deleteDemandAttributeCarriers(), deleteNetworkAttributeCarriers(), DEMAND_INSPECT, GNEViewNetHelper::EditModes::demandEditMode, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getSelectedAttributeCarriers(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), MODEDELETE, myEditModes, myInspectedAttributeCarriers, myNet, myUndoList, NETWORK_CONNECT, NETWORK_INSPECT, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, setStatusBarText(), and updateViewNet().
Referenced by GNEApplicationWindow::onCmdDel().
void GNEViewNet::hotkeyEnter | ( | ) |
handle enter keypress
Definition at line 1481 of file GNEViewNet.cpp.
References GNETAZRelDataFrame::buildTAZRelationData(), GNETLSEditorFrame::TLSDefinition::checkHaveModifications(), GNEViewNetHelper::EditNetworkElementShapes::commitEditedShape(), GNECrossingFrame::createCrossingHotkey(), GNEPathCreator::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), DATA_EDGERELDATA, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNETLSEditorFrame::TLSAttributes::disableE1DetectorMode(), GNETLSEditorFrame::TLSJunction::disableJoiningJunctionMode(), GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getCrossingFrame(), GNETAZFrame::getCurrentTAZModule(), GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GNEGenericDataFrame::getPathCreator(), GNEContainerFrame::getPathCreator(), GNEContainerPlanFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getShapeFrame(), GNETAZFrame::CurrentTAZ::getTAZ(), GNEViewParent::getTAZFrame(), GNEViewParent::getTAZRelDataFrame(), GNETAZFrame::getTAZSaveChangesModule(), GNETLSEditorFrame::getTLSAttributes(), GNETLSEditorFrame::getTLSDefinition(), GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GNEViewParent::getVehicleFrame(), GNEViewParent::getWireFrame(), GNETAZFrame::TAZSaveChanges::isChangesPending(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEDrawingShape::isDrawing(), GNETLSEditorFrame::TLSJunction::isJoiningJunctions(), GNETLSEditorFrame::TLSAttributes::isSetDetectorsToggleButtonEnabled(), myEditModes, myEditNetworkElementShapes, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNETLSEditorFrame::TLSDefinition::onCmdSaveChanges(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEDrawingShape::startDrawing(), and GNEDrawingShape::stopDrawing().
Referenced by GNEApplicationWindow::onCmdEnter().
void GNEViewNet::hotkeyFocusFrame | ( | ) |
handle focus frame keypress
Definition at line 1580 of file GNEViewNet.cpp.
References GNEFrame::focusUpperElement(), and myCurrentFrame.
Referenced by GNEApplicationWindow::onCmdFocusFrame().
|
virtualinherited |
return whether this is a 3D view
Definition at line 283 of file GUISUMOAbstractView.cpp.
Referenced by GUISettingsHandler::applyViewport(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_ViewSettings::onCmdExportSetting(), GUIDialog_EditViewport::setValues(), and GUIDialog_EditViewport::writeXML().
|
inherited |
Check if an object is added in the additional GL visualitation.
[in] | which | The object to check |
Definition at line 1848 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
bool GNEViewNet::isAttributeCarrierInspected | ( | const GNEAttributeCarrier * | AC | ) | const |
check if attribute carrier is being inspected
Definition at line 1633 of file GNEViewNet.cpp.
References myInspectedAttributeCarriers.
Referenced by GNEStop::canDrawVehicleStop(), GNENet::deleteDemandElement(), GNECalibrator::drawCalibratorSymbol(), GNEDemandElement::drawContainerPlan(), GNEJunction::drawDottedContours(), GNETAZ::drawDottedContours(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterInterval::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNEStop::drawIndex(), GNELane::drawLaneAsRailway(), GNEAdditional::drawListedAddtional(), GNEAdditional::drawParentChildLines(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlan(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEEdge::drawTAZElements(), GNEStop::drawVehicleStop(), GNEContainer::getHierarchyName(), GNEVehicle::getHierarchyName(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
|
inherited |
returns true, if the edit button was pressed
Definition at line 180 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myInEditMode.
|
inherited |
meter-to-pixels conversion method
Definition at line 877 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 946 of file GUISUMOAbstractView.cpp.
Referenced by getAdditionalAtPopupPosition(), getAttributeCarriersInBoundary(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), GUIViewTraffic::getLaneUnderCursor(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), getTAZAtPopupPosition(), getWalkingAreaAtPopupPosition(), GUISUMOAbstractView::makeSnapshot(), onCmdAddEdgeSelected(), onCmdAddSelected(), onCmdRemoveEdgeSelected(), onCmdRemoveSelected(), GUISUMOAbstractView::onConfigure(), onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), onLeftBtnRelease(), GUISUMOAbstractView::onPaint(), openObjectDialogAtCursor(), GUISUMOAbstractView::openObjectDialogAtCursor(), processLeftButtonReleaseNetwork(), and recalculateBoundaries().
|
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 1323 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::displayLegends(), GUIVisualizationSettings::dither, GUISUMOAbstractView::doPaintGL(), GUISUMOAbstractView::drawDecals(), GUIPerspectiveChanger::getViewport(), RGBColor::green(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myGrid, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), GLHelper::pushMatrix(), RGBColor::red(), GUISUMOAbstractView::saveFrame(), MFXImageHelper::saveImage(), GUIVisualizationSettings::scale, SUMORTree::Search(), GLHelper::setGL2PS(), GUIVisualizationSettings::showGrid, MFXSingleEventThread::sleep(), SUMO_const_laneWidth, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::checkSnapshots(), GUISUMOViewParent::onCmdMakeSnapshot(), and GNEViewParent::onCmdMakeSnapshot().
bool GNEViewNet::mergeJunctions | ( | GNEJunction * | movedJunction, |
GNEJunction * | targetJunction | ||
) |
try to merge moved junction with another junction in that spot return true if merging did take place
Definition at line 808 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GUIGlObject::getMicrosimID(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNENet::mergeJunctions(), myNet, myNetworkViewOptions, myUndoList, and WRITE_DEBUG.
Referenced by GNEJunction::commitMoveShape().
long GNEViewNet::onCmdAddEdgeSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
select Edge under cursor
Definition at line 4314 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GNELane::getParentEdge(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GNEAttributeCarrier::selectAttributeCarrier(), and GUIGlObjectStorage::unblockObject().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdAddJoinTLS | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
add Join TLS
Definition at line 3442 of file GNEViewNet.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GUISUMOAbstractView::destroyPopup(), GNETLSEditorFrame::editJunction(), GNEUndoList::end(), NBTrafficLightLogicCont::exist(), GNEJunction::getAttribute(), GNENet::getAttributeCarriers(), NBNode::getControllingTLS(), GNEAttributeCarrier::getID(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNENet::getTLLogicCont(), GNEViewParent::getTLSEditorFrame(), getUndoList(), GNENet::getViewNet(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODETLS, myEditModes, myNet, myUndoList, myViewParent, NETWORK_TLS, GNEJunction::setAttribute(), GNEViewNetHelper::EditModes::setNetworkEditMode(), SUMO_ATTR_TLID, and SUMO_ATTR_TYPE.
Referenced by FXDEFMAP().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 357 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdAddReversedEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
add reversed edge
Definition at line 2103 of file GNEViewNet.cpp.
References GNENet::addReversedEdge(), GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdAddReversedEdgeDisconnected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
add reversed edge disconnected
Definition at line 2124 of file GNEViewNet.cpp.
References GNENet::addReversedEdge(), GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdAddSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
select AC under cursor
Definition at line 4278 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GNEAttributeCarrier::selectAttributeCarrier(), and GUIGlObjectStorage::unblockObject().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdAddTLS | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
add TLS
Definition at line 3414 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GUISUMOAbstractView::destroyPopup(), GNETLSEditorFrame::editJunction(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getJunctionAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNEViewParent::getTLSEditorFrame(), getUndoList(), GNENet::getViewNet(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODETLS, myEditModes, myNet, myUndoList, myViewParent, NETWORK_TLS, GNEJunction::setAttribute(), GNEViewNetHelper::EditModes::setNetworkEditMode(), and SUMO_ATTR_TYPE.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdClearConnections | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
clear junction connections
Definition at line 3350 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEInspectorFrame::clearInspectedAC(), GNENet::clearJunctionConnections(), CONNECTION, GUISUMOAbstractView::destroyPopup(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewParent::getInspectorFrame(), getJunctionAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::isAttributeCarrierSelected(), myFrontAttributeCarrier, myInspectedAttributeCarriers, myNet, myUndoList, myViewParent, SUMO_TAG_CONNECTION, and updateViewNet().
Referenced by FXDEFMAP().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 351 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
interaction with the simulation
Reimplemented in GUIViewTraffic.
Definition at line 345 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdClosePolygon | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
close opened polygon
Definition at line 2354 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getPolygonAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedShapes(), getUndoList(), GNENet::getViewNet(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, POLY, GNEPoly::simplifyShape(), SUMO_TAG_POLY, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdConvertRoundabout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
convert junction to roundabout
Definition at line 3320 of file GNEViewNet.cpp.
References GNENet::createRoundabout(), GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdDeleteGeometryPoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
delete the closes geometry point
Definition at line 2343 of file GNEViewNet.cpp.
References GNEPoly::deleteGeometryPoint(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdDuplicateLane | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
duplicate selected lane
Definition at line 2657 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNENet::duplicateLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedLanes(), GNEAttributeCarrier::isAttributeCarrierSelected(), LANE, myNet, myUndoList, SUMO_TAG_LANE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEdgeUseAsTemplate | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
use edge as template
Definition at line 2285 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), myViewParent, and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditConnectionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit connection shape
Definition at line 3486 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), myEditNetworkElementShapes, and GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditCrossingShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit crossing shape
Definition at line 3514 of file GNEViewNet.cpp.
References GNENet::computeAndUpdate(), GUISUMOAbstractView::destroyPopup(), getCrossingAtPopupPosition(), GNEJunction::getNBNode(), OptionsCont::getOptions(), GNECrossing::getParentJunction(), NBNode::getShape(), myEditNetworkElementShapes, myNet, and GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change geometry endpoint
Definition at line 2145 of file GNEViewNet.cpp.
References GNEEdge::editEndpoint(), getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), and myUndoList.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditJunctionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit junction shape
Definition at line 3220 of file GNEViewNet.cpp.
References GNENet::computeAndUpdate(), GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getShape(), myEditNetworkElementShapes, myNet, and GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditLaneShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit lane shape
Definition at line 2680 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getLaneAtPopupPosition(), myEditNetworkElementShapes, and GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditWalkingAreaShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit walkingArea shape
Definition at line 3534 of file GNEViewNet.cpp.
References GNENet::computeAndUpdate(), GUISUMOAbstractView::destroyPopup(), GNEJunction::getNBNode(), OptionsCont::getOptions(), GNEWalkingArea::getParentJunction(), NBNode::getShape(), getWalkingAreaAtPopupPosition(), myEditNetworkElementShapes, myNet, and GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEgeApplyTemplate | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
apply template to edge
Definition at line 2295 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEEdge::copyTemplate(), EDGE, GNEUndoList::end(), getEdgeAtPopupPosition(), GNEInspectorFrame::TemplateEditor::getEdgeTemplate(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getTemplateEditor(), myUndoList, myViewParent, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarDataSet | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change data set in interval bar
Definition at line 4243 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setDataSet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarGenericDataType | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change generic data type in interval bar
Definition at line 4236 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setGenericDataType().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarLimit | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change limit interval in interval bar
Definition at line 4250 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setInterval().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarSetBegin | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change begin in interval bar
Definition at line 4257 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setBegin().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarSetEnd | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change end in interval bar
Definition at line 4264 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setEnd().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarSetParameter | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change parameter in interval bar
Definition at line 4271 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setParameter().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdLaneOperation | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
add/remove/restrict lane
Definition at line 2740 of file GNEViewNet.cpp.
References addRestrictedLane(), MID_GNE_LANE_ADD_BIKE, MID_GNE_LANE_ADD_BUS, MID_GNE_LANE_ADD_GREENVERGE_BACK, MID_GNE_LANE_ADD_GREENVERGE_FRONT, 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.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdLaneReachability | ( | FXObject * | menu, |
FXSelector | sel, | ||
void * | |||
) |
show lane reachability
Definition at line 2776 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEPathManager::PathCalculator::calculateReachability(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNEPathManager::getPathCalculator(), GNENet::getPathManager(), GNE_ATTR_SELECTED, LANE, myNet, myUndoList, SumoVehicleClassStrings, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdOpenAdditionalDialog | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
open additional dialog
Definition at line 2801 of file GNEViewNet.cpp.
References getAdditionalAtPopupPosition(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::hasDialog(), and GNEAdditional::openAdditionalDialog().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdOpenPolygon | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
open closed polygon
Definition at line 2385 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getPolygonAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedShapes(), getUndoList(), GNENet::getViewNet(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, GNEPoly::openPolygon(), POLY, SUMO_TAG_POLY, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdRemoveEdgeSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
unselect Edge under cursor
Definition at line 4333 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GNELane::getParentEdge(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GUIGlObjectStorage::unblockObject(), and GNEAttributeCarrier::unselectAttributeCarrier().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdRemoveSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
unselect AC under cursor
Definition at line 4296 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GNEAttributeCarrier::isAttributeCarrierSelected(), GUISUMOAbstractView::makeCurrent(), GUIGlObjectStorage::unblockObject(), and GNEAttributeCarrier::unselectAttributeCarrier().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdReplaceJunction | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
replace node by geometry
Definition at line 3266 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::replaceJunctionByGeometry(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetConnections | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset junction connections
Definition at line 3382 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEInspectorFrame::clearInspectedAC(), CONNECTION, GUISUMOAbstractView::destroyPopup(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewParent::getInspectorFrame(), getJunctionAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::isAttributeCarrierSelected(), myFrontAttributeCarrier, myInspectedAttributeCarriers, myNet, myUndoList, myViewParent, GNENet::resetJunctionConnections(), SUMO_TAG_CONNECTION, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change geometry endpoint
Definition at line 2156 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and GNEEdge::resetEndpoint().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetEdgeEndPoints | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit junction shape
Definition at line 3182 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GUISUMOAbstractView::destroyPopup(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), getJunctionAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, and myUndoList.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetEndPoints | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset edge end points
Definition at line 2621 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, and GNEEdge::setAttribute().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetJunctionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset junction shape
Definition at line 3240 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GUISUMOAbstractView::destroyPopup(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getJunctionAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNEAttributeCarrier::isAttributeCarrierSelected(), JUNCTION, myNet, myUndoList, GNEJunction::setAttribute(), and SUMO_ATTR_SHAPE.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetLaneCustomShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset custom shapes of selected lanes
Definition at line 2694 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedLanes(), GNEAttributeCarrier::isAttributeCarrierSelected(), LANE, myNet, myUndoList, GNELane::setAttribute(), and SUMO_ATTR_CUSTOMSHAPE.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetLength | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset custom edge lengths
Definition at line 2266 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), and SUMO_ATTR_LENGTH.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetOppositeLane | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset oppositeLane of current lane
Definition at line 2717 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedLanes(), GNE_ATTR_OPPOSITE, GNEAttributeCarrier::isAttributeCarrierSelected(), LANE, myNet, myUndoList, and GNELane::setAttribute().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdReverseEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reverse edge
Definition at line 2082 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNENet::reverseEdge(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSelectPolygonElements | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
select elements within polygon boundary
Definition at line 2416 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getAttributeCarriersInBoundary(), PositionVector::getBoxBoundary(), getPolygonAtPopupPosition(), SUMOPolygon::getShape(), getUndoList(), GNENet::getViewNet(), GNE_ATTR_SELECTED, GNENetHelper::AttributeCarriers::isNetworkElementAroundShape(), MODESELECT, myNet, myNetworkViewOptions, myUndoList, GNEViewNetHelper::NetworkViewOptions::selectEdges(), SUMO_TAG_EDGE, SUMO_TAG_LANE, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSelectRoundabout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
select all roundabout nodes and edges
Definition at line 3307 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::selectRoundabout(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSetCustomGeometryPoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
set custom geometry point
Definition at line 2537 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::changeAttribute(), EDGE, GNEUndoList::end(), NBEdge::getGeometry(), getLaneAtPopupPosition(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPositionInformation(), SUMOPolygon::getShape(), getTAZAtPopupPosition(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::indexOfClosest(), myUndoList, POLY, PositionVector::pop_front(), SUMO_ATTR_SHAPE, TAZ, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSetFirstGeometryPoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
set as first geometry point the closes geometry point
Definition at line 2457 of file GNEViewNet.cpp.
References GNEPoly::changeFirstGeometryPoint(), getPolygonAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEPoly::getVertexIndex(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSetMode | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
called when user press a mode button (Network or demand)
Definition at line 1934 of file GNEViewNet.cpp.
References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_TYPE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), MID_HOTKEY_A_MODE_ADDITIONAL_STOP, MID_HOTKEY_C_MODE_CONNECT_PERSONPLAN, MID_HOTKEY_D_MODE_DELETE, MID_HOTKEY_E_MODE_EDGE_EDGEDATA, MID_HOTKEY_G_MODE_CONTAINER, MID_HOTKEY_H_MODE_PROHIBITION_CONTAINERPLAN, MID_HOTKEY_I_MODE_INSPECT, MID_HOTKEY_M_MODE_MOVE, MID_HOTKEY_P_MODE_POLYGON_PERSON, MID_HOTKEY_R_MODE_CROSSING_ROUTE_EDGERELDATA, MID_HOTKEY_S_MODE_SELECT, MID_HOTKEY_T_MODE_TLS_TYPE, MID_HOTKEY_V_MODE_VEHICLE, MID_HOTKEY_W_MODE_WIRE, MID_HOTKEY_Z_MODE_TAZ_TAZREL, myEditModes, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::setDataEditMode(), GNEViewNetHelper::EditModes::setDemandEditMode(), and GNEViewNetHelper::EditModes::setNetworkEditMode().
Referenced by FXDEFMAP(), and GNEApplicationWindow::onCmdSetMode().
long GNEViewNet::onCmdSetSupermode | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
Definition at line 1915 of file GNEViewNet.cpp.
References DATA, DEMAND, MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, myEditModes, NETWORK, and GNEViewNetHelper::EditModes::setSupermode().
Referenced by FXDEFMAP(), and GNEApplicationWindow::onCmdSetSuperMode().
|
virtualinherited |
highlight edges according to reachability
Reimplemented in GUIViewTraffic.
Definition at line 363 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSimplifyShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
simply shape of current polygon
Definition at line 2312 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getPolygonAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedShapes(), getUndoList(), GNENet::getViewNet(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, POLY, GNEPoly::simplifyShape(), SUMO_TAG_POLY, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSmoothConnectionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit connection shape
Definition at line 3500 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getConnectionAtPopupPosition(), and GNEConnection::smootShape().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSmoothEdges | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
smooth geometry
Definition at line 2203 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smooth(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSmoothEdgesElevation | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
smooth elevation with regard to adjoining edges
Definition at line 2245 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::smoothElevation(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSplitEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split edge at cursor position
Definition at line 2050 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, myUndoList, and GNENet::splitEdge().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSplitEdgeBidi | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split edge at cursor position
Definition at line 2060 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEEdge::getOppositeEdges(), GUISUMOAbstractView::getPopupPosition(), GNEEdge::getSplitPos(), myNet, myUndoList, and GNENet::splitEdgesBidi().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSplitJunction | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split junction into multiple junctions
Definition at line 3280 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::splitJunction(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSplitJunctionReconnect | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split junction into multiple junctions and reconnect them
Definition at line 3294 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::splitJunction(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdStraightenEdges | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
makes selected edges straight
Definition at line 2181 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdStraightenEdgesElevation | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
interpolate z values linear between junctions
Definition at line 2224 of file GNEViewNet.cpp.
References GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getEdgeAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEEdge::straightenElevation(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdToggleAutoOppositeEdge | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle autoOpposite edge
Definition at line 3877 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleChainEdges | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle chain edges
Definition at line 3858 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleChangeAllPhases | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle change all phases
Definition at line 3674 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleDrawJunctionShape | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle draw junction shape
Definition at line 3719 of file GNEViewNet.cpp.
References GUIVisualizationSettings::drawJunctionShape, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape, MID_GNE_DATAVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_DEMANDVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEDRAWJUNCTIONSHAPE, myDataViewOptions, myDemandViewOptions, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleDrawJunctionShape(), GNEApplicationWindow::onCmdToggleViewOption(), GNEApplicationWindowHelper::toggleEditOptionsData(), GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleDrawSpreadVehicles | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle draw vehicles in begin position or spread in lane
Definition at line 3745 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getDemandElements(), GNE_TAG_FLOW_ROUTE, GNE_TAG_ROUTE_EMBEDDED, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, MID_GNE_DEMANDVIEWOPTIONS_DRAWSPREADVEHICLES, MID_GNE_NETWORKVIEWOPTIONS_DRAWSPREADVEHICLES, myDemandViewOptions, myNet, myNetworkViewOptions, MFXCheckableButton::setChecked(), SUMO_TAG_FLOW, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleExtendSelection | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle extend selection
Definition at line 3655 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleHideConnections | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle hide connections
Definition at line 3598 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleHideNonInspecteDemandElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle hide non inspected demand elements
Definition at line 3896 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleHideShapes | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle hide shapes in super mode demand
Definition at line 3934 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleLockContainer | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle lock container in super mode demand
Definition at line 4045 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isContainer(), GNEViewNetHelper::DemandViewOptions::lockContainer(), GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer, MID_GNE_DEMANDVIEWOPTIONS_LOCKCONTAINER, myDemandViewOptions, myInspectedAttributeCarriers, MFXCheckableButton::setChecked(), GNEViewNetHelper::DemandViewOptions::unlockContainer(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleLockPerson | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle lock person in super mode demand
Definition at line 3991 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEHierarchicalElement::getParentDemandElements(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isPerson(), GNEViewNetHelper::DemandViewOptions::lockPerson(), GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, MID_GNE_DEMANDVIEWOPTIONS_LOCKPERSON, myDemandViewOptions, myInspectedAttributeCarriers, MFXCheckableButton::setChecked(), GNEViewNetHelper::DemandViewOptions::unlockPerson(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleMoveElevation | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle move elevation
Definition at line 3839 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleSelectEdges | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle select edges
Definition at line 3554 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, myNetworkViewOptions, and MFXCheckableButton::setChecked().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleShowAdditionals | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show additionals in super mode data
Definition at line 4080 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().
long GNEViewNet::onCmdToggleShowAdditionalSubElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show additional sub-elements
Definition at line 3617 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, MID_GNE_NETWORKVIEWOPTIONS_SHOWSUBADDITIONALS, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleShowAllContainerPlans | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show all container plans in super mode demand
Definition at line 4026 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLCONTAINERPLANS, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleShowAllPersonPlans | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show all person plans in super mode demand
Definition at line 3972 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleShowConnections | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show connections
Definition at line 3571 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), getNet(), GNENet::initGNEConnections(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, MID_GNE_NETWORKVIEWOPTIONS_SHOWCONNECTIONS, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, GNENet::requireRecompute(), MFXCheckableButton::setChecked(), GUIVisualizationSettings::showLane2Lane, and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleShowDemandElementsData | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show demand elements (data)
Definition at line 4139 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNENet::computeDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, myDataViewOptions, myNet, myViewParent, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().
long GNEViewNet::onCmdToggleShowDemandElementsNetwork | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show demand elements (network)
Definition at line 4118 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNENet::computeDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, myNet, myNetworkViewOptions, myViewParent, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleShowGrid | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show grid
Definition at line 3693 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_NETWORKVIEWOPTIONS_TOGGLEGRID, myDemandViewOptions, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, MFXCheckableButton::setChecked(), GUIVisualizationSettings::showGrid, and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleGrid(), GNEApplicationWindow::onCmdToggleViewOption(), GNEApplicationWindowHelper::toggleEditOptionsDemand(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleShowJunctionBubbles | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show junction bubbles
Definition at line 3820 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleShowOverlappedRoutes | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle hide non inspected demand elements
Definition at line 3915 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, MID_GNE_DEMANDVIEWOPTIONS_SHOWOVERLAPPEDROUTES, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleShowShapes | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show shapes in super mode data
Definition at line 4099 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().
long GNEViewNet::onCmdToggleShowTAZElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show TAZ elements
Definition at line 3636 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements, MID_GNE_NETWORKVIEWOPTIONS_SHOWTAZELEMENTS, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdToggleShowTrips | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle show all trips in super mode demand
Definition at line 3953 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, MID_GNE_DEMANDVIEWOPTIONS_SHOWTRIPS, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsDemand().
long GNEViewNet::onCmdToggleTAZDrawFill | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle TAZdrawFill
Definition at line 4179 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill, MID_GNE_DATAVIEWOPTIONS_TAZDRAWFILL, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toggleEditOptionsData().
long GNEViewNet::onCmdToggleTAZRelDrawing | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle TAZRel drawing
Definition at line 4160 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing, MID_GNE_DATAVIEWOPTIONS_TAZRELDRAWING, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().
long GNEViewNet::onCmdToggleTAZRelOnlyFrom | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle TAZRez only from
Definition at line 4198 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYFROM, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().
long GNEViewNet::onCmdToggleTAZRelOnlyTo | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle TAZRez only to
Definition at line 4217 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo, MID_GNE_DATAVIEWOPTIONS_TAZRELONLYTO, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsData().
long GNEViewNet::onCmdToggleWarnAboutMerge | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toggle warn for merge
Definition at line 3801 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToggleViewOption(), and GNEApplicationWindowHelper::toggleEditOptionsNetwork().
long GNEViewNet::onCmdTransformPOI | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
transform POI to POILane, and vice versa
Definition at line 2469 of file GNEViewNet.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEUndoList::begin(), GNENet::deleteAdditional(), Position::distanceTo(), GNEUndoList::end(), GNEAttributeCarrier::getID(), GNELane::getLaneShape(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), getPOIAtPopupPosition(), GUIGlObjectStorage::gIDStorage, myNet, myUndoList, PositionVector::nearest_offset_to_point2D(), AdditionalHandler::parseSumoBaseObject(), POI, PositionVector::positionAtOffset(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_LANE, SUMO_TAG_POI, toString(), updateViewNet(), and WRITE_WARNING.
Referenced by FXDEFMAP().
|
virtualinherited |
mouse functions
Definition at line 953 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::checkSnapshots(), GUISUMOAbstractView::doInit(), RGBColor::green(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myVisualizationSettings, and RGBColor::red().
Referenced by FXDEFMAP().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 1130 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
long GNEViewNet::onEnterConvertRoundabout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
enter to convert junction to roundabout
Definition at line 3334 of file GNEViewNet.cpp.
References myDrawPreviewRoundabout.
Referenced by FXDEFMAP().
|
virtualinherited |
on gaming click
Reimplemented in GUIViewTraffic.
Definition at line 1653 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onLeftBtnRelease().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 1657 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onRightBtnRelease().
|
virtual |
called when user press a key
Reimplemented from GUISUMOAbstractView.
Definition at line 1272 of file GNEViewNet.cpp.
References DEMAND_MOVE, GNEViewNetHelper::EditModes::demandEditMode, GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GNEViewParent::getShapeFrame(), GNEViewParent::getTAZFrame(), GNEDrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onKeyPress(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), and updateViewNet().
|
virtual |
called when user release a key
Reimplemented from GUISUMOAbstractView.
Definition at line 1297 of file GNEViewNet.cpp.
References DEMAND_MOVE, GNEViewNetHelper::EditModes::demandEditMode, GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GNEViewParent::getShapeFrame(), GNEViewParent::getTAZFrame(), GNEDrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, mySelectingArea, myViewParent, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_SHAPE, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onKeyRelease(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEDrawingShape::setDeleteLastCreatedPoint(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), and updateViewNet().
long GNEViewNet::onLeaveConvertRoundabout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
leave to convert junction to roundabout
Definition at line 3342 of file GNEViewNet.cpp.
References myDrawPreviewRoundabout.
Referenced by FXDEFMAP().
|
virtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 1135 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUISUMOAbstractView::makeCurrent(), myEditModes, myMouseButtonKeyPressed, myObjectsUnderCursor, processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor(), and updateViewNet().
|
virtual |
called when user releases mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 1163 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUISUMOAbstractView::makeCurrent(), myCreatedPopup, myEditModes, myMouseButtonKeyPressed, myObjectsUnderCursor, GUISUMOAbstractView::onLeftBtnRelease(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor(), and updateViewNet().
|
virtual |
called when user press mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 1196 of file GNEViewNet.cpp.
References GUISUMOAbstractView::onMiddleBtnPress(), updateCursor(), and updateViewNet().
|
virtual |
called when user releases mouse's left button
Reimplemented from GUISUMOAbstractView.
Definition at line 1208 of file GNEViewNet.cpp.
References GUISUMOAbstractView::onMiddleBtnRelease(), updateCursor(), and updateViewNet().
|
virtualinherited |
Definition at line 1180 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtual |
called when user moves mouse
Reimplemented from GUISUMOAbstractView.
Definition at line 1250 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEViewNetHelper::MouseButtonKeyPressed::mouseLeftButtonPressed(), myEditModes, myMouseButtonKeyPressed, GUISUMOAbstractView::onMouseMove(), processMoveMouseData(), processMoveMouseDemand(), processMoveMouseNetwork(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), and updateViewNet().
|
virtualinherited |
Definition at line 1136 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::updatePositionInformationLabel().
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 971 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, and GUISUMOAbstractView::paintGL().
Referenced by FXDEFMAP(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
virtual |
called when user press mouse's right button
Reimplemented from GUISUMOAbstractView.
Definition at line 1220 of file GNEViewNet.cpp.
References GNEShapeFrame::getDrawingShapeModule(), GNEViewParent::getShapeFrame(), GNEDrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_SHAPE, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onRightBtnPress(), GNEViewNetHelper::MouseButtonKeyPressed::update(), and updateCursor().
|
virtual |
called when user releases mouse's right button
Reimplemented from GUISUMOAbstractView.
Definition at line 1235 of file GNEViewNet.cpp.
References GNEShapeFrame::getDrawingShapeModule(), GNEViewParent::getShapeFrame(), GNEDrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_SHAPE, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onRightBtnRelease(), GNEViewNetHelper::MouseButtonKeyPressed::update(), and updateCursor().
|
virtualinherited |
hook to react on change in visualization settings
Definition at line 369 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
void GNEViewNet::openDeleteDialogAtCursor | ( | const std::vector< GUIGlObject * > & | GLObjects | ) |
open delete dialog at cursor
Definition at line 574 of file GNEViewNet.cpp.
References GUIGLObjectPopupMenu::DELETE_ELEMENT, GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myClickedPopupPosition, myCreatedPopup, GUISUMOAbstractView::myPopup, and GUISUMOAbstractView::openPopupDialog().
Referenced by GNEDeleteFrame::removeAttributeCarrier().
|
inherited |
open object dialog for the given object
Definition at line 1247 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, GUISUMOAbstractView::myCurrentObjectsDialog, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::openPopupDialog(), and GUIGLObjectPopupMenu::PROPERTIES.
Referenced by openObjectDialogAtCursor(), and GUISUMOAbstractView::openObjectDialogAtCursor().
|
virtual |
open object dialog
Reimplemented from GUISUMOAbstractView.
Definition at line 501 of file GNEViewNet.cpp.
References GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), GNEOverlappedInspection::checkSavedPosition(), GUIGLObjectPopupMenu::FRONT_ELEMENT, GNEViewNetHelper::ObjectsUnderCursor::getClickedGLObjects(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getOverlappedInspection(), GUISUMOAbstractView::getPositionInformation(), GLO_CONNECTION, GLO_EDGE, GLO_JUNCTION, GLO_TLLOGIC, GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myClickedPopupPosition, myInspectedAttributeCarriers, myMouseButtonKeyPressed, myNet, myObjectsUnderCursor, GUISUMOAbstractView::myPopup, myViewParent, GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::openPopupDialog(), GNEOverlappedInspection::overlappedInspectionShown(), TLS, and GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor().
|
protectedinherited |
open popup dialog
Definition at line 1792 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getPositionInformation(), MAX2(), MIN2(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, and GUIPerspectiveChanger::onRightBtnRelease().
Referenced by openDeleteDialogAtCursor(), GUISUMOAbstractView::openObjectDialog(), openObjectDialogAtCursor(), and openSelectDialogAtCursor().
void GNEViewNet::openSelectDialogAtCursor | ( | const std::vector< GUIGlObject * > & | GLObjects | ) |
open select dialog at cursor
Definition at line 589 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::myClickedPopupPosition, myCreatedPopup, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::openPopupDialog(), and GUIGLObjectPopupMenu::SELECT_ELEMENT.
Referenced by GNESelectorFrame::selectAttributeCarrier().
|
privatedelete |
Invalidated assignment operator.
|
inherited |
pixels-to-meters conversion method
Definition at line 883 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), GUISUMOAbstractView::drawDecals(), and GUIDanielPerspectiveChanger::move().
|
protectedinherited |
FOX needs this.
performs the painting of the simulation
Definition at line 293 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::centerTo(), GLHelper::checkCounterMatrix(), GLHelper::checkCounterName(), GUISUMOAbstractView::displayLegends(), GUIVisualizationSettings::dither, GUISUMOAbstractView::doPaintGL(), GUISUMOAbstractView::drawFPS(), GUIVisualizationSettings::fps, SysUtils::getCurrentMillis(), GUISUMOAbstractView::getObjectUnderCursor(), GUIGlChildWindow::getParent(), GUIMainWindow::getStaticTooltipView(), GUISUMOAbstractView::getTrackedID(), RGBColor::green(), MFXStaticToolTip::hideStaticToolTip(), GUIGlObject::INVALID_ID, MFXStaticToolTip::isStaticToolTipEnabled(), GUISUMOAbstractView::myFrameDrawTime, GUISUMOAbstractView::myParent, GUISUMOAbstractView::myVisualizationSettings, RGBColor::red(), GLHelper::resetMatrixCounter(), GLHelper::resetVertexCounter(), and GUISUMOAbstractView::showToolTipFor().
Referenced by GUISUMOAbstractView::onPaint().
|
protectedinherited |
paints a grid
Definition at line 594 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 |
Auxiliary function used by onLeftBtnPress(...)
Definition at line 3056 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::myChanger, and GUIPerspectiveChanger::onLeftBtnPress().
Referenced by processLeftButtonPressData(), processLeftButtonPressDemand(), and processLeftButtonPressNetwork().
|
private |
process left button press function in Supermode Data
Definition at line 5820 of file GNEViewNet.cpp.
References GNEEdgeDataFrame::addEdgeData(), GNEEdgeRelDataFrame::addEdgeRelationData(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, GNEViewNetHelper::ObjectsUnderCursor::filterLockedElements(), GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewParent::getDeleteFrame(), GNEViewParent::getEdgeDataFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEViewParent::getInspectorFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTAZRelDataFrame(), GNEInspectorFrame::inspectSingleElement(), myEditModes, myLockManager, myMouseButtonKeyPressed, myObjectsUnderCursor, mySelectingArea, myViewParent, processClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNETAZRelDataFrame::setTAZ(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), SUMO_TAG_TAZ, and updateViewNet().
Referenced by onLeftBtnPress().
|
private |
process left button press function in Supermode Demand
Definition at line 5652 of file GNEViewNet.cpp.
References GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNERouteFrame::addEdgeRoute(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementDemandMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::ObjectsUnderCursor::filterLockedElements(), GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getDeleteFrame(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNELane::getParentEdge(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::LockManager::isObjectLocked(), myEditModes, myLastClickedPosition, myLockManager, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myObjectsUnderCursor, mySelectingArea, myViewParent, processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), updateViewNet(), and WRITE_WARNING.
Referenced by onLeftBtnPress().
|
private |
mouse process functions
process left button press function in Supermode Network
Definition at line 5312 of file GNEViewNet.cpp.
References GNEAdditionalFrame::addAdditional(), GNECrossingFrame::addCrossing(), GNEWireFrame::addWire(), GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), MFXCheckableButton::amChecked(), GNEViewNetHelper::MoveSingleElementValues::beginMoveNetworkElementShape(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementNetworkMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNEDeleteFrame::DeleteOptions::deleteOnlyGeometryPoints(), GNETLSEditorFrame::editTLS(), GNEViewNetHelper::ObjectsUnderCursor::filterLockedElements(), GNEViewParent::getAdditionalFrame(), GNEViewNetHelper::ObjectsUnderCursor::getAdditionalFront(), GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewNetHelper::ObjectsUnderCursor::getConnectionFront(), GNEViewParent::getConnectorFrame(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNETAZFrame::getCurrentTAZModule(), GNEViewParent::getDeleteFrame(), GNEDeleteFrame::getDeleteOptions(), GNEViewNetHelper::ObjectsUnderCursor::getEdgeFront(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getJunctionFront(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFrontNonLocked(), GNEInspectorFrame::getNeteditAttributesEditor(), GNEViewNetHelper::ObjectsUnderCursor::getNetworkElementFront(), GNEEdge::getOppositeEdges(), GNEViewNetHelper::ObjectsUnderCursor::getPOIFront(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getShapeFrame(), GNEEdge::getSplitPos(), GNETAZFrame::CurrentTAZ::getTAZ(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getWireFrame(), GLO_WALKINGAREA, GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEViewNetHelper::LockManager::isObjectLocked(), GNEInspectorFrame::NeteditAttributesEditor::isSelectingParent(), GNENetworkElement::isShapeEdited(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, myEditModes, myEditNetworkElementShapes, myLastClickedPosition, myLockManager, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myNet, myNetworkViewOptions, myObjectsUnderCursor, mySelectingArea, myUndoList, myViewParent, GUISUMOAbstractView::myVisualizationSettings, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNETAZFrame::processClick(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), processClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEMoveElement::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEViewNetHelper::MoveMultipleElementValues::resetMovingSelectedEdge(), GNESelectorFrame::selectAttributeCarrier(), GNEViewNetHelper::NetworkViewOptions::selectEdges(), GNEInspectorFrame::NeteditAttributesEditor::setNewParent(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GUIVisualizationSettings::showGrid, GUISUMOAbstractView::snapToActiveGrid(), GNENet::splitEdge(), GNENet::splitEdgesBidi(), GNEViewNetHelper::ObjectsUnderCursor::swapLane2Edge(), GNECreateEdgeFrame::updateObjectsUnderSnappedCursor(), updateViewNet(), and WRITE_WARNING.
Referenced by onLeftBtnPress().
|
private |
process left button release function in Supermode Data
Definition at line 5915 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 Demand
Definition at line 5789 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 5589 of file GNEViewNet.cpp.
References GNEViewNetHelper::MoveMultipleElementValues::finishMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::finishMoveSingleElement(), GNEViewNetHelper::SelectingArea::finishRectangleSelection(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNEViewParent::getTAZFrame(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection(), GUISUMOAbstractView::makeCurrent(), myEditModes, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myObjectsUnderCursor, mySelectingArea, myViewParent, NETWORK_SELECT, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, GNEViewNetHelper::SelectingArea::processEdgeRectangleSelection(), GNETAZFrame::processEdgeSelection(), GNEViewNetHelper::SelectingArea::processRectangleSelection(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEViewNetHelper::SelectingArea::startDrawing, GNEAttributeCarrier::unselectAttributeCarrier(), and GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor().
Referenced by onLeftBtnRelease().
|
private |
process move mouse function in Supermode Data
Definition at line 5934 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 Demand
Definition at line 5808 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 5630 of file GNEViewNet.cpp.
References GNEShapeFrame::getDrawingShapeModule(), GNETAZFrame::getDrawingShapeModule(), GNEViewParent::getShapeFrame(), GNEViewParent::getTAZFrame(), GNEDrawingShape::isDrawing(), GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection(), GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveMultipleElementValues::moveSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), myEditModes, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, mySelectingArea, myViewParent, NETWORK_SHAPE, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEDrawingShape::setDeleteLastCreatedPoint(), and GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed().
Referenced by onMouseMove().
|
virtual |
recalculate boundaries
Implements GUISUMOAbstractView.
Definition at line 288 of file GNEViewNet.cpp.
References SUMORTree::addAdditionalGLObject(), GNENet::getAttributeCarriers(), GNENet::getGrid(), GUISUMOAbstractView::getObjectsInBoundary(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isPlacedInRTree(), GUISUMOAbstractView::makeCurrent(), myNet, GUISUMOAbstractView::myVisualizationSettings, SUMORTree::removeAdditionalGLObject(), and GNENetHelper::AttributeCarriers::retrieveAttributeCarrier().
|
virtualinherited |
recenters the view
Definition at line 889 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 1613 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myViewportChooser.
Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().
|
inherited |
remove view settings
Definition at line 1619 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 remove |
Definition at line 1832 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIVehicle::drawOutsideNetwork(), GUIBaseVehicle::removeActiveAddVisualisation(), and GUIPerson::removeActiveAddVisualisation().
void GNEViewNet::removeFromAttributeCarrierInspected | ( | const GNEAttributeCarrier * | AC | ) |
remove given AC of list of inspected Attribute Carriers
Definition at line 1649 of file GNEViewNet.cpp.
References GNEViewParent::getInspectorFrame(), GNEInspectorFrame::inspectMultisection(), myInspectedAttributeCarriers, and myViewParent.
Referenced by GNEJunction::clearWalkingAreas(), GNEJunction::rebuildGNECrossings(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), and GNEEdge::removeLane().
|
private |
remove restricted lane
Definition at line 2979 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNENetHelper::AttributeCarriers::getSelectedEdges(), GNENetHelper::AttributeCarriers::getSelectedLanes(), LANE, myNet, myUndoList, GNENet::removeRestrictedLane(), GNENetHelper::AttributeCarriers::retrieveEdge(), toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
inherited |
replace PopUp
Definition at line 1001 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myPopup, and GUIPerspectiveChanger::onRightBtnRelease().
Referenced by GUICursorDialog::onCmdOpenPropertiesPopUp().
void GNEViewNet::resetLastClickedPosition | ( | ) |
reset last clicked position
Definition at line 774 of file GNEViewNet.cpp.
References Position::INVALID, and myLastClickedPosition.
Referenced by GNEStopFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().
|
private |
restrict lane
Definition at line 2813 of file GNEViewNet.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getLaneAtPopupPosition(), GNENetHelper::AttributeCarriers::getSelectedLanes(), LANE, myNet, myUndoList, GNENet::restrictLane(), GNENetHelper::AttributeCarriers::retrieveEdge(), toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
inlinevirtualinherited |
retrieve breakpoints if provided by the application
Reimplemented in GUIViewTraffic.
Definition at line 417 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::onCmdExportSetting().
|
virtualinherited |
Adds a frame to a video snapshot which will be initialized if necessary.
Reimplemented in GUIViewTraffic.
Definition at line 1472 of file GUISUMOAbstractView.cpp.
References UNUSED_PARAMETER.
Referenced by GUISUMOAbstractView::makeSnapshot().
void GNEViewNet::saveVisualizationSettings | ( | ) | const |
Definition at line 604 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 225 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().
bool GNEViewNet::selectingDetectorsTLSMode | ( | ) | const |
check if we're selecting detectors in TLS mode
Definition at line 874 of file GNEViewNet.cpp.
References GNETLSEditorFrame::getTLSAttributes(), GNEViewParent::getTLSEditorFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETLSEditorFrame::TLSAttributes::isSetDetectorsToggleButtonEnabled(), myEditModes, myViewParent, NETWORK_TLS, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEMultiEntryExitDetector::drawGL(), GNEInternalLane::drawGL(), GNELaneAreaDetector::drawPartialGL(), and drawTemporalE1TLSLines().
bool GNEViewNet::selectingJunctionsTLSMode | ( | ) | const |
check if we're selecting junctions in TLS mode
Definition at line 883 of file GNEViewNet.cpp.
References GNEViewParent::getTLSEditorFrame(), GNETLSEditorFrame::getTLSJunction(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETLSEditorFrame::TLSJunction::isJoiningJunctions(), myEditModes, myViewParent, NETWORK_TLS, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by drawTemporalJunctionTLSLines().
|
inherited |
Sets the breakpoints of the parent application.
Definition at line 1904 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 485 of file GNEViewNet.cpp.
References GUICompleteSchemeStorage::contains(), GUICompleteSchemeStorage::get(), GUIDialog_ViewSettings::getCurrentScheme(), gSchemeStorage, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrentScheme(), and updateViewNet().
|
inherited |
Sets the delay of the parent application.
Definition at line 1898 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setDelay().
Referenced by GUIDialog_ViewSettings::loadSettings().
void GNEViewNet::setFrontAttributeCarrier | ( | GNEAttributeCarrier * | AC | ) |
set front attributeCarrier
Definition at line 1666 of file GNEViewNet.cpp.
References myFrontAttributeCarrier, and updateViewNet().
Referenced by GNEAdditional::markAsFrontElement(), GNEDemandElement::markAsFrontElement(), GNENetworkElement::markAsFrontElement(), and GNEApplicationWindow::onCmdSetFrontElement().
void GNEViewNet::setInspectedAttributeCarriers | ( | const std::vector< GNEAttributeCarrier * > | ACs | ) |
set inspected attributeCarrier
Definition at line 1627 of file GNEViewNet.cpp.
References myInspectedAttributeCarriers.
Referenced by GNETypeFrame::attributesEditorExtendedDialogOpened(), GNEInspectorFrame::clearInspectedAC(), GNEInspectorFrame::hide(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), and GNETypeFrame::show().
void GNEViewNet::setLastCreatedRoute | ( | GNEDemandElement * | lastCreatedRoute | ) |
set last created route
Definition at line 1754 of file GNEViewNet.cpp.
References myLastCreatedRoute.
Referenced by GNERouteFrame::createPath().
void GNEViewNet::setSelectorFrameScale | ( | double | selectionScale | ) |
set selection scaling (in GNESelectorFrame)
Definition at line 790 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myVisualizationSettings, and GUIVisualizationSettings::selectorFrameScale.
void GNEViewNet::setStatusBarText | ( | const std::string & | text | ) |
set statusBar text
Definition at line 768 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setStatusBarText().
Referenced by GNEAdditionalFrame::addAdditional(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEConnectorFrame::buildConnection(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildPersonPlan(), GNEVehicleFrame::buildVehicleOverRoute(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNENeteditAttributes::getNeteditAttributesAndValues(), hotkeyDel(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), and GNEAttributesCreator::showWarningMessage().
|
virtualinherited |
applies the given viewport settings
Definition at line 1578 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(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
Returns the gl-id of the object under the given coordinates.
Definition at line 939 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 802 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, myEditModes, myNetworkViewOptions, NETWORK_MOVE, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNEJunction::drawGL().
|
protectedinherited |
invokes the tooltip for the given object
Definition at line 579 of file GUISUMOAbstractView.cpp.
References GUIGlObjectStorage::getObjectBlocking(), GUIGlChildWindow::getParent(), GUIMainWindow::getStaticTooltipView(), GUIGlObjectStorage::gIDStorage, MFXStaticToolTip::hideStaticToolTip(), GUIGlObject::INVALID_ID, GUISUMOAbstractView::myParent, and MFXStaticToolTip::showStaticToolTip().
Referenced by GUISUMOAbstractView::paintGL().
|
virtualinherited |
show viewport editor
Definition at line 1569 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUISUMOAbstractView::getViewportEditor(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), Position::INVALID, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, GUIDialog_EditViewport::setOldValues(), and GUIDialog_EditViewport::show().
Referenced by GNEApplicationWindow::onCmdEditViewport(), and GUIGlChildWindow::onCmdEditViewport().
|
inherited |
show viewsscheme editor
Definition at line 1527 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrent(), and GUIDialog_ViewSettings::show().
Referenced by GNEApplicationWindow::onCmdEditViewScheme(), and GUIGlChildWindow::onCmdEditViewScheme().
|
inherited |
Returns a position that is mapped to the closest grid point if the grid is active.
note: formats are pos(x,y,0) por pos(0,0,z)
Definition at line 206 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 GNEConsecutiveSelector::addLane(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEWireFrame::buildWireOverView(), GNEMoveElement::calculateLaneOffset(), GNEMoveElement::commitMove(), drawTemporalDrawingShape(), drawTemporalJunction(), drawTemporalSplitJunction(), GNEEdge::editEndpoint(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEEdge::getSplitPos(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEMoveElement::moveElement(), GNECreateEdgeFrame::processClick(), and processLeftButtonPressNetwork().
|
virtualinherited |
star track
Reimplemented in GUIViewTraffic.
Definition at line 1637 of file GUISUMOAbstractView.cpp.
Referenced by GUIDialog_ChooserAbstract::onCmdTrack(), and GUISUMOAbstractView::onLeftBtnPress().
|
virtualinherited |
stop track
Reimplemented in GUIViewTraffic.
Definition at line 1642 of file GUISUMOAbstractView.cpp.
Referenced by GUIDialog_ChooserAbstract::onCmdCenter(), and GUISUMOViewParent::onUpdSpeedFactor().
void GNEViewNet::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 4975 of file GNEViewNet.cpp.
References DATA_INSPECT, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_INSPECT, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_STOP, DEMAND_TYPE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getInspectorFrame(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getStopFrame(), GNEViewParent::getTypeFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEViewNetHelper::IntervalBar::markForUpdate(), myEditModes, myIntervalBar, myViewParent, NETWORK_INSPECT, GNEViewNetHelper::EditModes::networkEditMode, GNEContainerFrame::show(), GNEContainerPlanFrame::show(), GNEPersonFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNETypeFrame::show(), GNEVehicleFrame::show(), and updateViewNet().
Referenced by GNEApplicationWindow::updateControls().
|
private |
update cursor after every click/key press/release
Definition at line 3071 of file GNEViewNet.cpp.
References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DATA_DELETE, DATA_INSPECT, DATA_SELECT, GNEViewNetHelper::EditModes::dataEditMode, DEFAULT, DELETE_CURSOR, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GUICursorSubSys::getCursor(), INSPECT, INSPECT_LANE, GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), MOVEELEMENT, MOVEVIEW, myEditModes, myMouseButtonKeyPressed, myNetworkViewOptions, GUISUMOAbstractView::myPanning, NETWORK_ADDITIONAL, NETWORK_CREATE_EDGE, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, SELECT, SELECT_LANE, GNEViewNetHelper::NetworkViewOptions::selectEdges(), and GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed().
Referenced by onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), onRightBtnPress(), and onRightBtnRelease().
|
private |
updates Data mode specific controls
Definition at line 4747 of file GNEViewNet.cpp.
References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::edgeDataButton, GNEViewNetHelper::DataCheckableButtons::edgeRelDataButton, GNEFrame::focusUpperElement(), GNEViewParent::getDeleteFrame(), GNEViewParent::getEdgeDataFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEApplicationWindow::getEditMenuCommands(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTAZRelDataFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::hideAllFrames(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, GNEViewNetHelper::DataViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZDrawFill, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelDrawing, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyFrom, GNEViewNetHelper::DataViewOptions::menuCheckToggleTAZRelOnlyTo, GNEApplicationWindowHelper::ToolbarsGrip::modes, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNESelectorFrame::show(), GNEGenericDataFrame::show(), GNEViewNetHelper::IntervalBar::showIntervalBar(), GNEViewNetHelper::DataCheckableButtons::TAZRelDataButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::updateDataCheckableButtons(), and updateViewNet().
|
private |
updates Demand mode specific controls
Definition at line 4589 of file GNEViewNet.cpp.
References GNEViewNetHelper::DemandCheckableButtons::containerButton, GNEViewNetHelper::DemandCheckableButtons::containerPlanButton, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEViewNetHelper::CommonCheckableButtons::deleteButton, DEMAND_CONTAINER, DEMAND_CONTAINERPLAN, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_TYPE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::disableDemandCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getContainerFrame(), GNEViewParent::getContainerPlanFrame(), GNEViewParent::getDeleteFrame(), GNEApplicationWindow::getEditMenuCommands(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::getTypeFrame(), GNEViewParent::getVehicleFrame(), GNEViewParent::hideAllFrames(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockContainer, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllContainerPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, GNEViewNetHelper::DemandViewOptions::menuCheckShowOverlappedRoutes, GNEViewNetHelper::DemandViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::DemandViewOptions::menuCheckToggleGrid, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::DemandCheckableButtons::moveDemandElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::DemandCheckableButtons::personButton, GNEViewNetHelper::DemandCheckableButtons::personPlanButton, GNEViewNetHelper::DemandCheckableButtons::routeButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerFrame::show(), GNEContainerPlanFrame::show(), GNEPersonFrame::show(), GNEPersonPlanFrame::show(), GNERouteFrame::show(), GNEStopFrame::show(), GNETypeFrame::show(), GNEVehicleFrame::show(), GNEViewNetHelper::DemandCheckableButtons::stopButton, GNEViewNetHelper::DemandCheckableButtons::typeButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::updateDemandCheckableButtons(), updateViewNet(), and GNEViewNetHelper::DemandCheckableButtons::vehicleButton.
|
private |
updates Network mode specific controls
Definition at line 4395 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkCheckableButtons::additionalButton, GNEViewNetHelper::NetworkCheckableButtons::connectionButton, GNEViewNetHelper::NetworkCheckableButtons::createEdgeButton, GNEViewNetHelper::NetworkCheckableButtons::crossingButton, GNEApplicationWindowHelper::EditMenuCommands::dataViewOptions, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEApplicationWindowHelper::EditMenuCommands::demandViewOptions, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::NetworkCheckableButtons::disableNetworkCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getAdditionalFrame(), GNEViewParent::getConnectorFrame(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDeleteFrame(), GNEApplicationWindow::getEditMenuCommands(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getShapeFrame(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::getWireFrame(), GNEViewParent::hideAllFrames(), GNEApplicationWindowHelper::EditMenuCommands::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEApplicationWindowHelper::EditMenuCommands::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEApplicationWindowHelper::EditMenuCommands::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckShowAdditionalSubElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::NetworkViewOptions::menuCheckShowTAZElements, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleDrawJunctionShape, GNEViewNetHelper::NetworkViewOptions::menuCheckToggleGrid, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::NetworkCheckableButtons::moveNetworkElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myLockManager, myNetworkCheckableButtons, myNetworkViewOptions, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_SHAPE, NETWORK_TAZ, NETWORK_TLS, NETWORK_WIRE, GNEViewNetHelper::EditModes::networkEditMode, GNEApplicationWindowHelper::EditMenuCommands::networkViewOptions, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::NetworkCheckableButtons::prohibitionButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEViewNetHelper::NetworkCheckableButtons::shapeButton, GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNECreateEdgeFrame::show(), GNEProhibitionFrame::show(), GNEShapeFrame::show(), GNETLSEditorFrame::show(), GNEWireFrame::show(), GNEViewNetHelper::NetworkCheckableButtons::TAZButton, GNEViewNetHelper::NetworkCheckableButtons::trafficLightButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::LockManager::updateLockMenuBar(), GNEViewNetHelper::NetworkCheckableButtons::updateNetworkCheckableButtons(), updateViewNet(), and GNEViewNetHelper::NetworkCheckableButtons::wireButton.
|
protectedvirtualinherited |
update position information labels
Definition at line 246 of file GUISUMOAbstractView.cpp.
References GeoConvHelper::cartesian2geo(), GUIMainWindow::getCartesianLabel(), GeoConvHelper::getFinal(), GUIMainWindow::getGeoLabel(), GUISUMOAbstractView::getPositionInformation(), GUIMainWindow::getTestLabel(), GUISUMOAbstractView::getWindowCursorPosition(), 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 192 of file GUISUMOAbstractView.cpp.
References GUIGlChildWindow::getParent(), GUIMainWindow::getStaticTooltipView(), MFXStaticToolTip::isStaticToolTipEnabled(), and GUISUMOAbstractView::myParent.
Referenced by GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIDanielPerspectiveChanger::onMouseWheel().
void GNEViewNet::updateViewNet | ( | ) | const |
Mark the entire GNEViewNet to be repainted later.
Definition at line 414 of file GNEViewNet.cpp.
Referenced by abortOperation(), GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNECrossingFrame::addCrossing(), GNERouteFrame::addEdgeRoute(), GNEUndoList::end(), hotkeyDel(), GNEElementTree::onCmdCenterItem(), onCmdClearConnections(), onCmdClosePolygon(), onCmdConvertRoundabout(), onCmdDeleteGeometryPoint(), GNEElementTree::onCmdDeleteItem(), onCmdEgeApplyTemplate(), onCmdLaneReachability(), onCmdOpenPolygon(), onCmdReplaceJunction(), onCmdResetConnections(), GNEApplicationWindow::onCmdSaveNetwork(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetFirstGeometryPoint(), onCmdSimplifyShape(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleMoveElevation(), onCmdToggleShowAdditionals(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowShapes(), onCmdToggleShowTAZElements(), onCmdToggleShowTrips(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), onCmdToggleWarnAboutMerge(), onCmdTransformPOI(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMiddleBtnPress(), onMiddleBtnRelease(), onMouseMove(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNENet::saveAdditionals(), GNENet::saveDemandElements(), GNEInspectorFrame::selectedOverlappedElement(), setColorScheme(), setFrontAttributeCarrier(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and updateNetworkModeSpecificControls().
|
virtualinherited |
update the viewport chooser with the current view values
Definition at line 1561 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setValues().
Referenced by GUISUMOAbstractView::getViewportEditor().
|
inherited |
Definition at line 1512 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshotCondition, GUISUMOAbstractView::mySnapshots, and GUISUMOAbstractView::mySnapshotsMutex.
|
virtualinherited |
zoom interface for 3D view
Definition at line 288 of file GUISUMOAbstractView.cpp.
Referenced by GUIDialog_EditViewport::onCmdChanged().
|
friend |
FOX-declaration.
declare GNEViewNetHelper as friend struct
Definition at line 48 of file GNEViewNet.h.
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 572 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 539 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onPaint(), openObjectDialogAtCursor(), and GUISUMOAbstractView::openObjectDialogAtCursor().
|
protectedinherited |
The application.
Definition at line 503 of file GUISUMOAbstractView.h.
Referenced by aksChangeSupermode(), GUIViewTraffic::buildViewToolBars(), doPaintGL(), GUISUMOAbstractView::getDelay(), GUISUMOAbstractView::getMainWindow(), GUISUMOAbstractView::getObjectsInBoundary(), GUIViewTraffic::onDoubleClicked(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::openPopupDialog(), GUIViewTraffic::retrieveBreakpoints(), GUIViewTraffic::saveFrame(), GUISUMOAbstractView::setBreakpoints(), GUIViewTraffic::setColorScheme(), GUISUMOAbstractView::setDelay(), setStatusBarText(), and GUISUMOAbstractView::updatePositionInformationLabel().
|
protectedinherited |
The perspective changer.
Definition at line 512 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::copyViewportTo(), GUISUMOAbstractView::getChanger(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisibleBoundary(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::onKeyRelease(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMiddleBtnPress(), GUISUMOAbstractView::onMiddleBtnRelease(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), GUISUMOAbstractView::openPopupDialog(), GUISUMOAbstractView::p2m(), GUISUMOAbstractView::paintGLGrid(), processClick(), GUISUMOAbstractView::recenterView(), GUISUMOAbstractView::replacePopup(), saveVisualizationSettings(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::setViewportFromToRot(), GUISUMOAbstractView::showViewportEditor(), GUISUMOAbstractView::updateViewportValues(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
clicked poup position
Definition at line 527 of file GUISUMOAbstractView.h.
Referenced by openDeleteDialogAtCursor(), openObjectDialogAtCursor(), and openSelectDialogAtCursor().
|
private |
variable used to save checkable buttons for common supermodes
Definition at line 594 of file GNEViewNet.h.
Referenced by buildEditModeControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
flag for mark if during this frame a popup was created (needed to avoid problems in linux with CursorDialogs)
Definition at line 684 of file GNEViewNet.h.
Referenced by onLeftBtnRelease(), openDeleteDialogAtCursor(), and openSelectDialogAtCursor().
|
private |
the current frame
Definition at line 660 of file GNEViewNet.h.
Referenced by hotkeyFocusFrame(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
vector with current objects dialog
Definition at line 533 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), drawTemporalRoundabout(), and GUISUMOAbstractView::openObjectDialog().
|
private |
variable used to save checkable buttons for Supermode Data
Definition at line 603 of file GNEViewNet.h.
Referenced by buildEditModeControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save variables related with view options in supermode Data
Definition at line 616 of file GNEViewNet.h.
Referenced by buildEditModeControls(), getDataViewOptions(), onCmdToggleDrawJunctionShape(), onCmdToggleShowAdditionals(), onCmdToggleShowDemandElementsData(), onCmdToggleShowShapes(), onCmdToggleTAZDrawFill(), onCmdToggleTAZRelDrawing(), onCmdToggleTAZRelOnlyFrom(), onCmdToggleTAZRelOnlyTo(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
Definition at line 553 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 556 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::showViewschemeEditor().
|
private |
variable used to save checkable buttons for Supermode Demand
Definition at line 600 of file GNEViewNet.h.
Referenced by buildEditModeControls(), and updateDemandModeSpecificControls().
|
private |
variable used to save variables related with view options in supermode Demand
Definition at line 613 of file GNEViewNet.h.
Referenced by buildEditModeControls(), doPaintGL(), getDemandViewOptions(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleHideNonInspecteDemandElements(), onCmdToggleHideShapes(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), onCmdToggleShowAllContainerPlans(), onCmdToggleShowAllPersonPlans(), onCmdToggleShowGrid(), onCmdToggleShowOverlappedRoutes(), onCmdToggleShowTrips(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
draw preview roundabout
Definition at line 675 of file GNEViewNet.h.
Referenced by drawTemporalRoundabout(), onEnterConvertRoundabout(), and onLeaveConvertRoundabout().
|
private |
variable used to save variables related with edit moves modes
Definition at line 574 of file GNEViewNet.h.
Referenced by abortOperation(), aksChangeSupermode(), buildEditModeControls(), doPaintGL(), drawDeleteContour(), drawSelectContour(), drawTemporalJunction(), drawTemporalSplitJunction(), forceSupermodeNetwork(), getEditModes(), hotkeyBackSpace(), hotkeyDel(), hotkeyEnter(), onCmdAddJoinTLS(), onCmdAddTLS(), onCmdSetMode(), onCmdSetSupermode(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), selectingDetectorsTLSMode(), selectingJunctionsTLSMode(), showJunctionAsBubbles(), updateControls(), updateCursor(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
struct for grouping all variables related with edit shapes
Definition at line 648 of file GNEViewNet.h.
Referenced by abortOperation(), getEditNetworkElementShapes(), hotkeyEnter(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdEditLaneShape(), onCmdEditWalkingAreaShape(), and processLeftButtonPressNetwork().
|
protectedinherited |
counter for measuring rendering time
Definition at line 575 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getFPS(), and GUISUMOAbstractView::paintGL().
|
private |
front attribute carrier
Definition at line 669 of file GNEViewNet.h.
Referenced by doPaintGL(), drawTranslateFrontAttributeCarrier(), getFrontAttributeCarrier(), onCmdClearConnections(), onCmdResetConnections(), and setFrontAttributeCarrier().
|
protectedinherited |
The visualization speed-up.
Definition at line 509 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 518 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::isInEditMode().
|
private |
current inspected attribute carrier
Definition at line 666 of file GNEViewNet.h.
Referenced by doPaintGL(), getInspectedAttributeCarriers(), hotkeyDel(), isAttributeCarrierInspected(), onCmdClearConnections(), onCmdResetConnections(), onCmdToggleLockContainer(), onCmdToggleLockPerson(), openObjectDialogAtCursor(), removeFromAttributeCarrierInspected(), and setInspectedAttributeCarriers().
|
private |
variable used to save IntervalBar
Definition at line 620 of file GNEViewNet.h.
Referenced by buildEditModeControls(), doPaintGL(), getIntervalBar(), onCmdIntervalBarDataSet(), onCmdIntervalBarGenericDataType(), onCmdIntervalBarLimit(), onCmdIntervalBarSetBegin(), onCmdIntervalBarSetEnd(), onCmdIntervalBarSetParameter(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
last clicked position
Definition at line 678 of file GNEViewNet.h.
Referenced by processLeftButtonPressDemand(), processLeftButtonPressNetwork(), and resetLastClickedPosition().
|
private |
last created route
Definition at line 672 of file GNEViewNet.h.
Referenced by getLastCreatedRoute(), and setLastCreatedRoute().
|
private |
lock manager
Definition at line 651 of file GNEViewNet.h.
Referenced by autoSelectNodes(), drawDeleteContour(), drawSelectContour(), getAttributeCarriersInBoundary(), getLockManager(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), and updateNetworkModeSpecificControls().
|
private |
variable used to save key status after certain events
Definition at line 584 of file GNEViewNet.h.
Referenced by drawTemporalJunction(), drawTemporalSplitJunction(), getMouseButtonKeyPressed(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), openObjectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), and updateCursor().
|
protectedinherited |
Offset to the mouse-hotspot from the mouse position.
Definition at line 521 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 521 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
private |
variable used to save variables related with movement of multiple elements
Definition at line 628 of file GNEViewNet.h.
Referenced by getMoveMultipleElementValues(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), and processMoveMouseNetwork().
|
private |
Definition at line 625 of file GNEViewNet.h.
Referenced by processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), processMoveMouseData(), processMoveMouseDemand(), and processMoveMouseNetwork().
|
private |
Pointer to current net. (We are not responsible for deletion)
Definition at line 657 of file GNEViewNet.h.
Referenced by addRestrictedLane(), buildColorRainbow(), deleteDataAttributeCarriers(), deleteDemandAttributeCarriers(), deleteNetworkAttributeCarriers(), doPaintGL(), drawDeleteDottedContour(), drawSelectDottedContour(), drawTemporalE1TLSLines(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), getAttributeCarriersInBoundary(), getEdgeDataAttrs(), getEdgeLaneParamKeys(), getNet(), getRelDataAttrs(), hotkeyDel(), mergeJunctions(), onCmdAddJoinTLS(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddTLS(), onCmdClearConnections(), onCmdClosePolygon(), onCmdConvertRoundabout(), onCmdDuplicateLane(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdEditWalkingAreaShape(), onCmdLaneReachability(), onCmdOpenPolygon(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSimplifyShape(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdToggleDrawSpreadVehicles(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onCmdTransformPOI(), openObjectDialogAtCursor(), processLeftButtonPressNetwork(), recalculateBoundaries(), removeRestrictedLane(), and restrictLane().
|
private |
variable used to save checkable buttons for Supermode Network
Definition at line 597 of file GNEViewNet.h.
Referenced by buildEditModeControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save variables related with view options in supermode Network
Definition at line 610 of file GNEViewNet.h.
Referenced by autoSelectNodes(), buildEditModeControls(), changeAllPhases(), doPaintGL(), drawTemporalJunction(), getAttributeCarriersInBoundary(), getNetworkViewOptions(), mergeJunctions(), onCmdSelectPolygonElements(), onCmdToggleAutoOppositeEdge(), onCmdToggleChainEdges(), onCmdToggleChangeAllPhases(), onCmdToggleDrawJunctionShape(), onCmdToggleDrawSpreadVehicles(), onCmdToggleExtendSelection(), onCmdToggleHideConnections(), onCmdToggleMoveElevation(), onCmdToggleSelectEdges(), onCmdToggleShowAdditionalSubElements(), onCmdToggleShowConnections(), onCmdToggleShowDemandElementsNetwork(), onCmdToggleShowGrid(), onCmdToggleShowJunctionBubbles(), onCmdToggleShowTAZElements(), onCmdToggleWarnAboutMerge(), processLeftButtonPressNetwork(), showJunctionAsBubbles(), updateCursor(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable use to save all pointers to objects under cursor after a click
Definition at line 587 of file GNEViewNet.h.
Referenced by getObjectsUnderCursor(), onLeftBtnPress(), onLeftBtnRelease(), openObjectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), and processLeftButtonReleaseNetwork().
|
protectedinherited |
Panning flag.
Definition at line 515 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::onMiddleBtnPress(), GUISUMOAbstractView::onMiddleBtnRelease(), and updateCursor().
|
protectedinherited |
The parent window.
Definition at line 506 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getColoringSchemesCombo(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updateToolTip().
|
mutableprotectedinherited |
poly draw lock
Definition at line 569 of file GUISUMOAbstractView.h.
|
protectedinherited |
The current popup-menu.
Definition at line 524 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::onKeyRelease(), GUISUMOAbstractView::onMouseMove(), openDeleteDialogAtCursor(), GUISUMOAbstractView::openObjectDialog(), openObjectDialogAtCursor(), GUISUMOAbstractView::openPopupDialog(), openSelectDialogAtCursor(), GUISUMOAbstractView::replacePopup(), and GUISUMOAbstractView::~GUISUMOAbstractView().
The current popup-menu position.
Definition at line 530 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPopupPosition(), GUISUMOAbstractView::onMouseMove(), and GUISUMOAbstractView::openPopupDialog().
|
private |
flag for post-drawing (used for dotted contours)
Definition at line 681 of file GNEViewNet.h.
Referenced by doPaintGL(), drawDeleteContour(), and drawSelectContour().
|
private |
variable used to save elements
Definition at line 642 of file GNEViewNet.h.
Referenced by buildEditModeControls().
|
private |
variable used to save variables related with selecting areas
Definition at line 645 of file GNEViewNet.h.
Referenced by abortOperation(), doPaintGL(), onKeyRelease(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), processMoveMouseData(), processMoveMouseDemand(), and processMoveMouseNetwork().
|
protectedinherited |
the semaphore when waiting for snapshots to finish
Definition at line 566 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::waitForSnapshots().
|
protectedinherited |
Snapshots.
Definition at line 560 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 563 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 577 of file GNEViewNet.h.
Referenced by doPaintGL(), and getTestingMode().
|
private |
a reference to the undolist maintained in the application
Definition at line 663 of file GNEViewNet.h.
Referenced by abortOperation(), addRestrictedLane(), deleteDataAttributeCarriers(), deleteDemandAttributeCarriers(), deleteNetworkAttributeCarriers(), getUndoList(), hotkeyDel(), mergeJunctions(), onCmdAddJoinTLS(), onCmdAddReversedEdge(), onCmdAddReversedEdgeDisconnected(), onCmdAddTLS(), onCmdClearConnections(), onCmdConvertRoundabout(), onCmdDuplicateLane(), onCmdEditEdgeEndpoint(), onCmdEgeApplyTemplate(), onCmdLaneReachability(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetEdgeEndPoints(), onCmdResetEndPoints(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdResetOppositeLane(), onCmdReverseEdge(), onCmdSelectPolygonElements(), onCmdSelectRoundabout(), onCmdSetCustomGeometryPoint(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdTransformPOI(), processLeftButtonPressNetwork(), removeRestrictedLane(), and restrictLane().
|
private |
variable used to save variables related with vehicle options
Definition at line 635 of file GNEViewNet.h.
|
private |
variable used to save variables related with vehicle type options
Definition at line 638 of file GNEViewNet.h.
|
private |
view parent
Definition at line 654 of file GNEViewNet.h.
Referenced by abortOperation(), buildEditModeControls(), buildViewToolBars(), doPaintGL(), drawTemporalDrawingShape(), drawTemporalE1TLSLines(), drawTemporalJunction(), drawTemporalJunctionTLSLines(), getViewParent(), hotkeyBackSpace(), hotkeyEnter(), onCmdAddJoinTLS(), onCmdAddTLS(), onCmdClearConnections(), onCmdEdgeUseAsTemplate(), onCmdEgeApplyTemplate(), onCmdResetConnections(), onCmdToggleShowDemandElementsData(), onCmdToggleShowDemandElementsNetwork(), onKeyPress(), onKeyRelease(), onRightBtnPress(), onRightBtnRelease(), openObjectDialogAtCursor(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), removeFromAttributeCarrierInspected(), selectingDetectorsTLSMode(), selectingJunctionsTLSMode(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
viewport chooser
Definition at line 542 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::remove(), GUISUMOAbstractView::showViewportEditor(), GUISUMOAbstractView::updateViewportValues(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Visualization changer.
Definition at line 548 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::remove(), GUIViewTraffic::setColorScheme(), setColorScheme(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
visualization settings
Definition at line 536 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUIViewTraffic::buildViewToolBars(), buildViewToolBars(), GUISUMOAbstractView::displayLegends(), GUIViewTraffic::doPaintGL(), doPaintGL(), drawDeleteDottedContour(), drawSelectDottedContour(), drawTemporalE1TLSLines(), drawTemporalJunction(), drawTemporalJunctionTLSLines(), drawTemporalRoundabout(), drawTemporalSplitJunction(), GUISUMOAbstractView::editVisualisationSettings(), GUISUMOAbstractView::filterInernalLanes(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::makeSnapshot(), GUIViewTraffic::onCmdShowReachability(), onCmdToggleDrawJunctionShape(), onCmdToggleShowConnections(), onCmdToggleShowGrid(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::paintGLGrid(), processLeftButtonPressNetwork(), recalculateBoundaries(), saveVisualizationSettings(), GUIViewTraffic::setColorScheme(), setColorScheme(), setSelectorFrameScale(), GUISUMOAbstractView::showViewschemeEditor(), GUISUMOAbstractView::snapToActiveGrid(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Position of the cursor relative to the window.
Definition at line 545 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::getWindowCursorPosition(), and GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 545 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::getWindowCursorPosition(), and GUISUMOAbstractView::setWindowCursorPosition().
|
staticprivateinherited |
Definition at line 579 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getObjectsUnderCursor().