![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A single child window which contains a view of the simulation area. More...
#include <GNEViewParent.h>
Data Structures | |
struct | ACChoosers |
struct for ACChoosers dialog More... | |
struct | Frames |
struct for Frames More... | |
Public Member Functions | |
virtual void | create () |
create GUIGlChildWindow More... | |
void | eraseACChooserDialog (GNEDialogACChooser *chooserDialog) |
remove created chooser dialog More... | |
GNEAdditionalFrame * | getAdditionalFrame () const |
get frame for GNE_NMODE_ADDITIONAL More... | |
virtual FXGLCanvas * | getBuildGLCanvas () const |
get build GL Canvas More... | |
FXComboBox * | getColoringSchemesCombo () |
return combobox with the current coloring schemes (standard, fastest standard, real world...) More... | |
GNEConnectorFrame * | getConnectorFrame () const |
get frame for GNE_NMODE_CONNECT More... | |
GNECreateEdgeFrame * | getCreateEdgeFrame () const |
get frame for GNE_NMODE_CREATEEDGE More... | |
GNECrossingFrame * | getCrossingFrame () const |
get frame for GNE_NMODE_CROSSING More... | |
GNEFrame * | getCurrentShownFrame () const |
get current frame (note: it can be null) More... | |
GNEDeleteFrame * | getDeleteFrame () const |
get frame for GNE_NMODE_DELETE More... | |
GNEApplicationWindow * | getGNEAppWindows () const |
get GNE Application Windows More... | |
GUIMainWindow * | getGUIMainWindow () const |
get GUIMainWindow App More... | |
GNEInspectorFrame * | getInspectorFrame () const |
get frame for GNE_NMODE_INSPECT More... | |
FXPopup * | getLocatorPopup () |
@ brief return a pointer to locator popup More... | |
FXToolBar * | getNavigationToolBar (GUISUMOAbstractView &v) |
return a reference to navigation toolbar More... | |
GUIMainWindow * | getParent () |
Returns the main window. More... | |
GNEPersonFrame * | getPersonFrame () const |
get frame for GNE_DMODE_PERSON More... | |
GNEPersonPlanFrame * | getPersonPlanFrame () const |
get frame for GNE_DMODE_PERSONFRAME More... | |
GNEPersonTypeFrame * | getPersonTypeFrame () const |
get frame for GNE_DMODE_PERSONTYPE More... | |
GNEPolygonFrame * | getPolygonFrame () const |
get frame for GNE_NMODE_POLYGON More... | |
GNEProhibitionFrame * | getProhibitionFrame () const |
get frame for GNE_NMODE_PROHIBITION More... | |
GNERouteFrame * | getRouteFrame () const |
get frame for GNE_DMODE_ROUTE More... | |
GNESelectorFrame * | getSelectorFrame () const |
get frame for GNE_NMODE_SELECT More... | |
GNEStopFrame * | getStopFrame () const |
get frame for GNE_DMODE_STOP More... | |
GNETAZFrame * | getTAZFrame () const |
get frame for GNE_NMODE_TAZ More... | |
GNETLSEditorFrame * | getTLSEditorFrame () const |
get frame for GNE_NMODE_TLS More... | |
GNEVehicleFrame * | getVehicleFrame () const |
get frame for GNE_DMODE_VEHICLE More... | |
GNEVehicleTypeFrame * | getVehicleTypeFrame () const |
get frame for GNE_DMODE_VEHICLETYPE More... | |
GUISUMOAbstractView * | getView () const |
return GUISUMOAbstractView More... | |
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. More... | |
void | hideAllFrames () |
hide all frames More... | |
void | hideFramesArea () |
hide frames area if all GNEFrames are hidden More... | |
virtual bool | isSelected (GUIGlObject *o) const |
true if the object is selected (may include extra logic besides calling gSelected) More... | |
void | setView (GUIGlID id) |
Centers the view onto the given artifact. More... | |
void | showFramesArea () |
show frames area if at least a GNEFrame is showed More... | |
~GNEViewParent () | |
Destructor. More... | |
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) More... | |
long | onCmdLocate (FXObject *, FXSelector, void *) |
locator-callback 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 releases a key. More... | |
long | onCmdUpdateFrameAreaWidth (FXObject *, FXSelector, void *) |
Called when user change the splitter between FrameArea and ViewNet. More... | |
buttons call backs | |
long | onCmdRecenterView (FXObject *, FXSelector, void *) |
long | onCmdEditViewport (FXObject *, FXSelector, void *) |
long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
long | onCmdShowToolTips (FXObject *sender, FXSelector, void *) |
long | onCmdZoomStyle (FXObject *sender, FXSelector, void *) |
long | onCmdChangeColorScheme (FXObject *, FXSelector sel, void *) |
Protected Member Functions | |
void | buildColoringToolBar () |
build coloring toolbar More... | |
void | buildNavigationToolBar () |
build navigation toolbar More... | |
void | buildScreenshotToolBar () |
build screenshot toolbar More... | |
GNEViewParent () | |
FOX needs this. More... | |
Protected Attributes | |
FXComboBox * | myColoringSchemes |
The coloring schemes. More... | |
FXVerticalFrame * | myContentFrame |
The contents frame. More... | |
FXMenuBar * | myGripNavigationToolbar |
The grip navigation tool bar. More... | |
FXMenuButton * | myLocatorButton |
The locator button. More... | |
FXPopup * | myLocatorPopup |
The locator menu. More... | |
GUIMainWindow * | myParent |
The parent window. More... | |
FXToolBar * | myStaticNavigationToolBar |
The static navigation tool bar. More... | |
GUISUMOAbstractView * | myView |
The view. More... | |
Private Attributes | |
ACChoosers | myACChoosers |
struct for ACChoosers More... | |
Frames | myFrames |
struct for frames More... | |
FXHorizontalFrame * | myFramesArea |
frame to hold GNEFrames More... | |
FXSplitter * | myFramesSplitter |
Splitter to divide ViewNet und GNEFrames. More... | |
GNEApplicationWindow * | myGNEAppWindows |
pointer to GNEApplicationWindow More... | |
FXHorizontalFrame * | myViewArea |
frame to hold myView and myAttributePanel More... | |
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 72 of file GNEViewParent.h.
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()
[in] | p | The MDI-pane this window is shown within |
[in] | mdimenu | The MDI-menu for alignment |
[in] | name | The name of the window |
[in] | parentWindow | The main window |
[in] | ic | The icon of this window |
[in] | opts | Window options |
[in] | x | Initial x-position |
[in] | y | Initial x-position |
[in] | w | Initial width |
[in] | h | Initial height |
[in] | share | A canvas tor get the shared context from |
[in] | net | The network to show |
Definition at line 84 of file GNEViewParent.cpp.
References GUIGlChildWindow::create(), GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignFrameArea, GUIDesignSplitter, GUIDesignVerticalSeparator, GUIDesignViewnArea, ICON_REDO, ICON_UNDO, MID_GNE_VIEWPARENT_FRAMEAREAWIDTH, MID_HOTKEY_CTRL_Y_REDO, and MID_HOTKEY_CTRL_Z_UNDO.
GNEViewParent::~GNEViewParent | ( | ) |
Destructor.
Definition at line 158 of file GNEViewParent.cpp.
References GNEApplicationWindow::ToolbarsGrip::destroyParentToolbarsGrips(), GNEApplicationWindow::getToolbarsGrip(), myGNEAppWindows, GUIGlChildWindow::myParent, and GUIMainWindow::removeGLChild().
|
inlineprotected |
FOX needs this.
Definition at line 201 of file GNEViewParent.h.
|
protectedinherited |
build coloring toolbar
Definition at line 141 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignComboBoxNCol, GUIDesignComboBoxStatic, GUIDesignVerticalSeparator, ICON_COLORWHEEL, MID_COLOURSCHEMECHANGE, MID_EDITVIEWSCHEME, GUIGlChildWindow::myColoringSchemes, GUIGlChildWindow::myGripNavigationToolbar, and GUIGlChildWindow::myStaticNavigationToolBar.
|
protectedinherited |
build navigation toolbar
Definition at line 112 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignButtonToolbarCheckable, GUIDesignButtonToolbarLocator, ICON_EDITVIEWPORT, ICON_LOCATE, ICON_RECENTERVIEW, ICON_SHOWTOOLTIPS, ICON_ZOOMSTYLE, MID_EDITVIEWPORT, MID_RECENTERVIEW, MID_SHOWTOOLTIPS, MID_ZOOM_STYLE, GUIGlChildWindow::myGripNavigationToolbar, GUIGlChildWindow::myLocatorButton, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myStaticNavigationToolBar, and MFXCheckableButton::setChecked().
|
protectedinherited |
build screenshot toolbar
Definition at line 155 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignVerticalSeparator, ICON_CAMERA, MID_MAKESNAPSHOT, GUIGlChildWindow::myGripNavigationToolbar, and GUIGlChildWindow::myStaticNavigationToolBar.
|
virtualinherited |
create GUIGlChildWindow
Definition at line 86 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myGripNavigationToolbar, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myStaticNavigationToolBar, and GUIGlChildWindow::myView.
Referenced by GNEViewParent(), and GUIApplicationWindow::openNewView().
void GNEViewParent::eraseACChooserDialog | ( | GNEDialogACChooser * | chooserDialog | ) |
remove created chooser dialog
Definition at line 319 of file GNEViewParent.cpp.
References GNEViewParent::ACChoosers::ACChooserAdditional, GNEViewParent::ACChoosers::ACChooserEdges, GNEViewParent::ACChoosers::ACChooserJunction, GNEViewParent::ACChoosers::ACChooserPOI, GNEViewParent::ACChoosers::ACChooserPolygon, GNEViewParent::ACChoosers::ACChooserProhibition, GNEViewParent::ACChoosers::ACChooserRoutes, GNEViewParent::ACChoosers::ACChooserStops, GNEViewParent::ACChoosers::ACChooserTLS, GNEViewParent::ACChoosers::ACChooserVehicles, and myACChoosers.
Referenced by GNEDialogACChooser::~GNEDialogACChooser().
GNEAdditionalFrame * GNEViewParent::getAdditionalFrame | ( | ) | const |
get frame for GNE_NMODE_ADDITIONAL
Definition at line 203 of file GNEViewParent.cpp.
References GNEViewParent::Frames::additionalFrame, and myFrames.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawLaneCandidates(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
|
virtualinherited |
get build GL Canvas
Definition at line 166 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView.
Referenced by GUIApplicationWindow::getBuildGLCanvas().
|
inherited |
return combobox with the current coloring schemes (standard, fastest standard, real world...)
Definition at line 184 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myColoringSchemes.
Referenced by GUIViewTraffic::buildViewToolBars(), GNEViewNet::buildViewToolBars(), and GUISUMOAbstractView::getColoringSchemesCombo().
GNEConnectorFrame * GNEViewParent::getConnectorFrame | ( | ) | const |
get frame for GNE_NMODE_CONNECT
Definition at line 191 of file GNEViewParent.cpp.
References GNEViewParent::Frames::connectorFrame, and myFrames.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
GNECreateEdgeFrame * GNEViewParent::getCreateEdgeFrame | ( | ) | const |
get frame for GNE_NMODE_CREATEEDGE
Definition at line 239 of file GNEViewParent.cpp.
References GNEViewParent::Frames::createEdgeFrame, and myFrames.
Referenced by GNEViewNet::abortOperation(), and GNEViewNet::processLeftButtonPressNetwork().
GNECrossingFrame * GNEViewParent::getCrossingFrame | ( | ) | const |
get frame for GNE_NMODE_CROSSING
Definition at line 209 of file GNEViewParent.cpp.
References GNEViewParent::Frames::crossingFrame, and myFrames.
Referenced by GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
GNEFrame * GNEViewParent::getCurrentShownFrame | ( | ) | const |
get current frame (note: it can be null)
Definition at line 173 of file GNEViewParent.cpp.
References GNEViewParent::Frames::getCurrentShownFrame(), and myFrames.
Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().
GNEDeleteFrame * GNEViewParent::getDeleteFrame | ( | ) | const |
get frame for GNE_NMODE_DELETE
Definition at line 221 of file GNEViewParent.cpp.
References GNEViewParent::Frames::deleteFrame, and myFrames.
Referenced by GNEInspectorFrame::onCmdGoBack(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
GNEApplicationWindow * GNEViewParent::getGNEAppWindows | ( | ) | const |
get GNE Application Windows
Definition at line 313 of file GNEViewParent.cpp.
References myGNEAppWindows.
Referenced by GNENet::requiereSaveAdditionals(), GNENet::requiereSaveDemandElements(), GNENet::requiereSaveTLSPrograms(), GNENet::saveDemandElements(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
GUIMainWindow * GNEViewParent::getGUIMainWindow | ( | ) | const |
get GUIMainWindow App
Definition at line 307 of file GNEViewParent.cpp.
References GUIGlChildWindow::myParent.
GNEInspectorFrame * GNEViewParent::getInspectorFrame | ( | ) | const |
get frame for GNE_NMODE_INSPECT
Definition at line 179 of file GNEViewParent.cpp.
References GNEViewParent::Frames::inspectorFrame, and myFrames.
Referenced by GNENet::computeAndUpdate(), GNENet::deleteAdditional(), GNENet::deleteDemandElement(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEViewNet::openObjectDialog(), GNECreateEdgeFrame::processClick(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNENet::removePolygonForEditShapes(), GNENet::removeShape(), GNEViewNet::updateControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
|
inherited |
@ brief return a pointer to locator popup
Definition at line 178 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myLocatorPopup.
Referenced by GUIViewTraffic::buildViewToolBars(), and GNEViewNet::buildViewToolBars().
|
inherited |
return a reference to navigation toolbar
Definition at line 172 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myGripNavigationToolbar, and GUIGlChildWindow::myStaticNavigationToolBar.
|
inherited |
Returns the main window.
Definition at line 106 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myParent.
Referenced by GUIDialog_GLObjChooser::~GUIDialog_GLObjChooser().
GNEPersonFrame * GNEViewParent::getPersonFrame | ( | ) | const |
get frame for GNE_DMODE_PERSON
Definition at line 275 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::personFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressDemand(), and GNEViewNet::updateDemandModeSpecificControls().
GNEPersonPlanFrame * GNEViewParent::getPersonPlanFrame | ( | ) | const |
get frame for GNE_DMODE_PERSONFRAME
Definition at line 281 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::personPlanFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressDemand(), and GNEViewNet::updateDemandModeSpecificControls().
GNEPersonTypeFrame * GNEViewParent::getPersonTypeFrame | ( | ) | const |
get frame for GNE_DMODE_PERSONTYPE
Definition at line 269 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::personTypeFrame.
Referenced by GNEViewNet::updateDemandModeSpecificControls().
GNEPolygonFrame * GNEViewParent::getPolygonFrame | ( | ) | const |
get frame for GNE_NMODE_POLYGON
Definition at line 227 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::polygonFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalDrawShape(), GNEViewNet::hotkeyEnter(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onRightBtnPress(), GNEViewNet::onRightBtnRelease(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processMoveMouseNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
GNEProhibitionFrame * GNEViewParent::getProhibitionFrame | ( | ) | const |
get frame for GNE_NMODE_PROHIBITION
Definition at line 233 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::prohibitionFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
GNERouteFrame * GNEViewParent::getRouteFrame | ( | ) | const |
get frame for GNE_DMODE_ROUTE
Definition at line 245 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::routeFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressDemand(), and GNEViewNet::updateDemandModeSpecificControls().
GNESelectorFrame * GNEViewParent::getSelectorFrame | ( | ) | const |
get frame for GNE_NMODE_SELECT
Definition at line 185 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::selectorFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::getAttributeCarriersInBoundary(), GNEInspectorFrame::processDemandSupermodeClick(), GNEViewNet::processLeftButtonPressDemand(), GNEViewNet::processLeftButtonPressNetwork(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEVehicleType::selectAttributeCarrier(), GNENetElement::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
GNEStopFrame * GNEViewParent::getStopFrame | ( | ) | const |
get frame for GNE_DMODE_STOP
Definition at line 263 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::stopFrame.
Referenced by GNEViewNet::processLeftButtonPressDemand(), and GNEViewNet::updateDemandModeSpecificControls().
GNETAZFrame * GNEViewParent::getTAZFrame | ( | ) | const |
get frame for GNE_NMODE_TAZ
Definition at line 215 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::TAZFrame.
Referenced by GNEViewNet::abortOperation(), GNETAZ::drawGL(), GNEViewNet::drawTemporalDrawShape(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::onCmdAbort(), GNEViewNet::onKeyPress(), GNEViewNet::processLeftButtonPressNetwork(), GNEViewNet::processLeftButtonReleaseNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
GNETLSEditorFrame * GNEViewParent::getTLSEditorFrame | ( | ) | const |
get frame for GNE_NMODE_TLS
Definition at line 197 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::TLSEditorFrame.
Referenced by GNEViewNet::abortOperation(), GNELane::getPopUpMenu(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNELane::onDefault(), GNEViewNet::processLeftButtonPressNetwork(), and GNEViewNet::updateNetworkModeSpecificControls().
GNEVehicleFrame * GNEViewParent::getVehicleFrame | ( | ) | const |
get frame for GNE_DMODE_VEHICLE
Definition at line 251 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::vehicleFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), GNEViewNet::hotkeyEnter(), GNEViewNet::processLeftButtonPressDemand(), and GNEViewNet::updateDemandModeSpecificControls().
GNEVehicleTypeFrame * GNEViewParent::getVehicleTypeFrame | ( | ) | const |
get frame for GNE_DMODE_VEHICLETYPE
Definition at line 257 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::vehicleTypeFrame.
Referenced by GNEChange_DemandElement::redo(), GNEChange_DemandElement::undo(), and GNEViewNet::updateDemandModeSpecificControls().
|
inherited |
return GUISUMOAbstractView
Definition at line 100 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView.
Referenced by GUIMainWindow::getActiveView(), TraCIServerAPI_GUI::getNamedView(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GUIDialog_GLObjChooser::onCmdCenter(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdOpenEdgeData(), GUIApplicationWindow::onCmdOpenShapes(), GUIApplicationWindow::onCmdShowStats(), GUIDialog_GLObjChooser::onCmdToggleSelection(), GUIDialog_GLObjChooser::onCmdTrack(), and GUIApplicationWindow::openNewView().
void GNEViewParent::hideAllFrames | ( | ) |
hide all frames
Definition at line 167 of file GNEViewParent.cpp.
References GNEViewParent::Frames::hideFrames(), and myFrames.
Referenced by GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().
void GNEViewParent::hideFramesArea | ( | ) |
hide frames area if all GNEFrames are hidden
Definition at line 297 of file GNEViewParent.cpp.
References GNEViewParent::Frames::isFrameShown(), myFrames, and myFramesArea.
Referenced by GNEFrame::hide().
|
virtualinherited |
true if the object is selected (may include extra logic besides calling gSelected)
Reimplemented in GUISUMOViewParent.
Definition at line 255 of file GUIGlChildWindow.cpp.
References GUIGlObject::getGlID(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Referenced by GUIDialog_GLObjChooser::refreshList().
|
inherited |
Definition at line 240 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::setColorScheme().
long GNEViewParent::onCmdClose | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user hits the close button (x)
Definition at line 383 of file GNEViewParent.cpp.
References MID_HOTKEY_CTRL_W_CLOSESIMULATION, and GUIGlChildWindow::myParent.
|
inherited |
Definition at line 198 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::showViewportEditor().
|
inherited |
Definition at line 205 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::showViewschemeEditor().
long GNEViewParent::onCmdLocate | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
locator-callback
Definition at line 390 of file GNEViewParent.cpp.
References GNEViewParent::ACChoosers::ACChooserAdditional, GNEViewParent::ACChoosers::ACChooserEdges, GNEViewParent::ACChoosers::ACChooserJunction, GNEViewParent::ACChoosers::ACChooserPOI, GNEViewParent::ACChoosers::ACChooserPolygon, GNEViewParent::ACChoosers::ACChooserRoutes, GNEViewParent::ACChoosers::ACChooserStops, GNEViewParent::ACChoosers::ACChooserTLS, GNEViewParent::ACChoosers::ACChooserVehicles, GNENet::AttributeCarriers::demandElements, GNENet::getAttributeCarriers(), GUIIconSubSys::getIcon(), GNEViewNet::getNet(), ShapeContainer::getPOIs(), ShapeContainer::getPolygons(), ICON_LOCATEADD, ICON_LOCATEEDGE, ICON_LOCATEJUNCTION, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_LOCATEROUTE, ICON_LOCATESTOP, ICON_LOCATETLS, ICON_LOCATEVEHICLE, MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATEROUTE, MID_LOCATESTOP, MID_LOCATETLS, MID_LOCATEVEHICLE, myACChoosers, GUIGlChildWindow::myLocatorButton, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myView, GNENet::retrieveAdditionals(), GNENet::retrieveEdges(), GNENet::retrieveJunctions(), SUMO_TAG_FLOW, SUMO_TAG_ROUTE, SUMO_TAG_ROUTEFLOW, SUMO_TAG_STOP_BUSSTOP, SUMO_TAG_STOP_CHARGINGSTATION, SUMO_TAG_STOP_CONTAINERSTOP, SUMO_TAG_STOP_LANE, SUMO_TAG_STOP_PARKINGAREA, SUMO_TAG_TRIP, and SUMO_TAG_VEHICLE.
Referenced by GNEApplicationWindow::onCmdLocate().
long GNEViewParent::onCmdMakeSnapshot | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
Definition at line 349 of file GNEViewParent.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_EMPTY, GUISUMOAbstractView::makeSnapshot(), GUIGlChildWindow::myView, MFXUtils::userPermitsOverwritingWhenFileExists(), and WRITE_DEBUG.
|
inherited |
Definition at line 190 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::recenterView().
|
inherited |
Definition at line 212 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), GUIGlChildWindow::myView, MFXCheckableButton::setChecked(), and GUISUMOAbstractView::showToolTips().
long GNEViewParent::onCmdUpdateFrameAreaWidth | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when user change the splitter between FrameArea and ViewNet.
Definition at line 592 of file GNEViewParent.cpp.
References myFrames, myFramesArea, and GNEViewParent::Frames::setWidth().
|
inherited |
Definition at line 226 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), GUIGlChildWindow::myView, and MFXCheckableButton::setChecked().
long GNEViewParent::onKeyPress | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
Called when user press a key.
Definition at line 578 of file GNEViewParent.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::onKeyPress().
Referenced by GNEApplicationWindow::onKeyPress().
long GNEViewParent::onKeyRelease | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
Called when user releases a key.
Definition at line 585 of file GNEViewParent.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::onKeyRelease().
Referenced by GNEApplicationWindow::onKeyRelease().
|
inherited |
Centers the view onto the given artifact.
[in] | id | The id of the object to center the view on |
Definition at line 247 of file GUIGlChildWindow.cpp.
References GUISUMOAbstractView::centerTo(), and GUIGlChildWindow::myView.
Referenced by GUIDialog_GLObjChooser::onCmdCenter(), GUIDialog_GLObjChooser::onCmdText(), GUIDialog_GLObjChooser::onCmdTrack(), and GUIMessageWindow::setCursorPos().
void GNEViewParent::showFramesArea | ( | ) |
show frames area if at least a GNEFrame is showed
Definition at line 287 of file GNEViewParent.cpp.
References GNEViewParent::Frames::isFrameShown(), myFrames, and myFramesArea.
Referenced by GNEFrame::show().
|
private |
struct for ACChoosers
Definition at line 331 of file GNEViewParent.h.
Referenced by eraseACChooserDialog(), and onCmdLocate().
|
protectedinherited |
The coloring schemes.
Definition at line 119 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), and GUIGlChildWindow::getColoringSchemesCombo().
|
protectedinherited |
The contents frame.
Definition at line 116 of file GUIGlChildWindow.h.
Referenced by GUISUMOViewParent::init().
|
private |
struct for frames
Definition at line 328 of file GNEViewParent.h.
Referenced by getAdditionalFrame(), getConnectorFrame(), getCreateEdgeFrame(), getCrossingFrame(), getCurrentShownFrame(), getDeleteFrame(), getInspectorFrame(), getPersonFrame(), getPersonPlanFrame(), getPersonTypeFrame(), getPolygonFrame(), getProhibitionFrame(), getRouteFrame(), getSelectorFrame(), getStopFrame(), getTAZFrame(), getTLSEditorFrame(), getVehicleFrame(), getVehicleTypeFrame(), hideAllFrames(), hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
frame to hold GNEFrames
Definition at line 322 of file GNEViewParent.h.
Referenced by hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
Splitter to divide ViewNet und GNEFrames.
Definition at line 325 of file GNEViewParent.h.
|
private |
pointer to GNEApplicationWindow
Definition at line 316 of file GNEViewParent.h.
Referenced by getGNEAppWindows(), and ~GNEViewParent().
|
protectedinherited |
The grip navigation tool bar.
Definition at line 101 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), GUIGlChildWindow::create(), and GUIGlChildWindow::getNavigationToolBar().
|
protectedinherited |
The locator button.
Definition at line 113 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUISUMOViewParent::onCmdLocate(), and onCmdLocate().
|
protectedinherited |
The locator menu.
Definition at line 110 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::create(), GUIGlChildWindow::getLocatorPopup(), GUISUMOViewParent::onCmdLocate(), onCmdLocate(), and GUIGlChildWindow::~GUIGlChildWindow().
|
protectedinherited |
The parent window.
Definition at line 98 of file GUIGlChildWindow.h.
Referenced by getGUIMainWindow(), GUIGlChildWindow::getParent(), GUISUMOViewParent::init(), onCmdClose(), GUISUMOViewParent::onCmdLocate(), ~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
protectedinherited |
The static navigation tool bar.
Definition at line 104 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), GUIGlChildWindow::create(), GUIGlChildWindow::getNavigationToolBar(), GUISUMOViewParent::init(), GUISUMOViewParent::setToolBarVisibility(), and GUIGlChildWindow::~GUIGlChildWindow().
|
protectedinherited |
The view.
Definition at line 107 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::create(), GUIGlChildWindow::getBuildGLCanvas(), GUIGlChildWindow::getView(), GUISUMOViewParent::init(), GUIGlChildWindow::onCmdChangeColorScheme(), GUIGlChildWindow::onCmdEditViewport(), GUIGlChildWindow::onCmdEditViewScheme(), onCmdLocate(), GUISUMOViewParent::onCmdMakeSnapshot(), onCmdMakeSnapshot(), GUIGlChildWindow::onCmdRecenterView(), GUIGlChildWindow::onCmdShowToolTips(), GUIGlChildWindow::onCmdZoomStyle(), GUISUMOViewParent::onKeyPress(), onKeyPress(), GUISUMOViewParent::onKeyRelease(), onKeyRelease(), GUISUMOViewParent::onSimStep(), and GUIGlChildWindow::setView().
|
private |
frame to hold myView and myAttributePanel
Definition at line 319 of file GNEViewParent.h.