OpenFrames
Public Types | Public Member Functions | Public Attributes | List of all members
OpenFrames::OpenVRSlaveCallback Class Reference

This class computes per-eye view matrices. More...

#include <OpenVRDevice.hpp>

Inheritance diagram for OpenFrames::OpenVRSlaveCallback:

Public Types

enum  CameraType { RIGHT_CAMERA, LEFT_CAMERA, MONO_CAMERA }
 

Public Member Functions

 OpenVRSlaveCallback (CameraType cameraType, OpenVRDevice *ovrDevice)
 
virtual void updateSlave (osg::View &view, osg::View::Slave &slave)
 

Public Attributes

CameraType _cameraType
 
osg::observer_ptr< OpenVRDevice_ovrDevice
 

Detailed Description

This class computes per-eye view matrices.

This struct-class computes per-eye view matrices without changing the projection matrix. This should be attached as a slave update callback to each VR camera.


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