#include <matrix44.h>
Public Types | |
| typedef T | ScalarType |
Protected Attributes | |
| T | _a [16] |
| Matrix44 () | |
| ~Matrix44 () | |
| Matrix44 (const Matrix44 &m) | |
| Matrix44 (const T v[]) | |
| T & | ElementAt (const int row, const int col) |
| T | ElementAt (const int row, const int col) const |
| T * | V () |
| const T * | V () const |
| T * | operator[] (const int i) |
| const T * | operator[] (const int i) const |
| Point4< T > | GetColumn4 (const int &i) const |
| Point3< T > | GetColumn3 (const int &i) const |
| Point4< T > | GetRow4 (const int &i) const |
| Point3< T > | GetRow3 (const int &i) const |
| Matrix44 | operator+ (const Matrix44 &m) const |
| Matrix44 | operator- (const Matrix44 &m) const |
| Matrix44 | operator* (const Matrix44 &m) const |
| Point4< T > | operator* (const Point4< T > &v) const |
| bool | operator== (const Matrix44 &m) const |
| bool | operator!= (const Matrix44 &m) const |
| Matrix44 | operator- () const |
| Matrix44 | operator* (const T k) const |
| void | operator+= (const Matrix44 &m) |
| void | operator-= (const Matrix44 &m) |
| void | operator*= (const Matrix44 &m) |
| void | operator*= (const T k) |
| template<class Matrix44Type > | |
| void | ToMatrix (Matrix44Type &m) const |
| void | ToEulerAngles (T &alpha, T &beta, T &gamma) |
| template<class Matrix44Type > | |
| void | FromMatrix (const Matrix44Type &m) |
| template<class EigenMatrix44Type > | |
| void | ToEigenMatrix (EigenMatrix44Type &m) const |
| template<class EigenMatrix44Type > | |
| void | FromEigenMatrix (const EigenMatrix44Type &m) |
| void | FromEulerAngles (T alpha, T beta, T gamma) |
| void | SetZero () |
| void | SetIdentity () |
| void | SetDiagonal (const T k) |
| Matrix44 & | SetScale (const T sx, const T sy, const T sz) |
| Matrix44 & | SetScale (const Point3< T > &t) |
| Matrix44< T > & | SetColumn (const unsigned int ii, const Point4< T > &t) |
| Matrix44< T > & | SetColumn (const unsigned int ii, const Point3< T > &t) |
| Matrix44 & | SetTranslate (const Point3< T > &t) |
| Matrix44 & | SetTranslate (const T sx, const T sy, const T sz) |
| Matrix44 & | SetShearXY (const T sz) |
| Matrix44 & | SetShearXZ (const T sy) |
| Matrix44 & | SetShearYZ (const T sx) |
| Matrix44 & | SetRotateDeg (T AngleDeg, const Point3< T > &axis) |
| use radiants for angle. | |
| Matrix44 & | SetRotateRad (T AngleRad, const Point3< T > &axis) |
| T | Determinant () const |
| template<class Q > | |
| void | Import (const Matrix44< Q > &m) |
| Matrix44 | transpose () const |
| void | transposeInPlace () |
| void | print () |
| template<class Q > | |
| static Matrix44 | Construct (const Matrix44< Q > &b) |
| static const Matrix44 & | Identity () |
This class represent a 4x4 matrix. T is the kind of element in the matrix.
Definition at line 74 of file matrix44.h.
| typedef T vcg::Matrix44< T >::ScalarType |
Definition at line 79 of file matrix44.h.
| vcg::Matrix44< T >::Matrix44 | ( | ) | [inline] |
$name Constructors No automatic casting and default constructor is empty
Definition at line 86 of file matrix44.h.
| vcg::Matrix44< T >::~Matrix44 | ( | ) | [inline] |
Definition at line 87 of file matrix44.h.
| vcg::Matrix44< T >::Matrix44 | ( | const Matrix44< T > & | m | ) |
Definition at line 240 of file matrix44.h.
| vcg::Matrix44< T >::Matrix44 | ( | const T | v[] | ) |
Definition at line 244 of file matrix44.h.
| static Matrix44 vcg::Matrix44< T >::Construct | ( | const Matrix44< Q > & | b | ) | [inline, static] |
Definition at line 187 of file matrix44.h.
| T vcg::Matrix44< T >::Determinant | ( | ) | const |
Definition at line 627 of file matrix44.h.
| T & vcg::Matrix44< T >::ElementAt | ( | const int | row, |
| const int | col | ||
| ) |
Definition at line 248 of file matrix44.h.
| T vcg::Matrix44< T >::ElementAt | ( | const int | row, |
| const int | col | ||
| ) | const |
Definition at line 254 of file matrix44.h.
| void vcg::Matrix44< T >::FromEigenMatrix | ( | const EigenMatrix44Type & | m | ) | [inline] |
Definition at line 156 of file matrix44.h.
| void vcg::Matrix44< T >::FromEulerAngles | ( | T | alpha, |
| T | beta, | ||
| T | gamma | ||
| ) |
Definition at line 381 of file matrix44.h.
| void vcg::Matrix44< T >::FromMatrix | ( | const Matrix44Type & | m | ) | [inline] |
Definition at line 146 of file matrix44.h.
| Point3<T> vcg::Matrix44< T >::GetColumn3 | ( | const int & | i | ) | const [inline] |
Definition at line 108 of file matrix44.h.
| Point4<T> vcg::Matrix44< T >::GetColumn4 | ( | const int & | i | ) | const [inline] |
Definition at line 102 of file matrix44.h.
| Point3<T> vcg::Matrix44< T >::GetRow3 | ( | const int & | i | ) | const [inline] |
Definition at line 119 of file matrix44.h.
| Point4<T> vcg::Matrix44< T >::GetRow4 | ( | const int & | i | ) | const [inline] |
Definition at line 113 of file matrix44.h.
| static const Matrix44& vcg::Matrix44< T >::Identity | ( | ) | [inline, static] |
Definition at line 193 of file matrix44.h.
| void vcg::Matrix44< T >::Import | ( | const Matrix44< Q > & | m | ) | [inline] |
Definition at line 182 of file matrix44.h.
| bool vcg::Matrix44< T >::operator!= | ( | const Matrix44< T > & | m | ) | const |
Definition at line 327 of file matrix44.h.
Definition at line 296 of file matrix44.h.
Definition at line 308 of file matrix44.h.
| Matrix44< T > vcg::Matrix44< T >::operator* | ( | const T | k | ) | const |
Definition at line 342 of file matrix44.h.
| void vcg::Matrix44< T >::operator*= | ( | const Matrix44< T > & | m | ) |
Definition at line 357 of file matrix44.h.
| void vcg::Matrix44< T >::operator*= | ( | const T | k | ) |
Definition at line 367 of file matrix44.h.
Definition at line 282 of file matrix44.h.
| void vcg::Matrix44< T >::operator+= | ( | const Matrix44< T > & | m | ) |
Definition at line 349 of file matrix44.h.
Definition at line 289 of file matrix44.h.
| Matrix44< T > vcg::Matrix44< T >::operator- | ( | ) | const |
Definition at line 335 of file matrix44.h.
| void vcg::Matrix44< T >::operator-= | ( | const Matrix44< T > & | m | ) |
Definition at line 353 of file matrix44.h.
| bool vcg::Matrix44< T >::operator== | ( | const Matrix44< T > & | m | ) | const |
Definition at line 320 of file matrix44.h.
| T * vcg::Matrix44< T >::operator[] | ( | const int | i | ) |
Definition at line 269 of file matrix44.h.
| const T * vcg::Matrix44< T >::operator[] | ( | const int | i | ) | const |
Definition at line 274 of file matrix44.h.
| void vcg::Matrix44< T >::print | ( | ) | [inline] |
Definition at line 208 of file matrix44.h.
| Matrix44< T > & vcg::Matrix44< T >::SetColumn | ( | const unsigned int | ii, |
| const Point4< T > & | t | ||
| ) |
Definition at line 456 of file matrix44.h.
| Matrix44< T > & vcg::Matrix44< T >::SetColumn | ( | const unsigned int | ii, |
| const Point3< T > & | t | ||
| ) |
Definition at line 448 of file matrix44.h.
| void vcg::Matrix44< T >::SetDiagonal | ( | const T | k | ) |
Definition at line 415 of file matrix44.h.
| void vcg::Matrix44< T >::SetIdentity | ( | ) |
Definition at line 411 of file matrix44.h.
| Matrix44< T > & vcg::Matrix44< T >::SetRotateDeg | ( | T | AngleDeg, |
| const Point3< T > & | axis | ||
| ) |
use radiants for angle.
Definition at line 466 of file matrix44.h.
| Matrix44< T > & vcg::Matrix44< T >::SetRotateRad | ( | T | AngleRad, |
| const Point3< T > & | axis | ||
| ) |
Definition at line 470 of file matrix44.h.
| Matrix44< T > & vcg::Matrix44< T >::SetScale | ( | const T | sx, |
| const T | sy, | ||
| const T | sz | ||
| ) |
Definition at line 427 of file matrix44.h.
Definition at line 423 of file matrix44.h.
| Matrix44& vcg::Matrix44< T >::SetShearXY | ( | const T | sz | ) |
| Matrix44& vcg::Matrix44< T >::SetShearXZ | ( | const T | sy | ) |
| Matrix44& vcg::Matrix44< T >::SetShearYZ | ( | const T | sx | ) |
| Matrix44< T > & vcg::Matrix44< T >::SetTranslate | ( | const Point3< T > & | t | ) |
Definition at line 436 of file matrix44.h.
| Matrix44< T > & vcg::Matrix44< T >::SetTranslate | ( | const T | sx, |
| const T | sy, | ||
| const T | sz | ||
| ) |
Definition at line 440 of file matrix44.h.
| void vcg::Matrix44< T >::SetZero | ( | ) |
Definition at line 407 of file matrix44.h.
| void vcg::Matrix44< T >::ToEigenMatrix | ( | EigenMatrix44Type & | m | ) | const [inline] |
Definition at line 149 of file matrix44.h.
| void vcg::Matrix44< T >::ToEulerAngles | ( | T & | alpha, |
| T & | beta, | ||
| T & | gamma | ||
| ) |
Definition at line 373 of file matrix44.h.
| void vcg::Matrix44< T >::ToMatrix | ( | Matrix44Type & | m | ) | const [inline] |
Definition at line 141 of file matrix44.h.
| Matrix44 vcg::Matrix44< T >::transpose | ( | ) | const [inline] |
Definition at line 200 of file matrix44.h.
| void vcg::Matrix44< T >::transposeInPlace | ( | ) | [inline] |
Definition at line 206 of file matrix44.h.
| T * vcg::Matrix44< T >::V | ( | ) |
Definition at line 278 of file matrix44.h.
| const T * vcg::Matrix44< T >::V | ( | ) | const |
Definition at line 279 of file matrix44.h.
T vcg::Matrix44< T >::_a[16] [protected] |
Definition at line 76 of file matrix44.h.