![]() |
VR-Forces Development_Version Class Documentation
|

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 DtChannelManager & | channelManager () |
| Get the window's channel manager. | |
| virtual const DtChannelManager & | channelManager () const |
| Get the window's channel manager. | |
| virtual DtChannel * | findChannel (const std::string &name) |
| Find a channel. | |
| DtDe & | de () |
| 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 | |
| DtDe & | myDe |
| DtChannelManager * | myChannelManager |
| DtWindowConfiguration & | myWindowConfiguration |
Abstract Base class.
| makVrv::DtWindow::DtWindow | ( | DtDe & | , |
| DtWindowConfiguration & | wc | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Realize the current configured channels.
|
pure virtual |
Check to see if the window is still valid.
A window should become invalid if it is closed.
Implemented in DtEmbeddedMfcOsgWindow, makVrv::DtOsgWindow, makVrv::DtDeMainWindowEmbeddedOsgWindow, and makVrv::DtOsgWindowQt.
|
virtual |
Check to see if the window can be resized.
|
pure virtual |
Set the position of the window in screen coordinates.
Implemented in DtEmbeddedMfcOsgWindow, makVrv::DtDeMainWindowEmbeddedOsgWindow, makVrv::DtOsgWindowQt, makVrv::DtOsgFullscreenWindow, makVrv::DtOsgOsWindow, and makVrv::DtEmbeddedOsgWindow.
|
pure virtual |
Resize the window.
Implemented in DtEmbeddedMfcOsgWindow, makVrv::DtDeMainWindowEmbeddedOsgWindow, makVrv::DtOsgWindowQt, makVrv::DtOsgFullscreenWindow, makVrv::DtOsgOsWindow, and makVrv::DtEmbeddedOsgWindow.
|
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 |
Get the window width.
Reimplemented in makVrv::DtDeMainWindowEmbeddedOsgWindow, and makVrv::DtOsgWindowQt.
|
virtual |
Get the window height.
Reimplemented in makVrv::DtDeMainWindowEmbeddedOsgWindow, and makVrv::DtOsgWindowQt.
|
virtual |
Get the window configuration.
|
virtual |
Tick the window.
|
virtual |
Get the window's channel manager.
|
virtual |
Get the window's channel manager.
|
virtual |
Find a channel.
|
inline |
Accessor to get the de;.
|
virtual |
Called every tick by the renderer on windows with no channels.
Reimplemented in makVrv::DtOsgWindow.
|
inlinevirtual |
toggle fullscreen mode, for windows that support it.
The base class does nothing
Reimplemented in makVrv::DtOsgWindowQt, and makVrv::DtDeMainWindowEmbeddedOsgWindow.
|
inlinevirtual |
Reimplemented in makVrv::DtOsgWindowQt, and makVrv::DtDeMainWindowEmbeddedOsgWindow.
|
inlinevirtual |
Get the screen number of the screen that this window is on.
Reimplemented in makVrv::DtOsgWindowQt, and makVrv::DtDeMainWindowEmbeddedOsgWindow.
|
protected |
|
protected |
|
protected |