Free Electron
Public Member Functions | Private Attributes | List of all members
fe::OrthonormalBasis< T > Class Template Reference

OrthonormalBasis for 3D transformations. More...

#include <OrthonormalBasis.h>

Inheritance diagram for fe::OrthonormalBasis< T >:
Inheritance graph
[legend]

Public Member Functions

 OrthonormalBasis (Axis a_direction, Axis a_up)
 
template<typename U >
void adapt (const Matrix< 3, 4, U > &a_rMatrix)
 
- Public Member Functions inherited from fe::Matrix< 3, 4, T >
 Matrix (const Matrix< 3, 4, T > &other)
 
template<int M, int N, class U >
 Matrix (const Matrix< M, N, U > &other)
 
 Matrix (const Quaternion< T > &quat)
 
Matrix< 3, 4, T > & operator= (const Matrix< 3, 4, T > &other)
 
template<int M, int N, class U >
Matrix< 3, 4, T > & operator= (const Matrix< M, N, U > &other)
 
bool operator== (const Matrix< 3, 4, T > &other) const
 
bool operator!= (const Matrix< 3, 4, T > &other) const
 
Matrix< 3, 4, T > & operator= (const Quaternion< T > &quat)
 
Matrix< 3, 4, T > & operator*= (const Matrix< 3, 4, T > &preMatrix)
 
template<class U >
void copy16 (U *array) const
 Populate a 16 element one dimensional array suitable for OpenGL operations. More...
 
template<class U >
void copyTranslation (U *array) const
 Populate a three element array with the current translation component. More...
 
Vector< 3, T > column (U32 index) const
 
Vector< 3, T > & column (U32 index)
 
Vector< 3, T > direction (void) const
 
Vector< 3, T > left (void) const
 
Vector< 3, T > up (void) const
 
Vector< 3, T > translation (void) const
 
Vector< 3, T > & direction (void)
 
Vector< 3, T > & left (void)
 
Vector< 3, T > & up (void)
 
Vector< 3, T > & translation (void)
 
operator() (unsigned int i, unsigned int j) const
 Column Major addressing. More...
 
T & operator() (unsigned int i, unsigned int j)
 Column Major addressing. More...
 

Private Attributes

Axis m_direction
 
Axis m_up
 

Additional Inherited Members

- Static Public Member Functions inherited from fe::Matrix< 3, 4, T >
static const Matrix< 3, 4, T > identity (void)
 

Detailed Description

template<typename T>
class fe::OrthonormalBasis< T >

OrthonormalBasis for 3D transformations.

HACK Currently assumes Z-forward Y-up

TODO care about specified direction and up


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