PARP Research Group University of Murcia


QVEuclideanMapping3 Class Reference
[Math extensions]

Class modeling rotation-translation transformations for 3D points. More...

#include <QVEuclideanMapping3>

List of all members.

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.


Detailed Description

Class modeling rotation-translation transformations for 3D points.

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.


Constructor & Destructor Documentation

QVEuclideanMapping3::QVEuclideanMapping3 ( const QVQuaternion q,
const QV3DPointF t 
) [inline]

Initialization from a quaternion rotation, and a translation vector.

Parameters:
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.

Parameters:
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.

Parameters:
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.

Parameters:
Rt The rotation/translation matrix. It is equal to $ [R|t] $, where $ R $ is the rotation matrix, and $ t $ is the translation vector.

Definition at line 89 of file qveuclideanmapping3.h.


Member Function Documentation

QV3DPointF QVEuclideanMapping3::apply ( const QV3DPointF X  )  const [inline]

Applies the euclidean transformation for the point.

Parameters:
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.

Returns:
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 109 of file qveuclideanmapping3.h.

QVMatrix QVEuclideanMapping3::toRotationTranslationMatrix (  )  const [inline]

Cast to a Rotation-translation matrix.

Returns:
A rotation translation matrix $ [R|t] $, where $ R $ is the rotation matrix, and $ t $ is the translation vector.

Definition at line 143 of file qveuclideanmapping3.h.


The documentation for this class was generated from the following file:



QVision framework. PARP research group. Copyright © 2007, 2008, 2009, 2010.