OSVR-Core
Classes | Namespaces | Typedefs | Functions
EigenInterop.h File Reference

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.

Classes

struct  osvr::util::eigen_interop::detail::QuatAccessor< Coefficient >
 
struct  osvr::util::eigen_interop::detail::QuatAccessor< 'W'>
 
struct  osvr::util::eigen_interop::detail::QuatAccessor< 'X'>
 
struct  osvr::util::eigen_interop::detail::QuatAccessor< 'Y'>
 
struct  osvr::util::eigen_interop::detail::QuatAccessor< 'Z'>
 
class  osvr::util::eigen_interop::detail::QuatCoefficientMap< Coefficient, T >
 
class  osvr::util::eigen_interop::detail::BaseQuatMap< T >
 
class  osvr::util::eigen_interop::detail::QuatMap
 
class  osvr::util::eigen_interop::detail::BasePoseMap< T >
 
class  osvr::util::eigen_interop::detail::PoseMap
 

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
 Namespace containing const_map() and map() function implementations/overloads to allow easy interoperation of OSVR types and Eigen types.
 

Typedefs

typedef BaseQuatMap osvr::util::eigen_interop::detail::ConstQuatMap
 
typedef BasePoseMap osvr::util::eigen_interop::detail::ConstPoseMap
 

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)
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. For constant vectors. More...
 
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...
 
Eigen::Map< const Eigen::Vector3d > osvr::util::eigen_interop::const_map (OSVR_Vec3 const &vec)
 
Eigen::Map< Eigen::Vector3d > osvr::util::eigen_interop::map (OSVR_Vec3 &vec)
 
Eigen::Map< const Eigen::Vector3d > osvr::util::eigen_interop::map (OSVR_Vec3 const &vec)
 
detail::ConstQuatMap osvr::util::eigen_interop::const_map (OSVR_Quaternion const &quat)
 
detail::ConstQuatMap osvr::util::eigen_interop::map (OSVR_Quaternion const &quat)
 
detail::QuatMap osvr::util::eigen_interop::map (OSVR_Quaternion &quat)
 
detail::ConstPoseMap osvr::util::eigen_interop::const_map (OSVR_Pose3 const &pose)
 
detail::ConstPoseMap osvr::util::eigen_interop::map (OSVR_Pose3 const &pose)
 
detail::PoseMap osvr::util::eigen_interop::map (OSVR_Pose3 &pose)
 

Detailed Description

Header for interoperation between the Eigen math library, the internal mini math library, and VRPN's quatlib.

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