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

/external/eigen/Eigen/src/Eigen2Support/Geometry/
H A DAngleAxis.h59 typedef Quaternion<Scalar> QuaternionType; typedef in class:Eigen::AngleAxis
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
[all...]
/external/eigen/Eigen/src/Geometry/
H A DAngleAxis.h62 typedef Quaternion<Scalar> QuaternionType; typedef in class:Eigen::AngleAxis
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(
[all...]
/external/eigen/test/
H A Dstddeque.cpp76 template<typename QuaternionType>
77 void check_stddeque_quaternion(const QuaternionType&) argument
79 typedef typename QuaternionType::Coefficients Coefficients;
80 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
81 std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y);
87 typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.begin();
88 typename std::deque<QuaternionType,Eigen::aligned_allocator<QuaternionType> >
[all...]
H A Dstdlist.cpp76 template<typename QuaternionType>
77 void check_stdlist_quaternion(const QuaternionType&) argument
79 typedef typename QuaternionType::Coefficients Coefficients;
80 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
81 std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y);
87 typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >::iterator vi = v.begin();
88 typename std::list<QuaternionType,Eigen::aligned_allocator<QuaternionType> >
[all...]
H A Dstdvector.cpp85 template<typename QuaternionType>
86 void check_stdvector_quaternion(const QuaternionType&) argument
88 typedef typename QuaternionType::Coefficients Coefficients;
89 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
90 std::vector<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y);
107 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType));
111 QuaternionType* ref = &w[0];
H A Dqtvector.cpp95 template<typename QuaternionType>
96 void check_qtvector_quaternion(const QuaternionType&) argument
98 typedef typename QuaternionType::Coefficients Coefficients;
99 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
100 QVector<QuaternionType> v(10), w(20, y);
117 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType));
121 QuaternionType* ref = &w[0];
H A Dstdvector_overload.cpp99 template<typename QuaternionType>
100 void check_stdvector_quaternion(const QuaternionType&) argument
102 typedef typename QuaternionType::Coefficients Coefficients;
103 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
104 std::vector<QuaternionType> v(10), w(20, y);
121 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType));
125 QuaternionType* ref = &w[0];
/external/eigen/test/eigen2/
H A Deigen2_newstdvector.cpp86 template<typename QuaternionType>
87 void check_stdvector_quaternion(const QuaternionType&) argument
89 typedef typename QuaternionType::Coefficients Coefficients;
90 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
91 std::vector<QuaternionType,Eigen::aligned_allocator<QuaternionType> > v(10), w(20, y);
108 VERIFY((std::size_t)&(v[22]) == (std::size_t)&(v[21]) + sizeof(QuaternionType));
112 QuaternionType* ref = &w[0];
H A Deigen2_stdvector.cpp85 template<typename QuaternionType>
86 void check_stdvector_quaternion(const QuaternionType&) argument
88 typedef typename QuaternionType::Coefficients Coefficients;
89 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
90 std::vector<QuaternionType, aligned_allocator<QuaternionType> > v(10), w(20, y);
107 VERIFY((std::size_t)&(v[22]) == (std::size_t)&(v[21]) + sizeof(QuaternionType));
111 QuaternionType* ref = &w[0];
H A Deigen2_qtvector.cpp95 template<typename QuaternionType>
96 void check_qtvector_quaternion(const QuaternionType&) argument
98 typedef typename QuaternionType::Coefficients Coefficients;
99 QuaternionType x(Coefficients::Random()), y(Coefficients::Random());
100 QVector<QuaternionType> v(10), w(20, y);
117 VERIFY((size_t)&(v[22]) == (size_t)&(v[21]) + sizeof(QuaternionType));
121 QuaternionType* ref = &w[0];
/external/eigen/demos/opengl/
H A Dquaternion_demo.cpp142 typedef Quaternion<Scalar> QuaternionType; typedef in class:EulerAngles
152 inline EulerAngles(const QuaternionType& q) { *this = q; }
157 EulerAngles& operator=(const QuaternionType& q)
185 operator QuaternionType() { return QuaternionType(toRotationMatrix()); }

Completed in 473 milliseconds