VR-Forces 4.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtDeMainWindowEmbeddedOsgWindow Class Reference

The Qt IG main window embedded OSG window. More...

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

Public Member Functions

 DtDeMainWindowEmbeddedOsgWindow (DtDe &de, DtWindowConfiguration &wc)
 CTOR.
virtual ~DtDeMainWindowEmbeddedOsgWindow ()
 DTOR.
virtual int width () const
 Get the width of the window.
virtual int height () const
 Get the height of the window.
virtual bool isValid () const
 Get if the window is valid for rendering.
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.
virtual void toggleFullScreen ()
 toggle full screen on the main window
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.
DtOsgAdapterQtWidgetadapterWidget ()
 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 DtChannelManagerchannelManager ()
 Get the window's channel manager.
virtual const DtChannelManagerchannelManager () const
 Get the window's channel manager.
virtual DtChannelfindChannel (const std::string &name)
 Find a channel.
DtDede ()
 Accessor to get the de;.

Protected Member Functions

void createAdapterAndContext (QWidget *parent)
 Create myAdapter and myContext.
- 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

DtQtDeMainWindowmyMainWindow
DtOsgAdapterQtWidgetmyAdapter
DtQtOsgKeyAdaptermyKeyAdapter
- Protected Attributes inherited from makVrv::DtOsgWindow
osg::ref_ptr
< osg::GraphicsContext > 
myContext
- Protected Attributes inherited from makVrv::DtWindow
DtDemyDe
DtChannelManagermyChannelManager
DtWindowConfigurationmyWindowConfiguration

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.

Detailed Description

The Qt IG main window embedded OSG window.

Constructor & Destructor Documentation

makVrv::DtDeMainWindowEmbeddedOsgWindow::DtDeMainWindowEmbeddedOsgWindow ( DtDe de,
DtWindowConfiguration wc 
)

CTOR.

Exceptions
DtCorruptedStateif it can't create/access a DtAppTicker when needed.
virtual makVrv::DtDeMainWindowEmbeddedOsgWindow::~DtDeMainWindowEmbeddedOsgWindow ( )
virtual

DTOR.

Member Function Documentation

virtual int makVrv::DtDeMainWindowEmbeddedOsgWindow::width ( ) const
virtual

Get the width of the window.

Reimplemented from makVrv::DtWindow.

virtual int makVrv::DtDeMainWindowEmbeddedOsgWindow::height ( ) const
virtual

Get the height of the window.

Reimplemented from makVrv::DtWindow.

virtual bool makVrv::DtDeMainWindowEmbeddedOsgWindow::isValid ( ) const
virtual

Get if the window is valid for rendering.

Reimplemented from makVrv::DtOsgWindow.

virtual void makVrv::DtDeMainWindowEmbeddedOsgWindow::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::DtDeMainWindowEmbeddedOsgWindow::resize ( int  width,
int  height 
)
virtual

Resize to the width and height.

Implements makVrv::DtWindow.

virtual void makVrv::DtDeMainWindowEmbeddedOsgWindow::toggleFullScreen ( )
virtual

toggle full screen on the main window

Reimplemented from makVrv::DtWindow.

virtual bool makVrv::DtDeMainWindowEmbeddedOsgWindow::isFullScreen ( )
virtual

Get whether this window is currently in full screen mode.

Reimplemented from makVrv::DtWindow.

virtual int makVrv::DtDeMainWindowEmbeddedOsgWindow::screenNumber ( ) const
virtual

Get the screen number of the screen that this window is on.

Reimplemented from makVrv::DtWindow.

DtOsgAdapterQtWidget* makVrv::DtDeMainWindowEmbeddedOsgWindow::adapterWidget ( )

Access the Qt Adapter.

void makVrv::DtDeMainWindowEmbeddedOsgWindow::createAdapterAndContext ( QWidget parent)
protected

Create myAdapter and myContext.

Not virtual because called from the CTOR.

Member Data Documentation

DtQtDeMainWindow* makVrv::DtDeMainWindowEmbeddedOsgWindow::myMainWindow
protected
DtOsgAdapterQtWidget* makVrv::DtDeMainWindowEmbeddedOsgWindow::myAdapter
protected
DtQtOsgKeyAdapter* makVrv::DtDeMainWindowEmbeddedOsgWindow::myKeyAdapter
protected

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

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)