![]() |
University of Murcia ![]() |
QVEuclideanMapping3 Class ReferenceClass modeling rotation-translation transformations for 3D points.
More...
|
Public Member Functions | |
QVEuclideanMapping3 () | |
Default constructor. | |
QVEuclideanMapping3 (const QVEuclideanMapping3 &other) | |
Copy constructor. | |
QVEuclideanMapping3 (const QVQuaternion &q, const QV3DPointF &t) | |
Initialization from a quaternion rotation, and a translation vector. | |
QVEuclideanMapping3 (const double quatx, const double quaty, const double quatz, const double quatw, const double tx, const double ty, const double tz) | |
Initialization from the components of a quaternion rotation, and a translation vector. | |
QVEuclideanMapping3 (const QVVector &v) | |
Initialization from the components of a quaternion rotation, and a translation vector. | |
QVEuclideanMapping3 (const QVMatrix &Rt) | |
Initialization from a rotation-translation matrix. | |
QV3DPointF | apply (const QV3DPointF &X) const |
Applies the euclidean transformation for the point. | |
operator QVVector () const | |
Cast to a 7-size vector. | |
bool | operator== (const QVEuclideanMapping3 &other) const |
Equality compare operator. | |
bool | operator!= (const QVEuclideanMapping3 &other) const |
Inequality compare operator. | |
QVMatrix | toRotationTranslationMatrix () const |
Cast to a Rotation-translation matrix. |
This class models elements from the E3 group. These elements are combinations of translations and rotations in the 3D euclidean space.
Each element from this class contains a quaternion and a 3D point, respectively representing the rotation and the translation of the elements of the 3D space.
Definition at line 45 of file qveuclideanmapping3.h.
QVEuclideanMapping3::QVEuclideanMapping3 | ( | const QVQuaternion & | q, | |
const QV3DPointF & | t | |||
) | [inline] |
Initialization from a quaternion rotation, and a translation vector.
q | Quaternion for the rotation | |
t | 3D point for the translation |
Definition at line 61 of file qveuclideanmapping3.h.
QVEuclideanMapping3::QVEuclideanMapping3 | ( | const double | quatx, | |
const double | quaty, | |||
const double | quatz, | |||
const double | quatw, | |||
const double | tx, | |||
const double | ty, | |||
const double | tz | |||
) | [inline] |
Initialization from the components of a quaternion rotation, and a translation vector.
quatx | Coefficient for the i coordinate of the quaternion | |
quaty | Coefficient for the j coordinate of the quaternion | |
quatz | Coefficient for the k coordinate of the quaternion | |
quatw | Coefficient for the real coordinate of the quaternion | |
tx | The x coordinate of the translation | |
ty | The y coordinate of the translation | |
tz | The z coordinate of the translation |
Definition at line 72 of file qveuclideanmapping3.h.
QVEuclideanMapping3::QVEuclideanMapping3 | ( | const QVVector & | v | ) | [inline] |
Initialization from the components of a quaternion rotation, and a translation vector.
v | Vector of size 7 containing the coefficients for the i, j, k, and the real components of the quaternion, and the x, y, z components of the translation, in that order. |
Definition at line 82 of file qveuclideanmapping3.h.
QVEuclideanMapping3::QVEuclideanMapping3 | ( | const QVMatrix & | Rt | ) | [inline] |
Initialization from a rotation-translation matrix.
Rt | The rotation/translation matrix. It is equal to ![]() ![]() ![]() |
Definition at line 89 of file qveuclideanmapping3.h.
QV3DPointF QVEuclideanMapping3::apply | ( | const QV3DPointF & | X | ) | const [inline] |
Applies the euclidean transformation for the point.
X | Point to apply the euclidean rotation-translation transformation |
Definition at line 99 of file qveuclideanmapping3.h.
QVEuclideanMapping3::operator QVVector | ( | ) | const [inline] |
Cast to a 7-size vector.
Definition at line 109 of file qveuclideanmapping3.h.
QVMatrix QVEuclideanMapping3::toRotationTranslationMatrix | ( | ) | const [inline] |
Cast to a Rotation-translation matrix.
Definition at line 143 of file qveuclideanmapping3.h.