45 #include <visp/vpRzyzVector.h>
62 for (
int i=0; i<3; i++)
110 if ((fabs(R[1][2]) < 1e-6) &&(fabs(R[0][2]) < 1e-6))
113 phi = atan2(R[1][2],R[0][2]) ;
114 double cphi = cos(phi) ;
115 double sphi = sin(phi) ;
117 double theta = atan2(cphi*R[0][2]+sphi*R[1][2],R[2][2]);
119 double psi = atan2(-sphi*R[0][0]+cphi*R[1][0],-sphi*R[0][1]+cphi*R[1][1]) ;
Class that consider the case of a generic rotation vector (cannot be used as is !) consisting in thre...
vpRzyzVector & operator=(const vpRzyzVector &m)
The vpRotationMatrix considers the particular case of a rotation matrix.
vpRotationMatrix buildFrom(const vpThetaUVector &v)
Transform a vector vpThetaUVector into an rotation matrix.
Class that consider the case of the Euler angles using the z-y-z convention, where are respectively...
void buildFrom(const double phi, const double theta, const double psi)
Class that consider the case of the parameterization for the rotation.
vpRzyzVector()
Default constructor. Initialize the angles to zero.