libt3d
2.6
|
Functions | |
R3D (T3DType type, int flags, T3DError error, const double *d1=0x0, const double *d2=0x0) | |
R3D constructor. | |
R3D (T3DType type=T3D_MATRIX, int flags=0) | |
R3D constructor. | |
R3D (const R3D *r3d) | |
R3D constructor. | |
R3D (const T3DMatrix &m) | |
R3D & | convertTo (T3DType type) |
Convert a R3D into another representation. | |
R3D & | invert (void) |
Invert a R3D. | |
R3D | operator~ (void) |
Inverse of a R3D. | |
R3D | operator* (R3D &r3d) |
Compose two R3D. | |
double & | operator[] (unsigned int i) |
Acessor for matrices elements. | |
double & | operator() (unsigned int i, unsigned int j) |
Acessor for matrices elements. | |
double & | operator[] (int i) |
Accessor for Tait-Brayan angles. | |
double & | operator[] (T3DBryanIndex i) |
T3D (T3DType type, int flags, T3DError error, const double *d1=0x0, const double *d2=0x0) | |
T3D constructor. | |
T3D (T3DType type=T3D_MATRIX, int flags=0) | |
T3D constructor. | |
T3D (const T3D *t3d) | |
T3D constructor. | |
T3D (const T3DMatrix &m) | |
T3D (double _yaw, double _pitch, double _roll, double _x, double _y, double _z) | |
T3DBryan constructor. | |
T3D & | convertTo (T3DType type) |
Convert a T3D into another representation. | |
T3D & | invert (void) |
Invert a T3D. | |
T3D | operator~ (void) const |
Inverse of a T3D. | |
T3D | operator* (T3D &t3d) |
Composition of two T3D. |
Convert a R3D into another representation.
[in] | type | Type to convert to. |
Convert a T3D into another representation.
[in] | type | Type to convert to. |
R3D & invert | ( | void | ) | [inline] |
T3D & invert | ( | void | ) | [inline] |
double & operator() | ( | unsigned int | i, |
unsigned int | j | ||
) | [inline] |
Acessor for matrices elements.
The function return the element (i,j) of the homogeneous matrix.
[in] | i,j | Matrix element indices. |
double & operator[] | ( | unsigned int | i | ) | [inline] |
Acessor for matrices elements.
The function return the element i of the homogeneous matrix. Elements are numbered in 'row-major' mode.
[in] | i | Matrix element number. |
double & operator[] | ( | int | i | ) | [inline] |
Accessor for Tait-Brayan angles.
[in] | i | Angle number, |
double & operator[] | ( | T3DBryanIndex | i | ) | [inline] |
Accessor for Tait-Brayan angles.
[in] | i | Angle number, |
R3D operator~ | ( | void | ) | [inline] |
T3D operator~ | ( | void | ) | const [inline] |
R3D | ( | T3DType | _type, |
int | _flags, | ||
T3DError | error, | ||
const double * | d1 = 0x0 , |
||
const double * | d2 = 0x0 |
||
) | [inline] |
R3D constructor.
Initialize a 3D rotation to Identity.
[in] | type | Internal representation. |
[in] | flags | Optional parameters to alter the default behavior |
R3D constructor.
Initialize a 3D rotation to Identity.
[in] | type | Internal representation. |
[in] | flags | Optional parameters to alter the default behavior |
T3D | ( | T3DType | _type, |
int | _flags, | ||
T3DError | error, | ||
const double * | d1 = 0x0 , |
||
const double * | d2 = 0x0 |
||
) | [inline] |
T3D constructor.
Initialize a 3D transformation to Identity.
[in] | type | Internal representation. |
[in] | flags | Optional parameters to alter the default behavior |
T3D constructor.
Initialize a 3D transformation to Identity.
[in] | type | Internal representation. |
[in] | flags | Optional parameters to alter the default behavior |
T3D constructor.
Initialize a 3D transformation equal to t3d.
[in] | t3d | Copied transformation. |
T3D constructor.
Initialize a 3D transformation equal to t3d.
[in] | t3d | Copied transformation. |
T3D | ( | double | yaw, |
double | pitch, | ||
double | roll, | ||
double | x, | ||
double | y, | ||
double | z | ||
) | [inline] |
T3DBryan constructor.
Initialize a 3D transformation with the given angles and translations.
[in] | yaw | Rotation around Z. |
[in] | pitch | Rotation around Y. |
[in] | roll | Rotation around X. |
[in] | x | Translation along X. |
[in] | y | Translation along Y. |
[in] | z | Translation along Z. |