![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEViewNet.h>
Public Member Functions | |
void | abortOperation (bool clearSelection=true) |
abort current edition operation More... | |
void | addDecals (const std::vector< Decal > &decals) |
add decals More... | |
bool | autoSelectNodes () |
whether to autoselect nodes or to lanes More... | |
void | buildColorRainbow (const GUIVisualizationSettings &s, GUIColorScheme &scheme, int active, GUIGlObjectType objectType, bool hide=false, double hideThreshold=0.) |
recalibrate color scheme according to the current value range More... | |
void | buildSelectionACPopupEntry (GUIGLObjectPopupMenu *ret, GNEAttributeCarrier *AC) |
Builds an entry which allows to (de)select the object. More... | |
void | buildViewToolBars (GUIGlChildWindow *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 () |
destoys the popup More... | |
void | drawTranslateFrontAttributeCarrier (const GNEAttributeCarrier *AC, GUIGlObjectType objectType, const double extraOffset=0) |
draw front attributeCarrier 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 modul 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... | |
const GNEViewNetHelper::MouseButtonKeyPressed & | getMouseButtonKeyPressed () const |
get Key Pressed modul More... | |
GNENet * | getNet () const |
get the net object More... | |
const GNEViewNetHelper::NetworkViewOptions & | getNetworkViewOptions () const |
get network view options More... | |
const 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... | |
Position | getPositionInformation () const |
Returns the cursor's x/y position within the network. More... | |
const GNEViewNetHelper::TestingMode & | getTestingMode () const |
get testing mode More... | |
virtual GUIGlID | getTrackedID () const |
get tracked id More... | |
GNEUndoList * | getUndoList () const |
get the undoList object More... | |
virtual std::vector< std::string > | getVehicleParamKeys (bool) const |
return list of available vehicle parameters More... | |
GNEViewParent * | getViewParent () const |
get the net object More... | |
GUIDialog_EditViewport * | getViewportEditor () |
get the viewport and create it on first access More... | |
Boundary | getVisibleBoundary () const |
get visible boundary More... | |
GUIVisualizationSettings & | getVisualisationSettings () const |
get visualization settings More... | |
Position | getWindowCursorPosition () const |
Returns the information whether rotation is allowd. More... | |
GNEViewNet (FXComposite *tmpParent, FXComposite *actualParent, GUIMainWindow &app, GNEViewParent *viewParent, GNENet *net, GNEUndoList *undoList, FXGLVisual *glVis, FXGLCanvas *share) | |
void | hotkeyBackSpace () |
handle backspace keypress More... | |
void | hotkeyDel () |
handle del keypress More... | |
void | hotkeyEnter () |
handle enter keypress More... | |
void | hotkeyFocusFrame () |
handle focus frame keypress More... | |
bool | 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 | onCmdAddReversedEdge (FXObject *, FXSelector, void *) |
add reversed edge More... | |
long | onCmdAddSelected (FXObject *, FXSelector, void *) |
select AC under cursor More... | |
long | onCmdClearConnections (FXObject *, FXSelector, void *) |
clear junction connections More... | |
long | onCmdClosePolygon (FXObject *, FXSelector, void *) |
close opened polygon More... | |
long | 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 | onCmdEditConnectionShape (FXObject *, FXSelector, void *) |
edit connection shape More... | |
long | onCmdEditCrossingShape (FXObject *, FXSelector, void *) |
edit crossing shape More... | |
long | onCmdEditEdgeEndpoint (FXObject *, FXSelector, void *) |
change geometry endpoint More... | |
long | onCmdEditJunctionShape (FXObject *, FXSelector, void *) |
edit junction shape More... | |
long | onCmdLaneOperation (FXObject *, FXSelector sel, void *) |
add/remove/restrict lane More... | |
long | 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 | onCmdRemoveSelected (FXObject *, FXSelector, void *) |
unselect AC under cursor More... | |
long | onCmdReplaceJunction (FXObject *, FXSelector, void *) |
replace node by geometry More... | |
long | onCmdResetConnections (FXObject *, FXSelector, void *) |
reset junction connections More... | |
long | onCmdResetEdgeEndpoint (FXObject *, FXSelector, void *) |
change geometry endpoint More... | |
long | onCmdResetJunctionShape (FXObject *, FXSelector, void *) |
reset junction shape More... | |
long | onCmdResetLaneCustomShape (FXObject *, FXSelector, void *) |
reset custom shapes of selected lanes More... | |
long | onCmdResetLength (FXObject *, FXSelector, void *) |
reset custom edge lengths More... | |
long | onCmdReverseEdge (FXObject *, FXSelector, void *) |
reverse edge More... | |
long | onCmdSelectRoundabout (FXObject *, FXSelector, void *) |
select all roundabout nodes and edges More... | |
long | onCmdSetFirstGeometryPoint (FXObject *, FXSelector, void *) |
set as first geometry point the closes geometry point More... | |
long | onCmdSimplifyShape (FXObject *, FXSelector, void *) |
simply shape of current polygon More... | |
long | onCmdSmoothEdges (FXObject *, FXSelector, void *) |
smooth geometry More... | |
long | onCmdSmoothEdgesElevation (FXObject *, FXSelector, void *) |
smooth elevation with regard to adjoining edges More... | |
long | onCmdSplitEdge (FXObject *, FXSelector, void *) |
split edge at cursor position More... | |
long | onCmdSplitEdgeBidi (FXObject *, FXSelector, void *) |
split edge at cursor position More... | |
long | onCmdSplitJunction (FXObject *, FXSelector, void *) |
split junction into multiple junctions More... | |
long | onCmdSplitJunctionReconnect (FXObject *, FXSelector, void *) |
split junction into multiple junctions and reconnect them More... | |
long | onCmdStraightenEdges (FXObject *, FXSelector, void *) |
makes selected edges straight More... | |
long | onCmdStraightenEdgesElevation (FXObject *, FXSelector, void *) |
interpolate z values linear between junctions More... | |
long | onCmdTransformPOI (FXObject *, FXSelector, void *) |
Transform POI to POILane, and viceversa. More... | |
virtual long | onConfigure (FXObject *, FXSelector, void *) |
mouse functions More... | |
virtual long | onDoubleClicked (FXObject *, FXSelector, void *) |
virtual void | onGamingClick (Position) |
on gaming click More... | |
virtual void | onGamingRightClick (Position) |
virtual long | onMiddleBtnPress (FXObject *, FXSelector, void *) |
virtual long | onMiddleBtnRelease (FXObject *, FXSelector, void *) |
virtual long | onMouseLeft (FXObject *, FXSelector, void *) |
virtual long | onMouseWheel (FXObject *, FXSelector, void *) |
virtual long | onPaint (FXObject *, FXSelector, void *) |
void | openObjectDialog () |
open object dialog More... | |
double | p2m (double pixel) const |
pixels-to-meters conversion method More... | |
virtual void | recenterView () |
recenters the view More... | |
void | remove (GUIDialog_EditViewport *) |
remove viewport More... | |
void | remove (GUIDialog_ViewSettings *) |
remove view settings More... | |
void | removeFromAttributeCarrierInspected (const GNEAttributeCarrier *AC) |
remove given AC of list of inspected Attribute Carriers More... | |
virtual const std::vector< SUMOTime > | retrieveBreakpoints () const |
retrieve breakpoints if provided by the application More... | |
void | saveVisualizationSettings () const |
Position | screenPos2NetPos (int x, int y) const |
Translate screen position to network position. More... | |
void | setBreakpoints (const std::vector< SUMOTime > &breakpoints) |
Sets the breakpoints of the parent application. More... | |
bool | setColorScheme (const std::string &name) |
set color scheme More... | |
void | setDelay (double delay) |
Sets the delay of the parent application. More... | |
void | setFrontAttributeCarrier (const GNEAttributeCarrier *AC) |
set front attributeCarrier More... | |
void | setInspectedAttributeCarriers (const std::vector< GNEAttributeCarrier * > ACs) |
set inspected attributeCarrier More... | |
void | setSelectorFrameScale (double selectionScale) |
set selection scaling (in GNESelectorFrame) More... | |
void | setStatusBarText (const std::string &text) |
set staturBar text More... | |
virtual void | setViewportFromToRot (const Position &lookFrom, const Position &lookAt, double rotation) |
applies the given viewport settings More... | |
void | setWindowCursorPosition (FXint x, FXint y) |
Returns the gl-id of the object under the given coordinates. More... | |
bool | showJunctionAsBubbles () const |
return true if junction must be showed as bubbles More... | |
bool | showLockIcon () const |
check if lock icon should be visible More... | |
void | showToolTips (bool val) |
show tool tips More... | |
virtual void | showViewportEditor () |
show viewport editor More... | |
void | showViewschemeEditor () |
show viewsscheme editor More... | |
Position | snapToActiveGrid (const Position &pos, bool snapXY=true) const |
Returns a position that is mapped to the closest grid point if the grid is active. More... | |
virtual void | startTrack (int) |
star track More... | |
virtual void | stopTrack () |
stop track More... | |
void | 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... | |
~GNEViewNet () | |
destructor More... | |
overloaded handlers | |
called when user press mouse's left button | |
long | onLeftBtnPress (FXObject *, FXSelector, void *) |
long | onLeftBtnRelease (FXObject *, FXSelector, void *) |
called when user releases mouse's left button More... | |
long | onRightBtnPress (FXObject *, FXSelector, void *) |
called when user press mouse's right button More... | |
long | onRightBtnRelease (FXObject *, FXSelector, void *) |
called when user releases mouse's right button More... | |
long | onMouseMove (FXObject *, FXSelector, void *) |
called when user moves mouse More... | |
long | onKeyPress (FXObject *o, FXSelector sel, void *data) |
called when user press a key More... | |
long | onKeyRelease (FXObject *o, FXSelector sel, void *data) |
called when user release a key More... | |
set modes call backs | |
called when user press a supermode button | |
long | onCmdSetSupermode (FXObject *, FXSelector sel, void *) |
long | onCmdSetMode (FXObject *, FXSelector sel, void *) |
called when user press a mode button (Network or demand) More... | |
View options network call backs | |
long | onCmdToogleSelectEdges (FXObject *, FXSelector, void *) |
toogle select edges More... | |
long | onCmdToogleShowConnections (FXObject *, FXSelector, void *) |
toogle show connections More... | |
long | onCmdToogleHideConnections (FXObject *, FXSelector, void *) |
toogle hide connections More... | |
long | onCmdToogleExtendSelection (FXObject *, FXSelector, void *) |
toogle extend selection More... | |
long | onCmdToogleChangeAllPhases (FXObject *, FXSelector, void *) |
toogle change all phases More... | |
long | onCmdToogleShowGrid (FXObject *, FXSelector, void *) |
toogle show grid More... | |
long | onCmdToogleDrawSpreadVehicles (FXObject *, FXSelector, void *) |
toogle draw vehicles in begin position or spread in lane More... | |
long | onCmdToogleWarnAboutMerge (FXObject *, FXSelector, void *) |
toogle warn for merge More... | |
long | onCmdToogleShowJunctionBubbles (FXObject *, FXSelector, void *) |
toogle show junction bubbles More... | |
long | onCmdToogleMoveElevation (FXObject *, FXSelector, void *) |
toogle move elevation More... | |
long | onCmdToogleChainEdges (FXObject *, FXSelector, void *) |
toogle chain edges More... | |
long | onCmdToogleAutoOppositeEdge (FXObject *, FXSelector, void *) |
toogle autoOpposite edge More... | |
long | onCmdToogleHideNonInspecteDemandElements (FXObject *, FXSelector, void *) |
toogle hide non inspected demand elements More... | |
long | onCmdToogleHideShapes (FXObject *, FXSelector, void *) |
toogle hide shapes in super mode demand More... | |
long | onCmdToogleShowAllPersonPlans (FXObject *, FXSelector, void *) |
toogle show all person plans in super mode demand More... | |
long | onCmdToogleLockPerson (FXObject *, FXSelector, void *) |
toogle lock person in super mode demand More... | |
long | onCmdToogleShowAdditionals (FXObject *, FXSelector, void *) |
toogle show additionals in super mode data More... | |
long | onCmdToogleShowShapes (FXObject *, FXSelector, void *) |
toogle show shapes in super mode data More... | |
long | onCmdToogleShowDemandElements (FXObject *, FXSelector, void *) |
toogle show demand elements 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 | onCmdIntervalBarSetAttribute (FXObject *, FXSelector, void *) |
change attribute 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 neccessary. More... | |
virtual void | endSnapshot () |
Ends a video snapshot. More... | |
virtual void | checkSnapshots () |
Checks whether it is time for a snapshot. More... | |
void | waitForSnapshots (const SUMOTime snapshotTime) |
virtual SUMOTime | getCurrentTimeStep () const |
get the current simulation time More... | |
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 * > | 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... | |
GUIGlID | getObjectAtPosition (Position pos) |
returns the id of the object at position using GL_SELECT More... | |
std::vector< GUIGlID > | getObjectsAtPosition (Position pos, double radius) |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT More... | |
std::vector< GUIGlID > | getObjectsInBoundary (Boundary bound, bool singlePosition) |
returns the ids of all objects in the given boundary More... | |
std::vector< GUIGlID > | getObjectsUnderCursor () |
returns the id of the objects under the cursor using GL_SELECT (including overlapped objects) More... | |
GUIGlID | getObjectUnderCursor () |
returns the id of the front object under the cursor using GL_SELECT More... | |
GNEViewNet () | |
FOX needs this. More... | |
void | paintGL () |
performs the painting of the simulation More... | |
void | paintGLGrid () |
paints a grid More... | |
void | showToolTipFor (const GUIGlID id) |
invokes the tooltip for the given object More... | |
void | updatePositionInformation () const |
update position information More... | |
Protected Attributes | |
std::map< GUIGlObject *, int > | myAdditionallyDrawn |
List of objects for which GUIGlObject::drawGLAdditional is called. More... | |
bool | myAmInitialised |
Internal information whether doInit() was called. More... | |
GUIMainWindow * | myApp |
The application. More... | |
GUIPerspectiveChanger * | myChanger |
The perspective changer. More... | |
long | myFrameDrawTime |
counter for measuring rendering time More... | |
const SUMORTree * | myGrid |
The visualization speed-up. More... | |
bool | myInEditMode |
Information whether too-tip informations shall be generated. More... | |
int | myMouseHotspotX |
Offset to the mouse-hotspot from the mouse position. More... | |
int | myMouseHotspotY |
GUIGlChildWindow * | myParent |
The parent window. More... | |
FXMutex | myPolyDrawLock |
poly draw lock More... | |
GUIGLObjectPopupMenu * | myPopup |
The current popup-menu. More... | |
Position | myPopupPosition |
The current popup-menu position. More... | |
FXCondition | mySnapshotCondition |
the semaphore when waiting for snapshots to finish More... | |
std::map< SUMOTime, std::vector< std::tuple< std::string, int, int > > > | mySnapshots |
Snapshots. More... | |
FXMutex | mySnapshotsMutex |
The mutex to use before accessing the decals list in order to avoid thread conflicts. More... | |
bool | myUseToolTips |
use tool tips More... | |
GUIDialog_EditViewport * | myViewportChooser |
viewport chooser More... | |
GUIDialog_ViewSettings * | myVisualizationChanger |
Visualization changer. More... | |
GUIVisualizationSettings * | myVisualizationSettings |
visualization settings More... | |
FXint | myWindowCursorPositionX |
Position of the cursor relative to the window. More... | |
FXint | myWindowCursorPositionY |
Optionally shown decals | |
The list of decals to show | |
std::vector< Decal > | myDecals |
FXMutex | myDecalsLock |
The mutex to use before accessing the decals list in order to avoid thread conflicts. More... | |
Private 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... | |
GNEViewParent * | myViewParent |
view parent More... | |
GNENet * | myNet |
Pointer to current net. (We are not responsible for deletion) More... | |
GNEFrame * | myCurrentFrame |
the current frame More... | |
GNEUndoList * | myUndoList |
a reference to the undolist maintained in the application More... | |
std::vector< GNEAttributeCarrier * > | myInspectedAttributeCarriers |
current inspected attribute carrier More... | |
const GNEAttributeCarrier * | myFrontAttributeCarrier |
front attribute carrier 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 | deleteSelectedJunctions () |
delete all currently selected junctions More... | |
void | deleteSelectedLanes () |
delete all currently selected lanes More... | |
void | deleteSelectedEdges () |
delete all currently selected edges More... | |
void | deleteSelectedAdditionals () |
delete all currently selected additionals More... | |
void | deleteSelectedDemandElements () |
delete all currently selected demand elements More... | |
void | deleteSelectedGenericDatas () |
delete all currently selected generic data elements More... | |
void | deleteSelectedCrossings () |
delete all currently selected crossings More... | |
void | deleteSelectedConnections () |
delete all currently selected connections More... | |
void | deleteSelectedShapes () |
delete all currently selected shapes More... | |
void | deleteSelectedTAZElements () |
delete all currently selected TAZ Elements More... | |
GNEEdge * | getEdgeAtPopupPosition () |
try to retrieve an edge at popup position More... | |
GNELane * | getLaneAtPopupPosition () |
try to retrieve a lane at popup position More... | |
GNEJunction * | getJunctionAtPopupPosition () |
try to retrieve a junction at popup position More... | |
GNEConnection * | getConnectionAtPopupPosition () |
try to retrieve a connection at popup position More... | |
GNECrossing * | getCrossingAtPopupPosition () |
try to retrieve a crossing at popup position More... | |
GNEAdditional * | getAdditionalAtPopupPosition () |
try to retrieve a additional at popup position More... | |
GNEPoly * | getPolygonAtPopupPosition () |
try to retrieve a polygon at popup position More... | |
GNEPOI * | getPOIAtPopupPosition () |
try to retrieve a POILane at popup position More... | |
bool | restrictLane (SUMOVehicleClass vclass) |
restrict lane More... | |
bool | addRestrictedLane (SUMOVehicleClass vclass) |
add restricted lane More... | |
bool | removeRestrictedLane (SUMOVehicleClass vclass) |
remove restricted lane More... | |
void | processClick (void *eventData) |
Auxiliar function used by onLeftBtnPress(...) More... | |
void | updateCursor () |
update cursor after every click/key press/release More... | |
void | drawLaneCandidates () const |
draw functions More... | |
void | drawTemporalDrawShape () const |
draw temporal polygon shape in Polygon Mode More... | |
void | drawTemporalJunction () const |
draw temporal junction in create edge mode More... | |
Microsocopic view at the simulation
Definition at line 40 of file GNEViewNet.h.
GNEViewNet::GNEViewNet | ( | FXComposite * | tmpParent, |
FXComposite * | actualParent, | ||
GUIMainWindow & | app, | ||
GNEViewParent * | viewParent, | ||
GNENet * | net, | ||
GNEUndoList * | undoList, | ||
FXGLVisual * | glVis, | ||
FXGLCanvas * | share | ||
) |
Definition at line 188 of file GNEViewNet.cpp.
References GUITextureSubSys::resetTextures().
GNEViewNet::~GNEViewNet | ( | ) |
destructor
Definition at line 232 of file GNEViewNet.cpp.
|
protected |
FOX needs this.
Definition at line 640 of file GNEViewNet.cpp.
|
privatedelete |
Invalidated copy constructor.
void GNEViewNet::abortOperation | ( | bool | clearSelection = true | ) |
abort current edition operation
Definition at line 998 of file GNEViewNet.cpp.
References GNEAdditionalFrame::SelectorParentLanes::abortConsecutiveLaneSelector(), GNEFrameModuls::DrawingShape::abortDrawing(), GNECreateEdgeFrame::abortEdgeCreation(), GNEFrameModuls::PathCreator::abortPathCreation(), GNEAdditionalFrame::E2MultilaneLaneSelector::abortPathCreation(), GNESelectorFrame::clearCurrentSelection(), GNETAZRelDataFrame::clearTAZSelection(), DATA_EDGERELDATA, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCreateEdgeFrame(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEAdditionalFrame::getE2MultilaneLaneSelector(), GNEViewParent::getEdgeRelDataFrame(), GNEGenericDataFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNEViewParent::getTAZRelDataFrame(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myEditNetworkElementShapes, mySelectingArea, myUndoList, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEUndoList::p_abort(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNETAZFrame::TAZCurrent::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 1592 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
Referenced by GUIBaseVehicle::addActiveAddVisualisation(), GUIPerson::addActiveAddVisualisation(), and GUIVehicle::drawOutsideNetwork().
|
inherited |
add decals
Definition at line 230 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), and GUIApplicationWindow::handleEvent_SimulationLoaded().
|
private |
add restricted lane
Definition at line 2104 of file GNEViewNet.cpp.
References GNENet::addRestrictedLane(), GNELane::getIndex(), getLaneAtPopupPosition(), GNEEdge::getLanes(), GNELane::getParentEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), SVC_PEDESTRIAN, toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
inherited |
Sets the snapshot time to file map.
[in] | snaps | The snapshots to take at certain times |
[in] | w | The snapshot image width |
[in] | w | The snapshot image height |
Definition at line 1117 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshots, and GUISUMOAbstractView::mySnapshotsMutex.
Referenced by GUIViewTraffic::checkSnapshots(), TraCIServerAPI_GUI::processSet(), and GUISettingsHandler::setSnapshots().
|
protectedinherited |
applies gl-transformations to fit the Boundary given by myChanger onto the canvas. If fixRatio is true, this boundary will be enlarged to prevent anisotropic stretching. (this should be set to false when doing selections)
Definition at line 1630 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 581 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, and myNetworkViewOptions.
Referenced by GNESelectorFrame::handleIDs().
|
virtual |
recalibrate color scheme according to the current value range
Reimplemented from GUISUMOAbstractView.
Definition at line 509 of file GNEViewNet.cpp.
References GUIPropertyScheme< T >::addColor(), RGBColor::BLUE, GUIPropertyScheme< T >::clear(), RGBColor::CYAN, RGBColor::fromHSV(), GUIPropertyScheme< T >::getName(), GLO_JUNCTION, GLO_LANE, RGBColor::GREEN, GUIPropertyScheme< T >::isFixed(), RGBColor::MAGENTA, MAX2(), MIN2(), GUIVisualizationSettings::MISSING_DATA, myNet, RGBColor::ORANGE, RGBColor::RED, GNENet::retrieveJunctions(), GNENet::retrieveLanes(), GUIVisualizationSettings::SCHEME_NAME_PERMISSION_CODE, UNUSED_PARAMETER, and RGBColor::YELLOW.
|
private |
create edit mode buttons and elements
Definition at line 3029 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 368 of file GNEViewNet.cpp.
References GUIDesigns::buildFXMenuCommand(), FLAG_MINUS, FLAG_PLUS, GUIIconSubSys::getIcon(), GNEAttributeCarrier::isAttributeCarrierSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
virtual |
builds the view toolbars
Reimplemented from GUISUMOAbstractView.
Definition at line 240 of file GNEViewNet.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), GUIIconSubSys::getIcon(), GUIGlChildWindow::getLocatorPopup(), GUICompleteSchemeStorage::getNames(), gSchemeStorage, LOCATEADD, LOCATEEDGE, LOCATEJUNCTION, LOCATEPERSON, LOCATEPOI, LOCATEPOLY, LOCATEROUTE, LOCATESTOP, LOCATETLS, LOCATEVEHICLE, MAX2(), MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPERSON, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATEROUTE, MID_LOCATESTOP, MID_LOCATETLS, MID_LOCATEVEHICLE, GUISUMOAbstractView::myVisualizationSettings, and GUIVisualizationSettings::name.
|
inherited |
centers to the chosen artifact
Definition at line 820 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 812 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::centerTo(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::updatePositionInformation().
|
virtualinherited |
centers to the chosen artifact
[in] | id | The id of the artifact to center to |
[in] | applyZoom | Whether to zoom in |
[in] | zoomDist | The distance in m to use for the zoom, values < 0 means: use the centeringBoundary |
Definition at line 795 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::centerTo(), Boundary::getCenter(), GUIGlObject::getCenteringBoundary(), GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setViewport(), GUIGlObjectStorage::unblockObject(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GUIGLObjectPopupMenu::onCmdCenter(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processSet(), and GUIGlChildWindow::setView().
bool GNEViewNet::changeAllPhases | ( | ) | const |
change all phases
Definition at line 593 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 1466 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 1283 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 1384 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZPos(), GUISUMOAbstractView::myChanger, and GUISUMOAbstractView::setViewportFromToRot().
Referenced by GUIApplicationWindow::openNewView().
|
private |
delete all currently selected additionals
Definition at line 3494 of file GNEViewNet.cpp.
References GNENet::deleteAdditional(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveAdditionals().
Referenced by hotkeyDel().
|
private |
delete all currently selected connections
Definition at line 3588 of file GNEViewNet.cpp.
References GNENet::deleteConnection(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_CONNECTION, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected crossings
Definition at line 3562 of file GNEViewNet.cpp.
References GNENet::deleteCrossing(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveCrossing(), GNENet::retrieveJunctions(), SUMO_TAG_CROSSING, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected demand elements
Definition at line 3517 of file GNEViewNet.cpp.
References GNENet::deleteDemandElement(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveDemandElement(), and GNENet::retrieveDemandElements().
Referenced by hotkeyDel().
|
private |
delete all currently selected edges
Definition at line 3479 of file GNEViewNet.cpp.
References GNENet::deleteEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_EDGE, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected generic data elements
Definition at line 3547 of file GNEViewNet.cpp.
References GNENet::deleteGenericData(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveGenericDatas().
Referenced by hotkeyDel().
|
private |
delete all currently selected junctions
Definition at line 3450 of file GNEViewNet.cpp.
References GNENet::deleteJunction(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), SUMO_TAG_JUNCTION, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected lanes
Definition at line 3464 of file GNEViewNet.cpp.
References GNENet::deleteLane(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), SUMO_TAG_LANE, and toString().
Referenced by hotkeyDel().
|
private |
delete all currently selected shapes
Definition at line 3612 of file GNEViewNet.cpp.
References GNENet::deleteShape(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveShapes().
Referenced by hotkeyDel().
|
private |
delete all currently selected TAZ Elements
Definition at line 3628 of file GNEViewNet.cpp.
References GNENet::deleteTAZElement(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveTAZElements().
Referenced by hotkeyDel().
|
inherited |
destoys the popup
Definition at line 890 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, and Position::set().
Referenced by onCmdClearConnections(), onCmdConvertRoundabout(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetJunctionShape(), onCmdSelectRoundabout(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), GNEInternalLane::onDefault(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), processClick(), and GUIBaseVehicle::~GUIBaseVehicle().
|
protectedinherited |
Draws a legend for the given scheme.
Definition at line 643 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::setColor(), toString(), and RGBColor::WHITE.
Referenced by GUISUMOAbstractView::displayLegends().
|
protectedinherited |
Draws a line with ticks, and the length information.
Definition at line 564 of file GUISUMOAbstractView.cpp.
References RGBColor::BLACK, GLHelper::drawText(), FONS_ALIGN_LEFT, and GUISUMOAbstractView::m2p().
Referenced by GUISUMOAbstractView::displayLegends().
|
protectedinherited |
Draws the configured legends.
Definition at line 630 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 236 of file GNEViewNet.cpp.
|
protectedvirtual |
do paintGL
Reimplemented from GUISUMOAbstractView.
Definition at line 717 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GUIVisualizationSettings::colorSettings, DEMAND_INSPECT, GNEViewNetHelper::EditModes::demandEditMode, GUIVisualizationSettings::disableLaneIcons, GUISUMOAbstractView::drawDecals(), GUIVisualizationSettings::drawForPositionSelection, GUIVisualizationSettings::drawForRectangleSelection, drawLaneCandidates(), GNEViewNetHelper::SelectingArea::drawRectangleSelection(), drawTemporalDrawShape(), GNEAdditionalFrame::E2MultilaneLaneSelector::drawTemporalE2Multilane(), drawTemporalJunction(), GNEFrameModuls::PathCreator::drawTemporalRoute(), GNEViewNetHelper::TestingMode::drawTestingElements(), GUIVisualizationSettings::forceDrawForPositionSelection, GUIVisualizationSettings::forceDrawForRectangleSelection, GNEViewParent::getAdditionalFrame(), OptionsCont::getBool(), GNEAdditionalFrame::getE2MultilaneLaneSelector(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::DemandViewOptions::getLockedPerson(), OptionsCont::getOptions(), GNEGenericDataFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getVehicleFrame(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNETagProperties::isPerson(), GNETagProperties::isPersonPlan(), GNETagProperties::isPersonStop(), GUIVisualizationSettings::lefthand, GUISUMOAbstractView::m2p(), GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowGrid, GNEViewNetHelper::DemandViewOptions::menuCheckShowGrid, GUISUMOAbstractView::myApp, myDemandViewOptions, myEditModes, GUISUMOAbstractView::myGrid, myInspectedAttributeCarriers, myNetworkViewOptions, mySelectingArea, myTestingMode, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::paintGLGrid(), 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 1544 of file GUISUMOAbstractView.cpp.
References GUITexturesHelper::add(), GUISUMOAbstractView::Decal::centerX, GUISUMOAbstractView::Decal::centerY, GUISUMOAbstractView::checkGDALImage(), GUITexturesHelper::drawTexturedBox(), GUISUMOAbstractView::Decal::filename, GUITexturesHelper::getMaxTextureSize(), GUISUMOAbstractView::Decal::glID, GUISUMOAbstractView::Decal::height, GUISUMOAbstractView::Decal::image, GUISUMOAbstractView::Decal::initialised, GUISUMOAbstractView::Decal::layer, MFXImageHelper::loadImage(), GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::p2m(), GUISUMOAbstractView::Decal::rot, MFXImageHelper::scalePower2(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::Decal::screenRelative, GUISUMOAbstractView::Decal::skip2D, GUISUMOAbstractView::Decal::width, WRITE_ERROR, Position::x(), and Position::y().
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
protectedinherited |
Draws frames-per-second indicator.
Definition at line 757 of file GUISUMOAbstractView.cpp.
References GLHelper::drawText(), FONS_ALIGN_LEFT, GUISUMOAbstractView::getFPS(), RGBColor::RED, and toString().
Referenced by GUISUMOAbstractView::paintGL().
|
private |
draw functions
draw connections between lane candidates during selecting lane mode in Additional mode
Definition at line 3661 of file GNEViewNet.cpp.
References GNEGeometry::calculateLength(), GNEGeometry::calculateRotation(), GUIVisualizationSettings::candidateColorSettings, RGBColor::CYAN, GLHelper::drawBoxLines(), GLHelper::drawFilledCircle(), GLHelper::drawText(), GNEViewParent::getAdditionalFrame(), GUIVisualizationSettings::getCircleResolution(), NBEdge::getConnection(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNELane::getIndex(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEAdditionalFrame::SelectorParentLanes::getSelectedLanes(), GLO_JUNCTION, GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationCandidateColorSettings::possible, RGBColor::RED, GLHelper::setColor(), NBEdge::Connection::shape, Position::x(), and Position::y().
Referenced by doPaintGL().
|
private |
draw temporal polygon shape in Polygon Mode
Definition at line 3733 of file GNEViewNet.cpp.
References RGBColor::BLUE, GLHelper::drawLine(), GNEFrameModuls::DrawingShape::getDeleteLastCreatedPoint(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getTAZFrame(), GNEFrameModuls::DrawingShape::getTemporalShape(), GLO_TEMPORALSHAPE, RGBColor::GREEN, GNEFrameModuls::DrawingShape::isDrawing(), myViewParent, RGBColor::RED, GLHelper::setColor(), and GUISUMOAbstractView::snapToActiveGrid().
Referenced by doPaintGL().
|
private |
draw temporal junction in create edge mode
Definition at line 3770 of file GNEViewNet.cpp.
References GNEViewNetHelper::MouseButtonKeyPressed::altKeyPressed(), MFXCheckableButton::amChecked(), RGBColor::BLACK, GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), Position::distanceSquaredTo(), GLHelper::drawFilledCircle(), GNEGeometry::drawGeometry(), GUIVisualizationSettings::getCircleResolution(), GUIPropertyScheme< T >::getColor(), GNEViewParent::getCreateEdgeFrame(), GNECreateEdgeFrame::getJunctionSource(), GUISUMOAbstractView::getPositionInformation(), GNEJunction::getPositionInView(), GUIPropertySchemeStorage< T >::getScheme(), GLO_TEMPORALSHAPE, GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUIVisualizationNeteditSizeSettings::junctionBubbleRadius, GUIVisualizationSettings::junctionColorer, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, PositionVector::move2side(), myEditModes, myMouseButtonKeyPressed, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::neteditSizeSettings, NETWORK_CREATE_EDGE, GNEViewNetHelper::EditModes::networkEditMode, RGBColor::setAlpha(), GLHelper::setColor(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GUISUMOAbstractView::snapToActiveGrid(), GNEGeometry::Geometry::updateGeometry(), Position::x(), and Position::y().
Referenced by doPaintGL().
void GNEViewNet::drawTranslateFrontAttributeCarrier | ( | const GNEAttributeCarrier * | AC, |
GUIGlObjectType | objectType, | ||
const double | extraOffset = 0 |
||
) |
draw front attributeCarrier
Definition at line 1281 of file GNEViewNet.cpp.
References GLO_DOTTEDCONTOUR_FRONT, and myFrontAttributeCarrier.
Referenced by GNECalibrator::drawCalibratorSymbol(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), and GNEDemandElement::drawPersonPlanPartialLane().
|
inlinevirtualinherited |
Ends a video snapshot.
Reimplemented in GUIViewTraffic.
Definition at line 191 of file GUISUMOAbstractView.h.
Referenced by GUISUMOViewParent::onCmdMakeSnapshot().
void GNEViewNet::forceSupermodeNetwork | ( | ) |
set supermode Network (used after load/create new network)
Definition at line 325 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 1402 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 331 of file GNEViewNet.cpp.
References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getID(), GNESelectorFrame::getLockGLObjectTypes(), GUISUMOAbstractView::getObjectsInBoundary(), GNEViewParent::getSelectorFrame(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GNETagProperties::isSelectable(), GUISUMOAbstractView::makeCurrent(), myNet, myNetworkViewOptions, myViewParent, GNENet::retrieveAttributeCarrier(), GNEViewNetHelper::NetworkViewOptions::selectEdges(), and SUMO_TAG_LANE.
Referenced by GNETAZFrame::shapeDrawed().
|
inherited |
get changer
Definition at line 175 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger.
Referenced by GUISettingsHandler::applyViewport(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdLoad(), GUIApplicationWindow::onCmdNetedit(), GNEApplicationWindow::onCmdOpenSUMOGUI(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), and GUIDialog_EditViewport::setValues().
|
inherited |
get coloring schemes combo
Definition at line 1460 of file GUISUMOAbstractView.cpp.
References GUIGlChildWindow::getColoringSchemesCombo(), and GUISUMOAbstractView::myParent.
Referenced by GUISettingsHandler::addSettings(), GUIDialog_ViewSettings::onCmdColorChange(), and GUIDialog_ViewSettings::onCmdSaveSetting().
|
private |
try to retrieve a connection at popup position
Definition at line 1320 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_CONNECTION, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdEditConnectionShape().
|
private |
try to retrieve a crossing at popup position
Definition at line 1341 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 1325 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::checkSnapshots().
const GNEViewNetHelper::DataViewOptions & GNEViewNet::getDataViewOptions | ( | ) | const |
get data view options
Definition at line 491 of file GNEViewNet.cpp.
References myDataViewOptions.
Referenced by GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEEdge::drawGL(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEApplicationWindow::onCmdToogleEditOptions(), and GNEApplicationWindowHelper::toogleEditOptionsData().
|
inherited |
Returns the delay of the parent application.
Definition at line 1664 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 485 of file GNEViewNet.cpp.
References myDemandViewOptions.
Referenced by GNEPOI::drawGL(), GNEPoly::drawGL(), GNETAZ::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEApplicationWindow::onCmdToogleEditOptions(), and GNEApplicationWindowHelper::toogleEditOptionsDemand().
|
private |
try to retrieve an edge at popup position
Definition at line 1361 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_EDGE, GLO_LANE, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdAddReversedEdge(), onCmdEditEdgeEndpoint(), onCmdResetEdgeEndpoint(), onCmdResetLength(), onCmdReverseEdge(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdStraightenEdges(), and onCmdStraightenEdgesElevation().
|
virtual |
return list of loaded edgeData attributes
Reimplemented from GUISUMOAbstractView.
Definition at line 700 of file GNEViewNet.cpp.
|
virtual |
return list of available edge parameters
Reimplemented from GUISUMOAbstractView.
Definition at line 668 of file GNEViewNet.cpp.
References NBEdgeCont::getAllEdges(), GNENet::getEdgeCont(), and myNet.
const GNEViewNetHelper::EditModes & GNEViewNet::getEditModes | ( | ) | const |
get edit modes
Definition at line 467 of file GNEViewNet.cpp.
References myEditModes.
Referenced by GNESelectorFrame::ACsToSelected(), GNESelectorFrame::clearCurrentSelection(), GNENet::computeDemandElements(), GNEEdge::drawEdgeGeometryPoints(), GNEPoly::drawGL(), GNERerouterSymbol::drawGL(), GNETAZ::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNEGeometry::drawMovingHint(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNENet::getSelectedAttributeCarriers(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEPOI::isAttributeEnabled(), GNEPoly::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEFrameAttributesModuls::isSupermodeValid(), GNEApplicationWindow::onCmdProcessButton(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDeleteFrame::selectedACsToDelete(), GNEJunction::setColor(), and GNELane::updateGeometry().
const GNEViewNetHelper::EditNetworkElementShapes & GNEViewNet::getEditNetworkElementShapes | ( | ) | const |
get Edit Shape modul
Definition at line 503 of file GNEViewNet.cpp.
References myEditNetworkElementShapes.
Referenced by GNEConnection::drawGL().
|
inherited |
retrieve FPS
Definition at line 752 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 1267 of file GNEViewNet.cpp.
References myFrontAttributeCarrier.
Referenced by GNECalibrator::drawCalibratorSymbol(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEHierarchicalElement::drawHierarchicalConnections(), GNELane::drawLaneAsRailway(), GNEApplicationWindow::onCmdSetFrontElement(), and GNEApplicationWindow::onUpdNeedsFrontElement().
|
inherited |
get grid height
Definition at line 1429 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 1423 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 427 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 330 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUISUMOAbstractView::getPositionInformation(), and GUISUMOAbstractView::SENSITIVITY.
Referenced by onLeftBtnPress(), onLeftBtnRelease(), openObjectDialog(), and processLeftButtonReleaseNetwork().
|
protectedinherited |
returns the GUIGlObject under the gripped cursor using GL_SELECT (including overlapped objects)
Definition at line 336 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 1228 of file GNEViewNet.cpp.
References myInspectedAttributeCarriers.
Referenced by GNEInspectorFrame::clearInspectedAC(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNESingleParametersDialog::GNESingleParametersDialog(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNEMultipleParametersDialog::onCmdReset(), GNESingleParametersDialog::onCmdReset(), GNEApplicationWindow::onCmdSetFrontElement(), and GNELane::setLaneColor().
GNEViewNetHelper::IntervalBar & GNEViewNet::getIntervalBar | ( | ) |
get interval bar
Definition at line 1222 of file GNEViewNet.cpp.
References myIntervalBar.
Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEApplicationWindow::onCmdOpenDataElements(), GNEUndoList::p_clear(), GNEChange_DataSet::redo(), and GNEChange_DataSet::undo().
|
private |
try to retrieve a junction at popup position
Definition at line 1299 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_JUNCTION, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdClearConnections(), onCmdConvertRoundabout(), onCmdEditJunctionShape(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetJunctionShape(), onCmdSelectRoundabout(), onCmdSplitJunction(), and onCmdSplitJunctionReconnect().
|
private |
try to retrieve a lane at popup position
Definition at line 1385 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(), onCmdLaneReachability(), onCmdResetLaneCustomShape(), removeRestrictedLane(), and restrictLane().
const GNEViewNetHelper::MouseButtonKeyPressed & GNEViewNet::getMouseButtonKeyPressed | ( | ) | const |
get Key Pressed modul
Definition at line 497 of file GNEViewNet.cpp.
References myMouseButtonKeyPressed.
Referenced by GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), and GNEInspectorFrame::processNetworkSupermodeClick().
GNENet * GNEViewNet::getNet | ( | ) | const |
get the net object
Definition at line 1210 of file GNEViewNet.cpp.
References myNet.
Referenced by GNESelectorFrame::ACsToSelected(), GNEEdgeDataFrame::addEdgeData(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEStopFrame::addStop(), GNETAZRelDataFrame::addTAZRelationData(), GNEVehicleFrame::addVehicle(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPersonPlan(), GNETLSEditorFrame::cleanup(), GNESelectorFrame::clearCurrentSelection(), GNEEdgeRelDataFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNETLSEditorFrame::editJunction(), GNEAdditionalFrame::generateID(), GNESelectorFrame::getMatches(), GNEPersonTypeFrame::GNEPersonTypeFrame(), GNEVehicleTypeFrame::GNEVehicleTypeFrame(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEGenericDataFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEFixAdditionalElements::onCmdAccept(), GNEFixDemandElements::onCmdAccept(), GNECalibratorDialog::onCmdAddFlow(), GNECalibratorDialog::onCmdAddVehicleType(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNETLSEditorFrame::onCmdDefSwitch(), GNEApplicationWindow::onCmdForceSaveAdditionals(), GNEApplicationWindow::onCmdForceSaveDataElements(), GNEApplicationWindow::onCmdForceSaveDemandElements(), GNEApplicationWindow::onCmdForceSaveNetwork(), GNEViewParent::onCmdLocate(), GNETLSEditorFrame::onCmdOK(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), onCmdToogleShowConnections(), GNETLSEditorFrame::parseTLSPrograms(), GNEFrameModuls::PathCreator::Path::Path(), GNEPolygonFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEDeleteFrame::selectedACsToDelete(), GNEPolygonFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNECalibratorDialog::updateFlowAndLabelButton(), GNECalibratorDialog::updateRouteTable(), and GNECalibratorDialog::updateVehicleTypeTable().
const GNEViewNetHelper::NetworkViewOptions & GNEViewNet::getNetworkViewOptions | ( | ) | const |
get network view options
Definition at line 479 of file GNEViewNet.cpp.
References myNetworkViewOptions.
Referenced by GNEEdge::drawEdgeGeometryPoints(), GNEGeometry::drawGeometryPoints(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEApplicationWindow::onCmdToogleEditOptions(), GNEInspectorFrame::selectedOverlappedElement(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
returns the id of the object at position using GL_SELECT
Definition at line 342 of file GUISUMOAbstractView.cpp.
References Boundary::add(), GUIGlObject::getGlID(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_LANE, GLO_NETWORK, GLO_POI, GLO_POLYGON, Boundary::grow(), GUISUMOAbstractView::SENSITIVITY, GUIGlObjectStorage::unblockObject(), and GUIVisualizationSettings::UseMesoSim.
Referenced by getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectUnderCursor(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), onCmdAddSelected(), and onCmdRemoveSelected().
|
protectedinherited |
returns the ids of the object at position within the given (rectangular) radius using GL_SELECT
Definition at line 392 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 457 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(), and onCmdTransformPOI().
|
protectedinherited |
returns the id of the objects under the cursor using GL_SELECT (including overlapped objects)
Definition at line 324 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 362 of file GNEViewNet.cpp.
References myObjectsUnderCursor.
Referenced by GNEJunction::commitMoveShape().
|
protectedinherited |
returns the id of the front object under the cursor using GL_SELECT
Definition at line 318 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getPositionInformation().
Referenced by GUIViewTraffic::getLaneUnderCursor(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::paintGL().
|
private |
try to retrieve a POILane at popup position
Definition at line 1430 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 243 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::updatePOIParams().
|
private |
try to retrieve a polygon at popup position
Definition at line 1416 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getObjectAtPosition(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPopupPosition(), GUIGlObjectStorage::gIDStorage, GUISUMOAbstractView::makeCurrent(), and GUIGlObjectStorage::unblockObject().
Referenced by onCmdClosePolygon(), onCmdDeleteGeometryPoint(), onCmdOpenPolygon(), onCmdSetFirstGeometryPoint(), and onCmdSimplifyShape().
|
inherited |
get position of current popup
Definition at line 885 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myPopupPosition.
Referenced by getAdditionalAtPopupPosition(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), onCmdAddSelected(), onCmdDeleteGeometryPoint(), onCmdEditEdgeEndpoint(), onCmdRemoveSelected(), onCmdResetEdgeEndpoint(), onCmdSetFirstGeometryPoint(), onCmdSplitEdge(), and onCmdSplitEdgeBidi().
|
inherited |
Returns the cursor's x/y position within the network.
Definition at line 190 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myWindowCursorPositionX, GUISUMOAbstractView::myWindowCursorPositionY, and GUISUMOAbstractView::screenPos2NetPos().
Referenced by GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEEdge::drawEdgeGeometryPoints(), GNEGeometry::drawGeometry(), GNEGeometry::drawGeometryPoints(), GNEPoly::drawGL(), GNETAZ::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawGL(), GNEGeometry::drawLaneGeometry(), GNEGeometry::drawMovingHint(), GNEDemandElement::drawPersonPlanPartialLane(), GNEGeometry::drawSegmentGeometry(), GNEStoppingPlace::drawSign(), drawTemporalDrawShape(), drawTemporalJunction(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GUISUMOAbstractView::getObjectsUnderCursor(), GUISUMOAbstractView::getObjectUnderCursor(), GUIEdge::getParameterWindow(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNELane::getPopUpMenu(), GUIDanielPerspectiveChanger::onKeyPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUIDanielPerspectiveChanger::onMouseWheel(), GUIDanielPerspectiveChanger::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GUISUMOAbstractView::showToolTipFor(), and GUISUMOAbstractView::updatePositionInformation().
const GNEViewNetHelper::TestingMode & GNEViewNet::getTestingMode | ( | ) | const |
get testing mode
Definition at line 473 of file GNEViewNet.cpp.
References myTestingMode.
Referenced by GNEPOI::drawGL().
|
virtualinherited |
get tracked id
Reimplemented in GUIViewTraffic.
Definition at line 1445 of file GUISUMOAbstractView.cpp.
References GUIGlObject::INVALID_ID.
Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processGet(), and TraCIServerAPI_GUI::processSet().
GNEUndoList * GNEViewNet::getUndoList | ( | ) | const |
get the undoList object
Definition at line 1216 of file GNEViewNet.cpp.
References myUndoList.
Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNETAZFrame::addOrRemoveTAZMember(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEConnectorFrame::buildConnection(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEPoly::changeFirstGeometryPoint(), GNESelectorFrame::clearCurrentSelection(), GNERouteHandler::closeFlow(), GNERouteHandler::closePerson(), GNEPoly::closePolygon(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVehicle(), GNERouteHandler::closeVType(), GNENet::computeAndUpdate(), GNEPersonFrame::createPath(), GNERouteFrame::createPath(), GNEPoly::deleteGeometryPoint(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNESelectorFrame::handleIDs(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEAdditionalHandler::myEndElement(), GNEAllowDisallow::onCmdAccept(), GNEFixAdditionalElements::onCmdAccept(), GNEFixDemandElements::onCmdAccept(), GNEMultipleParametersDialog::onCmdAccept(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNETLSEditorFrame::onCmdCancel(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNETLSEditorFrame::onCmdOK(), GNEFrameAttributesModuls::AttributesEditorRow::onCmdOpenAttributeDialog(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdRedo(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), GNEApplicationWindow::onCmdUndo(), GNEPoly::openPolygon(), GNETLSEditorFrame::parseTLSPrograms(), GNECreateEdgeFrame::processClick(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().
|
inlinevirtualinherited |
return list of available vehicle parameters
Reimplemented in GUIViewTraffic.
Definition at line 238 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::updateVehicleParams().
GNEViewParent * GNEViewNet::getViewParent | ( | ) | const |
get the net object
Definition at line 1204 of file GNEViewNet.cpp.
References myViewParent.
Referenced by GNENet::computeAndUpdate(), GNENet::deleteDemandElement(), GNEGenericData::drawAttribute(), GNEEdge::drawEdgeGeometryPoints(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GNELane::getPopUpMenu(), GNEFrame::hide(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEApplicationWindow::onCmdAbort(), GNEApplicationWindow::onCmdClearTemplate(), GNEApplicationWindow::onCmdCopyTemplate(), GNEInspectorFrame::onCmdGoBack(), GNEApplicationWindow::onCmdOpenEdgeTypes(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdRedo(), GNEApplicationWindow::onCmdSetFrontElement(), GNEApplicationWindow::onCmdSetTemplate(), GNEApplicationWindow::onCmdUndo(), GNELane::onDefault(), GNECreateEdgeFrame::processClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNENet::requireSaveAdditionals(), GNENet::requireSaveDataElements(), GNENet::requireSaveDemandElements(), GNENet::requireSaveTLSPrograms(), GNENet::saveDataElements(), GNENet::saveDemandElements(), GNEAttributeCarrier::selectAttributeCarrier(), GNEEdgeType::setAttribute(), GNELane::setLaneColor(), GNEFrame::show(), GNEChange_DemandElement::undo(), GNEChange_EdgeType::undo(), and GNEAttributeCarrier::unselectAttributeCarrier().
|
inherited |
get the viewport and create it on first access
Definition at line 1346 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), MAX2(), MIN2(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, and GUIDialog_EditViewport::setValues().
Referenced by GUIDialog_ViewSettings::onCmdExportSetting(), and GUISUMOAbstractView::showViewportEditor().
|
inherited |
get visible boundary
Definition at line 262 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), and GUISUMOAbstractView::myChanger.
Referenced by TraCIServerAPI_GUI::processGet().
|
inherited |
get visualization settings
Definition at line 1405 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationSettings.
Referenced by GNEConnectorFrame::buildConnection(), GNEProhibitionFrame::buildProhibition(), GNEViewNetHelper::LockIcon::checkDrawing(), GNEConnectorFrame::ConnectionLegend::ConnectionLegend(), GNEGeometry::drawGeometry(), GNEGeometry::drawLaneGeometry(), GNEGeometry::drawSegmentGeometry(), GNEPersonStop::getColor(), GNEStop::getColor(), GNEPoly::getMoveOperation(), GNETAZ::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEJunction::getMoveOperation(), GNEPoly::getVertexIndex(), GNECrossingFrame::GNECrossingFrame(), GNEConnectorFrame::initTargets(), GUIApplicationWindow::onCmdEditChosen(), GNEApplicationWindow::onCmdToogleGrid(), GNEFrameModuls::PathLegend::PathLegend(), TraCIServerAPI_GUI::processGet(), GNEProhibitionFrame::ProhibitionLegend::ProhibitionLegend(), GNEPoly::removeGeometryPoint(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), and GNELane::updateGeometry().
|
inherited |
Returns the information whether rotation is allowd.
return windows cursor position
Definition at line 834 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myWindowCursorPositionX, and GUISUMOAbstractView::myWindowCursorPositionY.
void GNEViewNet::hotkeyBackSpace | ( | ) |
handle backspace keypress
Definition at line 1169 of file GNEViewNet.cpp.
References DATA_EDGERELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getAdditionalFrame(), GNEAdditionalFrame::getE2MultilaneLaneSelector(), GNEViewParent::getEdgeRelDataFrame(), GNEGenericDataFrame::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, GNEFrameModuls::PathCreator::removeLastElement(), and GNEAdditionalFrame::E2MultilaneLaneSelector::removeLastElement().
Referenced by GNEApplicationWindow::onCmdBackspace().
void GNEViewNet::hotkeyDel | ( | ) |
handle del keypress
Definition at line 1078 of file GNEViewNet.cpp.
References deleteSelectedAdditionals(), deleteSelectedConnections(), deleteSelectedCrossings(), deleteSelectedDemandElements(), deleteSelectedEdges(), deleteSelectedGenericDatas(), deleteSelectedJunctions(), deleteSelectedLanes(), deleteSelectedShapes(), deleteSelectedTAZElements(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), myEditModes, myUndoList, NETWORK_CONNECT, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GNEUndoList::p_begin(), GNEUndoList::p_end(), setStatusBarText(), and updateViewNet().
Referenced by GNEApplicationWindow::onCmdDel().
void GNEViewNet::hotkeyEnter | ( | ) |
handle enter keypress
Definition at line 1110 of file GNEViewNet.cpp.
References GNEViewNetHelper::EditNetworkElementShapes::commitEditedShape(), GNECrossingFrame::createCrossingHotkey(), GNEFrameModuls::PathCreator::createPath(), GNEAdditionalFrame::E2MultilaneLaneSelector::createPath(), DATA_EDGERELDATA, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewParent::getAdditionalFrame(), GNEConnectorFrame::getConnectionModifications(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCrossingFrame(), GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEAdditionalFrame::getE2MultilaneLaneSelector(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GNEGenericDataFrame::getPathCreator(), GNEPersonFrame::getPathCreator(), GNEPersonPlanFrame::getPathCreator(), GNERouteFrame::getPathCreator(), GNEVehicleFrame::getPathCreator(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getRouteFrame(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNETAZFrame::getTAZSaveChangesModul(), GNEViewParent::getTLSEditorFrame(), GNEViewParent::getVehicleFrame(), GNETAZFrame::TAZSaveChanges::isChangesPending(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GNEFrameModuls::DrawingShape::isDrawing(), GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), myEditModes, myEditNetworkElementShapes, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CROSSING, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GNETLSEditorFrame::onCmdOK(), GNETAZFrame::TAZSaveChanges::onCmdSaveChanges(), GNEConnectorFrame::ConnectionModifications::onCmdSaveModifications(), GNEFrameModuls::DrawingShape::startDrawing(), GNEAdditionalFrame::SelectorParentLanes::stopConsecutiveLaneSelector(), and GNEFrameModuls::DrawingShape::stopDrawing().
Referenced by GNEApplicationWindow::onCmdEnter().
void GNEViewNet::hotkeyFocusFrame | ( | ) |
handle focus frame keypress
Definition at line 1193 of file GNEViewNet.cpp.
References GNEFrame::focusUpperElement(), and myCurrentFrame.
Referenced by GNEApplicationWindow::onCmdFocusFrame().
|
inherited |
Check if an object is added in the additional GL visualitation.
[in] | which | The object to check |
Definition at line 1620 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myAdditionallyDrawn.
bool GNEViewNet::isAttributeCarrierInspected | ( | const GNEAttributeCarrier * | AC | ) | const |
check if attribute carrier is being inspected
Definition at line 1240 of file GNEViewNet.cpp.
References myInspectedAttributeCarriers.
Referenced by GNENet::deleteDemandElement(), GNECalibrator::drawCalibratorSymbol(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEHierarchicalElement::drawHierarchicalConnections(), GNELane::drawLaneAsRailway(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEPerson::getHierarchyName(), and GNEVehicle::getHierarchyName().
|
inherited |
returns true, if the edit button was pressed
Definition at line 169 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myInEditMode.
|
inherited |
meter-to-pixels conversion method
Definition at line 777 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 847 of file GUISUMOAbstractView.cpp.
Referenced by getAdditionalAtPopupPosition(), getAttributeCarriersInBoundary(), getConnectionAtPopupPosition(), getCrossingAtPopupPosition(), getEdgeAtPopupPosition(), getJunctionAtPopupPosition(), getLaneAtPopupPosition(), GUIViewTraffic::getLaneUnderCursor(), getPOIAtPopupPosition(), getPolygonAtPopupPosition(), GUISUMOAbstractView::makeSnapshot(), onCmdAddSelected(), onCmdRemoveSelected(), GUISUMOAbstractView::onConfigure(), onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnPress(), onLeftBtnRelease(), GUISUMOAbstractView::onPaint(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), and processLeftButtonReleaseNetwork().
|
inherited |
Takes a snapshots and writes it into the given file.
The format to use is determined from the extension. If compiled with ffmpeg and a video format is requested it will instantiate a video encoder.
[in] | destFile | The name of the file to write the snapshot into |
[in] | w | The snapshot image width |
[in] | w | The snapshot image height |
Definition at line 1127 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(), RGBColor::red(), GUISUMOAbstractView::saveFrame(), MFXImageHelper::saveImage(), GUIVisualizationSettings::scale, SUMORTree::Search(), GLHelper::setGL2PS(), GUIVisualizationSettings::showGrid, FXSingleEventThread::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 605 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GUIGlObject::getMicrosimID(), GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNENet::mergeJunctions(), myNet, myNetworkViewOptions, myUndoList, and WRITE_DEBUG.
Referenced by GNEJunction::commitMoveShape().
long GNEViewNet::onCmdAddReversedEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
add reversed edge
Definition at line 1618 of file GNEViewNet.cpp.
References GNENet::addReversedEdge(), getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdAddSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
select AC under cursor
Definition at line 2990 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::onCmdClearConnections | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
clear junction connections
Definition at line 2429 of file GNEViewNet.cpp.
References GNEInspectorFrame::clearInspectedAC(), GNENet::clearJunctionConnections(), GUISUMOAbstractView::destroyPopup(), GNEViewParent::getInspectorFrame(), getJunctionAtPopupPosition(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::isAttributeCarrierSelected(), myFrontAttributeCarrier, myInspectedAttributeCarriers, myNet, myUndoList, myViewParent, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), SUMO_TAG_CONNECTION, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdClosePolygon | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
close opened polygon
Definition at line 1801 of file GNEViewNet.cpp.
References GNEPoly::closePolygon(), getPolygonAtPopupPosition(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdConvertRoundabout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
convert junction to roundabout
Definition at line 2415 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 1790 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 1911 of file GNEViewNet.cpp.
References GNENet::duplicateLane(), getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), SUMO_TAG_LANE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditConnectionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
edit connection shape
Definition at line 2493 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 2507 of file GNEViewNet.cpp.
References GNENet::computeAndUpdate(), NBNode::Crossing::customShape, GUISUMOAbstractView::destroyPopup(), getCrossingAtPopupPosition(), GNECrossing::getNBCrossing(), GNEJunction::getNBNode(), OptionsCont::getOptions(), GNECrossing::getParentJunction(), NBNode::getShape(), myEditNetworkElementShapes, myNet, NBNode::Crossing::shape, and GNEViewNetHelper::EditNetworkElementShapes::startEditCustomShape().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdEditEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change geometry endpoint
Definition at line 1639 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 2315 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::onCmdIntervalBarDataSet | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change data set in interval bar
Definition at line 2955 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 2948 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 2962 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setInterval().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarSetAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change attribute in interval bar
Definition at line 2983 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setAttribute().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdIntervalBarSetBegin | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change begin in interval bar
Definition at line 2969 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 2976 of file GNEViewNet.cpp.
References myIntervalBar, and GNEViewNetHelper::IntervalBar::setEnd().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdLaneOperation | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
add/remove/restrict lane
Definition at line 1957 of file GNEViewNet.cpp.
References addRestrictedLane(), MID_GNE_LANE_ADD_BIKE, MID_GNE_LANE_ADD_BUS, MID_GNE_LANE_ADD_GREENVERGE, MID_GNE_LANE_ADD_SIDEWALK, MID_GNE_LANE_REMOVE_BIKE, MID_GNE_LANE_REMOVE_BUS, MID_GNE_LANE_REMOVE_GREENVERGE, MID_GNE_LANE_REMOVE_SIDEWALK, MID_GNE_LANE_TRANSFORM_BIKE, MID_GNE_LANE_TRANSFORM_BUS, MID_GNE_LANE_TRANSFORM_GREENVERGE, MID_GNE_LANE_TRANSFORM_SIDEWALK, removeRestrictedLane(), restrictLane(), SVC_BICYCLE, SVC_BUS, SVC_IGNORING, and SVC_PEDESTRIAN.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdLaneReachability | ( | FXObject * | menu, |
FXSelector | sel, | ||
void * | |||
) |
show lane reachability
Definition at line 1992 of file GNEViewNet.cpp.
References GNENetHelper::PathCalculator::calculateReachability(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), getLaneAtPopupPosition(), GNELane::getParentEdge(), GNENet::getPathCalculator(), GNE_ATTR_SELECTED, myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), SumoVehicleClassStrings, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdOpenAdditionalDialog | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
open additional dialog
Definition at line 2017 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 1812 of file GNEViewNet.cpp.
References getPolygonAtPopupPosition(), GNEPoly::openPolygon(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdRemoveSelected | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
unselect AC under cursor
Definition at line 3008 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 2361 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 2461 of file GNEViewNet.cpp.
References GNEInspectorFrame::clearInspectedAC(), GUISUMOAbstractView::destroyPopup(), GNEViewParent::getInspectorFrame(), getJunctionAtPopupPosition(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::isAttributeCarrierSelected(), myFrontAttributeCarrier, myInspectedAttributeCarriers, myNet, myUndoList, myViewParent, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::resetJunctionConnections(), GNENet::retrieveJunctions(), SUMO_TAG_CONNECTION, and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetEdgeEndpoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
change geometry endpoint
Definition at line 1650 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GUISUMOAbstractView::getPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEEdge::resetEndpoint(), and GNENet::retrieveEdges().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetJunctionShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset junction shape
Definition at line 2335 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunctions(), GNEJunction::setAttribute(), and SUMO_ATTR_SHAPE.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetLaneCustomShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset custom shapes of selected lanes
Definition at line 1934 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveLanes(), GNELane::setAttribute(), and SUMO_ATTR_CUSTOMSHAPE.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdResetLength | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reset custom edge lengths
Definition at line 1760 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::setAttribute(), and SUMO_ATTR_LENGTH.
Referenced by FXDEFMAP().
long GNEViewNet::onCmdReverseEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
reverse edge
Definition at line 1597 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNENet::reverseEdge(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSelectRoundabout | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
select all roundabout nodes and edges
Definition at line 2402 of file GNEViewNet.cpp.
References GUISUMOAbstractView::destroyPopup(), getJunctionAtPopupPosition(), myNet, myUndoList, GNENet::selectRoundabout(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSetFirstGeometryPoint | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
set as first geometry point the closes geometry point
Definition at line 1823 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 1462 of file GNEViewNet.cpp.
References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_PERSONTYPES, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, DEMAND_VEHICLETYPES, GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), MID_HOTKEY_A_MODES_ADDITIONAL_STOP, MID_HOTKEY_C_MODES_CONNECT_PERSONPLAN, MID_HOTKEY_D_MODES_DELETE, MID_HOTKEY_E_MODES_EDGE_EDGEDATA, MID_HOTKEY_I_MODES_INSPECT, MID_HOTKEY_M_MODES_MOVE, MID_HOTKEY_P_MODES_POLYGON_PERSON, MID_HOTKEY_R_MODES_CROSSING_ROUTE_EDGERELDATA, MID_HOTKEY_S_MODES_SELECT, MID_HOTKEY_T_MODES_TLS_VTYPE, MID_HOTKEY_V_MODES_VEHICLE, MID_HOTKEY_W_MODES_PROHIBITION_PERSONTYPE, MID_HOTKEY_Z_MODES_TAZ_TAZREL, myEditModes, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, 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 1443 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().
long GNEViewNet::onCmdSimplifyShape | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
simply shape of current polygon
Definition at line 1779 of file GNEViewNet.cpp.
References getPolygonAtPopupPosition(), GNEPoly::simplifyShape(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSmoothEdges | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
smooth geometry
Definition at line 1697 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), 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 1739 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::smoothElevation(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdSplitEdge | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
split edge at cursor position
Definition at line 1572 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 1582 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEEdge::getOppositeEdge(), 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 2375 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 2389 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 1675 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), 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 1718 of file GNEViewNet.cpp.
References getEdgeAtPopupPosition(), GNEAttributeCarrier::isAttributeCarrierSelected(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveEdges(), GNEEdge::straightenElevation(), SUMO_TAG_EDGE, and toString().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdToogleAutoOppositeEdge | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle autoOpposite edge
Definition at line 2770 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, MID_GNE_NETWORKVIEWOPTIONS_AUTOOPPOSITEEDGES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleChainEdges | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle chain edges
Definition at line 2751 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, MID_GNE_NETWORKVIEWOPTIONS_CHAINEDGES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleChangeAllPhases | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle change all phases
Definition at line 2611 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, MID_GNE_NETWORKVIEWOPTIONS_CHANGEALLPHASES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleDrawSpreadVehicles | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle draw vehicles in begin position or spread in lane
Definition at line 2656 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getDemandElements(), GNE_TAG_FLOW_ROUTE, 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(), GNEApplicationWindowHelper::toogleEditOptionsDemand(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleExtendSelection | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle extend selection
Definition at line 2592 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, MID_GNE_NETWORKVIEWOPTIONS_EXTENDSELECTION, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleHideConnections | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle hide connections
Definition at line 2573 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, MID_GNE_NETWORKVIEWOPTIONS_HIDECONNECTIONS, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleHideNonInspecteDemandElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle hide non inspected demand elements
Definition at line 2789 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, MID_GNE_DEMANDVIEWOPTIONS_HIDENONINSPECTED, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsDemand().
long GNEViewNet::onCmdToogleHideShapes | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle hide shapes in super mode demand
Definition at line 2808 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, MID_GNE_DEMANDVIEWOPTIONS_HIDESHAPES, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsDemand().
long GNEViewNet::onCmdToogleLockPerson | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle lock person in super mode demand
Definition at line 2846 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEDemandElement::getID(), 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(), and GNEApplicationWindowHelper::toogleEditOptionsDemand().
long GNEViewNet::onCmdToogleMoveElevation | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle move elevation
Definition at line 2732 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, MID_GNE_NETWORKVIEWOPTIONS_MOVEELEVATION, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleSelectEdges | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle select edges
Definition at line 2529 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, MID_GNE_NETWORKVIEWOPTIONS_SELECTEDGES, myNetworkViewOptions, and MFXCheckableButton::setChecked().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleShowAdditionals | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show additionals in super mode data
Definition at line 2887 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, MID_GNE_DATAVIEWOPTIONS_SHOWADDITIONALS, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsData().
long GNEViewNet::onCmdToogleShowAllPersonPlans | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show all person plans in super mode demand
Definition at line 2827 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, MID_GNE_DEMANDVIEWOPTIONS_SHOWALLPERSONPLANS, myDemandViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP().
long GNEViewNet::onCmdToogleShowConnections | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show connections
Definition at line 2546 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(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleShowDemandElements | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show demand elements
Definition at line 2925 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNENet::computeDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, MID_GNE_DATAVIEWOPTIONS_SHOWDEMANDELEMENTS, MID_GNE_NETWORKVIEWOPTIONS_SHOWDEMANDELEMENTS, myDataViewOptions, myNet, myNetworkViewOptions, myViewParent, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindowHelper::toogleEditOptionsData(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleShowGrid | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show grid
Definition at line 2630 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkViewOptions::menuCheckShowGrid, GNEViewNetHelper::DemandViewOptions::menuCheckShowGrid, MID_GNE_DEMANDVIEWOPTIONS_SHOWGRID, MID_GNE_NETWORKVIEWOPTIONS_SHOWGRID, myDemandViewOptions, myNetworkViewOptions, GUISUMOAbstractView::myVisualizationSettings, MFXCheckableButton::setChecked(), GUIVisualizationSettings::showGrid, and updateViewNet().
Referenced by FXDEFMAP(), GNEApplicationWindow::onCmdToogleGrid(), GNEApplicationWindowHelper::toogleEditOptionsDemand(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleShowJunctionBubbles | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show junction bubbles
Definition at line 2713 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, MID_GNE_NETWORKVIEWOPTIONS_SHOWBUBBLES, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdToogleShowShapes | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle show shapes in super mode data
Definition at line 2906 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, MID_GNE_DATAVIEWOPTIONS_SHOWSHAPES, myDataViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsData().
long GNEViewNet::onCmdToogleWarnAboutMerge | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
toogle warn for merge
Definition at line 2694 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, MID_GNE_NETWORKVIEWOPTIONS_ASKFORMERGE, myNetworkViewOptions, MFXCheckableButton::setChecked(), and updateViewNet().
Referenced by FXDEFMAP(), and GNEApplicationWindowHelper::toogleEditOptionsNetwork().
long GNEViewNet::onCmdTransformPOI | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Transform POI to POILane, and viceversa.
Definition at line 1835 of file GNEViewNet.cpp.
References GNENetHelper::AttributeCarriers::addPOI(), GNENet::deleteShape(), Position::distanceTo(), GNENet::getAttributeCarriers(), GNENetworkElement::getID(), GNELane::getLaneShape(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getObjectsInBoundary(), getPOIAtPopupPosition(), GUIGlObjectStorage::gIDStorage, myNet, myUndoList, PositionVector::nearest_offset_to_point2D(), GNEUndoList::p_begin(), GNEUndoList::p_end(), PositionVector::positionAtOffset(), SUMO_TAG_LANE, SUMO_TAG_POI, toString(), updateViewNet(), and WRITE_WARNING.
Referenced by FXDEFMAP().
|
virtualinherited |
mouse functions
Definition at line 854 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 997 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
on gaming click
Reimplemented in GUIViewTraffic.
Definition at line 1451 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onLeftBtnRelease().
|
virtualinherited |
Reimplemented in GUIViewTraffic.
Definition at line 1455 of file GUISUMOAbstractView.cpp.
Referenced by GUISUMOAbstractView::onRightBtnRelease().
|
virtual |
called when user press a key
Reimplemented from GUISUMOAbstractView.
Definition at line 947 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNEViewParent::getTAZFrame(), GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_CREATE_EDGE, NETWORK_POLYGON, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onKeyPress(), GNEFrameModuls::DrawingShape::setDeleteLastCreatedPoint(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), and updateViewNet().
|
virtual |
called when user release a key
Reimplemented from GUISUMOAbstractView.
Definition at line 970 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNEViewParent::getTAZFrame(), GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, mySelectingArea, myViewParent, NETWORK_CREATE_EDGE, NETWORK_POLYGON, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onKeyRelease(), GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEFrameModuls::DrawingShape::setDeleteLastCreatedPoint(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), and updateViewNet().
|
virtual |
Reimplemented from GUISUMOAbstractView.
Definition at line 839 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 867 of file GNEViewNet.cpp.
References GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), GUISUMOAbstractView::makeCurrent(), myEditModes, myMouseButtonKeyPressed, myObjectsUnderCursor, GUISUMOAbstractView::onLeftBtnRelease(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), GNEViewNetHelper::MouseButtonKeyPressed::update(), updateCursor(), GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor(), and updateViewNet().
|
virtualinherited |
Definition at line 961 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 967 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 1040 of file GUISUMOAbstractView.cpp.
Referenced by FXDEFMAP().
|
virtual |
called when user moves mouse
Reimplemented from GUISUMOAbstractView.
Definition at line 925 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 1003 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUIMainWindow::isGaming(), GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myViewportChooser, GUIPerspectiveChanger::onMouseWheel(), GUIDialog_EditViewport::setValues(), and GUISUMOAbstractView::updatePositionInformation().
Referenced by FXDEFMAP().
|
virtualinherited |
Definition at line 872 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 895 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_POLYGON, 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 910 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNEFrameModuls::DrawingShape::isDrawing(), myEditModes, myMouseButtonKeyPressed, myViewParent, NETWORK_POLYGON, GNEViewNetHelper::EditModes::networkEditMode, GUISUMOAbstractView::onRightBtnRelease(), GNEViewNetHelper::MouseButtonKeyPressed::update(), and updateCursor().
|
virtual |
open object dialog
Reimplemented from GUISUMOAbstractView.
Definition at line 395 of file GNEViewNet.cpp.
References GNEFrameModuls::OverlappedInspection::checkSavedPosition(), GNEViewNetHelper::ObjectsUnderCursor::getGUIGlObjectFront(), GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GNEViewParent::getInspectorFrame(), GNEInspectorFrame::getOverlappedInspection(), GUIGlObject::getPopUpMenu(), GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::makeCurrent(), GUISUMOAbstractView::myAmInitialised, GUISUMOAbstractView::myApp, GUISUMOAbstractView::myChanger, myInspectedAttributeCarriers, myNet, myObjectsUnderCursor, GUISUMOAbstractView::myPopup, GUISUMOAbstractView::myPopupPosition, myViewParent, GUIPerspectiveChanger::onRightBtnRelease(), GNEFrameModuls::OverlappedInspection::overlappedInspectionShown(), and GNEViewNetHelper::ObjectsUnderCursor::updateObjectUnderCursor().
|
privatedelete |
Invalidated assignment operator.
|
inherited |
pixels-to-meters conversion method
Definition at line 783 of file GUISUMOAbstractView.cpp.
References GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), and GUISUMOAbstractView::myChanger.
Referenced by GUIDanielPerspectiveChanger::changeCanvasSizeLeft(), GUISUMOAbstractView::drawDecals(), GUIDanielPerspectiveChanger::move(), and GUISUMOAbstractView::showToolTipFor().
|
protectedinherited |
performs the painting of the simulation
Definition at line 268 of file GUISUMOAbstractView.cpp.
References RGBColor::alpha(), GUISUMOAbstractView::applyGLTransform(), GUIVisualizationSettings::backgroundColor, RGBColor::blue(), GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::displayLegends(), GUIVisualizationSettings::dither, GUISUMOAbstractView::doPaintGL(), GUISUMOAbstractView::drawFPS(), GUIVisualizationSettings::fps, SysUtils::getCurrentMillis(), GUISUMOAbstractView::getObjectUnderCursor(), GUISUMOAbstractView::getTrackedID(), RGBColor::green(), GUIGlObject::INVALID_ID, GUISUMOAbstractView::myFrameDrawTime, GUISUMOAbstractView::myUseToolTips, GUISUMOAbstractView::myVisualizationSettings, RGBColor::red(), and GUISUMOAbstractView::showToolTipFor().
Referenced by GUISUMOAbstractView::onPaint().
|
protectedinherited |
paints a grid
Definition at line 522 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::addSize, GUIVisualizationSizeSettings::getExaggeration(), GUIPerspectiveChanger::getViewport(), GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, GUIVisualizationSettings::scale, Boundary::xmax(), Boundary::xmin(), Boundary::ymax(), and Boundary::ymin().
Referenced by GUIViewTraffic::doPaintGL(), doPaintGL(), and GUISUMOAbstractView::makeSnapshot().
|
private |
Auxiliar function used by onLeftBtnPress(...)
Definition at line 2266 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 4307 of file GNEViewNet.cpp.
References GNEEdgeDataFrame::addEdgeData(), GNEEdgeRelDataFrame::addEdgeRelationData(), GNETAZRelDataFrame::addTAZRelationData(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewParent::getDeleteFrame(), GNEViewParent::getEdgeDataFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GNEViewParent::getInspectorFrame(), GNESelectorFrame::getLockGLObjectTypes(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getSelectorFrame(), GNEAttributeCarrier::getTagProperty(), GNEViewParent::getTAZRelDataFrame(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNETagProperties::isDataElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), myEditModes, myMouseButtonKeyPressed, myObjectsUnderCursor, mySelectingArea, myViewParent, processClick(), GNEInspectorFrame::processDataSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEAttributeCarrier::unselectAttributeCarrier(), and updateViewNet().
Referenced by onLeftBtnPress().
|
private |
process left button press function in Supermode Demand
Definition at line 4156 of file GNEViewNet.cpp.
References GNERouteFrame::addEdgeRoute(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEViewNetHelper::MoveMultipleElementValues::beginMoveSelection(), GNEViewNetHelper::MoveSingleElementValues::beginMoveSingleElementDemandMode(), GNEViewNetHelper::SelectingArea::beginRectangleSelection(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewParent::getDeleteFrame(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNESelectorFrame::getLockGLObjectTypes(), GNELane::getParentEdge(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEAttributeCarrier::getTagProperty(), GNEViewParent::getVehicleFrame(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNETagProperties::isDemandElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), myEditModes, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, myObjectsUnderCursor, mySelectingArea, myViewParent, processClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEAttributeCarrier::unselectAttributeCarrier(), and updateViewNet().
Referenced by onLeftBtnPress().
|
private |
mouse process functions
process left button press function in Supermode Network
Definition at line 3834 of file GNEViewNet.cpp.
References GNEAdditionalFrame::addAdditional(), GNECrossingFrame::addCrossing(), GNEAdditionalFrame::SelectorParentLanes::addSelectedLane(), 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(), GNEViewParent::getAdditionalFrame(), GNEViewNetHelper::ObjectsUnderCursor::getAttributeCarrierFront(), GNEViewNetHelper::ObjectsUnderCursor::getConnectionFront(), GNEViewParent::getConnectorFrame(), GNEAdditionalFrame::getConsecutiveLaneSelector(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDeleteFrame(), GNEDeleteFrame::getDeleteOptions(), GNEViewNetHelper::ObjectsUnderCursor::getEdgeFront(), GNEViewNetHelper::EditNetworkElementShapes::getEditedNetworkElement(), GNEViewNetHelper::ObjectsUnderCursor::getGlTypeFront(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GNEViewParent::getInspectorFrame(), GNEViewNetHelper::ObjectsUnderCursor::getJunctionFront(), GNEViewNetHelper::ObjectsUnderCursor::getLaneFront(), GNESelectorFrame::getLockGLObjectTypes(), GNEViewNetHelper::ObjectsUnderCursor::getNetworkElementFront(), GNEEdge::getOppositeEdge(), GNEViewNetHelper::ObjectsUnderCursor::getPOIFront(), GNEViewParent::getPolygonFrame(), GUISUMOAbstractView::getPositionInformation(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEEdge::getSplitPos(), GNEAttributeCarrier::getTagProperty(), GNETAZFrame::TAZCurrent::getTAZ(), GNETAZFrame::getTAZCurrentModul(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEConnectorFrame::handleLaneClick(), GNEProhibitionFrame::handleProhibitionClick(), GNETagProperties::isAdditionalElement(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNETagProperties::isDemandElement(), GNETagProperties::isNetworkElement(), GNESelectorFrame::LockGLObjectTypes::IsObjectTypeLocked(), GNEAdditionalFrame::SelectorParentLanes::isSelectingLanes(), GNETagProperties::isShape(), GNEAdditionalFrame::SelectorParentLanes::isShown(), GNETagProperties::isTAZElement(), GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, myEditModes, myEditNetworkElementShapes, 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_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, GNEPolygonFrame::processClick(), GNETAZFrame::processClick(), GNECreateEdgeFrame::processClick(), processClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEMoveElement::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEAttributeCarrier::selectAttributeCarrier(), GNEViewNetHelper::NetworkViewOptions::selectEdges(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GUIVisualizationSettings::showGrid, GUISUMOAbstractView::snapToActiveGrid(), GNENet::splitEdge(), GNENet::splitEdgesBidi(), GNEAdditionalFrame::SelectorParentLanes::startConsecutiveLaneSelector(), GNEViewNetHelper::ObjectsUnderCursor::swapLane2Edge(), GNEAttributeCarrier::unselectAttributeCarrier(), GNEPolygonFrame::UPDATEDTEMPORALSHAPE, GNECreateEdgeFrame::updateObjectsUnderSnappedCursor(), and updateViewNet().
Referenced by onLeftBtnPress().
|
private |
process left button release function in Supermode Data
Definition at line 4402 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 4276 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 4093 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 4421 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 4295 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 4134 of file GNEViewNet.cpp.
References GNEPolygonFrame::getDrawingShapeModul(), GNETAZFrame::getDrawingShapeModul(), GNEViewParent::getPolygonFrame(), GNEViewParent::getTAZFrame(), GNEFrameModuls::DrawingShape::isDrawing(), GNEViewNetHelper::MoveMultipleElementValues::isMovingSelection(), GNEViewNetHelper::SelectingArea::moveRectangleSelection(), GNEViewNetHelper::MoveMultipleElementValues::moveSelection(), GNEViewNetHelper::MoveSingleElementValues::moveSingleElement(), myEditModes, myMouseButtonKeyPressed, myMoveMultipleElementValues, myMoveSingleElementValues, mySelectingArea, myViewParent, NETWORK_POLYGON, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, GNEViewNetHelper::SelectingArea::selectingUsingRectangle, GNEFrameModuls::DrawingShape::setDeleteLastCreatedPoint(), and GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed().
Referenced by onMouseMove().
|
virtualinherited |
recenters the view
Definition at line 789 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 1411 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myViewportChooser.
Referenced by GUIDialog_ViewSettings::~GUIDialog_ViewSettings().
|
inherited |
remove view settings
Definition at line 1417 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myVisualizationChanger.
|
inherited |
Removes an object from the list of objects that show additional things.
[in] | which | The object to remoe |
Definition at line 1604 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 1256 of file GNEViewNet.cpp.
References GNEViewParent::getInspectorFrame(), GNEInspectorFrame::inspectMultisection(), myInspectedAttributeCarriers, and myViewParent.
Referenced by GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), and GNEEdge::removeLane().
|
private |
remove restricted lane
Definition at line 2189 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), GNELane::getParentEdge(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::removeRestrictedLane(), GNENet::retrieveEdge(), GNENet::retrieveEdges(), GNENet::retrieveLanes(), toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
private |
restrict lane
Definition at line 2029 of file GNEViewNet.cpp.
References getLaneAtPopupPosition(), myNet, myUndoList, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::restrictLane(), GNENet::retrieveEdge(), GNENet::retrieveLanes(), toString(), and WRITE_DEBUG.
Referenced by onCmdLaneOperation().
|
inlinevirtualinherited |
retrieve breakpoints if provided by the application
Reimplemented in GUIViewTraffic.
Definition at line 372 of file GUISUMOAbstractView.h.
Referenced by GUIDialog_ViewSettings::onCmdExportSetting().
|
virtualinherited |
Adds a frame to a video snapshot which will be initialized if neccessary.
Reimplemented in GUIViewTraffic.
Definition at line 1276 of file GUISUMOAbstractView.cpp.
References UNUSED_PARAMETER.
Referenced by GUISUMOAbstractView::makeSnapshot().
void GNEViewNet::saveVisualizationSettings | ( | ) | const |
Definition at line 439 of file GNEViewNet.cpp.
References OutputDevice::close(), OutputDevice::closeTag(), OutputDevice::getDevice(), OptionsCont::getOptions(), GUIPerspectiveChanger::getRotation(), OptionsCont::getString(), GUIPerspectiveChanger::getXPos(), GUIPerspectiveChanger::getYPos(), GUIPerspectiveChanger::getZoom(), GUISUMOAbstractView::myChanger, GUISUMOAbstractView::myVisualizationSettings, OutputDevice::openTag(), GUIVisualizationSettings::save(), SUMO_ATTR_ANGLE, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_ZOOM, SUMO_TAG_VIEWPORT, SUMO_TAG_VIEWSETTINGS, WRITE_ERROR, and OutputDevice::writeAttr().
Referenced by GNEApplicationWindow::closeAllWindows().
|
inherited |
Translate screen position to network position.
Definition at line 215 of file GUISUMOAbstractView.cpp.
References DEG2RAD, Boundary::getCenter(), Boundary::getHeight(), GUIPerspectiveChanger::getRotation(), GUIPerspectiveChanger::getViewport(), Boundary::getWidth(), GUISUMOAbstractView::myChanger, Position::rotateAround2D(), Boundary::xmin(), and Boundary::ymin().
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::getPositionInformation().
|
inherited |
Sets the breakpoints of the parent application.
Definition at line 1676 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 379 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 1670 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setDelay().
Referenced by GUIDialog_ViewSettings::loadSettings().
void GNEViewNet::setFrontAttributeCarrier | ( | const GNEAttributeCarrier * | AC | ) |
set front attributeCarrier
Definition at line 1273 of file GNEViewNet.cpp.
References myFrontAttributeCarrier, and updateViewNet().
Referenced by GNEApplicationWindow::onCmdSetFrontElement().
void GNEViewNet::setInspectedAttributeCarriers | ( | const std::vector< GNEAttributeCarrier * > | ACs | ) |
set inspected attributeCarrier
Definition at line 1234 of file GNEViewNet.cpp.
References myInspectedAttributeCarriers.
Referenced by GNEVehicleTypeFrame::attributesEditorExtendedDialogOpened(), GNEInspectorFrame::clearInspectedAC(), GNEInspectorFrame::hide(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), and GNEVehicleTypeFrame::show().
void GNEViewNet::setSelectorFrameScale | ( | double | selectionScale | ) |
set selection scaling (in GNESelectorFrame)
Definition at line 587 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myVisualizationSettings, and GUIVisualizationSettings::selectorFrameScale.
void GNEViewNet::setStatusBarText | ( | const std::string & | text | ) |
set staturBar text
Definition at line 575 of file GNEViewNet.cpp.
References GUISUMOAbstractView::myApp, and GUIMainWindow::setStatusBarText().
Referenced by GNEAdditionalFrame::addAdditional(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEVehicleFrame::addVehicle(), GNEConnectorFrame::buildConnection(), GNERouteHandler::buildPersonPlan(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), hotkeyDel(), GNETLSEditorFrame::onCmdDefSwitch(), GNETLSEditorFrame::parseTLSPrograms(), GNEPolygonFrame::processClick(), and GNECreateEdgeFrame::processClick().
|
virtualinherited |
applies the given viewport settings
Definition at line 1376 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myChanger, GUIPerspectiveChanger::setRotation(), GUIPerspectiveChanger::setViewportFrom(), Position::x(), Position::y(), and Position::z().
Referenced by GUISettingsHandler::applyViewport(), GUISUMOAbstractView::copyViewportTo(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIApplicationWindow::handleEvent_SimulationLoaded(), GUIDialog_EditViewport::onCmdCancel(), GUIDialog_EditViewport::onCmdChanged(), GUIDialog_EditViewport::onCmdOk(), TraCIServerAPI_GUI::processSet(), and GUICompleteSchemeStorage::setViewport().
|
inherited |
Returns the gl-id of the object under the given coordinates.
Definition at line 840 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 599 of file GNEViewNet.cpp.
References MFXCheckableButton::amChecked(), GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, myEditModes, myNetworkViewOptions, NETWORK_MOVE, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNEJunction::drawGL().
bool GNEViewNet::showLockIcon | ( | ) | const |
check if lock icon should be visible
Definition at line 1291 of file GNEViewNet.cpp.
References myEditModes, NETWORK_ADDITIONAL, NETWORK_INSPECT, NETWORK_MOVE, and GNEViewNetHelper::EditModes::networkEditMode.
Referenced by GNEViewNetHelper::LockIcon::checkDrawing(), and GNEShape::draw().
|
protectedinherited |
invokes the tooltip for the given object
Definition at line 502 of file GUISUMOAbstractView.cpp.
References Position::add(), RGBColor::BLACK, GLHelper::drawTextBox(), GUIVisualizationSettings::edgeValue, GUIGlObject::getColorValue(), GUIVisualizationSettings::getLaneEdgeMode(), GUIGlObjectStorage::getObjectBlocking(), GUISUMOAbstractView::getPositionInformation(), GUIGlObject::getType(), GUIGlObjectStorage::gIDStorage, GLO_EDGE, GLO_LANE, GLO_MAX, GUISUMOAbstractView::myVisualizationSettings, GUISUMOAbstractView::p2m(), GUIVisualizationTextSettings::show, toString(), and GUIGlObjectStorage::unblockObject().
Referenced by GUISUMOAbstractView::paintGL().
|
inherited |
show tool tips
Definition at line 1393 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUIGlChildWindow::onCmdShowToolTips().
|
virtualinherited |
show viewport editor
Definition at line 1367 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 1331 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myDecals, GUISUMOAbstractView::myDecalsLock, GUISUMOAbstractView::myVisualizationChanger, GUISUMOAbstractView::myVisualizationSettings, GUIDialog_ViewSettings::setCurrent(), and GUIDialog_ViewSettings::show().
Referenced by GNEApplicationWindow::onCmdEditViewScheme(), and GUIGlChildWindow::onCmdEditViewScheme().
|
inherited |
Returns a position that is mapped to the closest grid point if the grid is active.
note: formats are pos(x,y,0) por pos(0,0,z)
Definition at line 196 of file GUISUMOAbstractView.cpp.
References GUIVisualizationSettings::gridXSize, GUIVisualizationSettings::gridYSize, GUISUMOAbstractView::myVisualizationSettings, Position::setx(), Position::sety(), Position::setz(), GUIVisualizationSettings::showGrid, Position::x(), Position::y(), and Position::z().
Referenced by GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEMoveElement::calculateMovementOverLane(), GNEMoveElement::commitMove(), drawTemporalDrawShape(), drawTemporalJunction(), GNEEdge::editEndpoint(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GNEPoly::getVertexIndex(), GNEMoveElement::moveElement(), GNEPersonStop::moveGeometry(), GNEPersonTrip::moveGeometry(), GNERide::moveGeometry(), GNEStop::moveGeometry(), GNEWalk::moveGeometry(), GNECreateEdgeFrame::processClick(), and processLeftButtonPressNetwork().
|
virtualinherited |
star track
Reimplemented in GUIViewTraffic.
Definition at line 1435 of file GUISUMOAbstractView.cpp.
Referenced by GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), and TraCIServerAPI_GUI::processSet().
|
virtualinherited |
stop track
Reimplemented in GUIViewTraffic.
Definition at line 1440 of file GUISUMOAbstractView.cpp.
Referenced by GUIDialog_ChooserAbstract::onCmdCenter(), GUISUMOViewParent::onUpdSpeedFactor(), and TraCIServerAPI_GUI::processSet().
void GNEViewNet::updateControls | ( | ) |
update control contents after undo/redo or recompute
Definition at line 3644 of file GNEViewNet.cpp.
References GNEViewParent::getInspectorFrame(), myEditModes, myViewParent, NETWORK_INSPECT, GNEViewNetHelper::EditModes::networkEditMode, and updateViewNet().
Referenced by GNEApplicationWindow::updateControls().
|
private |
update cursor after every click/key press/release
Definition at line 2281 of file GNEViewNet.cpp.
References GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), DATA_SELECT, GNEViewNetHelper::EditModes::dataEditMode, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, GNEViewNetHelper::EditModes::demandEditMode, GUICursorSubSys::getCursor(), GNEViewNetHelper::EditModes::isCurrentSupermodeData(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), GNEViewNetHelper::EditModes::isCurrentSupermodeNetwork(), myEditModes, myMouseButtonKeyPressed, NETWORK_ADDITIONAL, NETWORK_POLYGON, NETWORK_SELECT, NETWORK_TAZ, GNEViewNetHelper::EditModes::networkEditMode, SUMOCURSOR_DEFAULT, and SUMOCURSOR_MOVE.
Referenced by onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), and onRightBtnRelease().
|
private |
updates Data mode specific controls
Definition at line 3357 of file GNEViewNet.cpp.
References DATA_DELETE, DATA_EDGEDATA, DATA_EDGERELDATA, DATA_INSPECT, DATA_SELECT, DATA_TAZRELDATA, GNEViewNetHelper::EditModes::dataEditMode, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::IntervalBar::disableIntervalBar(), GNEViewNetHelper::DataCheckableButtons::edgeDataButton, GNEViewNetHelper::DataCheckableButtons::edgeRelDataButton, GNEViewNetHelper::IntervalBar::enableIntervalBar(), GNEFrame::focusUpperElement(), GNEViewParent::getDeleteFrame(), GNEViewParent::getEdgeDataFrame(), GNEViewParent::getEdgeRelDataFrame(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTAZRelDataFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::hideAllFrames(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DataViewOptions::menuCheckShowAdditionals, GNEViewNetHelper::DataViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::DataViewOptions::menuCheckShowShapes, GNEApplicationWindowHelper::ToolbarsGrip::modes, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, 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 3203 of file GNEViewNet.cpp.
References GNEViewNetHelper::CommonCheckableButtons::deleteButton, DEMAND_DELETE, DEMAND_INSPECT, DEMAND_MOVE, DEMAND_PERSON, DEMAND_PERSONPLAN, DEMAND_PERSONTYPES, DEMAND_ROUTE, DEMAND_SELECT, DEMAND_STOP, DEMAND_VEHICLE, DEMAND_VEHICLETYPES, GNEViewNetHelper::EditModes::demandEditMode, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::disableDemandCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getDeleteFrame(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getPersonFrame(), GNEViewParent::getPersonPlanFrame(), GNEViewParent::getPersonTypeFrame(), GNEViewParent::getRouteFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getStopFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::getVehicleFrame(), GNEViewParent::getVehicleTypeFrame(), GNEViewParent::hideAllFrames(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::DemandViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::DemandViewOptions::menuCheckHideNonInspectedDemandElements, GNEViewNetHelper::DemandViewOptions::menuCheckHideShapes, GNEViewNetHelper::DemandViewOptions::menuCheckLockPerson, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowGrid, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::DemandCheckableButtons::moveDemandElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandCheckableButtons, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkViewOptions, myViewParent, GUISUMOAbstractView::onPaint(), GNEViewNetHelper::DemandCheckableButtons::personButton, GNEViewNetHelper::DemandCheckableButtons::personPlanButton, GNEViewNetHelper::DemandCheckableButtons::personTypeButton, GNEViewNetHelper::DemandCheckableButtons::routeButton, GNEViewNetHelper::CommonCheckableButtons::selectButton, MFXCheckableButton::setChecked(), GNEDeleteFrame::show(), GNEInspectorFrame::show(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEPersonFrame::show(), GNEPersonPlanFrame::show(), GNEPersonTypeFrame::show(), GNERouteFrame::show(), GNEStopFrame::show(), GNEVehicleFrame::show(), GNEVehicleTypeFrame::show(), GNEViewNetHelper::DemandCheckableButtons::stopButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::DemandCheckableButtons::updateDemandCheckableButtons(), updateViewNet(), GNEViewNetHelper::DemandCheckableButtons::vehicleButton, and GNEViewNetHelper::DemandCheckableButtons::vehicleTypeButton.
|
private |
updates Network mode specific controls
Definition at line 3066 of file GNEViewNet.cpp.
References GNEViewNetHelper::NetworkCheckableButtons::additionalButton, GNEViewNetHelper::NetworkCheckableButtons::connectionButton, GNEViewNetHelper::NetworkCheckableButtons::createEdgeButton, GNEViewNetHelper::NetworkCheckableButtons::crossingButton, GNEViewNetHelper::CommonCheckableButtons::deleteButton, GNEViewNetHelper::CommonCheckableButtons::disableCommonCheckableButtons(), GNEViewNetHelper::DataCheckableButtons::disableDataCheckableButtons(), GNEViewNetHelper::NetworkCheckableButtons::disableNetworkCheckableButtons(), GNEFrame::focusUpperElement(), GNEViewParent::getAdditionalFrame(), GNEViewParent::getConnectorFrame(), GNEViewParent::getCreateEdgeFrame(), GNEViewParent::getCrossingFrame(), GNEViewParent::getDeleteFrame(), GNEViewParent::getGNEAppWindows(), GNEViewParent::getInspectorFrame(), GNEViewParent::getMoveFrame(), GNEViewParent::getPolygonFrame(), GNEViewParent::getProhibitionFrame(), GNEViewParent::getSelectorFrame(), GNEViewParent::getTAZFrame(), GNEViewParent::getTLSEditorFrame(), GNEApplicationWindow::getToolbarsGrip(), GNEViewParent::hideAllFrames(), GNEViewNetHelper::DataViewOptions::hideDataViewOptionsMenuChecks(), GNEViewNetHelper::DemandViewOptions::hideDemandViewOptionsMenuChecks(), GNEViewNetHelper::IntervalBar::hideIntervalBar(), GNEViewNetHelper::NetworkViewOptions::hideNetworkViewOptionsMenuChecks(), GNEViewNetHelper::CommonCheckableButtons::inspectButton, GNEViewNetHelper::NetworkViewOptions::menuCheckAutoOppositeEdge, GNEViewNetHelper::NetworkViewOptions::menuCheckChainEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckChangeAllPhases, GNEViewNetHelper::NetworkViewOptions::menuCheckDrawSpreadVehicles, GNEViewNetHelper::NetworkViewOptions::menuCheckExtendSelection, GNEViewNetHelper::NetworkViewOptions::menuCheckHideConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckMoveElevation, GNEViewNetHelper::NetworkViewOptions::menuCheckSelectEdges, GNEViewNetHelper::NetworkViewOptions::menuCheckShowConnections, GNEViewNetHelper::NetworkViewOptions::menuCheckShowDemandElements, GNEViewNetHelper::NetworkViewOptions::menuCheckShowGrid, GNEViewNetHelper::NetworkViewOptions::menuCheckShowJunctionBubble, GNEViewNetHelper::NetworkViewOptions::menuCheckWarnAboutMerge, GNEApplicationWindowHelper::ToolbarsGrip::modes, GNEViewNetHelper::NetworkCheckableButtons::moveNetworkElementsButton, myCommonCheckableButtons, myCurrentFrame, myDataCheckableButtons, myDataViewOptions, myDemandViewOptions, myEditModes, myIntervalBar, myNetworkCheckableButtons, myNetworkViewOptions, myViewParent, NETWORK_ADDITIONAL, NETWORK_CONNECT, NETWORK_CREATE_EDGE, NETWORK_CROSSING, NETWORK_DELETE, NETWORK_INSPECT, NETWORK_MOVE, NETWORK_POLYGON, NETWORK_PROHIBITION, NETWORK_SELECT, NETWORK_TAZ, NETWORK_TLS, GNEViewNetHelper::EditModes::networkEditMode, 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(), GNEPolygonFrame::show(), GNEProhibitionFrame::show(), GNETLSEditorFrame::show(), GNEViewNetHelper::NetworkCheckableButtons::TAZButton, GNEViewNetHelper::NetworkCheckableButtons::trafficLightButton, GNEViewNetHelper::CommonCheckableButtons::updateCommonCheckableButtons(), GNEViewNetHelper::NetworkCheckableButtons::updateNetworkCheckableButtons(), and updateViewNet().
|
protectedinherited |
update position information
Definition at line 236 of file GUISUMOAbstractView.cpp.
References GeoConvHelper::cartesian2geo(), GUIMainWindow::getCartesianLabel(), GeoConvHelper::getFinal(), GUIMainWindow::getGeoLabel(), GUISUMOAbstractView::getPositionInformation(), gPrecisionGeo, GUISUMOAbstractView::myApp, toString(), Position::x(), and Position::y().
Referenced by GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::onMouseMove(), and GUISUMOAbstractView::onMouseWheel().
|
inherited |
A method that updates the tooltip.
Definition at line 181 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::myUseToolTips.
Referenced by GUIDanielPerspectiveChanger::onKeyPress(), GUIDanielPerspectiveChanger::onMouseMove(), and GUIDanielPerspectiveChanger::onMouseWheel().
void GNEViewNet::updateViewNet | ( | ) | const |
Mark the entire GNEViewNet to be repainted later.
Definition at line 318 of file GNEViewNet.cpp.
Referenced by abortOperation(), GNECrossingFrame::addCrossing(), GNERouteFrame::addEdgeRoute(), hotkeyDel(), GNEProhibitionFrame::onCmdCancel(), GNETLSEditorFrame::onCmdCancel(), onCmdClearConnections(), onCmdClosePolygon(), onCmdConvertRoundabout(), onCmdDeleteGeometryPoint(), onCmdLaneReachability(), GNETLSEditorFrame::onCmdOK(), onCmdOpenPolygon(), GNETLSEditorFrame::onCmdPhaseSwitch(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdSelectRoundabout(), onCmdSetFirstGeometryPoint(), onCmdSimplifyShape(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdToogleAutoOppositeEdge(), onCmdToogleChainEdges(), onCmdToogleChangeAllPhases(), onCmdToogleDrawSpreadVehicles(), onCmdToogleExtendSelection(), onCmdToogleHideConnections(), onCmdToogleHideNonInspecteDemandElements(), onCmdToogleHideShapes(), onCmdToogleLockPerson(), onCmdToogleMoveElevation(), onCmdToogleShowAdditionals(), onCmdToogleShowAllPersonPlans(), onCmdToogleShowConnections(), onCmdToogleShowDemandElements(), onCmdToogleShowGrid(), onCmdToogleShowJunctionBubbles(), onCmdToogleShowShapes(), onCmdToogleWarnAboutMerge(), onCmdTransformPOI(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), GNEUndoList::p_end(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::saveAdditionals(), GNENet::saveDemandElements(), GNEInspectorFrame::selectedOverlappedElement(), setColorScheme(), setFrontAttributeCarrier(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
inherited |
Definition at line 1316 of file GUISUMOAbstractView.cpp.
References GUISUMOAbstractView::mySnapshotCondition, GUISUMOAbstractView::mySnapshots, and GUISUMOAbstractView::mySnapshotsMutex.
|
friend |
FOX-declaration.
declare GNEViewNetHelper as friend struct
Definition at line 45 of file GNEViewNet.h.
|
protectedinherited |
List of objects for which GUIGlObject::drawGLAdditional is called.
Definition at line 513 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 480 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onPaint(), openObjectDialog(), and GUISUMOAbstractView::openObjectDialog().
|
protectedinherited |
The application.
Definition at line 450 of file GUISUMOAbstractView.h.
Referenced by doPaintGL(), GUISUMOAbstractView::getDelay(), GUISUMOAbstractView::getObjectsInBoundary(), GUIViewTraffic::onDoubleClicked(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnRelease(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), GUIViewTraffic::retrieveBreakpoints(), GUIViewTraffic::saveFrame(), GUISUMOAbstractView::setBreakpoints(), GUIViewTraffic::setColorScheme(), GUISUMOAbstractView::setDelay(), setStatusBarText(), and GUISUMOAbstractView::updatePositionInformation().
|
protectedinherited |
The perspective changer.
Definition at line 459 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUISUMOAbstractView::centerTo(), GUISUMOAbstractView::copyViewportTo(), GUISUMOAbstractView::getChanger(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::getVisibleBoundary(), GUISUMOAbstractView::m2p(), GUISUMOAbstractView::makeSnapshot(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::onKeyRelease(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOAbstractView::onLeftBtnRelease(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::onRightBtnPress(), GUISUMOAbstractView::onRightBtnRelease(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), GUISUMOAbstractView::p2m(), GUISUMOAbstractView::paintGLGrid(), processClick(), GUISUMOAbstractView::recenterView(), saveVisualizationSettings(), GUISUMOAbstractView::screenPos2NetPos(), GUISUMOAbstractView::setViewportFromToRot(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
private |
variable used to save checkable buttons for common supermodes
Definition at line 457 of file GNEViewNet.h.
Referenced by buildEditModeControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
the current frame
Definition at line 520 of file GNEViewNet.h.
Referenced by hotkeyFocusFrame(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save checkable buttons for Supermode Data
Definition at line 466 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 479 of file GNEViewNet.h.
Referenced by buildEditModeControls(), getDataViewOptions(), onCmdToogleShowAdditionals(), onCmdToogleShowDemandElements(), onCmdToogleShowShapes(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
Definition at line 494 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 497 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::drawDecals(), and GUISUMOAbstractView::showViewschemeEditor().
|
private |
variable used to save checkable buttons for Supermode Demand
Definition at line 463 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 476 of file GNEViewNet.h.
Referenced by buildEditModeControls(), doPaintGL(), getDemandViewOptions(), onCmdToogleDrawSpreadVehicles(), onCmdToogleHideNonInspecteDemandElements(), onCmdToogleHideShapes(), onCmdToogleLockPerson(), onCmdToogleShowAllPersonPlans(), onCmdToogleShowGrid(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save variables related with edit moves modes
Definition at line 437 of file GNEViewNet.h.
Referenced by abortOperation(), buildEditModeControls(), doPaintGL(), drawTemporalJunction(), forceSupermodeNetwork(), getEditModes(), hotkeyBackSpace(), hotkeyDel(), hotkeyEnter(), onCmdSetMode(), onCmdSetSupermode(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), showJunctionAsBubbles(), showLockIcon(), updateControls(), updateCursor(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
struct for grouping all variables related with edit shapes
Definition at line 511 of file GNEViewNet.h.
Referenced by abortOperation(), getEditNetworkElementShapes(), hotkeyEnter(), onCmdEditConnectionShape(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), and processLeftButtonPressNetwork().
|
protectedinherited |
counter for measuring rendering time
Definition at line 516 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getFPS(), and GUISUMOAbstractView::paintGL().
|
private |
front attribute carrier
Definition at line 529 of file GNEViewNet.h.
Referenced by drawTranslateFrontAttributeCarrier(), getFrontAttributeCarrier(), onCmdClearConnections(), onCmdResetConnections(), and setFrontAttributeCarrier().
|
protectedinherited |
The visualization speed-up.
Definition at line 456 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 462 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::isInEditMode().
|
private |
current inspected attribute carrier
Definition at line 526 of file GNEViewNet.h.
Referenced by doPaintGL(), getInspectedAttributeCarriers(), isAttributeCarrierInspected(), onCmdClearConnections(), onCmdResetConnections(), onCmdToogleLockPerson(), openObjectDialog(), removeFromAttributeCarrierInspected(), and setInspectedAttributeCarriers().
|
private |
variable used to save IntervalBar
Definition at line 483 of file GNEViewNet.h.
Referenced by buildEditModeControls(), getIntervalBar(), onCmdIntervalBarDataSet(), onCmdIntervalBarGenericDataType(), onCmdIntervalBarLimit(), onCmdIntervalBarSetAttribute(), onCmdIntervalBarSetBegin(), onCmdIntervalBarSetEnd(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable used to save key status after certain events
Definition at line 447 of file GNEViewNet.h.
Referenced by drawTemporalJunction(), getMouseButtonKeyPressed(), onKeyPress(), onKeyRelease(), onLeftBtnPress(), onLeftBtnRelease(), onMouseMove(), onRightBtnPress(), onRightBtnRelease(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), and updateCursor().
|
protectedinherited |
Offset to the mouse-hotspot from the mouse position.
Definition at line 465 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 465 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::setWindowCursorPosition().
|
private |
variable used to save variables related with movement of multiple elements
Definition at line 491 of file GNEViewNet.h.
Referenced by processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseData(), processLeftButtonReleaseDemand(), processLeftButtonReleaseNetwork(), and processMoveMouseNetwork().
|
private |
Definition at line 488 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 517 of file GNEViewNet.h.
Referenced by addRestrictedLane(), buildColorRainbow(), deleteSelectedAdditionals(), deleteSelectedConnections(), deleteSelectedCrossings(), deleteSelectedDemandElements(), deleteSelectedEdges(), deleteSelectedGenericDatas(), deleteSelectedJunctions(), deleteSelectedLanes(), deleteSelectedShapes(), deleteSelectedTAZElements(), getAttributeCarriersInBoundary(), getEdgeLaneParamKeys(), getNet(), mergeJunctions(), onCmdAddReversedEdge(), onCmdClearConnections(), onCmdConvertRoundabout(), onCmdDuplicateLane(), onCmdEditCrossingShape(), onCmdEditJunctionShape(), onCmdLaneReachability(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdReverseEdge(), onCmdSelectRoundabout(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdToogleDrawSpreadVehicles(), onCmdToogleShowDemandElements(), onCmdTransformPOI(), openObjectDialog(), processLeftButtonPressNetwork(), removeRestrictedLane(), and restrictLane().
|
private |
variable used to save checkable buttons for Supermode Network
Definition at line 460 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 473 of file GNEViewNet.h.
Referenced by autoSelectNodes(), buildEditModeControls(), changeAllPhases(), doPaintGL(), drawTemporalJunction(), getAttributeCarriersInBoundary(), getNetworkViewOptions(), mergeJunctions(), onCmdToogleAutoOppositeEdge(), onCmdToogleChainEdges(), onCmdToogleChangeAllPhases(), onCmdToogleDrawSpreadVehicles(), onCmdToogleExtendSelection(), onCmdToogleHideConnections(), onCmdToogleMoveElevation(), onCmdToogleSelectEdges(), onCmdToogleShowConnections(), onCmdToogleShowDemandElements(), onCmdToogleShowGrid(), onCmdToogleShowJunctionBubbles(), onCmdToogleWarnAboutMerge(), processLeftButtonPressNetwork(), showJunctionAsBubbles(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
private |
variable use to save all pointers to objects under cursor after a click
Definition at line 450 of file GNEViewNet.h.
Referenced by getObjectsUnderCursor(), onLeftBtnPress(), onLeftBtnRelease(), openObjectDialog(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), and processLeftButtonReleaseNetwork().
|
protectedinherited |
The parent window.
Definition at line 453 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getColoringSchemesCombo().
|
mutableprotectedinherited |
poly draw lock
Definition at line 510 of file GUISUMOAbstractView.h.
|
protectedinherited |
The current popup-menu.
Definition at line 468 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::onKeyRelease(), GUISUMOAbstractView::onMouseMove(), openObjectDialog(), GUISUMOAbstractView::openObjectDialog(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
The current popup-menu position.
Definition at line 471 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::destroyPopup(), GUISUMOAbstractView::getPopupPosition(), openObjectDialog(), and GUISUMOAbstractView::openObjectDialog().
|
private |
variable used to save elements
Definition at line 505 of file GNEViewNet.h.
Referenced by buildEditModeControls().
|
private |
variable used to save variables related with selecting areas
Definition at line 508 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 507 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::checkSnapshots(), and GUISUMOAbstractView::waitForSnapshots().
|
protectedinherited |
Snapshots.
Definition at line 501 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 504 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 440 of file GNEViewNet.h.
Referenced by doPaintGL(), and getTestingMode().
|
private |
a reference to the undolist maintained in the application
Definition at line 523 of file GNEViewNet.h.
Referenced by abortOperation(), addRestrictedLane(), deleteSelectedAdditionals(), deleteSelectedConnections(), deleteSelectedCrossings(), deleteSelectedDemandElements(), deleteSelectedEdges(), deleteSelectedGenericDatas(), deleteSelectedJunctions(), deleteSelectedLanes(), deleteSelectedShapes(), deleteSelectedTAZElements(), getUndoList(), hotkeyDel(), mergeJunctions(), onCmdAddReversedEdge(), onCmdClearConnections(), onCmdConvertRoundabout(), onCmdDuplicateLane(), onCmdEditEdgeEndpoint(), onCmdLaneReachability(), onCmdReplaceJunction(), onCmdResetConnections(), onCmdResetEdgeEndpoint(), onCmdResetJunctionShape(), onCmdResetLaneCustomShape(), onCmdResetLength(), onCmdReverseEdge(), onCmdSelectRoundabout(), onCmdSmoothEdges(), onCmdSmoothEdgesElevation(), onCmdSplitEdge(), onCmdSplitEdgeBidi(), onCmdSplitJunction(), onCmdSplitJunctionReconnect(), onCmdStraightenEdges(), onCmdStraightenEdgesElevation(), onCmdTransformPOI(), processLeftButtonPressNetwork(), removeRestrictedLane(), and restrictLane().
|
protectedinherited |
use tool tips
Definition at line 477 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::showToolTips(), and GUISUMOAbstractView::updateToolTip().
|
private |
variable used to save variables related with vehicle options
Definition at line 498 of file GNEViewNet.h.
|
private |
variable used to save variables related with vehicle type options
Definition at line 501 of file GNEViewNet.h.
|
private |
view parent
Definition at line 514 of file GNEViewNet.h.
Referenced by abortOperation(), buildEditModeControls(), doPaintGL(), drawLaneCandidates(), drawTemporalDrawShape(), drawTemporalJunction(), getAttributeCarriersInBoundary(), getViewParent(), hotkeyBackSpace(), hotkeyEnter(), onCmdClearConnections(), onCmdResetConnections(), onCmdToogleShowDemandElements(), onKeyPress(), onKeyRelease(), onRightBtnPress(), onRightBtnRelease(), openObjectDialog(), processLeftButtonPressData(), processLeftButtonPressDemand(), processLeftButtonPressNetwork(), processLeftButtonReleaseNetwork(), processMoveMouseNetwork(), removeFromAttributeCarrierInspected(), updateControls(), updateDataModeSpecificControls(), updateDemandModeSpecificControls(), and updateNetworkModeSpecificControls().
|
protectedinherited |
viewport chooser
Definition at line 483 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getViewportEditor(), GUISUMOAbstractView::onMouseMove(), GUISUMOAbstractView::onMouseWheel(), GUISUMOAbstractView::remove(), GUISUMOAbstractView::showViewportEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Visualization changer.
Definition at line 489 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::remove(), GUIViewTraffic::setColorScheme(), setColorScheme(), GUISUMOAbstractView::showViewschemeEditor(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
visualization settings
Definition at line 474 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::applyGLTransform(), GUIViewTraffic::buildViewToolBars(), buildViewToolBars(), GUISUMOAbstractView::displayLegends(), GUIViewTraffic::doPaintGL(), doPaintGL(), drawLaneCandidates(), drawTemporalJunction(), GUISUMOAbstractView::getObjectsInBoundary(), GUISUMOAbstractView::getVisualisationSettings(), GUISUMOAbstractView::makeSnapshot(), GUIViewTraffic::onCmdShowReachability(), onCmdToogleShowConnections(), onCmdToogleShowGrid(), GUISUMOAbstractView::onConfigure(), GUISUMOAbstractView::onKeyPress(), GUISUMOAbstractView::paintGL(), GUISUMOAbstractView::paintGLGrid(), processLeftButtonPressNetwork(), saveVisualizationSettings(), GUIViewTraffic::setColorScheme(), setColorScheme(), setSelectorFrameScale(), GUISUMOAbstractView::showToolTipFor(), GUISUMOAbstractView::showViewschemeEditor(), GUISUMOAbstractView::snapToActiveGrid(), and GUISUMOAbstractView::~GUISUMOAbstractView().
|
protectedinherited |
Position of the cursor relative to the window.
Definition at line 486 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::getWindowCursorPosition(), and GUISUMOAbstractView::setWindowCursorPosition().
|
protectedinherited |
Definition at line 486 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getPositionInformation(), GUISUMOAbstractView::getWindowCursorPosition(), and GUISUMOAbstractView::setWindowCursorPosition().
|
staticprivateinherited |
Definition at line 520 of file GUISUMOAbstractView.h.
Referenced by GUISUMOAbstractView::getGUIGlObjectsUnderCursor(), GUISUMOAbstractView::getGUIGlObjectsUnderSnappedCursor(), GUISUMOAbstractView::getObjectAtPosition(), and GUISUMOAbstractView::getObjectsUnderCursor().