![]() |
VR-Forces 4.6.1 Class Documentation
|
OpenSceneGraph window integration with Qt. More...

Public Member Functions | |
| DtOsgWindowQt (DtDe &de, DtWindowConfiguration &wc, bool fullscreen=false) | |
| CTOR. | |
| virtual | ~DtOsgWindowQt () |
| DTOR. | |
| virtual int | width () const |
| get the width | |
| virtual int | height () const |
| get the height | |
| virtual bool | isValid () const |
| Get if the. | |
| virtual void | setPosition (int x, int y) |
| Does nothing as embedded window position is set by it's parent window. | |
| virtual void | resize (int width, int height) |
| Resize to the width and height. | |
| void | changeResolution (int width, int height) |
| virtual void | toggleFullScreen () |
| Toggle the window between full. | |
| virtual bool | isFullScreen () const |
| Get whether this window is currently in full screen mode. | |
| virtual int | screenNumber () const |
| Get the screen number of the screen that this window is on. | |
| DtOsgAdapterQtWidget * | adapterWidget () |
| Access the Qt Adapter. | |
Public Member Functions inherited from makVrv::DtOsgWindow | |
| virtual | ~DtOsgWindow () |
| DTOR. | |
| virtual osg::GraphicsContext * | graphicsContext () |
| Get the OSG Graphics Context for the window. | |
| virtual const osg::GraphicsContext * | graphicsContext () const |
| Get the const OSG Graphics Context for the window. | |
| virtual void | sizeChanged (int width, int height) |
| Called when the size of the window has changed. | |
| void | adjustPerspective () |
| virtual void | clearEmptyWindow () |
| Called every tick by the renderer on windows with no channels. | |
Public Member Functions inherited from makVrv::DtWindow | |
| DtWindow (DtDe &, DtWindowConfiguration &wc) | |
| CTOR. | |
| virtual void | realize () |
| Realize the current configured channels. | |
| virtual | ~DtWindow () |
| DTOR. | |
| virtual bool | canResize () const |
| Check to see if the window can be resized. | |
| virtual const DtWindowConfiguration & | configuration () const |
| Get the window configuration. | |
| virtual bool | tick () |
| Tick the window. | |
| virtual DtChannelManager & | channelManager () |
| Get the window's channel manager. | |
| virtual const DtChannelManager & | channelManager () const |
| Get the window's channel manager. | |
| virtual DtChannel * | findChannel (const std::string &name) |
| Find a channel. | |
| DtDe & | de () |
| Accessor to get the de;. | |
Protected Member Functions | |
| virtual void | slot_windowResizeabilityChanged (DtWindow *window) |
Protected Member Functions inherited from makVrv::DtOsgWindow | |
| DtOsgWindow (DtDe &de, DtWindowConfiguration &wc) | |
| CTOR. | |
| virtual void | renderText (int x, int y, const std::string &text) |
| Write some text on the screen using glut. | |
Protected Attributes | |
| DtOsgAdapterQtWidget * | myAdapter |
| unsigned int | myScreenWidth |
| unsigned int | myScreenHeight |
| bool | myFullScreen |
| DtSignalConnectionManager | mySignals |
| int | myWindowStateBeforeFullscreen |
| int | myWindowXBeforeFullscreen |
| int | myWindowYBeforeFullscreen |
| int | myWindowWidthBeforeFullscreen |
| int | myWindowHeightBeforeFullscreen |
Protected Attributes inherited from makVrv::DtOsgWindow | |
| osg::ref_ptr < osg::GraphicsContext > | myContext |
Protected Attributes inherited from makVrv::DtWindow | |
| DtDe & | myDe |
| DtChannelManager * | myChannelManager |
| DtWindowConfiguration & | myWindowConfiguration |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtOsgWindow | |
| static osg::GraphicsContext::Traits * | createDefaultTraits () |
| Create a set of traits which are the default shared traits. | |
Public Attributes inherited from makVrv::DtWindow | |
| boost::signal< void(bool)> | signal_fullScreenModeChanged |
| Signal that indicates when the window toggles between full screen and Windowed mode. | |
Static Protected Member Functions inherited from makVrv::DtOsgWindow | |
| static void | setUpAntiAliasingLevels (osg::GraphicsContext::Traits &traits, unsigned short level) |
OpenSceneGraph window integration with Qt.
| makVrv::DtOsgWindowQt::DtOsgWindowQt | ( | DtDe & | de, |
| DtWindowConfiguration & | wc, | ||
| bool | fullscreen = false |
||
| ) |
CTOR.
| DtCorruptedState | if it can't create/access a DtAppTicker when needed. |
|
virtual |
DTOR.
|
virtual |
get the width
Reimplemented from makVrv::DtWindow.
|
virtual |
get the height
Reimplemented from makVrv::DtWindow.
|
virtual |
Get if the.
Reimplemented from makVrv::DtOsgWindow.
Does nothing as embedded window position is set by it's parent window.
Implements makVrv::DtWindow.
Resize to the width and height.
Implements makVrv::DtWindow.
|
virtual |
Toggle the window between full.
Reimplemented from makVrv::DtWindow.
|
virtual |
Get whether this window is currently in full screen mode.
Reimplemented from makVrv::DtWindow.
|
virtual |
Get the screen number of the screen that this window is on.
Reimplemented from makVrv::DtWindow.
| DtOsgAdapterQtWidget* makVrv::DtOsgWindowQt::adapterWidget | ( | ) |
Access the Qt Adapter.
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |