Header for interoperation between the Eigen math library, the internal mini math library, and VRPN's quatlib. More...
#include <osvr/Util/Pose3C.h>
#include <osvr/Util/EigenCoreGeometry.h>
#include <osvr/Util/EigenExtras.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. | |
osvr::util::eigen_interop | |
Functions | |
Eigen::Map< Eigen::Vector3d > | osvr::util::vecMap (OSVR_Vec3 &vec) |
Wrap an OSVR_Vec3 in an Eigen object that allows it to interoperate with Eigen as though it were an Eigen::Vector3d. More... | |
Eigen::Map< const Eigen::Vector3d > | osvr::util::vecMap (OSVR_Vec3 const &vec) |
Eigen::Quaterniond | osvr::util::fromQuat (OSVR_Quaternion const &q) |
Convert an OSVR_Quaternion to an Eigen::Quaterniond. | |
void | osvr::util::toQuat (Eigen::Quaterniond const &src, OSVR_Quaternion &q) |
Convert an Eigen::Quaterniond to a OSVR_Quaternion. | |
Eigen::Isometry3d | osvr::util::fromPose (OSVR_Pose3 const &pose) |
Turn an OSVR_Pose3 into an Eigen::Transform. More... | |
void | osvr::util::toPose (Eigen::Isometry3d const &xform, OSVR_Pose3 &pose) |
Turn an Eigen::Isometry3d (transform) into an OSVR_Pose3. More... | |
void | osvr::util::toPose (Eigen::Matrix4d const &mat, OSVR_Pose3 &pose) |
Turn an Eigen::Matrix4d (transform) into an OSVR_Pose3. More... | |
Header for interoperation between the Eigen math library, the internal mini math library, and VRPN's quatlib.
Definition in file EigenInterop.h.