25 #ifndef INCLUDED_PinholeCameraFlip_h_GUID_3FDD8165_096C_4DBA_1E42_20EF78AD28C8 26 #define INCLUDED_PinholeCameraFlip_h_GUID_3FDD8165_096C_4DBA_1E42_20EF78AD28C8 35 #include <type_traits> 43 template <
typename VecType>
47 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Derived, 3);
48 static_assert(std::is_same<double, typename Derived::Scalar>::value,
49 "Translation scalar type must also be double.");
55 rot = get180aboutZ() * rot;
63 template <
typename Vec1,
typename Vec2>
66 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Derived1, 3);
67 EIGEN_STATIC_ASSERT_VECTOR_SPECIFIC_SIZE(Derived2, 3);
70 "Velocities must have the same scalar type.");
76 angVel = get180aboutZ() * angVel;
82 #endif // INCLUDED_PinholeCameraFlip_h_GUID_3FDD8165_096C_4DBA_1E42_20EF78AD28C8 void pinholeCameraFlipPose(VecType &&xlate, Eigen::Quaterniond &rot)
Definition: PinholeCameraFlip.h:44
The main namespace for all C++ elements of the framework, internal and external.
Definition: namespace_osvr.dox:3
Header wrapping include of <Eigen/Core> and <Eigen/Geometry> for warning quieting.
A matrix or vector expression mapping an existing expressions.
Definition: Ref.h:17
Definition: Quaternion.h:47
void pinholeCameraFlipVelocities(Vec1 &&linVel, Vec2 &&angVel)
Definition: PinholeCameraFlip.h:64
double Scalar
Common scalar type.
Definition: FlexibleKalmanBase.h:48