Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::FovPort Struct Reference

#include "OVR_Stereo.h"

Collaboration diagram for OVR::FovPort:
Collaboration graph

Public Member Functions

 FovPort (float sideTan=0.0f)
 
 FovPort (float u, float d, float l, float r)
 
 FovPort (const ovrFovPort &src)
 
 operator ovrFovPort () const
 
float GetVerticalFovRadians () const
 
float GetHorizontalFovRadians () const
 
float GetVerticalFovDegrees () const
 
float GetHorizontalFovDegrees () const
 
float GetMaxSideTan () const
 
Vector2f TanAngleToRendertargetNDC (Vector2f const &tanEyeAngle)
 

Static Public Member Functions

static FovPort CreateFromRadians (float horizontalFov, float verticalFov)
 
static FovPort CreateFromDegrees (float horizontalFovDegrees, float verticalFovDegrees)
 
static FovPort Min (const FovPort &a, const FovPort &b)
 
static FovPort Max (const FovPort &a, const FovPort &b)
 

Data Fields

float UpTan
 
float DownTan
 
float LeftTan
 
float RightTan
 

Detailed Description

Definition at line 65 of file OVR_Stereo.h.

Constructor & Destructor Documentation

OVR::FovPort::FovPort ( float  sideTan = 0.0f)
inline

Definition at line 72 of file OVR_Stereo.h.

OVR::FovPort::FovPort ( float  u,
float  d,
float  l,
float  r 
)
inline

Definition at line 74 of file OVR_Stereo.h.

OVR::FovPort::FovPort ( const ovrFovPort src)

Definition at line 50 of file OVR_CAPI.cpp.

Member Function Documentation

static FovPort OVR::FovPort::CreateFromDegrees ( float  horizontalFovDegrees,
float  verticalFovDegrees 
)
inlinestatic

Definition at line 92 of file OVR_Stereo.h.

static FovPort OVR::FovPort::CreateFromRadians ( float  horizontalFov,
float  verticalFov 
)
inlinestatic

Definition at line 82 of file OVR_Stereo.h.

float OVR::FovPort::GetHorizontalFovDegrees ( ) const
inline

Definition at line 104 of file OVR_Stereo.h.

float OVR::FovPort::GetHorizontalFovRadians ( ) const
inline

Definition at line 101 of file OVR_Stereo.h.

float OVR::FovPort::GetMaxSideTan ( ) const
inline

Definition at line 107 of file OVR_Stereo.h.

float OVR::FovPort::GetVerticalFovDegrees ( ) const
inline

Definition at line 103 of file OVR_Stereo.h.

float OVR::FovPort::GetVerticalFovRadians ( ) const
inline

Definition at line 100 of file OVR_Stereo.h.

static FovPort OVR::FovPort::Max ( const FovPort a,
const FovPort b 
)
inlinestatic

Definition at line 126 of file OVR_Stereo.h.

static FovPort OVR::FovPort::Min ( const FovPort a,
const FovPort b 
)
inlinestatic

Definition at line 117 of file OVR_Stereo.h.

OVR::FovPort::operator ovrFovPort ( ) const

Definition at line 54 of file OVR_CAPI.cpp.

Vector2f OVR::FovPort::TanAngleToRendertargetNDC ( Vector2f const &  tanEyeAngle)

Definition at line 65 of file OVR_CAPI.cpp.

Field Documentation

float OVR::FovPort::DownTan

Definition at line 68 of file OVR_Stereo.h.

float OVR::FovPort::LeftTan

Definition at line 69 of file OVR_Stereo.h.

float OVR::FovPort::RightTan

Definition at line 70 of file OVR_Stereo.h.

float OVR::FovPort::UpTan

Definition at line 67 of file OVR_Stereo.h.


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