![]() |
VR-Forces 4.0.4 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 () |
| 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. | |
Protected Attributes | |
| DtOsgAdapterQtWidget * | myAdapter |
| unsigned int | myScreenWidth |
| unsigned int | myScreenHeight |
| bool | myFullScreen |
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 makVrv::DtOsgWindowQt::~DtOsgWindowQt | ( | ) | [virtual] |
DTOR.
| virtual int makVrv::DtOsgWindowQt::width | ( | ) | const [virtual] |
get the width
Reimplemented from makVrv::DtWindow.
| virtual int makVrv::DtOsgWindowQt::height | ( | ) | const [virtual] |
get the height
Reimplemented from makVrv::DtWindow.
| virtual bool makVrv::DtOsgWindowQt::isValid | ( | ) | const [virtual] |
Get if the.
Reimplemented from makVrv::DtOsgWindow.
| virtual void makVrv::DtOsgWindowQt::setPosition | ( | int | x, |
| int | y | ||
| ) | [virtual] |
Does nothing as embedded window position is set by it's parent window.
Implements makVrv::DtWindow.
| virtual void makVrv::DtOsgWindowQt::resize | ( | int | width, |
| int | height | ||
| ) | [virtual] |
Resize to the width and height.
Implements makVrv::DtWindow.
| void makVrv::DtOsgWindowQt::changeResolution | ( | int | width, |
| int | height | ||
| ) |
| virtual void makVrv::DtOsgWindowQt::toggleFullScreen | ( | ) | [virtual] |
Toggle the window between full.
Reimplemented from makVrv::DtWindow.
| virtual bool makVrv::DtOsgWindowQt::isFullScreen | ( | ) | [virtual] |
Get whether this window is currently in full screen mode.
Reimplemented from makVrv::DtWindow.
| virtual int makVrv::DtOsgWindowQt::screenNumber | ( | ) | const [virtual] |
Get the screen number of the screen that this window is on.
Reimplemented from makVrv::DtWindow.
DtOsgAdapterQtWidget* makVrv::DtOsgWindowQt::myAdapter [protected] |
unsigned int makVrv::DtOsgWindowQt::myScreenWidth [protected] |
unsigned int makVrv::DtOsgWindowQt::myScreenHeight [protected] |
bool makVrv::DtOsgWindowQt::myFullScreen [protected] |