Quaternion (double-precision version)
Inheritance:
Public Methods
-
FXDQuat()
- Default constructor
-
FXDQuat(const FXDVec& axis, FXdouble phi=0.0)
- Construct from axis and angle
-
FXDQuat(FXdouble roll, FXdouble pitch, FXdouble yaw)
- Construct from euler angles yaw (z), pitch (y), and roll (x)
-
FXDQuat(FXdouble x, FXdouble y, FXdouble z, FXdouble w)
- Construct from components
-
FXDQuat& adjust()
- Adjust quaternion length
-
void setRollPitchYaw(FXdouble roll, FXdouble pitch, FXdouble yaw)
- Set quaternion from yaw (z), pitch (y), and roll (x)
-
void getRollPitchYaw(FXdouble& roll, FXdouble& pitch, FXdouble& yaw)
- Obtain yaw, pitch, and roll
Inherited from FXDHVec:
Public Methods
-
FXdouble& operator[](FXint i)
-
const FXdouble& operator[](FXint i) const
-
FXDHVec& operator=(FXColor color)
-
FXDHVec& operator=(const FXDHVec& w)
-
FXDHVec& operator+=(const FXDHVec& a)
-
operator FXdouble*()
-
operator FXColor() const
Protected Fields
-
FXdouble v[4]
Documentation
Quaternion (double-precision version)
FXDQuat()
- Default constructor
FXDQuat(const FXDVec& axis, FXdouble phi=0.0)
- Construct from axis and angle
FXDQuat(FXdouble roll, FXdouble pitch, FXdouble yaw)
- Construct from euler angles yaw (z), pitch (y), and roll (x)
FXDQuat(FXdouble x, FXdouble y, FXdouble z, FXdouble w)
- Construct from components
FXDQuat& adjust()
- Adjust quaternion length
void setRollPitchYaw(FXdouble roll, FXdouble pitch, FXdouble yaw)
- Set quaternion from yaw (z), pitch (y), and roll (x)
void getRollPitchYaw(FXdouble& roll, FXdouble& pitch, FXdouble& yaw)
- Obtain yaw, pitch, and roll
- This class has no child classes.
- Friends:
- FXDQuat exp(const FXDQuat& q)
FXDQuat log(const FXDQuat& q)
FXDQuat invert(const FXDQuat& q)
FXDQuat conj(const FXDQuat& q)
FXDQuat operator*(const FXDQuat& p,const FXDQuat& q)
FXDQuat arc(const FXDVec& a,const FXDVec& b)
FXDQuat lerp(const FXDQuat& u,const FXDQuat& v,FXdouble f)
Alphabetic index HTML hierarchy of classes or Java
This page was generated with the help of DOC++.