VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions
makVrv::DtSubmitViewCallback Class Referenceabstract

An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel. More...

Inheritance diagram for makVrv::DtSubmitViewCallback:
Inheritance graph
[legend]

Public Member Functions

 DtSubmitViewCallback (DtDe &de, DtVirtualRealityPostProcessor &pp, DtVirtualRealityDriver &driver, vrvVirtualReality::DtEye eye)
 CTOR takes the post processor, eye to submit for and the VR driver. More...
 
virtual ~DtSubmitViewCallback ()
 DTOR. More...
 
bool isInitialized () const
 
virtual void operator() (osg::RenderInfo &renderInfo) const
 the callback function called by OSG More...
 

Protected Member Functions

virtual void submit (osg::RenderInfo &renderInfo) const =0
 the submit call that the API specific implementation will fill out More...
 

Protected Attributes

DtVirtualRealityPostProcessormyProcessor
 
DtVirtualRealityDrivermyDriver
 
vrvVirtualReality::DtEye myEye
 
bool myIsInitialized
 
DtBlitOsgToGlTexturemyMutableBlitTexture
 this is mutable because it needs to be created during the operator() callback which is a const function. More...
 
DtDemyDe
 

Private Member Functions

 DtSubmitViewCallback ()
 prevent default constructor More...
 
 DtSubmitViewCallback (const DtSubmitViewCallback &orig)
 prevent copy construction More...
 
DtSubmitViewCallbackoperator= (const DtSubmitViewCallback &)
 prevent assignment More...
 

Detailed Description

An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel.

Constructor & Destructor Documentation

makVrv::DtSubmitViewCallback::DtSubmitViewCallback ( )
private

prevent default constructor

makVrv::DtSubmitViewCallback::DtSubmitViewCallback ( const DtSubmitViewCallback orig)
private

prevent copy construction

makVrv::DtSubmitViewCallback::DtSubmitViewCallback ( DtDe de,
DtVirtualRealityPostProcessor pp,
DtVirtualRealityDriver driver,
vrvVirtualReality::DtEye  eye 
)

CTOR takes the post processor, eye to submit for and the VR driver.

virtual makVrv::DtSubmitViewCallback::~DtSubmitViewCallback ( )
virtual

DTOR.

Member Function Documentation

DtSubmitViewCallback& makVrv::DtSubmitViewCallback::operator= ( const DtSubmitViewCallback )
private

prevent assignment

bool makVrv::DtSubmitViewCallback::isInitialized ( ) const
virtual void makVrv::DtSubmitViewCallback::operator() ( osg::RenderInfo &  renderInfo) const
virtual

the callback function called by OSG

virtual void makVrv::DtSubmitViewCallback::submit ( osg::RenderInfo &  renderInfo) const
protectedpure virtual

the submit call that the API specific implementation will fill out

Implemented in makVrv::DtSubmitVarjoViewCallback, makVrv::DtSubmitDesktopViewCallback, makVrv::DtSubmitOculusViewCallback, and makVrv::DtSubmitOpenVRViewCallback.

Member Data Documentation

DtVirtualRealityPostProcessor& makVrv::DtSubmitViewCallback::myProcessor
protected
DtVirtualRealityDriver& makVrv::DtSubmitViewCallback::myDriver
protected
vrvVirtualReality::DtEye makVrv::DtSubmitViewCallback::myEye
protected
bool makVrv::DtSubmitViewCallback::myIsInitialized
protected
DtBlitOsgToGlTexture* makVrv::DtSubmitViewCallback::myMutableBlitTexture
mutableprotected

this is mutable because it needs to be created during the operator() callback which is a const function.

This is not private since this is an abstract class and the derived implementations may need to use this.

DtDe& makVrv::DtSubmitViewCallback::myDe
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)