/external/eigen/Eigen/src/Eigen2Support/Geometry/ |
D | AngleAxis.h | 59 typedef Quaternion<Scalar> QuaternionType; 75 inline AngleAxis(const QuaternionType& q) { *this = q; } 87 inline QuaternionType operator* (const AngleAxis& other) const 88 { return QuaternionType(*this) * QuaternionType(other); } 91 inline QuaternionType operator* (const QuaternionType& other) const 92 { return QuaternionType(*this) * other; } 95 friend inline QuaternionType operator* (const QuaternionType& a, const AngleAxis& b) 96 { return a * QuaternionType(b); } 114 AngleAxis& operator=(const QuaternionType& q); 158 AngleAxis<Scalar>& AngleAxis<Scalar>::operator=(const QuaternionType& q) [all …]
|
/external/eigen/Eigen/src/Geometry/ |
D | AngleAxis.h | 62 typedef Quaternion<Scalar> QuaternionType; 93 inline QuaternionType operator* (const AngleAxis& other) const 94 { return QuaternionType(*this) * QuaternionType(other); } 97 inline QuaternionType operator* (const QuaternionType& other) const 98 { return QuaternionType(*this) * other; } 101 friend inline QuaternionType operator* (const QuaternionType& a, const AngleAxis& b) 102 { return a * QuaternionType(b); } 187 return *this = QuaternionType(mat); 197 return *this = QuaternionType(mat);
|
/external/eigen/test/ |
D | stddeque.cpp | 76 template<typename QuaternionType> 77 void check_stddeque_quaternion(const QuaternionType&) in check_stddeque_quaternion() argument 79 typedef typename QuaternionType::Coefficients Coefficients; in check_stddeque_quaternion() 80 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stddeque_quaternion() 81 std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stddeque_quaternion() 87 …typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.beg… in check_stddeque_quaternion() 88 …typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator wi = w.beg… in check_stddeque_quaternion()
|
D | stdlist.cpp | 76 template<typename QuaternionType> 77 void check_stdlist_quaternion(const QuaternionType&) in check_stdlist_quaternion() argument 79 typedef typename QuaternionType::Coefficients Coefficients; in check_stdlist_quaternion() 80 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdlist_quaternion() 81 std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stdlist_quaternion() 87 …typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.begi… in check_stdlist_quaternion() 88 …typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator wi = w.begi… in check_stdlist_quaternion()
|
D | stdvector.cpp | 85 template<typename QuaternionType> 86 void check_stdvector_quaternion(const QuaternionType&) in check_stdvector_quaternion() argument 88 typedef typename QuaternionType::Coefficients Coefficients; in check_stdvector_quaternion() 89 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdvector_quaternion() 90 std::vector<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stdvector_quaternion() 107 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion() 111 QuaternionType* ref = &w[0]; in check_stdvector_quaternion()
|
D | qtvector.cpp | 95 template<typename QuaternionType> 96 void check_qtvector_quaternion(const QuaternionType&) in check_qtvector_quaternion() argument 98 typedef typename QuaternionType::Coefficients Coefficients; in check_qtvector_quaternion() 99 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_qtvector_quaternion() 100 QVector<QuaternionType> v(10), w(20, y); in check_qtvector_quaternion() 117 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType)); in check_qtvector_quaternion() 121 QuaternionType* ref = &w[0]; in check_qtvector_quaternion()
|
D | stdvector_overload.cpp | 99 template<typename QuaternionType> 100 void check_stdvector_quaternion(const QuaternionType&) in check_stdvector_quaternion() argument 102 typedef typename QuaternionType::Coefficients Coefficients; in check_stdvector_quaternion() 103 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdvector_quaternion() 104 std::vector<QuaternionType> v(10), w(20, y); in check_stdvector_quaternion() 121 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion() 125 QuaternionType* ref = &w[0]; in check_stdvector_quaternion()
|
/external/eigen/test/eigen2/ |
D | eigen2_stdvector.cpp | 85 template<typename QuaternionType> 86 void check_stdvector_quaternion(const QuaternionType&) in check_stdvector_quaternion() argument 88 typedef typename QuaternionType::Coefficients Coefficients; in check_stdvector_quaternion() 89 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdvector_quaternion() 90 std::vector<QuaternionType, aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stdvector_quaternion() 107 VERIFY((std::size_t)&(v[22]) == (std::size_t)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion() 111 QuaternionType* ref = &w[0]; in check_stdvector_quaternion()
|
D | eigen2_newstdvector.cpp | 86 template<typename QuaternionType> 87 void check_stdvector_quaternion(const QuaternionType&) in check_stdvector_quaternion() argument 89 typedef typename QuaternionType::Coefficients Coefficients; in check_stdvector_quaternion() 90 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_stdvector_quaternion() 91 std::vector<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y); in check_stdvector_quaternion() 108 VERIFY((std::size_t)&(v[22]) == (std::size_t)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion() 112 QuaternionType* ref = &w[0]; in check_stdvector_quaternion()
|
D | eigen2_qtvector.cpp | 95 template<typename QuaternionType> 96 void check_qtvector_quaternion(const QuaternionType&) in check_qtvector_quaternion() argument 98 typedef typename QuaternionType::Coefficients Coefficients; in check_qtvector_quaternion() 99 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_qtvector_quaternion() 100 QVector<QuaternionType> v(10), w(20, y); in check_qtvector_quaternion() 117 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType)); in check_qtvector_quaternion() 121 QuaternionType* ref = &w[0]; in check_qtvector_quaternion()
|
/external/eigen/demos/opengl/ |
D | quaternion_demo.cpp | 142 typedef Quaternion<Scalar> QuaternionType; typedef in EulerAngles 152 inline EulerAngles(const QuaternionType& q) { *this = q; } in EulerAngles() 157 EulerAngles& operator=(const QuaternionType& q) in operator =() 185 operator QuaternionType() { return QuaternionType(toRotationMatrix()); } in operator QuaternionType()
|