argos::CTransformationMatrix2 Class Reference

#include <transformationmatrix2.h>

Inheritance diagram for argos::CTransformationMatrix2:
Collaboration diagram for argos::CTransformationMatrix2:

Public Member Functions

 CTransformationMatrix2 ()
 
 CTransformationMatrix2 (const CMatrix< 3, 3 > &c_matrix)
 
 CTransformationMatrix2 (const CRotationMatrix2 &c_rotation, const CVector2 &c_translation)
 
 CTransformationMatrix2 (Real f_value0, Real f_value1, Real f_value2, Real f_value3, Real f_value4, Real f_value5, Real f_value6, Real f_value7, Real f_value8)
 
void SetFromMatrix (const CMatrix< 3, 3 > &c_matrix)
 
void SetFromComponents (const CRotationMatrix2 &c_rotation, const CVector2 &c_translation)
 
void SetFromValues (Real f_value0, Real f_value1, Real f_value2, Real f_value3, Real f_value4, Real f_value5, Real f_value6, Real f_value7, Real f_value8)
 
void SetRotationMatrix (const CRotationMatrix2 &c_rotation)
 
CRotationMatrix2 GetRotationMatrix () const
 
void SetTranslationVector (const CVector2 &c_translation)
 
CVector2 GetTranslationVector () const
 
- Public Member Functions inherited from argos::CSquareMatrix< 3 >
 CSquareMatrix ()
 
 CSquareMatrix (const CMatrix< DIM, DIM > &c_other)
 
void SetIdentityMatrix ()
 
bool IsIdentityMatrix ()
 
Real GetDeterminant () const
 
CSquareMatrix< DIM > GetCofactorMatrix () const
 Find the cofactor matrix. More...
 
CSquareMatrix< DIM > GetTransposed () const
 
CSquareMatrix< DIM > GetInverse () const
 
- Public Member Functions inherited from argos::CMatrix< DIM, DIM >
 CMatrix ()
 
 CMatrix (const Real *pf_values)
 
 CMatrix (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator= (const CMatrix< ROWS, COLS > &c_matrix)
 
Realoperator() (UInt32 un_row, UInt32 un_col)
 
Real operator() (UInt32 un_row, UInt32 un_col) const
 
Real operator() (UInt32 un_idx) const
 
Realoperator() (UInt32 un_idx)
 
void Set (const Real *f_values)
 
void SetZero ()
 
CMatrix< COLS, ROWS > GetTransposed () const
 
void GetSubMatrix (CMatrix< SMROWS, SMCOLS > &c_sub_matrix, UInt32 un_offset_row, UInt32 un_offset_col) const
 
bool operator== (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > & operator+= (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator-= (const CMatrix< ROWS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > & operator*= (Real f_scale)
 
CMatrix< ROWS, COLS > & operator*= (const CMatrix< COLS, COLS > &c_matrix)
 
CMatrix< ROWS, COLS > operator+ (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > operator- (const CMatrix< ROWS, COLS > &c_matrix) const
 
CMatrix< ROWS, COLS > operator- () const
 
CMatrix< ROWS, OTRCOLS > operator* (const CMatrix< COLS, OTRCOLS > &c_matrix) const
 

Additional Inherited Members

- Protected Attributes inherited from argos::CMatrix< DIM, DIM >
Real m_pfValues [ROWS *COLS]
 

Detailed Description

Definition at line 21 of file transformationmatrix2.h.

Constructor & Destructor Documentation

argos::CTransformationMatrix2::CTransformationMatrix2 ( )
inline

Definition at line 24 of file transformationmatrix2.h.

argos::CTransformationMatrix2::CTransformationMatrix2 ( const CMatrix< 3, 3 > &  c_matrix)
inline

Definition at line 28 of file transformationmatrix2.h.

argos::CTransformationMatrix2::CTransformationMatrix2 ( const CRotationMatrix2 c_rotation,
const CVector2 c_translation 
)
inline

Definition at line 32 of file transformationmatrix2.h.

argos::CTransformationMatrix2::CTransformationMatrix2 ( Real  f_value0,
Real  f_value1,
Real  f_value2,
Real  f_value3,
Real  f_value4,
Real  f_value5,
Real  f_value6,
Real  f_value7,
Real  f_value8 
)
inline

Definition at line 36 of file transformationmatrix2.h.

Member Function Documentation

CRotationMatrix2 argos::CTransformationMatrix2::GetRotationMatrix ( ) const

Definition at line 70 of file transformationmatrix2.cpp.

CVector2 argos::CTransformationMatrix2::GetTranslationVector ( ) const

Definition at line 86 of file transformationmatrix2.cpp.

void argos::CTransformationMatrix2::SetFromComponents ( const CRotationMatrix2 c_rotation,
const CVector2 c_translation 
)

Definition at line 19 of file transformationmatrix2.cpp.

void argos::CTransformationMatrix2::SetFromMatrix ( const CMatrix< 3, 3 > &  c_matrix)

Definition at line 30 of file transformationmatrix2.cpp.

void argos::CTransformationMatrix2::SetFromValues ( Real  f_value0,
Real  f_value1,
Real  f_value2,
Real  f_value3,
Real  f_value4,
Real  f_value5,
Real  f_value6,
Real  f_value7,
Real  f_value8 
)

Definition at line 45 of file transformationmatrix2.cpp.

void argos::CTransformationMatrix2::SetRotationMatrix ( const CRotationMatrix2 c_rotation)

Definition at line 62 of file transformationmatrix2.cpp.

void argos::CTransformationMatrix2::SetTranslationVector ( const CVector2 c_translation)

Definition at line 78 of file transformationmatrix2.cpp.