This class implements support for the Oculus Rift DK2.
More...
#include <COculusDevice.h>
This class implements support for the Oculus Rift DK2. The implementation uses SDK 0.8.0 (beta)
§ cOVRDevice()
| chai3d::cOVRDevice::cOVRDevice |
( |
| ) |
|
|
inline |
§ ~cOVRDevice()
| chai3d::cOVRDevice::~cOVRDevice |
( |
| ) |
|
§ initVR()
| bool chai3d::cOVRDevice::initVR |
( |
| ) |
|
§ initVRBuffers()
| bool chai3d::cOVRDevice::initVRBuffers |
( |
int |
windowWidth, |
|
|
int |
windowHeight |
|
) |
| |
§ initNonDistortMirror()
| bool chai3d::cOVRDevice::initNonDistortMirror |
( |
int |
windowWidth, |
|
|
int |
windowHeight |
|
) |
| |
§ destroyVR()
| void chai3d::cOVRDevice::destroyVR |
( |
| ) |
|
§ getResolution()
| const ovrSizei chai3d::cOVRDevice::getResolution |
( |
| ) |
const |
§ onRenderStart()
| void chai3d::cOVRDevice::onRenderStart |
( |
| ) |
|
§ onEyeRender() [1/2]
| const OVR::Matrix4f chai3d::cOVRDevice::onEyeRender |
( |
int |
eyeIndex | ) |
|
§ onEyeRender() [2/2]
| void chai3d::cOVRDevice::onEyeRender |
( |
int |
eyeIndex, |
|
|
cTransform & |
a_projectionMatrix, |
|
|
cTransform & |
a_modelViewMatrix |
|
) |
| |
§ onEyeRenderFinish()
| void chai3d::cOVRDevice::onEyeRenderFinish |
( |
int |
eyeIndex | ) |
|
§ getEyeMVPMatrix()
| const OVR::Matrix4f chai3d::cOVRDevice::getEyeMVPMatrix |
( |
int |
eyeIdx | ) |
const |
§ submitFrame()
| void chai3d::cOVRDevice::submitFrame |
( |
| ) |
|
§ blitMirror()
| void chai3d::cOVRDevice::blitMirror |
( |
ovrEyeType |
numEyes = ovrEye_Count, |
|
|
int |
offset = 0 |
|
) |
| |
§ onNonDistortMirrorStart()
| void chai3d::cOVRDevice::onNonDistortMirrorStart |
( |
| ) |
|
§ blitNonDistortMirror()
| void chai3d::cOVRDevice::blitNonDistortMirror |
( |
int |
offset | ) |
|
§ renderTrackerFrustum()
| void chai3d::cOVRDevice::renderTrackerFrustum |
( |
| ) |
|
§ isDebugHMD()
| bool chai3d::cOVRDevice::isDebugHMD |
( |
| ) |
const |
|
inline |
§ isDK2()
| bool chai3d::cOVRDevice::isDK2 |
( |
| ) |
const |
|
inline |
§ showPerfStats()
| void chai3d::cOVRDevice::showPerfStats |
( |
ovrPerfHudMode |
statsMode | ) |
|
§ setMSAA()
| void chai3d::cOVRDevice::setMSAA |
( |
bool |
val | ) |
|
|
inline |
§ MSAAEnabled()
| bool chai3d::cOVRDevice::MSAAEnabled |
( |
| ) |
const |
|
inline |
§ recenterPose()
| void chai3d::cOVRDevice::recenterPose |
( |
| ) |
|
|
inline |
§ getEyeTextureSize()
| ovrSizei chai3d::cOVRDevice::getEyeTextureSize |
( |
int |
a_index | ) |
|
|
inline |
§ m_hmdSession
| ovrSession chai3d::cOVRDevice::m_hmdSession |
|
protected |
§ m_hmdDesc
| ovrHmdDesc chai3d::cOVRDevice::m_hmdDesc |
|
protected |
§ m_eyeRenderDesc
| ovrEyeRenderDesc chai3d::cOVRDevice::m_eyeRenderDesc[ovrEye_Count] |
|
protected |
§ m_eyeRenderPose
| ovrPosef chai3d::cOVRDevice::m_eyeRenderPose[ovrEye_Count] |
|
protected |
§ m_hmdToEyeOffset
| ovrVector3f chai3d::cOVRDevice::m_hmdToEyeOffset[ovrEye_Count] |
|
protected |
§ m_eyeBuffers
| OVRBuffer* chai3d::cOVRDevice::m_eyeBuffers[ovrEye_Count] |
|
protected |
§ m_projectionMatrix
| OVR::Matrix4f chai3d::cOVRDevice::m_projectionMatrix[ovrEye_Count] |
|
protected |
§ m_eyeViewOffset
| OVR::Matrix4f chai3d::cOVRDevice::m_eyeViewOffset[ovrEye_Count] |
|
protected |
§ m_eyeOrientation
| OVR::Matrix4f chai3d::cOVRDevice::m_eyeOrientation[ovrEye_Count] |
|
protected |
§ m_eyePose
| OVR::Matrix4f chai3d::cOVRDevice::m_eyePose[ovrEye_Count] |
|
protected |
§ m_frameTiming
| double chai3d::cOVRDevice::m_frameTiming |
|
protected |
§ m_trackingState
| ovrTrackingState chai3d::cOVRDevice::m_trackingState |
|
protected |
§ m_mirrorTexture
| ovrMirrorTexture chai3d::cOVRDevice::m_mirrorTexture |
|
protected |
§ m_mirrorDesc
| ovrMirrorTextureDesc chai3d::cOVRDevice::m_mirrorDesc |
|
protected |
§ m_nonDistortTexture
| GLuint chai3d::cOVRDevice::m_nonDistortTexture |
|
protected |
§ m_nonDistortDepthBuffer
| GLuint chai3d::cOVRDevice::m_nonDistortDepthBuffer |
|
protected |
§ m_mirrorFBO
| GLuint chai3d::cOVRDevice::m_mirrorFBO |
|
protected |
§ m_nonDistortFBO
| GLuint chai3d::cOVRDevice::m_nonDistortFBO |
|
protected |
§ m_nonDistortViewPortWidth
| int chai3d::cOVRDevice::m_nonDistortViewPortWidth |
|
protected |
§ m_nonDistortViewPortHeight
| int chai3d::cOVRDevice::m_nonDistortViewPortHeight |
|
protected |
§ m_msaaEnabled
| bool chai3d::cOVRDevice::m_msaaEnabled |
|
protected |
§ m_frameIndex
| long long chai3d::cOVRDevice::m_frameIndex |
|
protected |
§ m_sensorSampleTime
| double chai3d::cOVRDevice::m_sensorSampleTime |
|
protected |
The documentation for this class was generated from the following files: