Pioneer
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Friends | List of all members
matrix3x3< T > Class Template Reference

#include <matrix3x3.h>

Public Member Functions

 matrix3x3 ()
 
 matrix3x3 (T val)
 
 matrix3x3 (const T *vals)
 
 matrix3x3 (const matrix3x3< other_float_t > &m)
 
T & operator[] (const size_t i)
 
const T & operator[] (const size_t i) const
 
const T * Data () const
 
T * Data ()
 
vector3< T > VectorX () const
 
vector3< T > VectorY () const
 
vector3< T > VectorZ () const
 
matrix3x3 Transpose () const
 
matrix3x3 Inverse () const
 
matrix3x3 Normalized () const
 
void Renormalize ()
 
void Print () const
 

Static Public Member Functions

static matrix3x3 Identity ()
 
static matrix3x3 Scale (T x, T y, T z)
 
static matrix3x3 Scale (T scale)
 
static matrix3x3 FromVectors (const vector3< T > &rx, const vector3< T > &ry, const vector3< T > &rz)
 
static matrix3x3 FromVectors (const vector3< T > &rx, const vector3< T > &ry)
 
static matrix3x3 Rotate (T ang, const vector3< T > &v)
 
static matrix3x3 RotateX (T radians)
 
static matrix3x3 RotateY (T radians)
 
static matrix3x3 RotateZ (T radians)
 

Friends

matrix3x3 operator* (const matrix3x3 &a, const matrix3x3 &b)
 
vector3< T > operator* (const matrix3x3 &a, const vector3< T > &v)
 
vector3< T > operator* (const vector3< T > &v, const matrix3x3 &a)
 

Constructor & Destructor Documentation

◆ matrix3x3() [1/4]

template<typename T >
matrix3x3< T >::matrix3x3 ( )
inline

◆ matrix3x3() [2/4]

template<typename T >
matrix3x3< T >::matrix3x3 ( val)
inlineexplicit

◆ matrix3x3() [3/4]

template<typename T >
matrix3x3< T >::matrix3x3 ( const T *  vals)
inlineexplicit

◆ matrix3x3() [4/4]

template<typename T >
matrix3x3< T >::matrix3x3 ( const matrix3x3< other_float_t > &  m)
inlineexplicit

Member Function Documentation

◆ Data() [1/2]

template<typename T >
T * matrix3x3< T >::Data ( )
inline

◆ Data() [2/2]

template<typename T >
const T * matrix3x3< T >::Data ( ) const
inline

◆ FromVectors() [1/2]

template<typename T >
static matrix3x3 matrix3x3< T >::FromVectors ( const vector3< T > &  rx,
const vector3< T > &  ry 
)
inlinestatic
Here is the call graph for this function:

◆ FromVectors() [2/2]

template<typename T >
static matrix3x3 matrix3x3< T >::FromVectors ( const vector3< T > &  rx,
const vector3< T > &  ry,
const vector3< T > &  rz 
)
inlinestatic

◆ Identity()

template<typename T >
static matrix3x3 matrix3x3< T >::Identity ( )
inlinestatic

◆ Inverse()

template<typename T >
matrix3x3 matrix3x3< T >::Inverse ( ) const
inline

◆ Normalized()

template<typename T >
matrix3x3 matrix3x3< T >::Normalized ( ) const
inline
Here is the call graph for this function:

◆ operator[]() [1/2]

template<typename T >
T & matrix3x3< T >::operator[] ( const size_t  i)
inline

◆ operator[]() [2/2]

template<typename T >
const T & matrix3x3< T >::operator[] ( const size_t  i) const
inline

◆ Print()

template<typename T >
void matrix3x3< T >::Print ( ) const
inline

◆ Renormalize()

template<typename T >
void matrix3x3< T >::Renormalize ( )
inline
Here is the call graph for this function:

◆ Rotate()

template<typename T >
static matrix3x3 matrix3x3< T >::Rotate ( ang,
const vector3< T > &  v 
)
inlinestatic

◆ RotateX()

template<typename T >
static matrix3x3 matrix3x3< T >::RotateX ( radians)
inlinestatic

◆ RotateY()

template<typename T >
static matrix3x3 matrix3x3< T >::RotateY ( radians)
inlinestatic

◆ RotateZ()

template<typename T >
static matrix3x3 matrix3x3< T >::RotateZ ( radians)
inlinestatic

◆ Scale() [1/2]

template<typename T >
static matrix3x3 matrix3x3< T >::Scale ( scale)
inlinestatic

◆ Scale() [2/2]

template<typename T >
static matrix3x3 matrix3x3< T >::Scale ( x,
y,
z 
)
inlinestatic

◆ Transpose()

template<typename T >
matrix3x3 matrix3x3< T >::Transpose ( ) const
inline

◆ VectorX()

template<typename T >
vector3< T > matrix3x3< T >::VectorX ( ) const
inline

◆ VectorY()

template<typename T >
vector3< T > matrix3x3< T >::VectorY ( ) const
inline

◆ VectorZ()

template<typename T >
vector3< T > matrix3x3< T >::VectorZ ( ) const
inline

Friends And Related Symbol Documentation

◆ operator* [1/3]

template<typename T >
matrix3x3 operator* ( const matrix3x3< T > &  a,
const matrix3x3< T > &  b 
)
friend

◆ operator* [2/3]

template<typename T >
vector3< T > operator* ( const matrix3x3< T > &  a,
const vector3< T > &  v 
)
friend

◆ operator* [3/3]

template<typename T >
vector3< T > operator* ( const vector3< T > &  v,
const matrix3x3< T > &  a 
)
friend

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