![]() |
VR-Forces 5.0.1 Developer's Guide
|
OpenSceneGraph window integration with Qt.

Public Member Functions | |
| DtOsgWindowQt (DtDe &de, DtWindowConfiguration &wc, bool fullscreen=false) | |
| virtual | ~DtOsgWindowQt () |
| virtual int | width () const |
| virtual int | height () const |
| virtual int | pixelRatio () const |
| virtual float | pixelRatioF () const |
| virtual int | physicalDpiX () const |
| virtual int | physicalDpiY () const |
| virtual bool | isValid () const |
| virtual void | setPosition (int x, int y) |
| virtual void | resize (int width, int height) |
| void | changeResolution (int width, int height) |
| virtual void | toggleFullScreen () |
| virtual bool | isFullScreen () const |
| virtual int | screenNumber () const |
| DtOsgAdapterQtWidget * | adapterWidget () |
Public Member Functions inherited from makVrv::DtOsgWindow | |
| virtual | ~DtOsgWindow () |
| virtual osg::GraphicsContext * | graphicsContext () |
| virtual const osg::GraphicsContext * | graphicsContext () const |
| virtual void | sizeChanged (int width, int height) |
| void | adjustPerspective () |
| virtual void | clearEmptyWindow (const std::string &messageLine1, const std::string &messageLine2, const std::string &messageLine3) |
Public Member Functions inherited from makVrv::DtWindow | |
| DtWindow (DtDe &, DtWindowConfiguration &wc) | |
| virtual void | realize () |
| virtual | ~DtWindow () |
| virtual bool | canResize () const |
| virtual bool | isChildWindow () const |
| virtual const DtWindowConfiguration & | configuration () const |
| virtual bool | tick () |
| virtual DtChannelManager & | channelManager () |
| virtual const DtChannelManager & | channelManager () const |
| virtual DtChannel * | findChannel (const std::string &name) |
| DtDe & | de () |
Protected Member Functions | |
| virtual void | slot_windowResizeabilityChanged (DtWindow *window) |
Protected Member Functions inherited from makVrv::DtOsgWindow | |
| DtOsgWindow (DtDe &de, DtWindowConfiguration &wc) | |
| virtual void | renderText (int x, int y, const std::string &text) |
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 |
| bool | myIsChildWindow |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtOsgWindow | |
| static osg::GraphicsContext::Traits * | createDefaultTraits () |
Public Attributes inherited from makVrv::DtWindow | |
| boost::signalslib::signal < void(bool)> | signal_fullScreenModeChanged |
| boost::signalslib::signal < void(float)> | signal_pixelRatioChanged |
Static Protected Member Functions inherited from makVrv::DtOsgWindow | |
| static void | setUpAntiAliasingLevels (osg::GraphicsContext::Traits &traits, unsigned short level) |
| 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 the (rounded) window pixel ratio for high dpi scaling.
Reimplemented from makVrv::DtWindow.
|
virtual |
Get the window pixel ratio for high dpi scaling.
Reimplemented from makVrv::DtWindow.
|
virtual |
Get the pixel density along the X axis, in pixels per inch.
Reimplemented from makVrv::DtWindow.
|
virtual |
Get the pixel density along the Y axis, in pixels per inch.
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 |