Home
last modified time | relevance | path

Searched refs:QuaternionType (Results 1 – 11 of 11) sorted by relevance

/external/eigen/Eigen/src/Eigen2Support/Geometry/
DAngleAxis.h59 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/
DAngleAxis.h62 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/
Dstddeque.cpp76 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()
Dstdlist.cpp76 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()
Dstdvector.cpp85 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()
Dqtvector.cpp95 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()
Dstdvector_overload.cpp99 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/
Deigen2_stdvector.cpp85 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()
Deigen2_newstdvector.cpp86 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()
Deigen2_qtvector.cpp95 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/
Dquaternion_demo.cpp142 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()