42 #include <visp3/core/vpRzyxVector.h> 85 if (rzyx.
size() != 3) {
89 for (
unsigned int i = 0; i < 3; i++)
108 double phi = atan2(ny, nx);
109 double si = sin(phi);
110 double co = cos(phi);
113 double theta = atan2(-nz, co * nx + si * ny);
120 double psi = atan2(si * ax - co * ay, -si * ox + co * oy);
176 for (
unsigned int i = 0; i <
dsize; i++)
207 if (rzyx.
size() != 3) {
211 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.