SUMO - Simulation of Urban MObility
|
#include <GUIGlChildWindow.h>
Public Member Functions | |
virtual void | buildColoringToolBar () |
virtual void | buildNavigationToolBar () |
virtual void | buildScreenshotToolBar () |
virtual void | create () |
virtual FXGLCanvas * | getBuildGLCanvas () const |
FXComboBox & | getColoringSchemesCombo () |
FXPopup * | getLocatorPopup () |
FXToolBar & | getNavigationToolBar (GUISUMOAbstractView &v) |
GUIMainWindow * | getParent () |
Returns the main window. | |
GUISUMOAbstractView * | getView () const |
GUIGlChildWindow (FXMDIClient *p, GUIMainWindow *parentWindow, FXMDIMenu *mdimenu, const FXString &name, FXIcon *ic=NULL, FXuint opts=0, FXint x=0, FXint y=0, FXint w=0, FXint h=0) | |
virtual bool | isSelected (GUIGlObject *o) const |
true if the object is selected (may include extra logic besides calling gSelected) | |
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. | |
virtual | ~GUIGlChildWindow () |
Protected Member Functions | |
GUIGlChildWindow () |
Protected Attributes | |
FXComboBox * | myColoringSchemes |
FXVerticalFrame * | myContentFrame |
FXMenuButton * | myLocatorButton |
FXPopup * | myLocatorPopup |
The locator menu. | |
FXToolBar * | myNavigationToolBar |
The tool bar. | |
GUIMainWindow * | myParent |
The parent window. | |
GUISUMOAbstractView * | myView |
the view |
Definition at line 49 of file GUIGlChildWindow.h.
GUIGlChildWindow::GUIGlChildWindow | ( | FXMDIClient * | p, |
GUIMainWindow * | parentWindow, | ||
FXMDIMenu * | mdimenu, | ||
const FXString & | name, | ||
FXIcon * | ic = NULL , |
||
FXuint | opts = 0 , |
||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 |
||
) |
Definition at line 62 of file GUIGlChildWindow.cpp.
|
virtual |
Definition at line 84 of file GUIGlChildWindow.cpp.
References myLocatorPopup, and myNavigationToolBar.
|
inlineprotected |
Definition at line 119 of file GUIGlChildWindow.h.
|
virtual |
Definition at line 137 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), ICON_COLORWHEEL, MID_COLOURSCHEMECHANGE, MID_EDITVIEWSCHEME, myColoringSchemes, and myNavigationToolBar.
|
virtual |
Definition at line 100 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), ICON_EDITVIEWPORT, ICON_LOCATE, ICON_RECENTERVIEW, ICON_SHOWTOOLTIPS, ICON_ZOOMSTYLE, MID_EDITVIEWPORT, MID_RECENTERVIEW, MID_SHOWTOOLTIPS, MID_ZOOM_STYLE, myContentFrame, myLocatorButton, myLocatorPopup, myNavigationToolBar, and MFXCheckableButton::setChecked().
|
virtual |
Definition at line 157 of file GUIGlChildWindow.cpp.
References GUIIconSubSys::getIcon(), ICON_CAMERA, MID_MAKESNAPSHOT, and myNavigationToolBar.
|
virtual |
Definition at line 91 of file GUIGlChildWindow.cpp.
References myLocatorPopup, myNavigationToolBar, and myView.
Referenced by GUIApplicationWindow::openNewView().
|
virtual |
Definition at line 171 of file GUIGlChildWindow.cpp.
References myView.
Referenced by GUIApplicationWindow::getBuildGLCanvas().
FXComboBox & GUIGlChildWindow::getColoringSchemesCombo | ( | ) |
Definition at line 189 of file GUIGlChildWindow.cpp.
References myColoringSchemes.
Referenced by GUIViewTraffic::buildViewToolBars(), and GUISUMOAbstractView::getColoringSchemesCombo().
FXPopup * GUIGlChildWindow::getLocatorPopup | ( | ) |
Definition at line 183 of file GUIGlChildWindow.cpp.
References myLocatorPopup.
Referenced by GUIViewTraffic::buildViewToolBars().
FXToolBar & GUIGlChildWindow::getNavigationToolBar | ( | GUISUMOAbstractView & | v | ) |
Definition at line 177 of file GUIGlChildWindow.cpp.
References myNavigationToolBar.
|
inline |
Returns the main window.
Definition at line 90 of file GUIGlChildWindow.h.
References myParent.
Referenced by GUIDialog_GLObjChooser::~GUIDialog_GLObjChooser().
|
inline |
Definition at line 61 of file GUIGlChildWindow.h.
References myView.
Referenced by TraCIServerAPI_GUI::getNamedView(), and GUIApplicationWindow::onCmdEditChosen().
|
virtual |
true if the object is selected (may include extra logic besides calling gSelected)
Reimplemented in GUISUMOViewParent.
Definition at line 256 of file GUIGlChildWindow.cpp.
References GUIGlObject::getGlID(), GUIGlObject::getType(), gSelected, and GUISelectedStorage::isSelected().
Definition at line 240 of file GUIGlChildWindow.cpp.
References myView, and GUISUMOAbstractView::setColorScheme().
Definition at line 203 of file GUIGlChildWindow.cpp.
References myView, and GUISUMOAbstractView::showViewportEditor().
Definition at line 210 of file GUIGlChildWindow.cpp.
References myView, and GUISUMOAbstractView::showViewschemeEditor().
Definition at line 195 of file GUIGlChildWindow.cpp.
References myView, and GUISUMOAbstractView::recenterView().
Definition at line 217 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), myView, MFXCheckableButton::setChecked(), and GUISUMOAbstractView::showToolTips().
Definition at line 228 of file GUIGlChildWindow.cpp.
References MFXCheckableButton::amChecked(), myView, and MFXCheckableButton::setChecked().
void GUIGlChildWindow::setView | ( | GUIGlID | id | ) |
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 myView.
Referenced by GUIDialog_GLObjChooser::onCmdCenter(), and GUIDialog_GLObjChooser::onCmdText().
|
protected |
Definition at line 112 of file GUIGlChildWindow.h.
Referenced by buildColoringToolBar(), and getColoringSchemesCombo().
|
protected |
Definition at line 110 of file GUIGlChildWindow.h.
Referenced by buildNavigationToolBar(), and GUISUMOViewParent::init().
|
protected |
Definition at line 108 of file GUIGlChildWindow.h.
Referenced by buildNavigationToolBar(), and GUISUMOViewParent::onCmdLocate().
|
protected |
The locator menu.
Definition at line 107 of file GUIGlChildWindow.h.
Referenced by buildNavigationToolBar(), create(), getLocatorPopup(), GUISUMOViewParent::onCmdLocate(), and ~GUIGlChildWindow().
|
protected |
The tool bar.
Definition at line 104 of file GUIGlChildWindow.h.
Referenced by buildColoringToolBar(), buildNavigationToolBar(), buildScreenshotToolBar(), create(), getNavigationToolBar(), GUISUMOViewParent::init(), GUISUMOViewParent::toggleGaming(), and ~GUIGlChildWindow().
|
protected |
The parent window.
Definition at line 115 of file GUIGlChildWindow.h.
Referenced by getParent(), GUISUMOViewParent::init(), GUISUMOViewParent::onCmdLocate(), GUISUMOViewParent::toggleGaming(), and GUISUMOViewParent::~GUISUMOViewParent().
|
protected |
the view
Definition at line 101 of file GUIGlChildWindow.h.
Referenced by create(), getBuildGLCanvas(), getView(), GUISUMOViewParent::init(), onCmdChangeColorScheme(), onCmdEditViewport(), onCmdEditViewScheme(), GUISUMOViewParent::onCmdMakeSnapshot(), onCmdRecenterView(), onCmdShowToolTips(), onCmdZoomStyle(), GUISUMOViewParent::onSimStep(), and setView().