MipBaselib::Pose3DArma Class Reference

#include <R3Arma.h>

List of all members.

Public Member Functions

 Pose3DArma ()
 Default constructor.
 Pose3DArma (const Decimal &x, const Decimal &y, const Decimal &z, const Angle &roll, const Angle &pitch, const Angle &yaw)
 Complete constructor.
 Pose3DArma (const Position3DArma &pos, const Orientation3D &ori)
 Complete constructor.
 Pose3DArma (const Position3DArma &pos, const Angle &roll, const Angle &pitch, const Angle &yaw)
 Complete constructor.
 Pose3DArma (const Decimal &x, const Decimal &y, const Decimal &z, const Orientation3D &ori)
 Complete constructor.
 Pose3DArma (Pose3D &pos)
 Copy constructor.
 Pose3DArma (const Pose3DArma &pos)
 Copy constructor.
Pose3DArmaoperator= (Pose3D &rhs)
 Assignment operator.
Pose3DArmaoperator= (const Pose3DArma &rhs)
 Assignment operator.
Pose3DArmaoperator+= (const Pose3DArma &a)
 Operator +=.
const Pose3DArma operator+ (const Pose3DArma &other) const
 Operator +=.
Pose3DArmaoperator-= (const Pose3DArma &a)
 Operator -=.
const Pose3DArma operator- (const Pose3DArma &other) const
 Operator -.
bool operator== (const Pose3DArma &other) const
 Operator ==.
bool operator!= (const Pose3DArma &other) const
 Operator !=.
Pose3DArmaoperator*= (const arma::Mat< Decimal >::fixed< 3, 3 > &rhs)
 Multiply for a rotation matrix.
Pose3DArma operator* (const arma::Mat< Decimal >::fixed< 3, 3 > &rhs) const
 Operator *.
Pose3DArmaoperator*= (const arma::Mat< Decimal >::fixed< 4, 4 > &rhs)
 Multiply for a rotation matrix.
Pose3DArma operator* (const arma::Mat< Decimal >::fixed< 4, 4 > &rhs) const
 Operator *.
Position3DArma getPos ()
 Get the current position.
Decimal getX () const
 Get the current position on x axis.
Decimal getY () const
 Get the current position on y axis.
Decimal getZ () const
 Get the current position on z axis.
Angle getRollAngle () const
 Get the current roll.
Angle getPitchAngle () const
 Get the current pitch.
Angle getYawAngle () const
 Get the current yaw.
Decimal getRoll () const
 Get the current roll.
Decimal getPitch () const
 Get the current pitch.
Decimal getYaw () const
 Get the current yaw.
Decimal getAzimuth () const
 Get the current azimuth.
Angle getAzimuthAngle () const
 Get the current azimuth.
Decimal getZenith () const
 Get the current zenith.
Angle getZenithAngle () const
 Get the current zenith.
Decimal norm (int p=2) const
 Get the current norm.
Orientation3D getOri ()
 Get the current orientation.
void setPos (const Position3DArma &pos)
 Set the current position.
void setX (const Decimal &x)
 Set the current position x component.
void setY (const Decimal &y)
 Set the current position y component.
void setZ (const Decimal &z)
 Set the current position z component.
void setOri (const Orientation3D &ori)
 Set the current position.
void setRoll (const Angle &roll)
 Set the current orientation roll.
void setRoll (const Decimal &roll)
 Set the current orientation roll.
void setPitch (const Angle &pitch)
 Set the current orientation pitch.
void setPitch (const Decimal &pitch)
 Set the current orientation pitch.
void setYaw (const Angle &yaw)
 Set the current orientation yaw.
void setYaw (const Decimal &yaw)
 Set the current orientation yaw.
Pose2DArma getPose2D ()
 Get the Pose2D.
string print ()
 Print function.


Constructor & Destructor Documentation

Pose3DArma::Pose3DArma (  ) 

Default constructor.

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

Complete constructor.

Pose3DArma::Pose3DArma ( const Position3DArma pos,
const Orientation3D ori 
)

Complete constructor.

Pose3DArma::Pose3DArma ( const Position3DArma pos,
const Angle roll,
const Angle pitch,
const Angle yaw 
)

Complete constructor.

Pose3DArma::Pose3DArma ( const Decimal x,
const Decimal y,
const Decimal z,
const Orientation3D ori 
)

Complete constructor.

Pose3DArma::Pose3DArma ( Pose3D pos  ) 

Copy constructor.

Pose3DArma::Pose3DArma ( const Pose3DArma pos  ) 

Copy constructor.


Member Function Documentation

Pose3DArma & Pose3DArma::operator= ( Pose3D rhs  ) 

Assignment operator.

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

Assignment operator.

Pose3DArma & Pose3DArma::operator+= ( const Pose3DArma a  ) 

Operator +=.

const Pose3DArma Pose3DArma::operator+ ( const Pose3DArma other  )  const

Operator +=.

Pose3DArma & Pose3DArma::operator-= ( const Pose3DArma a  ) 

Operator -=.

const Pose3DArma Pose3DArma::operator- ( const Pose3DArma other  )  const

Operator -.

bool Pose3DArma::operator== ( const Pose3DArma other  )  const

Operator ==.

bool Pose3DArma::operator!= ( const Pose3DArma other  )  const

Operator !=.

Pose3DArma & Pose3DArma::operator*= ( const arma::Mat< Decimal >::fixed< 3, 3 > &  rhs  ) 

Multiply for a rotation matrix.

Pose3DArma Pose3DArma::operator* ( const arma::Mat< Decimal >::fixed< 3, 3 > &  rhs  )  const

Operator *.

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

Multiply for a rotation matrix.

Pose3DArma Pose3DArma::operator* ( const arma::Mat< Decimal >::fixed< 4, 4 > &  rhs  )  const

Operator *.

Position3DArma Pose3DArma::getPos (  ) 

Get the current position.

Returns:
Current position

Decimal Pose3DArma::getX (  )  const

Get the current position on x axis.

Returns:
Current X position

Decimal Pose3DArma::getY (  )  const

Get the current position on y axis.

Returns:
Current Y position

Decimal Pose3DArma::getZ (  )  const

Get the current position on z axis.

Returns:
Current Z position

Angle Pose3DArma::getRollAngle (  )  const

Get the current roll.

Returns:
Current roll

Angle Pose3DArma::getPitchAngle (  )  const

Get the current pitch.

Returns:
Current pitch

Angle Pose3DArma::getYawAngle (  )  const

Get the current yaw.

Returns:
Current yaw

Decimal Pose3DArma::getRoll (  )  const

Get the current roll.

Returns:
Current roll

Decimal Pose3DArma::getPitch (  )  const

Get the current pitch.

Returns:
Current pitch

Decimal Pose3DArma::getYaw (  )  const

Get the current yaw.

Returns:
Current yaw

Decimal Pose3DArma::getAzimuth (  )  const

Get the current azimuth.

Returns:
Current azimuth

Angle Pose3DArma::getAzimuthAngle (  )  const

Get the current azimuth.

Returns:
Current azimuth

Decimal Pose3DArma::getZenith (  )  const

Get the current zenith.

Returns:
Current azimuth

Angle Pose3DArma::getZenithAngle (  )  const

Get the current zenith.

Returns:
Current azimuth

Decimal Pose3DArma::norm ( int  p = 2  )  const

Get the current norm.

Parameters:
[in] p Order of the norm
Returns:
Current norm

Orientation3D Pose3DArma::getOri (  ) 

Get the current orientation.

Returns:
Current orientation

void Pose3DArma::setPos ( const Position3DArma pos  ) 

Set the current position.

Parameters:
[in] pos Position to set

void Pose3DArma::setX ( const Decimal x  ) 

Set the current position x component.

Parameters:
[in] x X to set

void Pose3DArma::setY ( const Decimal y  ) 

Set the current position y component.

Parameters:
[in] y Y to set

void Pose3DArma::setZ ( const Decimal z  ) 

Set the current position z component.

Parameters:
[in] z Z to set

void Pose3DArma::setOri ( const Orientation3D ori  ) 

Set the current position.

Parameters:
[in] ori Orientation to set

void Pose3DArma::setRoll ( const Angle roll  ) 

Set the current orientation roll.

Parameters:
[in] roll Roll to set

void Pose3DArma::setRoll ( const Decimal roll  ) 

Set the current orientation roll.

Parameters:
[in] roll Roll to set

void Pose3DArma::setPitch ( const Angle pitch  ) 

Set the current orientation pitch.

Parameters:
[in] pitch Pitch to set

void Pose3DArma::setPitch ( const Decimal pitch  ) 

Set the current orientation pitch.

Parameters:
[in] pitch Pitch to set

void Pose3DArma::setYaw ( const Angle yaw  ) 

Set the current orientation yaw.

Parameters:
[in] yaw Yaw to set

void Pose3DArma::setYaw ( const Decimal yaw  ) 

Set the current orientation yaw.

Parameters:
[in] yaw Yaw to set

Pose2DArma Pose3DArma::getPose2D (  ) 

Get the Pose2D.

Returns:
Pose in 2D

string Pose3DArma::print (  ) 

Print function.


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