Public Member Functions | Private Attributes | List of all members
sbg::SbgMatrix3< T > Class Template Reference

#include <sbg_matrix3.h>

Public Member Functions

const T * data (void) const
 
void makeDcm (const SbgVector3f &euler)
 
void makeDcm (float w, float x, float y, float z)
 
const T operator() (int i, int j) const
 
const SbgVector3< T > operator* (const SbgVector3< T > &vect) const
 
 SbgMatrix3 (void)
 
 SbgMatrix3 (T value00, T value01, T value02, T value10, T value11, T value12, T value20, T value21, T value22)
 
 SbgMatrix3 (const T *p_raw_data, size_t array_size)
 
void transpose (void)
 

Private Attributes

std::array< T, 9 > m_data
 

Detailed Description

template<class T>
class sbg::SbgMatrix3< T >

Definition at line 56 of file sbg_matrix3.h.

Constructor & Destructor Documentation

template<class T >
sbg::SbgMatrix3< T >::SbgMatrix3 ( void  )
inline

Empty constructor.

Definition at line 75 of file sbg_matrix3.h.

template<class T >
sbg::SbgMatrix3< T >::SbgMatrix3 ( value00,
value01,
value02,
value10,
value11,
value12,
value20,
value21,
value22 
)
inline

Constructor.

Parameters
[in]value00Matrix X value.
[in]value01Matrix Y value.
[in]value02Matrix Z value.
[in]value10Matrix X value.
[in]value11Matrix Y value.
[in]value12Matrix Z value.
[in]value20Matrix X value.
[in]value21Matrix Y value.
[in]value22Matrix Z value.

Definition at line 101 of file sbg_matrix3.h.

template<class T >
sbg::SbgMatrix3< T >::SbgMatrix3 ( const T *  p_raw_data,
size_t  array_size 
)
inline

Constructor.

Parameters
[in]p_raw_dataPointer to data array.
[in]array_sizeArray size (Should be defined as 9).

Definition at line 120 of file sbg_matrix3.h.

Member Function Documentation

template<class T >
const T* sbg::SbgMatrix3< T >::data ( void  ) const
inline

Get the raw data of the sbgMatrix.

Returns
Raw vector data.

Definition at line 162 of file sbg_matrix3.h.

template<class T >
void sbg::SbgMatrix3< T >::makeDcm ( const SbgVector3f euler)
inline

Make DCM from euler angles vector

Parameters
[in]vectEuler angles vector.
[in]xQuaternion x value.
[in]yQuaternion y value.
[in]zQuaternion z value.

Definition at line 199 of file sbg_matrix3.h.

template<class T >
void sbg::SbgMatrix3< T >::makeDcm ( float  w,
float  x,
float  y,
float  z 
)
inline

Make DCM from quaternion values

Parameters
[in]wQuaternion w value.
[in]xQuaternion x value.
[in]yQuaternion y value.
[in]zQuaternion z value.

Definition at line 230 of file sbg_matrix3.h.

template<class T >
const T sbg::SbgMatrix3< T >::operator() ( int  i,
int  j 
) const
inline

Getter parenthesis operator.

Parameters
[in]iLine.
[in]jColumn.
Returns
Element at index.

Definition at line 150 of file sbg_matrix3.h.

template<class T >
const SbgVector3<T> sbg::SbgMatrix3< T >::operator* ( const SbgVector3< T > &  vect) const
inline

Definition at line 167 of file sbg_matrix3.h.

template<class T >
void sbg::SbgMatrix3< T >::transpose ( void  )
inline

Definition at line 176 of file sbg_matrix3.h.

Member Data Documentation

template<class T >
std::array<T, 9> sbg::SbgMatrix3< T >::m_data
private

Definition at line 64 of file sbg_matrix3.h.


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


sbg_driver
Author(s): SBG Systems
autogenerated on Thu Oct 22 2020 03:47:22