OpenWalker Project
Documentation of the ROS Packages
quaternion_ref.h
Go to the documentation of this file.
1 
34 #ifndef OPEN_WALKER_CORE_QUATERNION_REF_H
35 #define OPEN_WALKER_CORE_QUATERNION_REF_H
36 
38 
39 namespace ow_core
40 {
42 // * \brief Get Eigen::QuaternionRef to our namespace.
43 // */
44 // typedef Eigen::QuaternionRef QuaternionRef;
45 
55 template <typename _Derived>
56 class QuaternionRef : public Eigen::QuaternionRef<_Derived>
57 {
58 public:
59  typedef _Derived Derived;
60  typedef Eigen::QuaternionRef<Derived> Base;
61 
62 public:
76  QuaternionRef(Derived& ref, int startRow = 0, int startCol = 0) :
77  Base(ref, startRow, startCol)
78  {
79  }
80 
84  using Base::operator=;
85 
89  using Base::operator*=;
90 
91 private:
95  QuaternionRef();
96 };
97 
98 } // namespace ow_core
99 
100 #endif // OPEN_WALKER_CORE_QUATERNION_REF_H
The QuaternionRef class.
Definition: quaternion_ref.h:44
Get Eigen::QuaternionRef to our namespace.
Definition: quaternion_ref.h:56
Definition: angular_acceleration.h:39
QuaternionRef(Derived &ref, int startRow=0, int startCol=0)
Default Constructor.
Definition: quaternion_ref.h:76