44 #ifndef __QUATERNIONVECTOR_H__
45 #define __QUATERNIONVECTOR_H__
55 #include <visp/vpConfig.h>
56 #include <visp/vpRotationMatrix.h>
57 #include <visp/vpRotationVector.h>
82 static const double minimum;
92 void set(
const double x,
const double y,
const double z,
const double w) ;
95 inline double x()
const {
return r[0];}
97 inline double y()
const {
return r[1];}
99 inline double z()
const {
return r[2];}
101 inline double w()
const {
return r[3];}
Class that consider the case of a generic rotation vector (cannot be used as is !) consisting in thre...
double y() const
Returns y-component of the quaternion.
The vpRotationMatrix considers the particular case of a rotation matrix.
double w() const
Returns w-component of the quaternion.
double z() const
Returns z-component of the quaternion.
double x() const
Returns x-component of the quaternion.
Defines a quaternion and its basic operations.