◆ Eye
◆ Eye_
| Enumerator |
|---|
| LEFT | |
| RIGHT | |
| COUNT | |
◆ OculusDevice() [1/2]
| OculusDevice::OculusDevice |
( |
float | nearClip, |
|
|
float | farClip, |
|
|
const float | pixelsPerDisplayPixel = 1.0f, |
|
|
const float | worldUnitsPerMetre = 1.0f, |
|
|
const int | samples = 0, |
|
|
unsigned int | mirrorTextureWidth = 960 ) |
◆ ~OculusDevice()
| virtual OculusDevice::~OculusDevice |
( |
| ) |
|
|
protectedvirtual |
◆ OculusDevice() [2/2]
◆ createRenderBuffers()
| void OculusDevice::createRenderBuffers |
( |
osg::ref_ptr< osg::State > | state | ) |
|
◆ init()
| void OculusDevice::init |
( |
| ) |
|
◆ hmdPresent()
| bool OculusDevice::hmdPresent |
( |
| ) |
const |
◆ screenResolutionWidth()
| unsigned int OculusDevice::screenResolutionWidth |
( |
| ) |
const |
◆ screenResolutionHeight()
| unsigned int OculusDevice::screenResolutionHeight |
( |
| ) |
const |
◆ projectionMatrixCenter()
| osg::Matrix OculusDevice::projectionMatrixCenter |
( |
| ) |
const |
◆ projectionMatrixLeft()
| osg::Matrix OculusDevice::projectionMatrixLeft |
( |
| ) |
const |
◆ projectionMatrixRight()
| osg::Matrix OculusDevice::projectionMatrixRight |
( |
| ) |
const |
◆ projectionOffsetMatrixLeft()
| osg::Matrix OculusDevice::projectionOffsetMatrixLeft |
( |
| ) |
const |
◆ projectionOffsetMatrixRight()
| osg::Matrix OculusDevice::projectionOffsetMatrixRight |
( |
| ) |
const |
◆ viewMatrixLeft()
| osg::Matrix OculusDevice::viewMatrixLeft |
( |
| ) |
const |
◆ viewMatrixRight()
| osg::Matrix OculusDevice::viewMatrixRight |
( |
| ) |
const |
◆ nearClip()
| float OculusDevice::nearClip |
( |
| ) |
const |
|
inline |
◆ farClip()
| float OculusDevice::farClip |
( |
| ) |
const |
|
inline |
◆ resetSensorOrientation()
| void OculusDevice::resetSensorOrientation |
( |
| ) |
const |
◆ updatePose()
| void OculusDevice::updatePose |
( |
unsigned int | frameIndex = 0 | ) |
|
◆ position()
| osg::Vec3 OculusDevice::position |
( |
| ) |
const |
|
inline |
◆ orientation()
| osg::Quat OculusDevice::orientation |
( |
| ) |
const |
|
inline |
◆ createRTTCamera()
| osg::Camera * OculusDevice::createRTTCamera |
( |
OculusDevice::Eye | eye, |
|
|
osg::Transform::ReferenceFrame | referenceFrame, |
|
|
const osg::Vec4 & | clearColor, |
|
|
osg::GraphicsContext * | gc = 0 ) const |
◆ submitFrame()
| bool OculusDevice::submitFrame |
( |
unsigned int | frameIndex = 0 | ) |
|
◆ setPerfHudMode()
| void OculusDevice::setPerfHudMode |
( |
int | mode | ) |
|
◆ graphicsContextTraits()
| osg::GraphicsContext::Traits * OculusDevice::graphicsContextTraits |
( |
| ) |
const |
◆ printHMDDebugInfo()
| void OculusDevice::printHMDDebugInfo |
( |
| ) |
|
|
protected |
◆ initializeEyeRenderDesc()
| void OculusDevice::initializeEyeRenderDesc |
( |
| ) |
|
|
protected |
◆ calculateEyeAdjustment()
| void OculusDevice::calculateEyeAdjustment |
( |
| ) |
|
|
protected |
◆ calculateProjectionMatrices()
| void OculusDevice::calculateProjectionMatrices |
( |
| ) |
|
|
protected |
◆ setupLayers()
| void OculusDevice::setupLayers |
( |
| ) |
|
|
protected |
◆ trySetProcessAsHighPriority()
| void OculusDevice::trySetProcessAsHighPriority |
( |
| ) |
const |
|
protected |
◆ operator=()
◆ m_session
| ovrSession OculusDevice::m_session |
|
protected |
◆ m_hmdDesc
| ovrHmdDesc OculusDevice::m_hmdDesc |
|
protected |
◆ m_pixelsPerDisplayPixel
| const float OculusDevice::m_pixelsPerDisplayPixel |
|
protected |
◆ m_worldUnitsPerMetre
| const float OculusDevice::m_worldUnitsPerMetre |
|
protected |
◆ m_textureBuffer
◆ m_mirrorTexture
◆ m_mirrorTextureWidth
| unsigned int OculusDevice::m_mirrorTextureWidth |
|
protected |
◆ m_eyeRenderDesc
| ovrEyeRenderDesc OculusDevice::m_eyeRenderDesc[2] |
|
protected |
◆ m_frameTiming
| double OculusDevice::m_frameTiming |
|
protected |
◆ m_headPose
| ovrPosef OculusDevice::m_headPose[2] |
|
protected |
◆ m_eyeRenderPose
| ovrPosef OculusDevice::m_eyeRenderPose[2] |
|
protected |
◆ m_layerEyeFov
| ovrLayerEyeFov OculusDevice::m_layerEyeFov |
|
protected |
◆ m_viewOffset
| ovrVector3f OculusDevice::m_viewOffset[2] |
|
protected |
◆ m_leftEyeProjectionMatrix
| osg::Matrixf OculusDevice::m_leftEyeProjectionMatrix |
|
protected |
◆ m_rightEyeProjectionMatrix
| osg::Matrixf OculusDevice::m_rightEyeProjectionMatrix |
|
protected |
◆ m_leftEyeAdjust
| osg::Vec3f OculusDevice::m_leftEyeAdjust |
|
protected |
◆ m_rightEyeAdjust
| osg::Vec3f OculusDevice::m_rightEyeAdjust |
|
protected |
◆ m_position
| osg::Vec3 OculusDevice::m_position |
|
protected |
◆ m_orientation
| osg::Quat OculusDevice::m_orientation |
|
protected |
◆ m_nearClip
| float OculusDevice::m_nearClip |
|
protected |
◆ m_farClip
| float OculusDevice::m_farClip |
|
protected |
◆ m_samples
| int OculusDevice::m_samples |
|
protected |
The documentation for this class was generated from the following file: