Collaboration diagram for Rotation operators.:
|
Functions | |
| H3D::ArithmeticTypes::Rotation::Rotation (H3DFloat x, H3DFloat y, H3DFloat z, H3DFloat a) | |
| Constructor. | |
| H3D::ArithmeticTypes::Rotation::Rotation (const Vec3f &_axis, H3DFloat _angle) | |
| Constructor. | |
| H3D::ArithmeticTypes::Rotation::Rotation (const Vec3f &n1, const Vec3f &n2) | |
| Constructor. | |
| H3D::ArithmeticTypes::Rotation::Rotation (const Vec3f &euler_angles) | |
| Constructor. From Euler angles (yaw, pitch, roll ). | |
| H3D::ArithmeticTypes::Rotation::Rotation (const Vec3d &euler_angles) | |
| Constructor. From Euler angles (yaw, pitch, roll ). | |
| H3D::ArithmeticTypes::Rotation::Rotation (const Quaternion &r) | |
| Constructor. From Quaternion object. | |
| H3D::ArithmeticTypes::Rotation::Rotation (const Matrix3f &m) | |
| Constructor. | |
| H3D::ArithmeticTypes::Rotation::Rotation (const Matrix3d &m) | |
| Constructor. | |
| Vec3f | H3D::ArithmeticTypes::Rotation::toEulerAngles () |
| Get the euler angles( yaw, pitch, roll ) representation of the Rotation. | |
| Rotation | H3D::ArithmeticTypes::Rotation::slerp (const Rotation &r, H3DFloat t) const |
| Spherical linear interpolation between two Rotations. | |
| bool | H3D::ArithmeticTypes::operator== (const Rotation &r1, const Rotation &r2) |
| Test two Rotation instances for equality. | |
| Rotation | H3D::ArithmeticTypes::operator- (const Rotation &r) |
| Negation of a Rotation is the Rotation around the same axis but in the other direction. | |
| Rotation | H3D::ArithmeticTypes::operator * (const Rotation &r, double d) |
| Multiplacation by a double. | |
| Rotation | H3D::ArithmeticTypes::operator * (const Rotation &r, float f) |
| Multiplacation by a float. | |
| Rotation | H3D::ArithmeticTypes::operator * (const Rotation &r, int i) |
| Multiplacation by a int. | |
| Rotation | H3D::ArithmeticTypes::operator * (const Rotation &r, long i) |
| Multiplacation by a long. | |
| Rotation | H3D::ArithmeticTypes::operator * (const float &a, const Rotation &b) |
| Multiplication with float. | |
| Rotation | H3D::ArithmeticTypes::operator * (const double &a, const Rotation &b) |
| Multiplication with double. | |
| Rotation | H3D::ArithmeticTypes::operator * (const int &a, const Rotation &b) |
| Multiplication with int. | |
| Rotation | H3D::ArithmeticTypes::operator * (const long &a, const Rotation &b) |
| Multiplication with long. | |
| ostream & | H3D::ArithmeticTypes::operator<< (ostream &os, const Rotation &r) |
| Function for printing a Rotation to an ostream. | |
| Rotation | H3D::ArithmeticTypes::operator * (const Rotation &r1,const Rotation &r2) |
| Multiplication of Rotation is the composition of the rotations. | |
Variables | |
| Vec3f | H3D::ArithmeticTypes::Rotation::axis |
| The axis the rotation is around. | |
| H3DFloat | H3D::ArithmeticTypes::Rotation::angle |
| The angle of the rotation. | |
See also the template operators for more operators automatically defined from the explicit ones defined here.
|
|
Constructor. From Matrix3d that is a rotation matrix. Assumes the matrix is orthogonal. |
|
|
Constructor. From Matrix3f that is a rotation matrix. Assumes the matrix is orthogonal. |
|
||||||||||||
|
Constructor. Constructs the shortest rotation the goes from n1 to n2. Both n1 and n2 must be unit vectors. |
|
||||||||||||
|
Constructor.
|
|
||||||||||||||||||||
|
Constructor. x, y, z is the vector to rotate around and a is the angle. |
|
||||||||||||
|
Spherical linear interpolation between two Rotations.
|
1.4.5