add DCM to Euler Angles method (to implement)

This commit is contained in:
Massimiliano Corsini 2007-07-03 16:07:09 +00:00
parent c99138926d
commit a522bf6595
1 changed files with 13 additions and 0 deletions

View File

@ -24,6 +24,9 @@
History
$Log: not supported by cvs2svn $
Revision 1.17 2007/02/06 12:24:07 tarini
added a missing "Quaternion<S>::" in "FromEulerAngles"
Revision 1.16 2007/02/05 13:55:21 corsini
add euler angle to quaternion conversion
@ -56,6 +59,9 @@ updated access to matrix44 elements through V() instead simple []
Revision 1.6 2004/03/25 14:57:49 ponchio
Microerror. ($LOG$ -> $Log: not supported by cvs2svn $
Microerror. ($LOG$ -> Revision 1.17 2007/02/06 12:24:07 tarini
Microerror. ($LOG$ -> added a missing "Quaternion<S>::" in "FromEulerAngles"
Microerror. ($LOG$ ->
Microerror. ($LOG$ -> Revision 1.16 2007/02/05 13:55:21 corsini
Microerror. ($LOG$ -> add euler angle to quaternion conversion
Microerror. ($LOG$ ->
@ -130,6 +136,7 @@ public:
void ToMatrix(Matrix44<S> &m) const;
void ToMatrix(Matrix33<S> &m) const;
void ToEulerAngles(S &alpha, S &beta, S &gamma);
void FromEulerAngles(S alpha, S beta, S gamma);
Point3<S> Rotate(const Point3<S> vec) const;
@ -324,6 +331,12 @@ template <class S> void Quaternion<S>::FromMatrix(Matrix44<S> &m) {
}
}
template<class S>
void Quaternion<S>::ToEulerAngles(S &alpha, S &beta, S &gamma)
{
//...TODO...
}
template<class S>
void Quaternion<S>::FromEulerAngles(S alpha, S beta, S gamma)
{