41 #include <visp3/core/vpRzyxVector.h>
99 if (rzyx.
size() != 3) {
102 for (
unsigned int i=0; i< 3; i++)
122 double phi = atan2(ny,nx) ;
123 double si = sin(phi) ;
124 double co = cos(phi) ;
127 double theta = atan2(-nz, co*nx+si*ny) ;
134 double psi = atan2(si*ax-co*ay,-si*ox+co*oy);
194 for (
unsigned int i=0; i<
dsize; i++)
224 if (rzyx.
size() != 3) {
227 for (
unsigned int i=0; i< 3; i++)
Implementation of a generic rotation vector.
error that can be emited by ViSP classes.
vpRzyxVector & operator=(const vpColVector &rzyx)
double * data
Address of the first element of the data array.
unsigned int size() const
Return the number of elements of the 2D array.
Implementation of a rotation vector as Euler angle minimal representation.
Implementation of a rotation matrix and operations on such kind of matrices.
vpRotationMatrix buildFrom(const vpHomogeneousMatrix &M)
vpRzyxVector buildFrom(const vpRotationMatrix &R)
Implementation of column vector and the associated operations.
unsigned int dsize
Current array size (rowNum * colNum)
Implementation of a rotation vector as axis-angle minimal representation.