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

Abstract Base class. More...

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

List of all members.

Public Member Functions

 DtWindow (DtDe &, DtWindowConfiguration &wc)
 CTOR.
virtual void realize ()
 Realize the current configured channels.
virtual ~DtWindow ()
 DTOR.
virtual bool isValid () const =0
 Check to see if the window is still valid.
virtual bool canResize () const
 Check to see if the window can be resized.
virtual void setPosition (int x, int y)=0
 Set the position of the window in screen coordinates.
virtual void resize (int width, int height)=0
 Resize the window.
virtual void sizeChanged (int width, int height)=0
 Called when the size of the window has changed.
virtual int width () const
 Get the window width.
virtual int height () const
 Get the window height.
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;.
virtual void clearEmptyWindow ()
 Called every tick by the renderer on windows with no channels.
virtual void toggleFullScreen ()
 toggle fullscreen mode, for windows that support it.
virtual bool isFullScreen ()
virtual int screenNumber () const
 Get the screen number of the screen that this window is on.

Protected Attributes

DtDemyDe
DtChannelManagermyChannelManager
DtWindowConfigurationmyWindowConfiguration

Detailed Description

Abstract Base class.


Constructor & Destructor Documentation

CTOR.

virtual makVrv::DtWindow::~DtWindow ( ) [virtual]

DTOR.


Member Function Documentation

virtual void makVrv::DtWindow::realize ( ) [virtual]

Realize the current configured channels.

virtual bool makVrv::DtWindow::isValid ( ) const [pure virtual]

Check to see if the window is still valid.

A window should become invalid if it is closed.

Implemented in DtEmbeddedMfcOsgWindow, makVrv::DtDeMainWindowEmbeddedOsgWindow, makVrv::DtOsgWindow, and makVrv::DtOsgWindowQt.

virtual bool makVrv::DtWindow::canResize ( ) const [virtual]

Check to see if the window can be resized.

virtual void makVrv::DtWindow::setPosition ( int  x,
int  y 
) [pure virtual]
virtual void makVrv::DtWindow::resize ( int  width,
int  height 
) [pure virtual]
virtual void makVrv::DtWindow::sizeChanged ( int  width,
int  height 
) [pure virtual]

Called when the size of the window has changed.

This is necessary since often the window system will allow the use to resize a window.

Implemented in DtEmbeddedMfcOsgWindow, and makVrv::DtOsgWindow.

virtual int makVrv::DtWindow::width ( ) const [virtual]

Get the window width.

Reimplemented in makVrv::DtDeMainWindowEmbeddedOsgWindow, and makVrv::DtOsgWindowQt.

virtual int makVrv::DtWindow::height ( ) const [virtual]

Get the window height.

Reimplemented in makVrv::DtDeMainWindowEmbeddedOsgWindow, and makVrv::DtOsgWindowQt.

virtual const DtWindowConfiguration& makVrv::DtWindow::configuration ( ) const [virtual]

Get the window configuration.

virtual bool makVrv::DtWindow::tick ( ) [virtual]

Tick the window.

Get the window's channel manager.

virtual const DtChannelManager& makVrv::DtWindow::channelManager ( ) const [virtual]

Get the window's channel manager.

virtual DtChannel* makVrv::DtWindow::findChannel ( const std::string &  name) [virtual]

Find a channel.

DtDe& makVrv::DtWindow::de ( ) [inline]

Accessor to get the de;.

virtual void makVrv::DtWindow::clearEmptyWindow ( ) [virtual]

Called every tick by the renderer on windows with no channels.

Reimplemented in makVrv::DtOsgWindow.

virtual void makVrv::DtWindow::toggleFullScreen ( ) [inline, virtual]

toggle fullscreen mode, for windows that support it.

The base class does nothing

Reimplemented in makVrv::DtDeMainWindowEmbeddedOsgWindow, and makVrv::DtOsgWindowQt.

virtual bool makVrv::DtWindow::isFullScreen ( ) [inline, virtual]
virtual int makVrv::DtWindow::screenNumber ( ) const [inline, virtual]

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

Reimplemented in makVrv::DtDeMainWindowEmbeddedOsgWindow, and makVrv::DtOsgWindowQt.


Member Data Documentation


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)