affine transformation parameterized with rotation matrices More...
#include <math.h>
Public Member Functions | |
template<class U > | |
void | Extract (RaveVector< U > &right, RaveVector< U > &up, RaveVector< U > &dir, RaveVector< U > &pos) const |
void | identity () |
RaveTransformMatrix< T > | inverse () const |
template<class U > | |
RaveVector< T > | operator* (const RaveVector< U > &r) const |
RaveTransformMatrix< T > | operator* (const RaveTransformMatrix< T > &r) const |
t = this * r | |
RaveTransformMatrix< T > | operator*= (const RaveTransformMatrix< T > &r) const |
RaveTransformMatrix () | |
template<class U > | |
RaveTransformMatrix (const RaveTransformMatrix< U > &t) | |
RaveTransformMatrix (const RaveTransform< T > &t) | |
T | rot (int i, int j) const |
T & | rot (int i, int j) |
template<class U > | |
RaveVector< U > | rotate (const RaveVector< U > &r) const |
template<class U > | |
void | rotfromaxisangle (const RaveVector< U > &axis, U angle) |
void | rotfrommat (T m_00, T m_01, T m_02, T m_10, T m_11, T m_12, T m_20, T m_21, T m_22) |
template<class U > | |
void | rotfromquat (const RaveVector< U > &quat) |
Public Attributes | |
T | m [12] |
RaveVector< T > | trans |
translation component | |
Friends | |
template<class S , class U > | |
std::basic_ostream< S > & | operator<< (std::basic_ostream< S > &O, const RaveTransformMatrix< U > &v) |
template<class S , class U > | |
std::basic_istream< S > & | operator>> (std::basic_istream< S > &I, RaveTransformMatrix< U > &v) |
affine transformation parameterized with rotation matrices
RaveTransformMatrix< T >::RaveTransformMatrix | ( | ) | [inline] |
RaveTransformMatrix< T >::RaveTransformMatrix | ( | const RaveTransformMatrix< U > & | t | ) | [inline] |
RaveTransformMatrix< T >::RaveTransformMatrix | ( | const RaveTransform< T > & | t | ) | [inline] |
void RaveTransformMatrix< T >::Extract | ( | RaveVector< U > & | right, |
RaveVector< U > & | up, | ||
RaveVector< U > & | dir, | ||
RaveVector< U > & | pos | ||
) | const [inline] |
void RaveTransformMatrix< T >::identity | ( | ) | [inline] |
RaveTransformMatrix<T> RaveTransformMatrix< T >::inverse | ( | ) | const [inline] |
RaveVector<T> RaveTransformMatrix< T >::operator* | ( | const RaveVector< U > & | r | ) | const [inline] |
RaveTransformMatrix<T> RaveTransformMatrix< T >::operator* | ( | const RaveTransformMatrix< T > & | r | ) | const [inline] |
RaveTransformMatrix<T> RaveTransformMatrix< T >::operator*= | ( | const RaveTransformMatrix< T > & | r | ) | const [inline] |
T RaveTransformMatrix< T >::rot | ( | int | i, |
int | j | ||
) | const [inline] |
T& RaveTransformMatrix< T >::rot | ( | int | i, |
int | j | ||
) | [inline] |
RaveVector<U> RaveTransformMatrix< T >::rotate | ( | const RaveVector< U > & | r | ) | const [inline] |
void RaveTransformMatrix< T >::rotfromaxisangle | ( | const RaveVector< U > & | axis, |
U | angle | ||
) | [inline] |
void RaveTransformMatrix< T >::rotfromquat | ( | const RaveVector< U > & | quat | ) | [inline] |
std::basic_ostream<S>& operator<< | ( | std::basic_ostream< S > & | O, |
const RaveTransformMatrix< U > & | v | ||
) | [friend] |
std::basic_istream<S>& operator>> | ( | std::basic_istream< S > & | I, |
RaveTransformMatrix< U > & | v | ||
) | [friend] |
T RaveTransformMatrix< T >::m[12] |
RaveVector<T> RaveTransformMatrix< T >::trans |