![]() |
VR-Forces 4.5 Class Documentation
|
Owns and manages OpenSceneGraph windows. More...

Public Member Functions | |
| DtOsgWindowManager (DtDe &de, DtWindowConfigurations &configs) | |
| CTOR. | |
| virtual | ~DtOsgWindowManager () |
| DTOR. | |
| virtual bool | tick () |
| Check each window to verify it is still open. | |
| virtual void | destroyWindow (DtWindow *window) |
| Override a window and delete the viewer if no windows are available. | |
| osgViewer::CompositeViewer & | getOrCreateViewer () |
| Get the composite viewer. | |
| virtual bool | isVisibleAndCloseToCamera (float sphereRadius, float sphereCenterX, float sphereCenterY, float sphereCenterZ, float distance, float upX, float upY, float upZ) const |
| Check whether a sphere is within some distance of and visible from some local camera. | |
| bool | makeContextCurrent () |
| Attempt to make a context current. | |
| int | maxTextureUnits () const |
| Attempt to return the maximum number of texture units available. | |
| void | setIncrementalCompileOption (bool enable) |
| Enables or Disables ICO for this view and all channels. | |
Public Member Functions inherited from makVrv::DtWindowManager | |
| virtual | ~DtWindowManager () |
| DTOR. | |
| virtual void | realizeConfiguration () |
| Realize the current configuration. | |
| virtual bool | addWindow (const std::string &displayName, const DtWindowConfiguration &wc) |
| Create a New window. | |
| virtual bool | destroyWindow (const std::string &displayName, const std::string &windowName) |
| Remove a window from the manager. | |
| virtual bool | modifyWindow (const std::string &displayName, const std::string &windowName, const DtWindowConfiguration &config) |
| Modify a window. | |
| DtWindow * | findWindow (const std::string &name) |
| Find a window by name. | |
| virtual WindowList & | windows () |
| Get the window list. | |
| virtual const WindowList & | windows () const |
| Get the window list. | |
| virtual void | addWindow (DtWindow *window) |
| Add window to the manager. | |
| virtual void | forEachWindow (const WindowFunction &perWindowFunction) |
| Execute a function on each window in the manager. | |
| virtual void | forEachChannel (const ChannelFunction &perChannelFunction) |
| Execute a function on each channel in the manager. | |
Protected Attributes | |
| osgViewer::CompositeViewer * | myViewer |
| osg::Timer_t | myStartTime |
Protected Attributes inherited from makVrv::DtWindowManager | |
| DtDe & | myDe |
| Protected members. | |
| DtWindowManagerSignaler & | mySignaler |
| DtWindowConfigurations & | myWindowConfigurations |
| WindowList | myWindowList |
| DtWindowProctor * | myWindowProctor |
| DtChannelProctor * | myChannelProctor |
| unsigned int | myExternalContextCount |
Additional Inherited Members | |
Public Types inherited from makVrv::DtWindowManager | |
| typedef std::list< DtWindow * > | WindowList |
| typedef boost::function< void(DtWindow *)> | WindowFunction |
| Function type that runs on a window object. | |
| typedef boost::function< void(DtChannel *)> | ChannelFunction |
| Function type that runs on a channel object. | |
Protected Member Functions inherited from makVrv::DtWindowManager | |
| DtWindowManager (DtDe &de, DtWindowConfigurations &) | |
| CTOR. | |
| virtual DtWindow * | realizeWindowConfiguration (DtWindowConfiguration &wc) |
| Realize a window configuration which already is in the configuration tree. | |
| virtual void | destroyWindows () |
| Destroy all windows. | |
Owns and manages OpenSceneGraph windows.
| makVrv::DtOsgWindowManager::DtOsgWindowManager | ( | DtDe & | de, |
| DtWindowConfigurations & | configs | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Check each window to verify it is still open.
| false | is the the window should stop running. |
Reimplemented from makVrv::DtWindowManager.
|
virtual |
Override a window and delete the viewer if no windows are available.
Reimplemented from makVrv::DtWindowManager.
| osgViewer::CompositeViewer& makVrv::DtOsgWindowManager::getOrCreateViewer | ( | ) |
Get the composite viewer.
|
virtual |
Check whether a sphere is within some distance of and visible from some local camera.
Implements makVrv::DtWindowManager.
| bool makVrv::DtOsgWindowManager::makeContextCurrent | ( | ) |
Attempt to make a context current.
returns true if a context was made current.
|
virtual |
Attempt to return the maximum number of texture units available.
Reimplemented from makVrv::DtWindowManager.
|
virtual |
Enables or Disables ICO for this view and all channels.
Implements makVrv::DtWindowManager.
|
protected |
|
protected |