VR-Forces 4.0.4 Class Documentation
Public Member Functions | Protected Attributes
makVrv::DtOsgWindowQt Class Reference

OpenSceneGraph window integration with Qt. More...

Inheritance diagram for makVrv::DtOsgWindowQt:
Inheritance graph
[legend]

List of all members.

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

DtOsgAdapterQtWidgetmyAdapter
unsigned int myScreenWidth
unsigned int myScreenHeight
bool myFullScreen

Detailed Description

OpenSceneGraph window integration with Qt.


Constructor & Destructor Documentation

makVrv::DtOsgWindowQt::DtOsgWindowQt ( DtDe de,
DtWindowConfiguration wc,
bool  fullscreen = false 
)

CTOR.

Exceptions:
DtCorruptedStateif it can't create/access a DtAppTicker when needed.

DTOR.


Member Function Documentation

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.

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.


Member Data Documentation

unsigned int makVrv::DtOsgWindowQt::myScreenWidth [protected]
unsigned int makVrv::DtOsgWindowQt::myScreenHeight [protected]

The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)