MipBaselib::Roto3DHomoArma Class Reference

#include <R3Arma.h>

List of all members.

Public Member Functions

 Roto3DHomoArma (CanonicalArmaMatrix init=ZERO_ARMA_MATRIX)
 Default constructor.
 Roto3DHomoArma (const Decimal &a11, const Decimal &a12, const Decimal &a13, const Decimal &a21, const Decimal &a22, const Decimal &a23, const Decimal &a31, const Decimal &a32, const Decimal &a33)
 Complete constructor.
 Roto3DHomoArma (const Decimal &a11, const Decimal &a12, const Decimal &a13, const Decimal &a21, const Decimal &a22, const Decimal &a23, const Decimal &a31, const Decimal &a32, const Decimal &a33, const Decimal &x, const Decimal &y, const Decimal &z)
 Complete constructor.
 Roto3DHomoArma (const Decimal &a11, const Decimal &a12, const Decimal &a13, const Decimal &a21, const Decimal &a22, const Decimal &a23, const Decimal &a31, const Decimal &a32, const Decimal &a33, const arma::Col< Decimal >::fixed< 3 > &trasl)
 Complete constructor.
 Roto3DHomoArma (const Decimal &roll, const Decimal &pitch, const Decimal &yaw)
 Constructor with roll pitch yaw.
 Roto3DHomoArma (const Decimal &roll, const Decimal &pitch, const Decimal &yaw, const Decimal &x, const Decimal &y, const Decimal &z)
 Constructor with roll pitch yaw and translation mode.
 Roto3DHomoArma (const Roto3DHomoArma &A)
 Copy constructor.
 Roto3DHomoArma (const arma::Mat< Decimal >::fixed< 4, 4 > &rhs)
 Complete constructor.
 Roto3DHomoArma (const Roto3DArma &other)
 Orientation constructor.
 Roto3DHomoArma (const Roto3DArma &other, const Decimal &x, const Decimal &y, const Decimal &z)
 Complete constructor.
 Roto3DHomoArma (const Roto3DArma &other, const arma::Col< Decimal >::fixed< 3 > &trasl)
 Complete constructor.
Roto3DHomoArmaoperator= (const Roto3DHomoArma &rhs)
 Assignment operator.
Roto3DHomoArmaoperator= (const arma::Mat< Decimal >::fixed< 4, 4 > &rhs)
 Assignment operator.
Roto3DHomoArmaoperator+= (const Roto3DHomoArma &pos)
 Compound assignment operator product by a another Roto3DHomoArma pos +=.
Roto3DHomoArma operator+ (Roto3DHomoArma &other) const
 Binary arithmetic operator element-wise Roto3DHomoArma.
Roto3DHomoArma operator- (Roto3DHomoArma &other) const
 Binary arithmetic operator element-wise Roto3DHomoArma.
Roto3DHomoArmaoperator-= (const Roto3DHomoArma &pos)
 Compound assignment operator product by a another Roto3DHomoArma pos -=.
Roto3DHomoArmaoperator*= (const Roto3DHomoArma &pos)
 Compound assignment operator product by a another Roto3DHomoArma pos *=.
Roto3DHomoArmaoperator*= (const Decimal &scalar)
 Compound assignment operator product by a scalar *.
Roto3DHomoArma operator* (Roto3DHomoArma &other) const
 Binary arithmetic operator element-wise scalar.
Roto3DHomoArmaoperator/= (const Roto3DHomoArma &pos)
 Compound assignment operator product by a another Roto3DHomoArma pos *=.
Roto3DHomoArmaoperator/= (const Decimal &scalar)
 Compound assignment operator product by a scalar *.
Roto3DHomoArma operator/ (Roto3DHomoArma &other) const
 Binary arithmetic operator element-wise scalar.
string print ()
 Print.
Roto3DHomoArma 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 (const Roto3DArma &rhs)
 Set the rotational matrix.
void setPosition (const Position3DArma &rhs)
 Set the rotational matrix.
arma::Col< Decimal >::fixed< 3 > getTraslation ()
 Return the translation.
Position3DArma getTraslation3DArma () const
 Return the translation.
arma::Mat< Decimal >::fixed< 3, 3 > getRotation ()
 Return the translation.
Roto3DArma getRotation3DArma () const
 Return the rotation.
Decimal getRoll () const
 Get the actual roll angle.
Angle getRollAngle () const
 Get the actual roll angle.
Decimal getPitch () const
 Get the actual pitch angle.
Angle getPitchAngle () const
 Get the actual pitch angle.
Decimal getYaw () const
 Get the actual yaw angle.
Angle getYawAngle () const
 Get the actual yaw angle.


Constructor & Destructor Documentation

Roto3DHomoArma::Roto3DHomoArma ( CanonicalArmaMatrix  init = ZERO_ARMA_MATRIX  ) 

Default constructor.

Roto3DHomoArma::Roto3DHomoArma ( const Decimal a11,
const Decimal a12,
const Decimal a13,
const Decimal a21,
const Decimal a22,
const Decimal a23,
const Decimal a31,
const Decimal a32,
const Decimal a33 
)

Complete constructor.

Roto3DHomoArma::Roto3DHomoArma ( const Decimal a11,
const Decimal a12,
const Decimal a13,
const Decimal a21,
const Decimal a22,
const Decimal a23,
const Decimal a31,
const Decimal a32,
const Decimal a33,
const Decimal x,
const Decimal y,
const Decimal z 
)

Complete constructor.

Roto3DHomoArma::Roto3DHomoArma ( const Decimal a11,
const Decimal a12,
const Decimal a13,
const Decimal a21,
const Decimal a22,
const Decimal a23,
const Decimal a31,
const Decimal a32,
const Decimal a33,
const arma::Col< Decimal >::fixed< 3 > &  trasl 
)

Complete constructor.

Roto3DHomoArma::Roto3DHomoArma ( const Decimal roll,
const Decimal pitch,
const Decimal yaw 
)

Constructor with roll pitch yaw.

Roto3DHomoArma::Roto3DHomoArma ( const Decimal roll,
const Decimal pitch,
const Decimal yaw,
const Decimal x,
const Decimal y,
const Decimal z 
)

Constructor with roll pitch yaw and translation mode.

Roto3DHomoArma::Roto3DHomoArma ( const Roto3DHomoArma A  ) 

Copy constructor.

Roto3DHomoArma::Roto3DHomoArma ( const arma::Mat< Decimal >::fixed< 4, 4 > &  rhs  ) 

Complete constructor.

Roto3DHomoArma::Roto3DHomoArma ( const Roto3DArma other  ) 

Orientation constructor.

Roto3DHomoArma::Roto3DHomoArma ( const Roto3DArma other,
const Decimal x,
const Decimal y,
const Decimal z 
)

Complete constructor.

Roto3DHomoArma::Roto3DHomoArma ( const Roto3DArma other,
const arma::Col< Decimal >::fixed< 3 > &  trasl 
)

Complete constructor.


Member Function Documentation

Roto3DHomoArma & Roto3DHomoArma::operator= ( const Roto3DHomoArma rhs  ) 

Assignment operator.

Roto3DHomoArma & Roto3DHomoArma::operator= ( const arma::Mat< Decimal >::fixed< 4, 4 > &  rhs  ) 

Assignment operator.

Roto3DHomoArma & Roto3DHomoArma::operator+= ( const Roto3DHomoArma pos  ) 

Compound assignment operator product by a another Roto3DHomoArma pos +=.

Roto3DHomoArma Roto3DHomoArma::operator+ ( Roto3DHomoArma other  )  const

Binary arithmetic operator element-wise Roto3DHomoArma.

Roto3DHomoArma Roto3DHomoArma::operator- ( Roto3DHomoArma other  )  const

Binary arithmetic operator element-wise Roto3DHomoArma.

Roto3DHomoArma & Roto3DHomoArma::operator-= ( const Roto3DHomoArma pos  ) 

Compound assignment operator product by a another Roto3DHomoArma pos -=.

Roto3DHomoArma & Roto3DHomoArma::operator*= ( const Roto3DHomoArma pos  ) 

Compound assignment operator product by a another Roto3DHomoArma pos *=.

Roto3DHomoArma & Roto3DHomoArma::operator*= ( const Decimal scalar  ) 

Compound assignment operator product by a scalar *.

Roto3DHomoArma Roto3DHomoArma::operator* ( Roto3DHomoArma other  )  const

Binary arithmetic operator element-wise scalar.

Roto3DHomoArma & Roto3DHomoArma::operator/= ( const Roto3DHomoArma pos  ) 

Compound assignment operator product by a another Roto3DHomoArma pos *=.

Roto3DHomoArma & Roto3DHomoArma::operator/= ( const Decimal scalar  ) 

Compound assignment operator product by a scalar *.

Roto3DHomoArma Roto3DHomoArma::operator/ ( Roto3DHomoArma other  )  const

Binary arithmetic operator element-wise scalar.

string Roto3DHomoArma::print (  ) 

Print.

Roto3DHomoArma Roto3DHomoArma::invMatrix (  ) 

Return the inverse matrix using armadillo libraries.

Returns:
Inverse matrix

Decimal Roto3DHomoArma::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 Roto3DHomoArma::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 Roto3DHomoArma::setRotation ( const Roto3DArma rhs  ) 

Set the rotational matrix.

void Roto3DHomoArma::setPosition ( const Position3DArma rhs  ) 

Set the rotational matrix.

arma::Col< Decimal >::fixed< 3 > Roto3DHomoArma::getTraslation (  ) 

Return the translation.

Returns:
Translation. First three component of the last column

Position3DArma Roto3DHomoArma::getTraslation3DArma (  )  const

Return the translation.

Returns:
Translation. First three component of the last column

arma::Mat< Decimal >::fixed< 3, 3 > Roto3DHomoArma::getRotation (  ) 

Return the translation.

Returns:
Rotation. 3x3 matrix

Roto3DArma Roto3DHomoArma::getRotation3DArma (  )  const

Return the rotation.

Returns:
Rotation. 3x3 matrix

Decimal Roto3DHomoArma::getRoll (  )  const

Get the actual roll angle.

Returns:
Roll angle

Angle Roto3DHomoArma::getRollAngle (  )  const

Get the actual roll angle.

Returns:
Roll angle

Decimal Roto3DHomoArma::getPitch (  )  const

Get the actual pitch angle.

Returns:
Pitch angle

Angle Roto3DHomoArma::getPitchAngle (  )  const

Get the actual pitch angle.

Returns:
Pitch angle

Decimal Roto3DHomoArma::getYaw (  )  const

Get the actual yaw angle.

Returns:
Yaw angle

Angle Roto3DHomoArma::getYawAngle (  )  const

Get the actual yaw angle.

Returns:
Yaw angle


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