#include <mv.h>
Public Member Functions | |
Real | angle () const |
Vect3 | axis () const |
void | deriv (const Quat &q, const Vect3 &w) |
void | invert (const Quat &q) |
void | invert () |
void | invXform (const Vect3 &v, Vect3 &xv) const |
void | invXform (Vect3 &v) const |
void | mult (const Quat &p, const Quat &q) |
void | normalize (const Quat &q) |
void | normalize () |
int | operator== (const Quat &other) |
void | postmult (const Quat &q) |
void | premult (const Quat &q) |
ostream & | print (ostream &os) const |
Quat () | |
Quat (Real s, Real x, Real y, Real z) | |
Quat (Real angle, const Vect3 &axis, int normalizeAxis=1) | |
Quat (const Mat3 &R) | |
Real | s () const |
void | set (Real s, Real x, Real y, Real z) |
void | set (Real angle, const Vect3 &axis, int normalizeAxis=1) |
void | set (const Mat3 &R) |
Real | x () const |
void | xform (const Vect3 &u, Vect3 &v) const |
void | xform (Vect3 &v) const |
Real | y () const |
Real | z () const |
Static Public Attributes | |
static const Quat | ID |
Private Attributes | |
Real | s_ |
Real | x_ |
Real | y_ |
Real | z_ |
Friends | |
class | Mat3 |
class | Se3 |
Vclip::Quat::Quat | ( | ) | [inline] |
Vclip::Quat::Quat | ( | Real | angle, |
const Vect3 & | axis, | ||
int | normalizeAxis = 1 |
||
) | [inline] |
Vclip::Quat::Quat | ( | const Mat3 & | R | ) | [inline] |
Real Vclip::Quat::angle | ( | ) | const [inline] |
Vect3 Vclip::Quat::axis | ( | ) | const [inline] |
void Vclip::Quat::invert | ( | ) | [inline] |
void Vclip::Quat::invXform | ( | const Vect3 & | v, |
Vect3 & | xv | ||
) | const |
void Vclip::Quat::invXform | ( | Vect3 & | v | ) | const |
void Vclip::Quat::normalize | ( | ) | [inline] |
void Vclip::Quat::postmult | ( | const Quat & | q | ) |
void Vclip::Quat::premult | ( | const Quat & | q | ) |
ostream& Vclip::Quat::print | ( | ostream & | os | ) | const |
Real Vclip::Quat::s | ( | ) | const [inline] |
void Vclip::Quat::set | ( | const Mat3 & | R | ) |
Real Vclip::Quat::x | ( | ) | const [inline] |
void Vclip::Quat::xform | ( | const Vect3 & | u, |
Vect3 & | v | ||
) | const |
void Vclip::Quat::xform | ( | Vect3 & | v | ) | const |
Real Vclip::Quat::y | ( | ) | const [inline] |
Real Vclip::Quat::z | ( | ) | const [inline] |
const Quat Vclip::Quat::ID [static] |
Real Vclip::Quat::s_ [private] |
Real Vclip::Quat::x_ [private] |
Real Vclip::Quat::y_ [private] |
Real Vclip::Quat::z_ [private] |