3 #include <cgv/math/fvec.h>
4 #include <cgv/math/quaternion.h>
5 #include <cgv/math/fmat.h>
double normalize()
normalize the vector using the L2-Norm and return the length
Definition: fvec.h:260
matrix of fixed size dimensions
Definition: fmat.h:23
vec_type apply(const vec_type &v) const
rotate vector according to quaternion
Definition: quaternion.h:202
Definition: quaternion.h:15
void set_col(unsigned j, const fvec< T, N > &v)
set column j of the matrix to vector v
Definition: fmat.h:163
void set_row(unsigned i, const fvec< T, M > &v)
set row i of the matrix to vector v
Definition: fmat.h:154
quaternion< T > inverse() const
return the inverse
Definition: quaternion.h:215
void put_matrix(mat_type &M) const
compute equivalent 3x3 rotation matrix
Definition: quaternion.h:122
void rotate(vec_type &v) const
rotate vector according to quaternion
Definition: quaternion.h:181
the cgv namespace
Definition: vr_calib.cxx:9