![]() |
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 | |
void | buildColoringToolBar () |
void | buildNavigationToolBar () |
void | buildScreenshotToolBar () |
virtual void | create () |
void | eraseACChooserDialog (GNEDialogACChooser *chooserDialog) |
remove created chooser dialog More... | |
GNEAdditionalFrame * | getAdditionalFrame () const |
get frame for GNE_MODE_ADDITIONAL More... | |
virtual FXGLCanvas * | getBuildGLCanvas () const |
FXComboBox & | getColoringSchemesCombo () |
GNEConnectorFrame * | getConnectorFrame () const |
get frame for GNE_MODE_CONNECT More... | |
GNECrossingFrame * | getCrossingFrame () const |
get frame for GNE_MODE_CROSSING More... | |
GNEDeleteFrame * | getDeleteFrame () const |
get frame for GNE_MODE_DELETE More... | |
GNEApplicationWindow * | getGNEAppWindows () const |
get GNE Application Windows More... | |
GUIMainWindow * | getGUIMainWindow () const |
get GUIMainWindow App More... | |
GNEInspectorFrame * | getInspectorFrame () const |
get frame for GNE_MODE_INSPECT More... | |
FXPopup * | getLocatorPopup () |
FXToolBar & | getNavigationToolBar (GUISUMOAbstractView &v) |
GUIMainWindow * | getParent () |
Returns the main window. More... | |
GNEPolygonFrame * | getPolygonFrame () const |
get frame for GNE_MODE_POLYGON More... | |
GNEProhibitionFrame * | getProhibitionFrame () const |
get frame for GNE_MODE_PROHIBITION More... | |
GNESelectorFrame * | getSelectorFrame () const |
get frame for GNE_MODE_SELECT More... | |
GNETAZFrame * | getTAZFrame () const |
get frame for GNE_MODE_TAZ More... | |
GNETLSEditorFrame * | getTLSEditorFrame () const |
get frame for GNE_MODE_TLS More... | |
GUISUMOAbstractView * | getView () const |
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... | |
bool | isSelected (GUIGlObject *o) const |
true if the object is selected (may include extra logic besides calling gSelected) More... | |
long | onCmdChangeColorScheme (FXObject *, FXSelector sel, void *) |
long | onCmdEditViewport (FXObject *, FXSelector, void *) |
long | onCmdEditViewScheme (FXObject *, FXSelector, void *) |
long | onCmdRecenterView (FXObject *, FXSelector, void *) |
long | onCmdShowToolTips (FXObject *sender, FXSelector, void *) |
long | onCmdZoomStyle (FXObject *sender, FXSelector, void *) |
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... | |
Protected Member Functions | |
GNEViewParent () | |
FOX needs this. More... | |
Protected Attributes | |
FXComboBox * | myColoringSchemes |
FXVerticalFrame * | myContentFrame |
FXMenuButton * | myLocatorButton |
FXPopup * | myLocatorPopup |
The locator menu. More... | |
FXToolBar * | myNavigationToolBar |
The tool bar. More... | |
GUIMainWindow * | myParent |
The parent window. 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 63 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 74 of file GNEViewParent.cpp.
References GNEViewNet::buildViewToolBars(), GUIGlChildWindow::create(), GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignFrameArea, GUIDesignSplitter, GUIDesignVerticalSeparator, GUIDesignViewnArea, ICON_REDO, ICON_UNDO, and MID_GNE_VIEWPARENT_FRAMEAREAWIDTH.
GNEViewParent::~GNEViewParent | ( | ) |
Destructor.
Definition at line 135 of file GNEViewParent.cpp.
References GUIGlChildWindow::myParent, and GUIMainWindow::removeGLChild().
|
inlineprotected |
FOX needs this.
Definition at line 168 of file GNEViewParent.h.
|
inherited |
Definition at line 120 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignComboBoxNCol, GUIDesignComboBoxStatic, GUIDesignVerticalSeparator, ICON_COLORWHEEL, MID_COLOURSCHEMECHANGE, MID_EDITVIEWSCHEME, GUIGlChildWindow::myColoringSchemes, and GUIGlChildWindow::myNavigationToolBar.
Referenced by GUIGlChildWindow::getView().
|
inherited |
Definition at line 87 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignBar, GUIDesignButtonToolbar, GUIDesignButtonToolbarCheckable, GUIDesignButtonToolbarLocator, ICON_EDITVIEWPORT, ICON_LOCATE, ICON_RECENTERVIEW, ICON_SHOWTOOLTIPS, ICON_ZOOMSTYLE, MID_EDITVIEWPORT, MID_RECENTERVIEW, MID_SHOWTOOLTIPS, MID_ZOOM_STYLE, GUIGlChildWindow::myContentFrame, GUIGlChildWindow::myLocatorButton, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myNavigationToolBar, and MFXCheckableButton::setChecked().
Referenced by GUIGlChildWindow::getView().
|
inherited |
Definition at line 135 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButtonToolbar, GUIDesignVerticalSeparator, ICON_CAMERA, MID_MAKESNAPSHOT, and GUIGlChildWindow::myNavigationToolBar.
Referenced by GUIGlChildWindow::getView().
|
virtualinherited |
Definition at line 78 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myNavigationToolBar, and GUIGlChildWindow::myView.
Referenced by GNEViewParent(), and GUIApplicationWindow::openNewView().
void GNEViewParent::eraseACChooserDialog | ( | GNEDialogACChooser * | chooserDialog | ) |
remove created chooser dialog
Definition at line 239 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::ACChooserTLS, and myACChoosers.
Referenced by GNEDialogACChooser::~GNEDialogACChooser().
GNEAdditionalFrame * GNEViewParent::getAdditionalFrame | ( | ) | const |
get frame for GNE_MODE_ADDITIONAL
Definition at line 171 of file GNEViewParent.cpp.
References GNEViewParent::Frames::additionalFrame, and myFrames.
Referenced by GNEViewNet::abortOperation(), GNENet::deleteEdge(), GNENet::deleteLane(), GNEViewNet::deleteSelectedAdditionals(), GNEViewNet::drawLaneCandidates(), GNEViewNet::hotkeyEnter(), GNEDialog_FixAdditionalPositions::onCmdAccept(), GNEViewNet::onLeftBtnPress(), GNEDeleteFrame::removeAttributeCarrier(), and GNEViewNet::updateModeSpecificControls().
|
virtualinherited |
Definition at line 146 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView.
Referenced by GUIApplicationWindow::getBuildGLCanvas(), and GNEApplicationWindow::getBuildGLCanvas().
|
inherited |
Definition at line 164 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myColoringSchemes.
Referenced by GUIViewTraffic::buildViewToolBars(), GNEViewNet::buildViewToolBars(), GUISUMOAbstractView::getColoringSchemesCombo(), and GUIGlChildWindow::getView().
GNEConnectorFrame * GNEViewParent::getConnectorFrame | ( | ) | const |
get frame for GNE_MODE_CONNECT
Definition at line 159 of file GNEViewParent.cpp.
References GNEViewParent::Frames::connectorFrame, and myFrames.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::hotkeyEnter(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::updateModeSpecificControls().
GNECrossingFrame * GNEViewParent::getCrossingFrame | ( | ) | const |
get frame for GNE_MODE_CROSSING
Definition at line 177 of file GNEViewParent.cpp.
References GNEViewParent::Frames::crossingFrame, and myFrames.
Referenced by GNEViewNet::hotkeyEnter(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::updateModeSpecificControls().
GNEDeleteFrame * GNEViewParent::getDeleteFrame | ( | ) | const |
get frame for GNE_MODE_DELETE
Definition at line 189 of file GNEViewParent.cpp.
References GNEViewParent::Frames::deleteFrame, and myFrames.
Referenced by GNEFrame::ACHierarchy::onCmdDeleteItem(), GNEInspectorFrame::onCmdGoBack(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::updateModeSpecificControls().
GNEApplicationWindow * GNEViewParent::getGNEAppWindows | ( | ) | const |
get GNE Application Windows
Definition at line 233 of file GNEViewParent.cpp.
References myGNEAppWindows.
Referenced by GNENet::requiereSaveAdditionals(), GNENet::requiereSaveShapes(), and GNENet::requiereSaveTLSPrograms().
GUIMainWindow * GNEViewParent::getGUIMainWindow | ( | ) | const |
get GUIMainWindow App
Definition at line 227 of file GNEViewParent.cpp.
References GUIGlChildWindow::myParent.
Referenced by GNEFrame::ACHierarchy::createPopUpMenu().
GNEInspectorFrame * GNEViewParent::getInspectorFrame | ( | ) | const |
get frame for GNE_MODE_INSPECT
Definition at line 147 of file GNEViewParent.cpp.
References GNEViewParent::Frames::inspectorFrame, and myFrames.
Referenced by GNENet::computeAndUpdate(), GNENet::deleteAdditional(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEFrame::ACHierarchy::onCmdDeleteItem(), GNEFrame::ACHierarchy::onCmdInspectItem(), GNEViewNet::onLeftBtnPress(), GNEViewNet::openObjectDialog(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_Additional::redo(), GNEChange_Connection::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNENet::removePolygonForEditShapes(), GNENet::removeShape(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_Additional::undo(), GNEChange_Connection::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEViewNet::updateControls(), and GNEViewNet::updateModeSpecificControls().
|
inherited |
Definition at line 158 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myLocatorPopup.
Referenced by GUIViewTraffic::buildViewToolBars(), GNEViewNet::buildViewToolBars(), and GUIGlChildWindow::getView().
|
inherited |
Definition at line 152 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myNavigationToolBar.
Referenced by GUIGlChildWindow::getView().
|
inlineinherited |
Returns the main window.
Definition at line 82 of file GUIGlChildWindow.h.
References GUIGlChildWindow::isSelected(), and GUIGlChildWindow::myParent.
Referenced by GUIDialog_GLObjChooser::~GUIDialog_GLObjChooser().
GNEPolygonFrame * GNEViewParent::getPolygonFrame | ( | ) | const |
get frame for GNE_MODE_POLYGON
Definition at line 195 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::polygonFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalDrawShape(), GNEViewNet::hotkeyEnter(), GNEViewNet::onKeyPress(), GNEViewNet::onKeyRelease(), GNEViewNet::onLeftBtnPress(), GNEViewNet::onMouseMove(), GNEViewNet::onRightBtnPress(), GNEViewNet::onRightBtnRelease(), and GNEViewNet::updateModeSpecificControls().
GNEProhibitionFrame * GNEViewParent::getProhibitionFrame | ( | ) | const |
get frame for GNE_MODE_PROHIBITION
Definition at line 201 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::prohibitionFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::onLeftBtnPress(), and GNEViewNet::updateModeSpecificControls().
GNESelectorFrame * GNEViewParent::getSelectorFrame | ( | ) | const |
get frame for GNE_MODE_SELECT
Definition at line 153 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::selectorFrame.
Referenced by GNEViewNet::abortOperation(), GNEViewNet::getAttributeCarriersInBoundary(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadEnds(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectPass(), GNEViewNet::onLeftBtnPress(), GNEViewNet::SelectingArea::processBoundarySelection(), GNEInspectorFrame::processClick(), GNENetElement::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), and GNEViewNet::updateModeSpecificControls().
GNETAZFrame * GNEViewParent::getTAZFrame | ( | ) | const |
get frame for GNE_MODE_TAZ
Definition at line 183 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::onLeftBtnPress(), GNEViewNet::onLeftBtnRelease(), and GNEViewNet::updateModeSpecificControls().
GNETLSEditorFrame * GNEViewParent::getTLSEditorFrame | ( | ) | const |
get frame for GNE_MODE_TLS
Definition at line 165 of file GNEViewParent.cpp.
References myFrames, and GNEViewParent::Frames::TLSEditorFrame.
Referenced by GNEViewNet::abortOperation(), GNELane::getPopUpMenu(), GNEViewNet::hotkeyEnter(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNELane::onDefault(), GNEViewNet::onLeftBtnPress(), GNEViewNet::setEditMode(), and GNEViewNet::updateModeSpecificControls().
|
inlineinherited |
Definition at line 53 of file GUIGlChildWindow.h.
References GUIGlChildWindow::buildColoringToolBar(), GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::buildScreenshotToolBar(), GUIGlChildWindow::getColoringSchemesCombo(), GUIGlChildWindow::getLocatorPopup(), GUIGlChildWindow::getNavigationToolBar(), GUIGlChildWindow::myView, GUIGlChildWindow::onCmdChangeColorScheme(), GUIGlChildWindow::onCmdEditViewport(), GUIGlChildWindow::onCmdEditViewScheme(), GUIGlChildWindow::onCmdRecenterView(), GUIGlChildWindow::onCmdShowToolTips(), GUIGlChildWindow::onCmdZoomStyle(), and GUIGlChildWindow::setView().
Referenced by GUIMainWindow::getActiveView(), TraCIServerAPI_GUI::getNamedView(), GNEPolygonFrame::GEOPOICreator::onCmdCreateGEOPOI(), GUIApplicationWindow::onCmdEditChosen(), GUIApplicationWindow::onCmdOpenShapes(), GUIApplicationWindow::onCmdShowStats(), GUIDialog_GLObjChooser::onCmdToggleSelection(), GUIApplicationWindow::openNewView(), and GNEApplicationWindow::openNewView().
void GNEViewParent::hideAllFrames | ( | ) |
hide all frames
Definition at line 142 of file GNEViewParent.cpp.
References GNEViewParent::Frames::hideFrames(), and myFrames.
Referenced by GNEViewNet::updateModeSpecificControls().
void GNEViewParent::hideFramesArea | ( | ) |
hide frames area if all GNEFrames are hidden
Definition at line 217 of file GNEViewParent.cpp.
References GNEViewParent::Frames::isFrameShown(), myFrames, and myFramesArea.
Referenced by GNEFrame::hide().
|
virtual |
true if the object is selected (may include extra logic besides calling gSelected)
Reimplemented from GUIGlChildWindow.
Definition at line 431 of file GNEViewParent.cpp.
References GNEAttributeCarrier::isAttributeCarrierSelected().
|
inherited |
Definition at line 215 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::setColorScheme().
Referenced by GUIGlChildWindow::getView().
long GNEViewParent::onCmdClose | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user hits the close button (x)
Definition at line 297 of file GNEViewParent.cpp.
References MID_CLOSE, and GUIGlChildWindow::myParent.
|
inherited |
Definition at line 178 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::showViewportEditor().
Referenced by GUIGlChildWindow::getView().
|
inherited |
Definition at line 185 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::showViewschemeEditor().
Referenced by GUIGlChildWindow::getView().
long GNEViewParent::onCmdLocate | ( | FXObject * | , |
FXSelector | sel, | ||
void * | |||
) |
locator-callback
Definition at line 304 of file GNEViewParent.cpp.
References GNEViewParent::ACChoosers::ACChooserAdditional, GNEViewParent::ACChoosers::ACChooserEdges, GNEViewParent::ACChoosers::ACChooserJunction, GNEViewParent::ACChoosers::ACChooserPOI, GNEViewParent::ACChoosers::ACChooserPolygon, GNEViewParent::ACChoosers::ACChooserTLS, GUIIconSubSys::getIcon(), GNEViewNet::getNet(), ShapeContainer::getPOIs(), ShapeContainer::getPolygons(), ICON_LOCATEADD, ICON_LOCATEEDGE, ICON_LOCATEJUNCTION, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_LOCATETLS, MID_LOCATEADD, MID_LOCATEEDGE, MID_LOCATEJUNCTION, MID_LOCATEPOI, MID_LOCATEPOLY, MID_LOCATETLS, myACChoosers, GUIGlChildWindow::myLocatorButton, GUIGlChildWindow::myLocatorPopup, GUIGlChildWindow::myView, GNENet::retrieveAdditionals(), GNENet::retrieveEdges(), and GNENet::retrieveJunctions().
Referenced by GNEApplicationWindow::onCmdLocate().
long GNEViewParent::onCmdMakeSnapshot | ( | FXObject * | sender, |
FXSelector | , | ||
void * | |||
) |
Definition at line 263 of file GNEViewParent.cpp.
References gCurrentFolder, GUIIconSubSys::getIcon(), ICON_EMPTY, GUISUMOAbstractView::makeSnapshot(), GUIGlChildWindow::myView, MFXUtils::userPermitsOverwritingWhenFileExists(), and WRITE_DEBUG.
|
inherited |
Definition at line 170 of file GUIGlChildWindow.cpp.
References GUIGlChildWindow::myView, and GUISUMOAbstractView::recenterView().
Referenced by GUIGlChildWindow::getView().
|
inherited |
Definition at line 192 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), GUIGlChildWindow::myView, MFXCheckableButton::setChecked(), and GUISUMOAbstractView::showToolTips().
Referenced by GUIGlChildWindow::getView().
long GNEViewParent::onCmdUpdateFrameAreaWidth | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when user change the splitter between FrameArea and ViewNet.
Definition at line 423 of file GNEViewParent.cpp.
References myFrames, myFramesArea, and GNEViewParent::Frames::setWidth().
|
inherited |
Definition at line 203 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), GUIGlChildWindow::myView, and MFXCheckableButton::setChecked().
Referenced by GUIGlChildWindow::getView().
long GNEViewParent::onKeyPress | ( | FXObject * | o, |
FXSelector | sel, | ||
void * | data | ||
) |
Called when user press a key.
Definition at line 409 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 416 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 222 of file GUIGlChildWindow.cpp.
References GUISUMOAbstractView::centerTo(), and GUIGlChildWindow::myView.
Referenced by GUIGlChildWindow::getView(), GUIDialog_GLObjChooser::onCmdCenter(), GUIDialog_GLObjChooser::onCmdText(), and GUIMessageWindow::setCursorPos().
void GNEViewParent::showFramesArea | ( | ) |
show frames area if at least a GNEFrame is showed
Definition at line 207 of file GNEViewParent.cpp.
References GNEViewParent::Frames::isFrameShown(), myFrames, and myFramesArea.
Referenced by GNEFrame::show().
|
private |
struct for ACChoosers
Definition at line 262 of file GNEViewParent.h.
Referenced by eraseACChooserDialog(), and onCmdLocate().
|
protectedinherited |
Definition at line 104 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildColoringToolBar(), and GUIGlChildWindow::getColoringSchemesCombo().
|
protectedinherited |
Definition at line 102 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), and GUISUMOViewParent::init().
|
private |
struct for frames
Definition at line 259 of file GNEViewParent.h.
Referenced by getAdditionalFrame(), getConnectorFrame(), getCrossingFrame(), getDeleteFrame(), getInspectorFrame(), getPolygonFrame(), getProhibitionFrame(), getSelectorFrame(), getTAZFrame(), getTLSEditorFrame(), hideAllFrames(), hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
frame to hold GNEFrames
Definition at line 253 of file GNEViewParent.h.
Referenced by hideFramesArea(), onCmdUpdateFrameAreaWidth(), and showFramesArea().
|
private |
Splitter to divide ViewNet und GNEFrames.
Definition at line 256 of file GNEViewParent.h.
|
private |
pointer to GNEApplicationWindow
Definition at line 247 of file GNEViewParent.h.
Referenced by getGNEAppWindows().
|
protectedinherited |
Definition at line 100 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUISUMOViewParent::onCmdLocate(), and onCmdLocate().
|
protectedinherited |
The locator menu.
Definition at line 99 of file GUIGlChildWindow.h.
Referenced by GUIGlChildWindow::buildNavigationToolBar(), GUIGlChildWindow::create(), GUIGlChildWindow::getLocatorPopup(), GUISUMOViewParent::onCmdLocate(), onCmdLocate(), and GUIGlChildWindow::~GUIGlChildWindow().
|
protectedinherited |
The tool bar.
Definition at line 96 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 parent window.
Definition at line 107 of file GUIGlChildWindow.h.
Referenced by getGUIMainWindow(), GUIGlChildWindow::getParent(), GUISUMOViewParent::init(), onCmdClose(), GUISUMOViewParent::onCmdLocate(), ~GNEViewParent(), and GUISUMOViewParent::~GUISUMOViewParent().
|
protectedinherited |
the view
Definition at line 93 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 250 of file GNEViewParent.h.