#include <R2Arma.h>
Public Member Functions | |
| Roto2DHomoArma (CanonicalArmaMatrix init=ZERO_ARMA_MATRIX) | |
| Default constructor. | |
| Roto2DHomoArma (const Decimal &a11, const Decimal &a12, const Decimal &a21, const Decimal &a22) | |
| Complete constructor. | |
| Roto2DHomoArma (const Decimal &a11, const Decimal &a12, const Decimal &a21, const Decimal &a22, const Decimal &x, const Decimal &y) | |
| Complete constructor. | |
| Roto2DHomoArma (const Decimal &a11, const Decimal &a12, const Decimal &a21, const Decimal &a22, const arma::Col< Decimal >::fixed< 2 > &trasl) | |
| Complete constructor. | |
| Roto2DHomoArma (const Decimal &yaw) | |
| Constructor with roll pitch yaw. | |
| Roto2DHomoArma (const Decimal &yaw, const Decimal &x, const Decimal &y) | |
| Constructor with roll pitch yaw and translation mode. | |
| Roto2DHomoArma (const Roto2DHomoArma &A) | |
| Copy constructor. | |
| Roto2DHomoArma (const arma::Mat< Decimal >::fixed< 3, 3 > &rhs) | |
| Complete constructor. | |
| Roto2DHomoArma (const Roto2DArma &other) | |
| Orientation constructor. | |
| Roto2DHomoArma (const Roto2DArma &other, const Decimal &x, const Decimal &y) | |
| Complete constructor. | |
| Roto2DHomoArma (const Roto2DArma &other, const arma::Col< Decimal >::fixed< 2 > &trasl) | |
| Complete constructor. | |
| Roto2DHomoArma & | operator= (const Roto2DHomoArma &rhs) |
| Assignment operator. | |
| Roto2DHomoArma & | operator= (const arma::Mat< Decimal >::fixed< 3, 3 > &rhs) |
| Assignment operator. | |
| Roto2DHomoArma & | operator+= (const Roto2DHomoArma &pos) |
| Compound assignment operator product by a another Position2DArma pos +=. | |
| Roto2DHomoArma | operator+ (Roto2DHomoArma &other) const |
| Binary arithmetic operator element-wise Position2DArma. | |
| Roto2DHomoArma | operator- (Roto2DHomoArma &other) const |
| Binary arithmetic operator element-wise Position2DArma. | |
| Roto2DHomoArma & | operator-= (const Roto2DHomoArma &pos) |
| Compound assignment operator product by a another Position2DArma pos -=. | |
| Roto2DHomoArma & | operator*= (const Roto2DHomoArma &pos) |
| Compound assignment operator product by a another Position2DArma pos *=. | |
| Roto2DHomoArma & | operator*= (const Decimal &scalar) |
| Compound assignment operator product by a scalar *. | |
| Roto2DHomoArma | operator* (Roto2DHomoArma &other) const |
| Binary arithmetic operator element-wise scalar. | |
| Roto2DHomoArma & | operator/= (const Roto2DHomoArma &pos) |
| Compound assignment operator product by a another Position2DArma pos *=. | |
| Roto2DHomoArma & | operator/= (const Decimal &scalar) |
| Compound assignment operator product by a scalar *. | |
| Roto2DHomoArma | operator/ (Roto2DHomoArma &other) const |
| Binary arithmetic operator element-wise scalar. | |
| string | print () |
| Print. | |
| Roto2DHomoArma | invMatrix () |
| Return the inverse matrix using armadillo libraries. | |
| Decimal | getElem (int r, int c) const |
| Return the element in position [r,c] starting from [0,0]. | |
| void | setElem (int r, int c, const Decimal &item) |
| Set the element in position [r,c] starting from [0,0]. | |
| void | setRotation (Roto2DArma &rhs) |
| Set the rotational matrix. | |
| Decimal | getYaw () const |
| Get the yaw angle. | |
| Angle | getYawAngle () const |
| Get the yaw angle. | |
| arma::Col< Decimal >::fixed< 2 > | getTraslation () |
| Return the translation. | |
| arma::Mat< Decimal >::fixed< 2, 2 > | getRotation () |
| Return the translation. | |
| Position2DArma | getTraslation2DArma () |
| Return the translation. | |
| Roto2DArma | getRotation2DArma () |
| Return the translation. | |
| Roto2DHomoArma::Roto2DHomoArma | ( | CanonicalArmaMatrix | init = ZERO_ARMA_MATRIX |
) |
Default constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Decimal & | a11, | |
| const Decimal & | a12, | |||
| const Decimal & | a21, | |||
| const Decimal & | a22 | |||
| ) |
Complete constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Decimal & | a11, | |
| const Decimal & | a12, | |||
| const Decimal & | a21, | |||
| const Decimal & | a22, | |||
| const Decimal & | x, | |||
| const Decimal & | y | |||
| ) |
Complete constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Decimal & | a11, | |
| const Decimal & | a12, | |||
| const Decimal & | a21, | |||
| const Decimal & | a22, | |||
| const arma::Col< Decimal >::fixed< 2 > & | trasl | |||
| ) |
Complete constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Decimal & | yaw | ) |
Constructor with roll pitch yaw.
Constructor with roll pitch yaw and translation mode.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Roto2DHomoArma & | A | ) |
Copy constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const arma::Mat< Decimal >::fixed< 3, 3 > & | rhs | ) |
Complete constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Roto2DArma & | other | ) |
Orientation constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Roto2DArma & | other, | |
| const Decimal & | x, | |||
| const Decimal & | y | |||
| ) |
Complete constructor.
| Roto2DHomoArma::Roto2DHomoArma | ( | const Roto2DArma & | other, | |
| const arma::Col< Decimal >::fixed< 2 > & | trasl | |||
| ) |
Complete constructor.
| Roto2DHomoArma & Roto2DHomoArma::operator= | ( | const Roto2DHomoArma & | rhs | ) |
Assignment operator.
| Roto2DHomoArma & Roto2DHomoArma::operator= | ( | const arma::Mat< Decimal >::fixed< 3, 3 > & | rhs | ) |
Assignment operator.
| Roto2DHomoArma & Roto2DHomoArma::operator+= | ( | const Roto2DHomoArma & | pos | ) |
Compound assignment operator product by a another Position2DArma pos +=.
| Roto2DHomoArma Roto2DHomoArma::operator+ | ( | Roto2DHomoArma & | other | ) | const |
Binary arithmetic operator element-wise Position2DArma.
| Roto2DHomoArma Roto2DHomoArma::operator- | ( | Roto2DHomoArma & | other | ) | const |
Binary arithmetic operator element-wise Position2DArma.
| Roto2DHomoArma & Roto2DHomoArma::operator-= | ( | const Roto2DHomoArma & | pos | ) |
Compound assignment operator product by a another Position2DArma pos -=.
| Roto2DHomoArma & Roto2DHomoArma::operator*= | ( | const Roto2DHomoArma & | pos | ) |
Compound assignment operator product by a another Position2DArma pos *=.
| Roto2DHomoArma & Roto2DHomoArma::operator*= | ( | const Decimal & | scalar | ) |
Compound assignment operator product by a scalar *.
| Roto2DHomoArma Roto2DHomoArma::operator* | ( | Roto2DHomoArma & | other | ) | const |
Binary arithmetic operator element-wise scalar.
| Roto2DHomoArma & Roto2DHomoArma::operator/= | ( | const Roto2DHomoArma & | pos | ) |
Compound assignment operator product by a another Position2DArma pos *=.
| Roto2DHomoArma & Roto2DHomoArma::operator/= | ( | const Decimal & | scalar | ) |
Compound assignment operator product by a scalar *.
| Roto2DHomoArma Roto2DHomoArma::operator/ | ( | Roto2DHomoArma & | other | ) | const |
Binary arithmetic operator element-wise scalar.
| string Roto2DHomoArma::print | ( | ) |
Print.
| Roto2DHomoArma Roto2DHomoArma::invMatrix | ( | ) |
Return the inverse matrix using armadillo libraries.
| Decimal Roto2DHomoArma::getElem | ( | int | r, | |
| int | c | |||
| ) | const |
Return the element in position [r,c] starting from [0,0].
| [in] | r | Row of the element one wants to find |
| [in] | c | Column of the element one wants to find |
| void Roto2DHomoArma::setElem | ( | int | r, | |
| int | c, | |||
| const Decimal & | item | |||
| ) |
Set the element in position [r,c] starting from [0,0].
| [in] | r | Row of the element one wants to set |
| [in] | c | Column of the element one wants to set |
| [in] | item | Element one wants to insert in [r,c] |
| void Roto2DHomoArma::setRotation | ( | Roto2DArma & | rhs | ) |
Set the rotational matrix.
| Decimal Roto2DHomoArma::getYaw | ( | ) | const |
Get the yaw angle.
| Angle Roto2DHomoArma::getYawAngle | ( | ) | const |
Get the yaw angle.
| arma::Col< Decimal >::fixed< 2 > Roto2DHomoArma::getTraslation | ( | ) |
Return the translation.
| arma::Mat< Decimal >::fixed< 2, 2 > Roto2DHomoArma::getRotation | ( | ) |
Return the translation.
| Position2DArma Roto2DHomoArma::getTraslation2DArma | ( | ) |
Return the translation.
| Roto2DArma Roto2DHomoArma::getRotation2DArma | ( | ) |
Return the translation.
1.5.6