![]() |
VR-Forces 4.0.4 Class Documentation
|
Component which knows how to make windows. More...

Public Types | |
| typedef std::list< DtWindow * > | WindowList |
Public Member Functions | |
| 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 | destroyWindow (DtWindow *window) |
| Remove a window from the manager. | |
| virtual bool | tick () |
| Check each window to verify it is still open. | |
| virtual bool | isVisibleAndCloseToCamera (float sphereRadius, float sphereCenterX, float sphereCenterY, float sphereCenterZ, float distance, float upX, float upY, float upZ) const =0 |
| Check whether a sphere is within some distance of and visible from some local camera. | |
| virtual int | maxTextureUnits () const |
| Returns the maximum number of texture units available. Default is 8. | |
Protected Member Functions | |
| 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. | |
Protected Attributes | |
| DtDe & | myDe |
| Protected members. | |
| DtWindowManagerSignaler & | mySignaler |
| DtWindowConfigurations & | myWindowConfigurations |
| WindowList | myWindowList |
| DtWindowProctor * | myWindowProctor |
| DtChannelProctor * | myChannelProctor |
| unsigned int | myExternalContextCount |
Component which knows how to make windows.
| typedef std::list<DtWindow*> makVrv::DtWindowManager::WindowList |
| virtual makVrv::DtWindowManager::~DtWindowManager | ( | ) | [virtual] |
DTOR.
| makVrv::DtWindowManager::DtWindowManager | ( | DtDe & | de, |
| DtWindowConfigurations & | |||
| ) | [protected] |
CTOR.
| DtInvalidInput | if the channel manager is null. |
| virtual void makVrv::DtWindowManager::realizeConfiguration | ( | ) | [virtual] |
Realize the current configuration.
| virtual bool makVrv::DtWindowManager::addWindow | ( | const std::string & | displayName, |
| const DtWindowConfiguration & | wc | ||
| ) | [virtual] |
Create a New window.
Add window to the manager.
| DtInvalidInput | if the type is unknown. Emits signal_realizedViewAdded |
| virtual bool makVrv::DtWindowManager::destroyWindow | ( | const std::string & | displayName, |
| const std::string & | windowName | ||
| ) | [virtual] |
Remove a window from the manager.
Emits signal_realizedViewDestroyed
| virtual bool makVrv::DtWindowManager::modifyWindow | ( | const std::string & | displayName, |
| const std::string & | windowName, | ||
| const DtWindowConfiguration & | config | ||
| ) | [virtual] |
Modify a window.
Only changes the following window attributes: Name, size. No channels will be changed via this call.
| DtWindow* makVrv::DtWindowManager::findWindow | ( | const std::string & | name | ) |
Find a window by name.
| virtual WindowList& makVrv::DtWindowManager::windows | ( | ) | [virtual] |
Get the window list.
| virtual const WindowList& makVrv::DtWindowManager::windows | ( | ) | const [virtual] |
Get the window list.
| virtual void makVrv::DtWindowManager::addWindow | ( | DtWindow * | window | ) | [virtual] |
Add window to the manager.
Manager will delete this window when it's destroyed.
| virtual void makVrv::DtWindowManager::destroyWindow | ( | DtWindow * | window | ) | [virtual] |
Remove a window from the manager.
Reimplemented in makVrv::DtOsgWindowManager.
| virtual bool makVrv::DtWindowManager::tick | ( | ) | [virtual] |
Check each window to verify it is still open.
| false | is the the window should stop running. |
Reimplemented in makVrv::DtOsgWindowManager.
| virtual bool makVrv::DtWindowManager::isVisibleAndCloseToCamera | ( | float | sphereRadius, |
| float | sphereCenterX, | ||
| float | sphereCenterY, | ||
| float | sphereCenterZ, | ||
| float | distance, | ||
| float | upX, | ||
| float | upY, | ||
| float | upZ | ||
| ) | const [pure virtual] |
Check whether a sphere is within some distance of and visible from some local camera.
Implemented in makVrv::DtOsgWindowManager.
| virtual int makVrv::DtWindowManager::maxTextureUnits | ( | ) | const [virtual] |
Returns the maximum number of texture units available. Default is 8.
Reimplemented in makVrv::DtOsgWindowManager.
| virtual DtWindow* makVrv::DtWindowManager::realizeWindowConfiguration | ( | DtWindowConfiguration & | wc | ) | [protected, virtual] |
Realize a window configuration which already is in the configuration tree.
Gives ownership of config, to the DtIgView.
| virtual void makVrv::DtWindowManager::destroyWindows | ( | ) | [protected, virtual] |
Destroy all windows.
DtDe& makVrv::DtWindowManager::myDe [protected] |
Protected members.
WindowList makVrv::DtWindowManager::myWindowList [protected] |
DtWindowProctor* makVrv::DtWindowManager::myWindowProctor [protected] |
unsigned int makVrv::DtWindowManager::myExternalContextCount [protected] |