Voxellancer  0.3
A game about voxels in space
 All Classes Functions Pages
StereoRenderInfo Class Reference
Collaboration diagram for StereoRenderInfo:
[legend]

Public Member Functions

float hScreenSize () const
 
float vScreenSize () const
 
float vScreenCenter () const
 
float eyeToScreenDistance () const
 
float lensSeparationDistance () const
 
float interpupillaryDistance () const
 
int hResolution () const
 
int vResolution () const
 
float distortionK (int index) const
 
std::vector< float > distortionKs () const
 
float distortionScale () const
 
float fovy () const
 
glm::vec2 leftEyeLensCenter () const
 
glm::vec2 rightEyeLensCenter () const
 
glm::vec3 leftEyeOffset () const
 
glm::vec3 rightEyeOffset () const
 
glm::vec3 leftEyeProjectionOffset () const
 
glm::vec3 rightEyeProjectionOffset () const
 

Static Public Member Functions

static StereoRenderInfo fromOVRInfo (const OVR::HMDInfo &hmdInfo)
 
static StereoRenderInfo dummy ()
 

Protected Member Functions

float projectionCenterOffset () const
 

Protected Attributes

float m_hScreenSize
 
float m_vScreenSize
 
float m_vScreenCenter
 
float m_eyeToScreenDistance
 
float m_lensSeparationDistance
 
float m_interpupillaryDistance
 
int m_hResolution
 
int m_vResolution
 
std::vector< float > m_distortionKs
 
float m_distortionScale
 
float m_fovy
 
Property< float > m_eyeZOffset
 

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