RaveTransformMatrix< T > Class Template Reference
affine transformation parameterized with rotation matrices
More...
#include <math.h>
List of all members.
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 |
| RaveTransformMatrix< T > | operator* (const RaveTransformMatrix< T > &r) const |
| | t = this * r
|
| template<class U > |
| RaveVector< T > | operator* (const RaveVector< U > &r) const |
| RaveTransformMatrix< T > | operator*= (const RaveTransformMatrix< T > &r) const |
| | RaveTransformMatrix (const RaveTransform< T > &t) |
| template<class U > |
| | RaveTransformMatrix (const RaveTransformMatrix< U > &t) |
| | RaveTransformMatrix () |
| T & | rot (int i, int j) |
| T | rot (int i, int j) const |
| 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) |
Detailed Description
template<class T>
class RaveTransformMatrix< T >
affine transformation parameterized with rotation matrices
Definition at line 448 of file math.h.
Constructor & Destructor Documentation
template<class T>
template<class U >
Member Function Documentation
template<class T>
template<class U >
t = this * r
Definition at line 524 of file math.h.
template<class T>
template<class U >
template<class T>
template<class U >
template<class T>
template<class U >
template<class T>
| void RaveTransformMatrix< T >::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 | |
|
) |
| | [inline] |
template<class T>
template<class U >
Friends And Related Function Documentation
template<class T>
template<class S , class U >
| std::basic_ostream<S>& operator<< |
( |
std::basic_ostream< S > & |
O, |
|
|
const RaveTransformMatrix< U > & |
v | |
|
) |
| | [friend] |
template<class T>
template<class S , class U >
| std::basic_istream<S>& operator>> |
( |
std::basic_istream< S > & |
I, |
|
|
RaveTransformMatrix< U > & |
v | |
|
) |
| | [friend] |
Member Data Documentation
3x3 rotation matrix. Note that each row is 4 elements long! So row 1 starts at m[4], row 2 at m[8] The reason is to maintain 16 byte alignment when sizeof(T) is 4 bytes
Definition at line 566 of file math.h.
translation component
Definition at line 567 of file math.h.
The documentation for this class was generated from the following file: