Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEViewParent Class Reference

A single child window which contains a view of the simulation area. More...

#include <GNEViewParent.h>

Inheritance diagram for GNEViewParent:
[legend]
Collaboration diagram for GNEViewParent:
[legend]

Data Structures

class  ACChoosers
 struct for ACChoosers dialog More...
class  CommonFrames
 class for common frames More...
class  DataFrames
 class for data frames More...
class  DemandFrames
 class for demand frames More...
class  NetworkFrames
 class for network frames More...

Public Member Functions

virtual void create ()
 create GUIGlChildWindow
void eraseACChooserDialog (GNEACChooserDialog *chooserDialog)
 remove created chooser dialog
GNEAdditionalFramegetAdditionalFrame () const
 get frame for NETWORK_ADDITIONAL
virtual FXGLCanvas * getBuildGLCanvas () const
 get build GL Canvas
MFXComboBoxIcongetColoringSchemesCombo ()
 return combobox with the current coloring schemes (standard, fastest standard, real world...)
GNEConnectorFramegetConnectorFrame () const
 get frame for NETWORK_CONNECT
GNEContainerFramegetContainerFrame () const
 get frame for DEMAND_CONTAINER
GNEContainerPlanFramegetContainerPlanFrame () const
 get frame for DEMAND_CONTAINERFRAME
GNECreateEdgeFramegetCreateEdgeFrame () const
 get frame for NETWORK_CREATEEDGE
GNECrossingFramegetCrossingFrame () const
 get frame for NETWORK_CROSSING
GNEFramegetCurrentShownFrame () const
 get current frame (note: it can be null)
GNEDecalFramegetDecalFrame () const
 get frame for NETWORK_DECAL
GNEDeleteFramegetDeleteFrame () const
 get frame for delete elements
GNEEdgeDataFramegetEdgeDataFrame () const
 get frame for DATA_EDGEDATA
GNEEdgeRelDataFramegetEdgeRelDataFrame () const
 get frame for DATA_EDGERELDATA
int getFrameAreaWidth () const
 get frame area width
FXVerticalFrame * getFramesArea () const
 get frame area
GNEApplicationWindowgetGNEAppWindows () const
 get GNE Application Windows
GUIMainWindowgetGUIMainWindow () const
 get GUIMainWindow App
GUIMainWindowgetGUIMainWindowParent ()
 Returns the GUIMainWindow parent.
GNEInspectorFramegetInspectorFrame () const
 get frame for inspect elements
FXPopup * getLocatorPopup ()
 @ brief return a pointer to locator popup
GNEMeanDataFramegetMeanDataFrame () const
 get frame for DATA_TAZRELDATA
GNEMoveFramegetMoveFrame () const
 get frame for move elements
FXToolBar * getNavigationToolBar (GUISUMOAbstractView &v)
 return a reference to navigation toolbar
virtual std::vector< GUIGlIDgetObjectIDs (int messageId) const
GNEPersonFramegetPersonFrame () const
 get frame for DEMAND_PERSON
GNEPersonPlanFramegetPersonPlanFrame () const
 get frame for DEMAND_PERSONFRAME
GNEProhibitionFramegetProhibitionFrame () const
 get frame for NETWORK_PROHIBITION
GNERouteDistributionFramegetRouteDistributionFrame () const
 get frame for DEMAND_ROUTEDISTRIBUTION
GNERouteFramegetRouteFrame () const
 get frame for DEMAND_ROUTE
GNESelectorFramegetSelectorFrame () const
 get frame for select elements
GNEShapeFramegetShapeFrame () const
 get frame for NETWORK_SHAPE
MFXCheckableButtongetShowToolTipsMenu () const
 get menu for tooltips menu
GNEStopFramegetStopFrame () const
 get frame for DEMAND_STOP
GNETAZFramegetTAZFrame () const
 get frame for NETWORK_TAZ
GNETAZRelDataFramegetTAZRelDataFrame () const
 get frame for DATA_TAZRELDATA
GNETLSEditorFramegetTLSEditorFrame () const
 get frame for NETWORK_TLS
GNETypeDistributionFramegetTypeDistributionFrame () const
 get frame for DEMAND_TYPEDISTRIBUTION
GNETypeFramegetTypeFrame () const
 get frame for DEMAND_TYPE
GNEVehicleFramegetVehicleFrame () const
 get frame for DEMAND_VEHICLE
GUISUMOAbstractViewgetView () const
 return GUISUMOAbstractView
GNEWireFramegetWireFrame () const
 get frame for NETWORK_WIRE
 GNEViewParent (FXMDIClient *p, FXMDIMenu *mdimenu, const FXString &name, GNEApplicationWindow *parentWindow, FXGLCanvas *share, GNENet *net, GNEUndoList *undoList, FXIcon *ic=nullptr, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0)
 FOX-declaration.
void hideAllFrames ()
 hide all frames
void hideFramesArea ()
 hide frames area if all GNEFrames are hidden
virtual bool isSelected (GUIGlObject *o) const
 true if the object is selected (may include extra logic besides calling gSelected)
void setFrameAreaWidth (const int frameAreaWith)
 set frame area width
void setView (GUIGlID id)
 Centers the view onto the given artifact.
void showFramesArea ()
 show frames area if at least a GNEFrame is showed
void updateUndoRedoButtons ()
 update toolbar undo/redo buttons (called when user press Ctrl+Z/Y)
 ~GNEViewParent ()
 Destructor.
FOX-callbacks

Called if the user wants to make a snapshot (screenshot)

long onCmdMakeSnapshot (FXObject *sender, FXSelector, void *)
long onCmdClose (FXObject *, FXSelector, void *)
 Called when the user hits the close button (x).
long onCmdLocate (FXObject *, FXSelector, void *)
 locator-callback
long onKeyPress (FXObject *o, FXSelector sel, void *data)
 Called when user press a key.
long onKeyRelease (FXObject *o, FXSelector sel, void *data)
 Called when user releases a key.
long onCmdUpdateFrameAreaWidth (FXObject *, FXSelector, void *)
 Called when user change the splitter between FrameArea and ViewNet.
buttons call backs
long onCmdRecenterView (FXObject *, FXSelector, void *)
long onCmdEditViewport (FXObject *, FXSelector, void *)
long onCmdEditViewScheme (FXObject *, FXSelector, void *)
long onCmdShowToolTipsView (FXObject *sender, FXSelector, void *)
long onCmdShowToolTipsMenu (FXObject *sender, FXSelector, void *)
long onCmdZoomStyle (FXObject *sender, FXSelector, void *)
long onCmdChangeColorScheme (FXObject *, FXSelector sel, void *)

Protected Member Functions

void buildColoringToolBar ()
 build coloring toolbar
void buildNavigationToolBar ()
 build navigation toolbar
void buildScreenshotToolBar ()
 build screenshot toolbar

Protected Attributes

FXVerticalFrame * myChildWindowContentFrame = nullptr
 The contents frame.
MFXComboBoxIconmyColoringSchemes = nullptr
 The coloring schemes.
FXMenuBar * myGripNavigationToolbar = nullptr
 The grip navigation tool bar.
GUIMainWindowmyGUIMainWindowParent = nullptr
 FOX needs this.
MFXMenuButtonTooltipmyLocatorButton = nullptr
 The locator button.
FXPopup * myLocatorPopup = nullptr
 The locator menu.
MFXCheckableButtonmyShowToolTipsMenu = nullptr
 menu for tooltips menu
MFXCheckableButtonmyShowToolTipsView = nullptr
 menu for tooltips view
FXToolBar * myStaticNavigationToolBar = nullptr
 The static navigation tool bar.
GUISUMOAbstractViewmyView = nullptr
 The view.
MFXCheckableButtonmyZoomStyle = nullptr
 Zoom but.

Private Attributes

ACChoosers myACChoosers
 struct for ACChoosers
CommonFrames myCommonFrames
 struct for common frames
MFXButtonTooltipmyComputePathManagerButton
 compute Path manager button
DataFrames myDataFrames
 struct for data frames
DemandFrames myDemandFrames
 struct for demand frames
FXVerticalFrame * myFramesArea
 frame to hold GNEFrames
FXSplitter * myFramesSplitter
 Splitter to divide ViewNet und GNEFrames.
GNEApplicationWindowmyGNEAppWindows
 pointer to GNEApplicationWindow
NetworkFrames myNetworkFrames
 struct for network frames
MFXButtonTooltipmyRedoButton
 toolbar redo button
MFXButtonTooltipmyUndoButton
 toolbar undo button
FXHorizontalFrame * myViewArea
 frame to hold myView and myAttributePanel

Detailed Description

A single child window which contains a view of the simulation area.

It is made of a tool-bar containing a field to change the type of display, buttons that allow to choose an artifact and some other view controlling options.

The rest of the window is a canvas that contains the display itself

Definition at line 88 of file GNEViewParent.h.

Constructor & Destructor Documentation

◆ GNEViewParent()

GNEViewParent::GNEViewParent ( FXMDIClient * p,
FXMDIMenu * mdimenu,
const FXString & name,
GNEApplicationWindow * parentWindow,
FXGLCanvas * share,
GNENet * net,
GNEUndoList * undoList,
FXIcon * ic = nullptr,
FXuint opts = 0,
FXint x = 0,
FXint y = 0,
FXint w = 0,
FXint h = 0 )

FOX-declaration.

Constructor also builds the view and calls create()

Parameters
[in]pThe MDI-pane this window is shown within
[in]mdimenuThe MDI-menu for alignment
[in]nameThe name of the window
[in]parentWindowThe main window
[in]icThe icon of this window
[in]optsWindow options
[in]xInitial x-position
[in]yInitial x-position
[in]wInitial width
[in]hInitial height
[in]shareA canvas tor get the shared context from
[in]netThe network to show

Definition at line 97 of file GNEViewParent.cpp.

References COMPUTEPATHMANAGER, GUIGlChildWindow::create(), GUIIconSubSys::getIcon(), GNEViewParent(), GUIDesignButtonToolbar, GUIDesignFrameArea, GUIDesignFramesAreaDefaultWidth, GUIDesignSplitter, GUIDesignVerticalSeparator, GUIDesignViewnArea, GUIGlChildWindow::GUIGlChildWindow(), hideFramesArea(), MID_GNE_TOOLBAREDIT_COMPUTEPATHMANAGER, MID_GNE_VIEWPARENT_FRAMEAREAWIDTH, MID_HOTKEY_CTRL_Y_REDO, MID_HOTKEY_CTRL_Z_UNDO, GUIGlChildWindow::myChildWindowContentFrame, myCommonFrames, myComputePathManagerButton, myDataFrames, myDemandFrames, myFramesArea, myFramesSplitter, myGNEAppWindows, GUIGlChildWindow::myGripNavigationToolbar, GUIGlChildWindow::myGUIMainWindowParent, myNetworkFrames, myRedoButton, myUndoButton, GUIGlChildWindow::myView, myViewArea, onCmdUpdateFrameAreaWidth(), REDO, TL, and UNDO.

Referenced by GNEViewParent::CommonFrames::buildCommonFrames(), GNEViewParent::DataFrames::buildDataFrames(), GNEViewParent::DemandFrames::buildDemandFrames(), GNEViewParent::NetworkFrames::buildNetworkFrames(), and GNEViewParent().

Here is the caller graph for this function:

◆ ~GNEViewParent()

GNEViewParent::~GNEViewParent ( )

Destructor.

Definition at line 167 of file GNEViewParent.cpp.

References myGNEAppWindows, and GUIGlChildWindow::myGUIMainWindowParent.

Member Function Documentation

◆ buildColoringToolBar()

void GUIGlChildWindow::buildColoringToolBar ( )
protectedinherited

build coloring toolbar

Definition at line 153 of file GUIGlChildWindow.cpp.

References COLORWHEEL, GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignComboBoxStatic, GUIDesignComboBoxVisibleItems, GUIDesignVerticalSeparator, MID_COLORSCHEMECHANGE, MID_HOTKEY_F9_EDIT_VIEWSCHEME, myColoringSchemes, myGripNavigationToolbar, myGUIMainWindowParent, myStaticNavigationToolBar, and TL.

Referenced by GUIGlChildWindow().

Here is the caller graph for this function:

◆ buildNavigationToolBar()

void GUIGlChildWindow::buildNavigationToolBar ( )
protectedinherited

◆ buildScreenshotToolBar()

void GUIGlChildWindow::buildScreenshotToolBar ( )
protectedinherited

build screenshot toolbar

Definition at line 167 of file GUIGlChildWindow.cpp.

References CAMERA, GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignVerticalSeparator, MID_MAKESNAPSHOT, myGripNavigationToolbar, myGUIMainWindowParent, myStaticNavigationToolBar, and TL.

Referenced by GUIGlChildWindow().

Here is the caller graph for this function:

◆ create()

void GUIGlChildWindow::create ( )
virtualinherited

create GUIGlChildWindow

Definition at line 90 of file GUIGlChildWindow.cpp.

References myGripNavigationToolbar, myLocatorPopup, myStaticNavigationToolBar, and myView.

Referenced by GNEViewParent::GNEViewParent(), and GUIApplicationWindow::openNewView().

Here is the caller graph for this function:

◆ eraseACChooserDialog()

void GNEViewParent::eraseACChooserDialog ( GNEACChooserDialog * chooserDialog)

remove created chooser dialog

Definition at line 409 of file GNEViewParent.cpp.

References myACChoosers.

◆ getAdditionalFrame()

GNEAdditionalFrame * GNEViewParent::getAdditionalFrame ( ) const

get frame for NETWORK_ADDITIONAL

Definition at line 237 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getBuildGLCanvas()

FXGLCanvas * GUIGlChildWindow::getBuildGLCanvas ( ) const
virtualinherited

get build GL Canvas

Definition at line 178 of file GUIGlChildWindow.cpp.

References myView.

Referenced by GUIApplicationWindow::getBuildGLCanvas().

Here is the caller graph for this function:

◆ getColoringSchemesCombo()

MFXComboBoxIcon * GUIGlChildWindow::getColoringSchemesCombo ( )
inherited

return combobox with the current coloring schemes (standard, fastest standard, real world...)

Definition at line 196 of file GUIGlChildWindow.cpp.

References myColoringSchemes.

Referenced by GNEViewNet::buildViewToolBars(), and GUIViewTraffic::buildViewToolBars().

Here is the caller graph for this function:

◆ getConnectorFrame()

GNEConnectorFrame * GNEViewParent::getConnectorFrame ( ) const

get frame for NETWORK_CONNECT

Definition at line 225 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getContainerFrame()

GNEContainerFrame * GNEViewParent::getContainerFrame ( ) const

get frame for DEMAND_CONTAINER

Definition at line 333 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getContainerPlanFrame()

GNEContainerPlanFrame * GNEViewParent::getContainerPlanFrame ( ) const

get frame for DEMAND_CONTAINERFRAME

Definition at line 339 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getCreateEdgeFrame()

GNECreateEdgeFrame * GNEViewParent::getCreateEdgeFrame ( ) const

get frame for NETWORK_CREATEEDGE

Definition at line 279 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getCrossingFrame()

GNECrossingFrame * GNEViewParent::getCrossingFrame ( ) const

get frame for NETWORK_CROSSING

Definition at line 243 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getCurrentShownFrame()

GNEFrame * GNEViewParent::getCurrentShownFrame ( ) const

get current frame (note: it can be null)

Definition at line 185 of file GNEViewParent.cpp.

References myCommonFrames, myDataFrames, myDemandFrames, and myNetworkFrames.

◆ getDecalFrame()

GNEDecalFrame * GNEViewParent::getDecalFrame ( ) const

get frame for NETWORK_DECAL

Definition at line 273 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getDeleteFrame()

GNEDeleteFrame * GNEViewParent::getDeleteFrame ( ) const

get frame for delete elements

Definition at line 207 of file GNEViewParent.cpp.

References myCommonFrames.

◆ getEdgeDataFrame()

GNEEdgeDataFrame * GNEViewParent::getEdgeDataFrame ( ) const

get frame for DATA_EDGEDATA

Definition at line 345 of file GNEViewParent.cpp.

References myDataFrames.

◆ getEdgeRelDataFrame()

GNEEdgeRelDataFrame * GNEViewParent::getEdgeRelDataFrame ( ) const

get frame for DATA_EDGERELDATA

Definition at line 351 of file GNEViewParent.cpp.

References myDataFrames.

◆ getFrameAreaWidth()

int GNEViewParent::getFrameAreaWidth ( ) const

get frame area width

Definition at line 460 of file GNEViewParent.cpp.

References myFramesArea.

◆ getFramesArea()

FXVerticalFrame * GNEViewParent::getFramesArea ( ) const

get frame area

Definition at line 454 of file GNEViewParent.cpp.

References myFramesArea.

◆ getGNEAppWindows()

◆ getGUIMainWindow()

GUIMainWindow * GNEViewParent::getGUIMainWindow ( ) const

get GUIMainWindow App

Definition at line 397 of file GNEViewParent.cpp.

References GUIGlChildWindow::myGUIMainWindowParent.

◆ getGUIMainWindowParent()

GUIMainWindow * GUIGlChildWindow::getGUIMainWindowParent ( )
inherited

Returns the GUIMainWindow parent.

Definition at line 110 of file GUIGlChildWindow.cpp.

References myGUIMainWindowParent.

◆ getInspectorFrame()

◆ getLocatorPopup()

FXPopup * GUIGlChildWindow::getLocatorPopup ( )
inherited

@ brief return a pointer to locator popup

Definition at line 190 of file GUIGlChildWindow.cpp.

References myLocatorPopup.

Referenced by GNEViewNet::buildViewToolBars(), and GUIViewTraffic::buildViewToolBars().

Here is the caller graph for this function:

◆ getMeanDataFrame()

GNEMeanDataFrame * GNEViewParent::getMeanDataFrame ( ) const

get frame for DATA_TAZRELDATA

Definition at line 363 of file GNEViewParent.cpp.

References myDataFrames.

◆ getMoveFrame()

GNEMoveFrame * GNEViewParent::getMoveFrame ( ) const

get frame for move elements

Definition at line 219 of file GNEViewParent.cpp.

References myCommonFrames.

Referenced by GNEMoveElement::commitMove().

Here is the caller graph for this function:

◆ getNavigationToolBar()

FXToolBar * GUIGlChildWindow::getNavigationToolBar ( GUISUMOAbstractView & v)
inherited

return a reference to navigation toolbar

Definition at line 184 of file GUIGlChildWindow.cpp.

References myGripNavigationToolbar, and myStaticNavigationToolBar.

◆ getObjectIDs()

virtual std::vector< GUIGlID > GUIGlChildWindow::getObjectIDs ( int messageId) const
inlinevirtualinherited

Reimplemented in GUISUMOViewParent.

Definition at line 77 of file GUIGlChildWindow.h.

References UNUSED_PARAMETER.

◆ getPersonFrame()

GNEPersonFrame * GNEViewParent::getPersonFrame ( ) const

get frame for DEMAND_PERSON

Definition at line 321 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getPersonPlanFrame()

GNEPersonPlanFrame * GNEViewParent::getPersonPlanFrame ( ) const

get frame for DEMAND_PERSONFRAME

Definition at line 327 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getProhibitionFrame()

GNEProhibitionFrame * GNEViewParent::getProhibitionFrame ( ) const

get frame for NETWORK_PROHIBITION

Definition at line 261 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getRouteDistributionFrame()

GNERouteDistributionFrame * GNEViewParent::getRouteDistributionFrame ( ) const

get frame for DEMAND_ROUTEDISTRIBUTION

Definition at line 285 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getRouteFrame()

GNERouteFrame * GNEViewParent::getRouteFrame ( ) const

get frame for DEMAND_ROUTE

Definition at line 291 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getSelectorFrame()

GNESelectorFrame * GNEViewParent::getSelectorFrame ( ) const

get frame for select elements

Definition at line 213 of file GNEViewParent.cpp.

References myCommonFrames.

◆ getShapeFrame()

GNEShapeFrame * GNEViewParent::getShapeFrame ( ) const

get frame for NETWORK_SHAPE

Definition at line 255 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getShowToolTipsMenu()

MFXCheckableButton * GUIGlChildWindow::getShowToolTipsMenu ( ) const
inherited

get menu for tooltips menu

Definition at line 202 of file GUIGlChildWindow.cpp.

References myShowToolTipsMenu.

◆ getStopFrame()

GNEStopFrame * GNEViewParent::getStopFrame ( ) const

get frame for DEMAND_STOP

Definition at line 315 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getTAZFrame()

GNETAZFrame * GNEViewParent::getTAZFrame ( ) const

get frame for NETWORK_TAZ

Definition at line 249 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getTAZRelDataFrame()

GNETAZRelDataFrame * GNEViewParent::getTAZRelDataFrame ( ) const

get frame for DATA_TAZRELDATA

Definition at line 357 of file GNEViewParent.cpp.

References myDataFrames.

◆ getTLSEditorFrame()

GNETLSEditorFrame * GNEViewParent::getTLSEditorFrame ( ) const

get frame for NETWORK_TLS

Definition at line 231 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ getTypeDistributionFrame()

GNETypeDistributionFrame * GNEViewParent::getTypeDistributionFrame ( ) const

get frame for DEMAND_TYPEDISTRIBUTION

Definition at line 309 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getTypeFrame()

GNETypeFrame * GNEViewParent::getTypeFrame ( ) const

get frame for DEMAND_TYPE

Definition at line 303 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getVehicleFrame()

GNEVehicleFrame * GNEViewParent::getVehicleFrame ( ) const

get frame for DEMAND_VEHICLE

Definition at line 297 of file GNEViewParent.cpp.

References myDemandFrames.

◆ getView()

◆ getWireFrame()

GNEWireFrame * GNEViewParent::getWireFrame ( ) const

get frame for NETWORK_WIRE

Definition at line 267 of file GNEViewParent.cpp.

References myNetworkFrames.

◆ hideAllFrames()

void GNEViewParent::hideAllFrames ( )

hide all frames

Definition at line 176 of file GNEViewParent.cpp.

References myCommonFrames, myDataFrames, myDemandFrames, and myNetworkFrames.

◆ hideFramesArea()

void GNEViewParent::hideFramesArea ( )

hide frames area if all GNEFrames are hidden

Note
this function is called in GNEFrame::Show();

Definition at line 383 of file GNEViewParent.cpp.

References myCommonFrames, myDataFrames, myDemandFrames, myFramesArea, and myNetworkFrames.

Referenced by GNEViewParent().

Here is the caller graph for this function:

◆ isSelected()

bool GUIGlChildWindow::isSelected ( GUIGlObject * o) const
virtualinherited

true if the object is selected (may include extra logic besides calling gSelected)

Reimplemented in GUISUMOViewParent.

Definition at line 279 of file GUIGlChildWindow.cpp.

References GUIGlObject::getGlID(), GUIGlObject::getType(), and gSelected.

◆ onCmdChangeColorScheme()

long GUIGlChildWindow::onCmdChangeColorScheme ( FXObject * ,
FXSelector sel,
void * ptr )
inherited

Definition at line 264 of file GUIGlChildWindow.cpp.

References myView.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClose()

long GNEViewParent::onCmdClose ( FXObject * ,
FXSelector ,
void *  )

Called when the user hits the close button (x).

Definition at line 503 of file GNEViewParent.cpp.

References MID_HOTKEY_CTRL_W_CLOSESIMULATION, and GUIGlChildWindow::myGUIMainWindowParent.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditViewport()

long GUIGlChildWindow::onCmdEditViewport ( FXObject * ,
FXSelector ,
void *  )
inherited

Definition at line 216 of file GUIGlChildWindow.cpp.

References myView.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditViewScheme()

long GUIGlChildWindow::onCmdEditViewScheme ( FXObject * ,
FXSelector ,
void *  )
inherited

Definition at line 223 of file GUIGlChildWindow.cpp.

References myView.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLocate()

◆ onCmdMakeSnapshot()

long GNEViewParent::onCmdMakeSnapshot ( FXObject * sender,
FXSelector ,
void *  )

Definition at line 473 of file GNEViewParent.cpp.

References CAMERA, gCurrentFolder, GUIIconSubSys::getIcon(), SUMOXMLDefinitions::ImageFileExtensions, myGNEAppWindows, GUIGlChildWindow::myView, TL, MFXUtils::userPermitsOverwritingWhenFileExists(), and WRITE_MESSAGE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRecenterView()

long GUIGlChildWindow::onCmdRecenterView ( FXObject * ,
FXSelector ,
void *  )
inherited

Definition at line 208 of file GUIGlChildWindow.cpp.

References myView.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdShowToolTipsMenu()

long GUIGlChildWindow::onCmdShowToolTipsMenu ( FXObject * sender,
FXSelector ,
void *  )
inherited

Definition at line 241 of file GUIGlChildWindow.cpp.

References myGUIMainWindowParent, and myShowToolTipsMenu.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdShowToolTipsView()

long GUIGlChildWindow::onCmdShowToolTipsView ( FXObject * sender,
FXSelector ,
void *  )
inherited

Definition at line 230 of file GUIGlChildWindow.cpp.

References myGUIMainWindowParent, and myShowToolTipsView.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdUpdateFrameAreaWidth()

long GNEViewParent::onCmdUpdateFrameAreaWidth ( FXObject * ,
FXSelector ,
void *  )

Called when user change the splitter between FrameArea and ViewNet.

Definition at line 670 of file GNEViewParent.cpp.

References myCommonFrames, myDataFrames, myDemandFrames, myFramesArea, and myNetworkFrames.

Referenced by FXDEFMAP(), GNEViewParent(), and setFrameAreaWidth().

Here is the caller graph for this function:

◆ onCmdZoomStyle()

long GUIGlChildWindow::onCmdZoomStyle ( FXObject * sender,
FXSelector ,
void *  )
inherited

Definition at line 254 of file GUIGlChildWindow.cpp.

References myView, and myZoomStyle.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyPress()

long GNEViewParent::onKeyPress ( FXObject * o,
FXSelector sel,
void * data )

Called when user press a key.

Definition at line 656 of file GNEViewParent.cpp.

References GUIGlChildWindow::myView.

Referenced by GNEApplicationWindow::onKeyPress().

Here is the caller graph for this function:

◆ onKeyRelease()

long GNEViewParent::onKeyRelease ( FXObject * o,
FXSelector sel,
void * data )

Called when user releases a key.

Definition at line 663 of file GNEViewParent.cpp.

References GUIGlChildWindow::myView.

Referenced by GNEApplicationWindow::onKeyRelease().

Here is the caller graph for this function:

◆ setFrameAreaWidth()

void GNEViewParent::setFrameAreaWidth ( const int frameAreaWith)

set frame area width

Definition at line 466 of file GNEViewParent.cpp.

References myFramesArea, and onCmdUpdateFrameAreaWidth().

◆ setView()

void GUIGlChildWindow::setView ( GUIGlID id)
inherited

Centers the view onto the given artifact.

Parameters
[in]idThe id of the object to center the view on

Definition at line 271 of file GUIGlChildWindow.cpp.

References myView.

Referenced by GUIMessageWindow::setCursorPos().

Here is the caller graph for this function:

◆ showFramesArea()

void GNEViewParent::showFramesArea ( )

show frames area if at least a GNEFrame is showed

Note
this function is called in GNEFrame::Show();

Definition at line 369 of file GNEViewParent.cpp.

References myCommonFrames, myDataFrames, myDemandFrames, myFramesArea, and myNetworkFrames.

◆ updateUndoRedoButtons()

void GNEViewParent::updateUndoRedoButtons ( )

update toolbar undo/redo buttons (called when user press Ctrl+Z/Y)

Definition at line 447 of file GNEViewParent.cpp.

References myGNEAppWindows, myRedoButton, and myUndoButton.

Field Documentation

◆ myACChoosers

ACChoosers GNEViewParent::myACChoosers
private

struct for ACChoosers

Definition at line 523 of file GNEViewParent.h.

Referenced by eraseACChooserDialog(), and onCmdLocate().

◆ myChildWindowContentFrame

FXVerticalFrame* GUIGlChildWindow::myChildWindowContentFrame = nullptr
protectedinherited

The contents frame.

Definition at line 132 of file GUIGlChildWindow.h.

Referenced by GNEViewParent::GNEViewParent(), GUIGlChildWindow(), and GUISUMOViewParent::init().

◆ myColoringSchemes

MFXComboBoxIcon* GUIGlChildWindow::myColoringSchemes = nullptr
protectedinherited

The coloring schemes.

Definition at line 135 of file GUIGlChildWindow.h.

Referenced by buildColoringToolBar(), and getColoringSchemesCombo().

◆ myCommonFrames

◆ myComputePathManagerButton

MFXButtonTooltip* GNEViewParent::myComputePathManagerButton
private

compute Path manager button

Definition at line 505 of file GNEViewParent.h.

Referenced by GNEViewParent().

◆ myDataFrames

◆ myDemandFrames

◆ myFramesArea

FXVerticalFrame* GNEViewParent::myFramesArea
private

◆ myFramesSplitter

FXSplitter* GNEViewParent::myFramesSplitter
private

Splitter to divide ViewNet und GNEFrames.

Definition at line 508 of file GNEViewParent.h.

Referenced by GNEViewParent().

◆ myGNEAppWindows

GNEApplicationWindow* GNEViewParent::myGNEAppWindows
private

◆ myGripNavigationToolbar

FXMenuBar* GUIGlChildWindow::myGripNavigationToolbar = nullptr
protectedinherited

◆ myGUIMainWindowParent

◆ myLocatorButton

MFXMenuButtonTooltip* GUIGlChildWindow::myLocatorButton = nullptr
protectedinherited

The locator button.

Definition at line 123 of file GUIGlChildWindow.h.

Referenced by buildNavigationToolBar(), GNEViewParent::onCmdLocate(), and GUISUMOViewParent::onCmdLocate().

◆ myLocatorPopup

FXPopup* GUIGlChildWindow::myLocatorPopup = nullptr
protectedinherited

◆ myNetworkFrames

◆ myRedoButton

MFXButtonTooltip* GNEViewParent::myRedoButton
private

toolbar redo button

Definition at line 502 of file GNEViewParent.h.

Referenced by GNEViewParent(), and updateUndoRedoButtons().

◆ myShowToolTipsMenu

MFXCheckableButton* GUIGlChildWindow::myShowToolTipsMenu = nullptr
protectedinherited

menu for tooltips menu

Definition at line 129 of file GUIGlChildWindow.h.

Referenced by buildNavigationToolBar(), getShowToolTipsMenu(), and onCmdShowToolTipsMenu().

◆ myShowToolTipsView

MFXCheckableButton* GUIGlChildWindow::myShowToolTipsView = nullptr
protectedinherited

menu for tooltips view

Definition at line 126 of file GUIGlChildWindow.h.

Referenced by buildNavigationToolBar(), and onCmdShowToolTipsView().

◆ myStaticNavigationToolBar

FXToolBar* GUIGlChildWindow::myStaticNavigationToolBar = nullptr
protectedinherited

◆ myUndoButton

MFXButtonTooltip* GNEViewParent::myUndoButton
private

toolbar undo button

Definition at line 499 of file GNEViewParent.h.

Referenced by GNEViewParent(), and updateUndoRedoButtons().

◆ myView

◆ myViewArea

FXHorizontalFrame* GNEViewParent::myViewArea
private

frame to hold myView and myAttributePanel

Definition at line 493 of file GNEViewParent.h.

Referenced by GNEViewParent().

◆ myZoomStyle

MFXCheckableButton* GUIGlChildWindow::myZoomStyle = nullptr
protectedinherited

Zoom but.

Definition at line 117 of file GUIGlChildWindow.h.

Referenced by buildNavigationToolBar(), and onCmdZoomStyle().


The documentation for this class was generated from the following files: