OSVR-Core
|
Header. More...
#include <osvr/Util/EigenCoreGeometry.h>
Go to the source code of this file.
Namespaces | |
osvr | |
The main namespace for all C++ elements of the framework, internal and external. | |
Functions | |
Eigen::Vector2d | osvr::vbtracker::projectPoint (double focalLength, Eigen::Vector2d const &principalPoint, Eigen::Vector3d const &camPoint) |
Project point for a simple pinhole camera model, with focal lengths equal on both axes and no distortion. More... | |
Eigen::Vector2d | osvr::vbtracker::projectPoint (Eigen::Vector3d const &translation, Eigen::Quaterniond const &rotation, double focalLength, Eigen::Vector2d const &principalPoint, Eigen::Vector3d const &objectPoint) |
Project point for a simple pinhole camera model, with focal lengths equal on both axes and no distortion. More... | |
Header.
|
inline |
Project point for a simple pinhole camera model, with focal lengths equal on both axes and no distortion.
(Camera intrinsic matrix is implied - not used directly because it's sparse.)
This version takes in an point already in camera space.
|
inline |
Project point for a simple pinhole camera model, with focal lengths equal on both axes and no distortion.
(Camera intrinsic matrix is implied - not used directly because it's sparse.)
This version takes in a point in object space that needs to be transformed to camera space with a translation and rotation.