OSVR-Core
Namespaces | Functions
ProjectionMatrixFromFOV.h File Reference

Header. More...

#include <osvr/Util/ProjectionMatrix.h>
#include <osvr/Util/Angles.h>

Go to the source code of this file.

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 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. More...
 
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