24 #ifndef BASE_ROTATION_H 25 #define BASE_ROTATION_H 43 Rotation(
const double q0,
const double q1,
const double q2,
const double q3);
50 const double * getValue(
void)
const;
51 void getValue(
double & q0,
double & q1,
double & q2,
double & q3)
const;
52 void setValue(
const double q0,
const double q1,
const double q2,
const double q3);
54 void getValue(
Vector3d & axis,
double & rfAngle)
const;
56 void getRawValue(
Vector3d & axis,
double & rfAngle)
const;
57 void getValue(
Matrix4D & matrix)
const;
58 void setValue(
const double q[4]);
59 void setValue(
const Matrix4D& matrix);
60 void setValue(
const Vector3d & axis,
const double fAngle);
63 void setYawPitchRoll(
double y,
double p,
double r);
65 void getYawPitchRoll(
double& y,
double& p,
double& r)
const;
66 bool isIdentity()
const;
80 bool operator==(
const Rotation & q)
const;
82 double & operator [] (
unsigned short usIndex){
return quat[usIndex];}
83 const double & operator [] (
unsigned short usIndex)
const{
return quat[usIndex];}
88 void scaleAngle(
const double scaleFactor);
90 bool isSame(
const Rotation&,
double tol)
const;
115 void evaluateVector ();
123 #endif // BASE_ROTATION_H Vector3f & operator *=(Vector3f &rclVect, const Matrix4D &rclMtrx)
Definition: Matrix.h:351
constexpr bool operator!=(const basic_hashed_string< Char > &lhs, const basic_hashed_string< Char > &rhs) ENTT_NOEXCEPT
Compares two hashed strings.
Definition: entt.hpp:570
Definition: AbstractXMLReader.h:5
Definition: Rotation.h:34
DualNumber operator *(DualNumber a, DualNumber b)
Definition: DualNumber.h:71