45 #include <visp/vpRzyxVector.h>
62 for (
int i=0; i<3; i++)
115 double phi = atan2(ny,nx) ;
116 double si = sin(phi) ;
117 double co = cos(phi) ;
120 double theta = atan2(-nz, co*nx+si*ny) ;
127 double psi = atan2(si*ax-co*ay,-si*ox+co*oy);
vpRzyxVector()
Default constructor. Initialize the angles to zero.
Class that consider the case of a generic rotation vector (cannot be used as is !) consisting in thre...
vpRzyxVector & operator=(const vpRzyxVector &m)
Class that consider the case of the Euler angle using the z-y-x convention, where are respectively ...
The vpRotationMatrix considers the particular case of a rotation matrix.
vpRotationMatrix buildFrom(const vpThetaUVector &v)
Transform a vector vpThetaUVector into an rotation matrix.
void buildFrom(const double phi, const double theta, const double psi)
Class that consider the case of the parameterization for the rotation.