#include <Matrix.h>
Inheritance diagram for RotationMatrix:
Public Member Functions | |
RotationMatrix () | |
Default constructor. | |
RotationMatrix (const Vector3< double > &c0, const Vector3< double > &c1, const Vector3< double > &c2) | |
Constructor. | |
RotationMatrix & | operator= (const Matrix3x3< double > &other) |
Assignment operator. | |
RotationMatrix (const Matrix3x3< double > &other) | |
Copy constructor. | |
RotationMatrix & | fromKardanRPY (const double yaw, const double pitch, const double roll) |
RotationMatrix from RPY-angles. | |
RotationMatrix | invert () |
Invert the matrix. | |
RotationMatrix & | rotateX (const double angle) |
Rotation around the x-axis. | |
RotationMatrix & | rotateY (const double angle) |
Rotation around the y-axis. | |
RotationMatrix & | rotateZ (const double angle) |
Rotation around the z-axis. | |
double | getXAngle () const |
Get the x-angle of a RotationMatrix. | |
double | getYAngle () const |
Get the y-angle of a RotationMatrix. | |
double | getZAngle () const |
Get the z-angle of a RotationMatrix. | |
Static Public Member Functions | |
RotationMatrix | getRotationX (const double angle) |
Create and return a RotationMatrix, rotated around x-axis. | |
RotationMatrix | getRotationY (const double angle) |
Create and return a RotationMatrix, rotated around y-axis. | |
RotationMatrix | getRotationZ (const double angle) |
Create and return a RotationMatrix, rotated around z-axis. |
Definition at line 302 of file Matrix.h.
|
Default constructor.
Definition at line 307 of file Matrix.h. Referenced by getRotationX(), getRotationY(), getRotationZ(), rotateX(), rotateY(), and rotateZ(). |
|
Constructor.
|
|
Copy constructor.
|
|
Assignment operator.
Reimplemented from Matrix3x3< double >. Definition at line 331 of file Matrix.h. References Matrix3x3< V >::c. |
|
RotationMatrix from RPY-angles. Roll rotates along z axis, Pitch rotates along y axis, Yaw rotates along x axis R(roll,pitch,yaw) = R(z,roll)*R(y,pitch)*R(x,yaw)
Definition at line 13 of file Matrix.cpp. Referenced by Geometry::relative2FieldCoord(). |
|
Invert the matrix.
Definition at line 367 of file Matrix.h. References Matrix3x3< double >::transpose(). Referenced by Geometry::calculatePointByAngles(), and MotionRecognition::getCameraTranslation(). |
Here is the call graph for this function:
|
Rotation around the x-axis.
Definition at line 35 of file Matrix.cpp. References RotationMatrix(). Referenced by Pose3D::rotateX(). |
Here is the call graph for this function:
|
Rotation around the y-axis.
Definition at line 45 of file Matrix.cpp. References RotationMatrix(). Referenced by Pose3D::rotateY(), GT2004HeadControl::simpleLookAtPointFixNeckTilt(), and GT2004HeadControl::simpleLookAtPointRelativeToRobot(). |
Here is the call graph for this function:
|
Rotation around the z-axis.
Definition at line 55 of file Matrix.cpp. References RotationMatrix(). Referenced by Pose3D::rotateZ(), GT2004HeadControl::simpleLookAtPointFixNeckTilt(), and GT2004HeadControl::simpleLookAtPointOnField(). |
Here is the call graph for this function:
|
Get the x-angle of a RotationMatrix.
Definition at line 65 of file Matrix.cpp. References Vector3< double >::y. |
|
Get the y-angle of a RotationMatrix.
Definition at line 71 of file Matrix.cpp. References Vector3< double >::z. |
|
Get the z-angle of a RotationMatrix.
Definition at line 77 of file Matrix.cpp. References Vector3< double >::y. |
|
Create and return a RotationMatrix, rotated around x-axis.
Definition at line 426 of file Matrix.h. References RotationMatrix(). |
Here is the call graph for this function:
|
Create and return a RotationMatrix, rotated around y-axis.
Definition at line 437 of file Matrix.h. References RotationMatrix(). |
Here is the call graph for this function:
|
Create and return a RotationMatrix, rotated around z-axis.
Definition at line 448 of file Matrix.h. References RotationMatrix(). |
Here is the call graph for this function: