Public Member Functions | Private Member Functions | Private Attributes
OVR::Util::Render::StereoConfig Class Reference

#include <Util_Render_Stereo.h>

List of all members.

Public Member Functions

float Get2DUnitPixel ()
float GetAspect ()
float GetAspectMultiplier () const
const DistortionConfigGetDistortionConfig ()
float GetDistortionK (int i) const
float GetDistortionScale ()
const StereoEyeParamsGetEyeRenderParams (StereoEye eye)
float GetEyeToScreenDistance () const
const ViewportGetFullViewport () const
const HMDInfoGetHMDInfo () const
float GetIPD () const
float GetProjectionCenterOffset ()
StereoMode GetStereoMode () const
float GetYFOVDegrees ()
float GetYFOVRadians ()
void Set2DAreaFov (float fovRadians)
void SetAspectMultiplier (float m)
void SetDistortionConfig (const DistortionConfig &d)
void SetDistortionFitPointPixels (float x, float y)
void SetDistortionFitPointVP (float x, float y)
void SetDistortionK (int i, float k)
void SetEyeToScreenDistance (float esd)
void SetFullViewport (const Viewport &vp)
void SetHMDInfo (const HMDInfo &hmd)
void SetIPD (float ipd)
void SetStereoMode (StereoMode mode)
 StereoConfig (StereoMode mode=Stereo_LeftRight_Multipass, const Viewport &fullViewport=Viewport(0, 0, 1280, 800))

Private Member Functions

void update2D ()
void updateComputedState ()
void updateDistortionOffsetAndScale ()
void updateEyeParams ()
void updateIfDirty ()
void updateProjectionOffset ()

Private Attributes

float Area2DFov
float Aspect
float AspectMultiplier
bool DirtyFlag
DistortionConfig Distortion
float DistortionFitX
float DistortionFitY
StereoEyeParams EyeRenderParams [2]
float FovPixels
Viewport FullView
HMDInfo HMD
float InterpupillaryDistance
bool IPDOverride
StereoMode Mode
Matrix4f OrthoCenter
float OrthoPixelOffset
float ProjectionCenterOffset
float YFov

Detailed Description

Definition at line 167 of file Util_Render_Stereo.h.


Constructor & Destructor Documentation

Definition at line 64 of file Util_Render_Stereo.cpp.


Member Function Documentation

Definition at line 251 of file Util_Render_Stereo.h.

Definition at line 232 of file Util_Render_Stereo.h.

Definition at line 202 of file Util_Render_Stereo.h.

Definition at line 244 of file Util_Render_Stereo.h.

float OVR::Util::Render::StereoConfig::GetDistortionK ( int  i) const [inline]

Definition at line 223 of file Util_Render_Stereo.h.

Definition at line 248 of file Util_Render_Stereo.h.

Definition at line 143 of file Util_Render_Stereo.cpp.

Definition at line 188 of file Util_Render_Stereo.h.

Definition at line 197 of file Util_Render_Stereo.h.

Definition at line 184 of file Util_Render_Stereo.h.

float OVR::Util::Render::StereoConfig::GetIPD ( ) const [inline]

Definition at line 193 of file Util_Render_Stereo.h.

Definition at line 241 of file Util_Render_Stereo.h.

Definition at line 180 of file Util_Render_Stereo.h.

Definition at line 236 of file Util_Render_Stereo.h.

Definition at line 235 of file Util_Render_Stereo.h.

Definition at line 136 of file Util_Render_Stereo.cpp.

Definition at line 201 of file Util_Render_Stereo.h.

Definition at line 219 of file Util_Render_Stereo.h.

Definition at line 129 of file Util_Render_Stereo.cpp.

Definition at line 122 of file Util_Render_Stereo.cpp.

void OVR::Util::Render::StereoConfig::SetDistortionK ( int  i,
float  k 
) [inline]

Definition at line 222 of file Util_Render_Stereo.h.

Definition at line 189 of file Util_Render_Stereo.h.

Definition at line 96 of file Util_Render_Stereo.cpp.

Definition at line 105 of file Util_Render_Stereo.cpp.

void OVR::Util::Render::StereoConfig::SetIPD ( float  ipd) [inline]

Definition at line 192 of file Util_Render_Stereo.h.

Definition at line 179 of file Util_Render_Stereo.h.

Definition at line 244 of file Util_Render_Stereo.cpp.

Definition at line 153 of file Util_Render_Stereo.cpp.

Definition at line 204 of file Util_Render_Stereo.cpp.

Definition at line 278 of file Util_Render_Stereo.cpp.

Definition at line 258 of file Util_Render_Stereo.h.

Definition at line 231 of file Util_Render_Stereo.cpp.


Member Data Documentation

Definition at line 277 of file Util_Render_Stereo.h.

Definition at line 284 of file Util_Render_Stereo.h.

Definition at line 271 of file Util_Render_Stereo.h.

Definition at line 281 of file Util_Render_Stereo.h.

Definition at line 273 of file Util_Render_Stereo.h.

Definition at line 274 of file Util_Render_Stereo.h.

Definition at line 274 of file Util_Render_Stereo.h.

Definition at line 286 of file Util_Render_Stereo.h.

Definition at line 292 of file Util_Render_Stereo.h.

Definition at line 275 of file Util_Render_Stereo.h.

Definition at line 272 of file Util_Render_Stereo.h.

Definition at line 270 of file Util_Render_Stereo.h.

Definition at line 282 of file Util_Render_Stereo.h.

Definition at line 269 of file Util_Render_Stereo.h.

Definition at line 293 of file Util_Render_Stereo.h.

Definition at line 294 of file Util_Render_Stereo.h.

Definition at line 285 of file Util_Render_Stereo.h.

Definition at line 283 of file Util_Render_Stereo.h.


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


oculus_sdk
Author(s): Tully Foote
autogenerated on Thu Jun 6 2019 20:13:50