![]() |
VR-Forces Developer's Guide
|
This class handles displaying a logo for a channel when the channel scene is empty. An empty scene means that no terrain is loaded. On overlay is used to hide the scene until the terrain loads.

Public Member Functions | |
| DtOsgEmptySceneLogo (DtDe &de) | |
| virtual | ~DtOsgEmptySceneLogo () |
| virtual void | update (DtOsgChannel &osgChannel) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Member Functions | |
| static void | setEnabled (bool enabled) |
| static bool | enabled () |
Protected Member Functions | |
| virtual void | createOverlay (DtOsgChannel &osgChannel) |
| virtual void | destroyOverlay (DtOsgChannel &osgChannel) |
| virtual void | updateLayout (int x, int y, int w, int h) |
| virtual void | slot_viewportChanged (int x, int y, int w, int h) |
Protected Attributes | |
| DtDe & | myDe |
| DtSignalConnectionManager | mySignalManager |
| osg::ref_ptr< osg::Geode > | myGeode |
| DtQuadProxyInterface * | myBackgroundQuad |
| DtQuadProxyInterface * | myLogoQuad |
| DtOsgTextureWrapper * | myLogoTexture |
| DtTextProxyInterface * | myWarnText |
Static Protected Attributes | |
| static bool | theEnabled |
Private Member Functions | |
| DtOsgEmptySceneLogo ()=delete | |
| DtOsgEmptySceneLogo (const DtOsgEmptySceneLogo &)=delete | |
| DtOsgEmptySceneLogo & | operator= (const DtOsgEmptySceneLogo &)=delete |
| makVrv::DtOsgEmptySceneLogo::DtOsgEmptySceneLogo | ( | DtDe & | de | ) |
|
virtual |
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
virtual |
This method will check to see if a terrain is active and if not, an overlay will be shown. Once a terrain becomes active, the overlay will be removed.
|
static |
This global method will enable or disable the use of an empty scene overlay for all uses of this class. This is meant to be used from imGui to disable the overlay for debugging purposes.
|
static |
This global method returns the enabled state of an empty scene overlay for all uses of this class.
|
protectedvirtual |
Called by update() when the overlay needs created. Initializes the overlay and what is displayed on it.
|
protectedvirtual |
Called by update() when the overlay needs destroyed. Destroys the overlay and what is displayed on it.
|
protectedvirtual |
Updates overlay elements to fit within the given vieport.
| x | - the viewport x position |
| y | - the viewport y position |
| w | - the viewport width |
| h | - the viewport height |
|
protectedvirtual |
handle the signal for when the channel viewport changes
| x | - the viewport x position |
| y | - the viewport y position |
| w | - the viewport width |
| h | - the viewport height |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
staticprotected |