47 #ifndef __GLQUATERNION_H__ 48 #define __GLQUATERNION_H__ 63 template<
typename BaseVecT>
80 void fromAxis(BaseVecT axis,
ValueType angle);
83 void getAxisAngle(BaseVecT *axis,
ValueType *angle);
87 void printDebugInfo();
113 template<
typename BaseVecT>
114 inline ostream& operator<<(ostream& os, const lvr2::Quaternion<BaseVecT> q){
116 return os <<
"Quaternion: " << q.W() <<
" " << q.X() <<
" " << q.Y() <<
" " << q.Z() << endl;
120 #include "Quaternion.tcc"
A 4x4 matrix class implementation for use with the provided vertex types.
Quaternion(const Quaternion< BaseVecT > &o)
boost::optional< MatrixT > getMatrix(const HighFive::Group &g, const std::string &datasetName)
__kf_device__ Vec3f operator*(const Mat3f &m, const Vec3f &v)
typename BaseVecT::CoordType ValueType