Home
last modified time | relevance | path

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

/external/eigen/test/
Dstdlist.cpp74 template<typename QuaternionType>
75 void check_stdlist_quaternion(const QuaternionType&) in check_stdlist_quaternion() argument
77 typedef typename QuaternionType::Coefficients Coefficients; in check_stdlist_quaternion()
78QuaternionType x(Coefficients::Random()), y(Coefficients::Random()), qi=QuaternionType::Identity(); in check_stdlist_quaternion()
79 std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10,qi), w(20, y); in check_stdlist_quaternion()
85 …typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.begi… in check_stdlist_quaternion()
86 …typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator wi = w.begi… in check_stdlist_quaternion()
Dstddeque.cpp74 template<typename QuaternionType>
75 void check_stddeque_quaternion(const QuaternionType&) in check_stddeque_quaternion() argument
77 typedef typename QuaternionType::Coefficients Coefficients; in check_stddeque_quaternion()
78QuaternionType x(Coefficients::Random()), y(Coefficients::Random()), qi=QuaternionType::Identity(); in check_stddeque_quaternion()
79 std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10,qi), w(20, y); in check_stddeque_quaternion()
85 …typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.beg… in check_stddeque_quaternion()
86 …typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator wi = w.beg… in check_stddeque_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()
89QuaternionType x(Coefficients::Random()), y(Coefficients::Random()), qi=QuaternionType::Identity(); in check_stdvector_quaternion()
90 std::vector<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10,qi), w(20, y); in check_stdvector_quaternion()
107 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion()
111 QuaternionType* ref = &w[0]; in check_stdvector_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()
103QuaternionType x(Coefficients::Random()), y(Coefficients::Random()), qi=QuaternionType::Identity(); in check_stdvector_quaternion()
104 std::vector<QuaternionType> v(10,qi), w(20, y); in check_stdvector_quaternion()
121 VERIFY((internal::UIntPtr)&(v[22]) == (internal::UIntPtr)&(v[21]) + sizeof(QuaternionType)); in check_stdvector_quaternion()
125 QuaternionType* ref = &w[0]; in check_stdvector_quaternion()
Dstdlist_overload.cpp125 template<typename QuaternionType>
126 void check_stdlist_quaternion(const QuaternionType&) in check_stdlist_quaternion() argument
128 typedef typename QuaternionType::Coefficients Coefficients; in check_stdlist_quaternion()
129QuaternionType x(Coefficients::Random()), y(Coefficients::Random()), qi=QuaternionType::Identity(); in check_stdlist_quaternion()
130 std::list<QuaternionType> v(10,qi), w(20, y); in check_stdlist_quaternion()
131 typename std::list<QuaternionType>::iterator itv = get(v, 5); in check_stdlist_quaternion()
132 typename std::list<QuaternionType>::iterator itw = get(w, 6); in check_stdlist_quaternion()
156 QuaternionType* ref = &(*get(w, 0)); in check_stdlist_quaternion()
Dqtvector.cpp93 template<typename QuaternionType>
94 void check_qtvector_quaternion(const QuaternionType&) in check_qtvector_quaternion() argument
96 typedef typename QuaternionType::Coefficients Coefficients; in check_qtvector_quaternion()
97 QuaternionType x(Coefficients::Random()), y(Coefficients::Random()); in check_qtvector_quaternion()
98 QVector<QuaternionType> v(10), w(20, y); in check_qtvector_quaternion()
115 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType)); in check_qtvector_quaternion()
119 QuaternionType* ref = &w[0]; in check_qtvector_quaternion()
Dstddeque_overload.cpp97 template<typename QuaternionType>
98 void check_stddeque_quaternion(const QuaternionType&) in check_stddeque_quaternion() argument
100 typedef typename QuaternionType::Coefficients Coefficients; in check_stddeque_quaternion()
101QuaternionType x(Coefficients::Random()), y(Coefficients::Random()), qi=QuaternionType::Identity(); in check_stddeque_quaternion()
102 std::deque<QuaternionType> v(10,qi), w(20, y); in check_stddeque_quaternion()
122 QuaternionType* ref = &w[0]; in check_stddeque_quaternion()
/external/eigen/Eigen/src/Geometry/
DAngleAxis.h62 typedef Quaternion<Scalar> QuaternionType;
104 EIGEN_DEVICE_FUNC inline QuaternionType operator* (const AngleAxis& other) const
105 { return QuaternionType(*this) * QuaternionType(other); }
108 EIGEN_DEVICE_FUNC inline QuaternionType operator* (const QuaternionType& other) const
109 { return QuaternionType(*this) * other; }
112 …friend EIGEN_DEVICE_FUNC inline QuaternionType operator* (const QuaternionType& a, const AngleAxis…
113 { return a * QuaternionType(b); }
201 return *this = QuaternionType(mat);
211 return *this = QuaternionType(mat);
/external/eigen/unsupported/Eigen/src/EulerAngles/
DEulerAngles.h114 typedef Quaternion<Scalar> QuaternionType; /*!< the equivalent quaternion type */ typedef
272 return static_cast<QuaternionType>(*this).toRotationMatrix(); in toRotationMatrix()
276 operator QuaternionType() const in QuaternionType() function
/external/eigen/unsupported/test/
DEulerAngles.cpp40 typedef Quaternion<Scalar> QuaternionType; in verify_euler() typedef
125 const QuaternionType q(e); in verify_euler()
127 const QuaternionType qbis(ebis); in verify_euler()
/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()