MipBaselib::Roto2DHomoArma Class Reference

#include <R2Arma.h>

List of all members.

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.
Roto2DHomoArmaoperator= (const Roto2DHomoArma &rhs)
 Assignment operator.
Roto2DHomoArmaoperator= (const arma::Mat< Decimal >::fixed< 3, 3 > &rhs)
 Assignment operator.
Roto2DHomoArmaoperator+= (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.
Roto2DHomoArmaoperator-= (const Roto2DHomoArma &pos)
 Compound assignment operator product by a another Position2DArma pos -=.
Roto2DHomoArmaoperator*= (const Roto2DHomoArma &pos)
 Compound assignment operator product by a another Position2DArma pos *=.
Roto2DHomoArmaoperator*= (const Decimal &scalar)
 Compound assignment operator product by a scalar *.
Roto2DHomoArma operator* (Roto2DHomoArma &other) const
 Binary arithmetic operator element-wise scalar.
Roto2DHomoArmaoperator/= (const Roto2DHomoArma &pos)
 Compound assignment operator product by a another Position2DArma pos *=.
Roto2DHomoArmaoperator/= (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.


Constructor & Destructor Documentation

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.

Roto2DHomoArma::Roto2DHomoArma ( const Decimal yaw,
const Decimal x,
const Decimal y 
)

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.


Member Function Documentation

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.

Returns:
Inverse matrix

Decimal Roto2DHomoArma::getElem ( int  r,
int  c 
) const

Return the element in position [r,c] starting from [0,0].

Parameters:
[in] r Row of the element one wants to find
[in] c Column of the element one wants to find
Returns:
Element in position [r,c]

void Roto2DHomoArma::setElem ( int  r,
int  c,
const Decimal item 
)

Set the element in position [r,c] starting from [0,0].

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

Returns:
Yaw angle

Angle Roto2DHomoArma::getYawAngle (  )  const

Get the yaw angle.

Returns:
Yaw angle

arma::Col< Decimal >::fixed< 2 > Roto2DHomoArma::getTraslation (  ) 

Return the translation.

Returns:
Translation. Last three component of the last column

arma::Mat< Decimal >::fixed< 2, 2 > Roto2DHomoArma::getRotation (  ) 

Return the translation.

Returns:
Rotation. 2x2 matrix

Position2DArma Roto2DHomoArma::getTraslation2DArma (  ) 

Return the translation.

Returns:
Translation. Last three component of the last column

Roto2DArma Roto2DHomoArma::getRotation2DArma (  ) 

Return the translation.

Returns:
Translation. 2x2 matrix


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

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6