![]() |
VR-Forces 4.7 Class Documentation
|
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel. More...

Public Member Functions | |
| DtSubmitOverlayCallback (osg::Texture2D *tex, DtDe &de) | |
| CTOR takes the texture that it should submit to the VR System as an overlay. | |
| virtual | ~DtSubmitOverlayCallback () |
| DTOR. | |
| virtual void | operator() (osg::RenderInfo &renderInfo) const |
| the callback function called by OSG | |
| virtual osg::Matrixd | offsetMatrix () |
| get the offset matrix that the overlay will be displayed with. | |
| virtual void | setOffsetMatrix (const osg::Matrixd &mat) |
| get the offset matrix that the overlay will be displayed with. | |
| virtual void | setFlipOverlay (bool flip) |
| flip overlays on the vertical axis. | |
| virtual bool | flipOverlay () const |
| get the flip overlays settings | |
Protected Attributes | |
| DtDe & | myDe |
| uint64_t | myOverlay |
| osg::ref_ptr< osg::Texture2D > | myOverlayTexture |
| osg::Matrix | myOffsetMatrix |
| bool | myFlipOverlay |
Private Member Functions | |
| DtSubmitOverlayCallback () | |
| prevent default constructor | |
| DtSubmitOverlayCallback (const DtSubmitOverlayCallback &orig) | |
| prevent copy construction | |
| DtSubmitOverlayCallback & | operator= (const DtSubmitOverlayCallback &) |
| prevent assignment | |
An OSG camera callback that will submit the channel to the underlying VR system as an overlay channel.
|
private |
prevent default constructor
|
private |
prevent copy construction
| makVrv::DtSubmitOverlayCallback::DtSubmitOverlayCallback | ( | osg::Texture2D * | tex, |
| DtDe & | de | ||
| ) |
CTOR takes the texture that it should submit to the VR System as an overlay.
|
virtual |
DTOR.
|
private |
prevent assignment
|
virtual |
the callback function called by OSG
|
virtual |
get the offset matrix that the overlay will be displayed with.
This is an offset and rotation relative to the HMD view position and view direction in an East-North-Up coordinate system.
|
virtual |
get the offset matrix that the overlay will be displayed with.
This is an offset and rotation relative to the HMD view position and view direction in an East-North-Up coordinate system.
|
virtual |
flip overlays on the vertical axis.
Some devices expect the textures to be submitted with the uv min in the top left corner, some want it in the bottom left corner.
|
virtual |
get the flip overlays settings
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |