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

Public Types | |
| 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. | |
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. | |
| virtual void | forEachWindow (WindowFunction &perWindowFunction) |
| Execute a function on each window in the manager. | |
| virtual void | forEachChannel (ChannelFunction &perChannelFunction) |
| Execute a function on each channel in the manager. | |
| virtual void | setIncrementalCompileOption (bool enable)=0 |
| Sets the incremental compile options in viewer and the channels. | |
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 |
| typedef boost::function<void (DtWindow*)> makVrv::DtWindowManager::WindowFunction |
Function type that runs on a window object.
| typedef boost::function<void (DtChannel*)> makVrv::DtWindowManager::ChannelFunction |
Function type that runs on a channel object.
|
virtual |
DTOR.
|
protected |
CTOR.
| DtInvalidInput | if the channel manager is null. |
|
virtual |
Realize the current configuration.
|
virtual |
Create a New window.
Add window to the manager.
| DtInvalidInput | if the type is unknown. Emits signal_realizedViewAdded |
|
virtual |
Remove a window from the manager.
Emits signal_realizedViewDestroyed
|
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 |
Get the window list.
|
virtual |
Get the window list.
|
virtual |
Add window to the manager.
Manager will delete this window when it's destroyed.
|
virtual |
Remove a window from the manager.
Reimplemented in makVrv::DtOsgWindowManager.
|
virtual |
Check each window to verify it is still open.
| false | is the the window should stop running. |
Reimplemented in makVrv::DtOsgWindowManager.
|
pure virtual |
Check whether a sphere is within some distance of and visible from some local camera.
Implemented in makVrv::DtOsgWindowManager.
|
virtual |
Returns the maximum number of texture units available. Default is 8.
Reimplemented in makVrv::DtOsgWindowManager.
|
virtual |
Execute a function on each window in the manager.
|
virtual |
Execute a function on each channel in the manager.
|
pure virtual |
Sets the incremental compile options in viewer and the channels.
Implemented in makVrv::DtOsgWindowManager.
|
protectedvirtual |
Realize a window configuration which already is in the configuration tree.
Gives ownership of config, to the DtIgView.
|
protectedvirtual |
Destroy all windows.
|
protected |
Protected members.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |