OSVR Framework (Internal Development Docs)  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
ProjectionMatrixFromFOV.h File Reference

Header. More...

Go to the source code of this file.

Namespaces

 osvr
 <
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 

Functions

template<typename System >
Rectd osvr::util::computeSymmetricFOVRect (AngleGeneric< System > hFov, AngleGeneric< System > vFov)
 Compute a rectangle at unit distance for the given fov values.
 
template<typename System >
Rectd osvr::util::computeSymmetricFOVRect (AngleGeneric< System > hFov, AngleGeneric< System > vFov, double near)
 Compute a rectangle at the near clipping plane for the given fov values.
 
template<typename System >
Eigen::Matrix4d osvr::util::createSymmetricProjectionMatrix (AngleGeneric< System > hFov, AngleGeneric< System > vFov, double near, double far)
 

Detailed Description

Header.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr

Definition in file ProjectionMatrixFromFOV.h.