|
| UT_QuaternionT (T qx=0, T qy=0, T qz=0, T qw=0) |
|
| UT_QuaternionT (const fpreal32 v[tuple_size]) |
|
| UT_QuaternionT (const fpreal64 v[tuple_size]) |
|
| UT_QuaternionT (const UT_Vector4T< T > &v) |
|
| UT_QuaternionT (T angle, const UT_Vector3T< T > &axis, int donormalize=1) |
|
| UT_QuaternionT (const UT_Vector3T< T > &rot, const UT_XformOrder &order) |
|
SYS_FORCE_INLINE | UT_QuaternionT (const ThisType &that)=default |
|
SYS_FORCE_INLINE | UT_QuaternionT (ThisType &&that)=default |
|
SYS_FORCE_INLINE ThisType & | operator= (const ThisType &that)=default |
|
SYS_FORCE_INLINE ThisType & | operator= (ThisType &&that)=default |
|
template<typename S > |
| UT_QuaternionT (const UT_QuaternionT< S > &v) |
|
template<typename S > |
UT_QuaternionT< T > & | operator= (const UT_QuaternionT< S > &v) |
|
UT_QuaternionT< T > & | operator*= (const UT_QuaternionT< T > &q) |
|
UT_QuaternionT< T > & | operator*= (T scalar) |
|
UT_QuaternionT< T > & | operator/= (const UT_QuaternionT< T > &quat) |
|
UT_QuaternionT< T > & | operator/= (T scalar) |
|
UT_QuaternionT< T > & | operator+= (const UT_QuaternionT< T > &quat) |
|
bool | operator== (const UT_QuaternionT< T > &quat) const |
|
bool | operator!= (const UT_QuaternionT< T > &quat) const |
|
T | operator() (int idx) const |
|
T & | operator() (int idx) |
|
T | operator[] (int idx) const |
|
T & | operator[] (int idx) |
|
bool | isEqual (const UT_QuaternionT< T > &quat, T tol=T(SYS_FTOLERANCE)) const |
|
void | getRotationMatrix (UT_Matrix3 &mat) const |
|
void | getRotationMatrix (UT_DMatrix3 &mat) const |
|
void | getInverseRotationMatrix (UT_Matrix3 &mat) const |
|
void | getInverseRotationMatrix (UT_DMatrix3 &mat) const |
|
void | getTransformMatrix (UT_Matrix4 &mat) const |
|
void | getTransformMatrix (UT_DMatrix4 &mat) const |
|
UT_QuaternionT< T > | interpolate (const UT_QuaternionT< T > &target, T t, T b=0.0f) const |
| Interpolates between this quat (t==0) and the target (t==1) More...
|
|
void | interpolate (const UT_QuaternionT< T > *q, const T *w, exint n, T tol=T(1e-6)) |
|
void | lerp (const UT_QuaternionT< T > &target, T t) |
| Do component-wise lerp between this quat (t=0) and the target (t=1). More...
|
|
void | lerp (const UT_QuaternionT< T > &src, const UT_QuaternionT< T > &dst, T t) |
| Do component-wise lerp between this src (t=0) and dst (t=1). More...
|
|
void | assign (T qx, T qy, T qz, T qw) |
|
void | identity () |
|
void | conjugate () |
|
void | negate () |
|
T | normal () const |
|
void | normalize () |
|
T | length () const |
|
void | invert () |
|
UT_QuaternionT< T > | exp () const |
|
UT_QuaternionT< T > | ln () const |
|
UT_QuaternionT< T > | log () const |
|
void | updateFromVectors (const UT_Vector3T< T > &v1, const UT_Vector3T< T > &v2) |
|
void | updateFromArbitraryMatrix (const UT_Matrix3 &) |
|
void | updateFromArbitraryMatrix (const UT_Matrix3D &) |
|
void | updateFromRotationMatrix (const UT_Matrix3 &) |
|
void | updateFromRotationMatrix (const UT_Matrix3D &) |
|
void | updateFromAngleAxis (T angle, const UT_Vector3T< T > &axis, int normalize=1) |
|
void | getAngleAxis (T &angle, UT_Vector3T< T > &axis) const |
|
void | updateFromLogMap (const UT_Vector3T< T > &v) |
|
void | getLogMap (UT_Vector3T< T > &v) const |
|
void | updateFromEuler (const UT_Vector3T< T > &rot, const UT_XformOrder &order) |
|
void | computeDerivative (const UT_Vector3T< T > &omega, UT_QuaternionT< T > &q_prime) |
|
UT_Vector3T< T > | computeAngVel (const UT_QuaternionT< T > &dest, T time) const |
|
void | integrate (const UT_Vector3T< T > &angvel, T timestep, bool accurate=true) |
|
UT_Vector3T< T > | computeRotations (const UT_XformOrder &) const |
|
UT_Vector3T< T > | rotate (const UT_Vector3T< T > &) const |
|
UT_Vector3T< T > | rotateInverse (const UT_Vector3T< T > &) const |
|
void | multAngle (T s) |
|
void | swingTwistDecompose (const UT_Vector3T< T > &axis, UT_QuaternionT< T > &swing, UT_QuaternionT< T > &twist, const bool reverse=false) const |
|
T & | x () |
|
T & | y () |
|
T & | z () |
|
T & | w () |
|
T | x () const |
|
T | y () const |
|
T | z () const |
|
T | w () const |
|
void | save (std::ostream &os, int binary=0) const |
|
bool | load (UT_IStream &is) |
|
const T * | data () const |
|
T * | data () |
|
T | distance2 (const UT_QuaternionT< T > &b) const noexcept |
|
T | distance (const UT_QuaternionT< T > &b) const noexcept |
|
unsigned | hash () const |
| Compute a hash. More...
|
|
|
bool | save (UT_JSONWriter &w) const |
|
bool | save (UT_JSONValue &v) const |
|
bool | load (UT_JSONParser &p) |
|
template<typename T>
class UT_QuaternionT< T >
Quaternion class.
Definition at line 48 of file GEO_Detail.h.