![]() |
PeriDyno 1.0.0
|
#include <Matrix4x4.h>
Public Types | |
typedef T | VarType |
Public Member Functions | |
DYN_FUNC | SquareMatrix () |
DYN_FUNC | SquareMatrix (T) |
DYN_FUNC | SquareMatrix (T x00, T x01, T x02, T x03, T x10, T x11, T x12, T x13, T x20, T x21, T x22, T x23, T x30, T x31, T x32, T x33) |
DYN_FUNC | SquareMatrix (const Vector< T, 4 > &row1, const Vector< T, 4 > &row2, const Vector< T, 4 > &row3, const Vector< T, 4 > &row4) |
DYN_FUNC | SquareMatrix (const SquareMatrix< T, 4 > &) |
DYN_FUNC | ~SquareMatrix () |
DYN_FUNC T & | operator() (unsigned int i, unsigned int j) |
DYN_FUNC const T & | operator() (unsigned int i, unsigned int j) const |
DYN_FUNC const Vector< T, 4 > | row (unsigned int i) const |
DYN_FUNC const Vector< T, 4 > | col (unsigned int i) const |
DYN_FUNC void | setRow (unsigned int i, const Vector< T, 4 > &vec) |
DYN_FUNC void | setCol (unsigned int j, const Vector< T, 4 > &vec) |
DYN_FUNC const SquareMatrix< T, 4 > | operator+ (const SquareMatrix< T, 4 > &) const |
DYN_FUNC SquareMatrix< T, 4 > & | operator+= (const SquareMatrix< T, 4 > &) |
DYN_FUNC const SquareMatrix< T, 4 > | operator- (const SquareMatrix< T, 4 > &) const |
DYN_FUNC SquareMatrix< T, 4 > & | operator-= (const SquareMatrix< T, 4 > &) |
DYN_FUNC const SquareMatrix< T, 4 > | operator* (const SquareMatrix< T, 4 > &) const |
DYN_FUNC SquareMatrix< T, 4 > & | operator*= (const SquareMatrix< T, 4 > &) |
DYN_FUNC const SquareMatrix< T, 4 > | operator/ (const SquareMatrix< T, 4 > &) const |
DYN_FUNC SquareMatrix< T, 4 > & | operator/= (const SquareMatrix< T, 4 > &) |
DYN_FUNC SquareMatrix< T, 4 > & | operator= (const SquareMatrix< T, 4 > &) |
DYN_FUNC bool | operator== (const SquareMatrix< T, 4 > &) const |
DYN_FUNC bool | operator!= (const SquareMatrix< T, 4 > &) const |
DYN_FUNC const SquareMatrix< T, 4 > | operator* (const T &) const |
DYN_FUNC SquareMatrix< T, 4 > & | operator*= (const T &) |
DYN_FUNC const SquareMatrix< T, 4 > | operator/ (const T &) const |
DYN_FUNC SquareMatrix< T, 4 > & | operator/= (const T &) |
DYN_FUNC const Vector< T, 4 > | operator* (const Vector< T, 4 > &) const |
DYN_FUNC const SquareMatrix< T, 4 > | operator- (void) const |
DYN_FUNC const SquareMatrix< T, 4 > | transpose () const |
DYN_FUNC const SquareMatrix< T, 4 > | inverse () const |
DYN_FUNC T | determinant () const |
DYN_FUNC T | trace () const |
DYN_FUNC T | doubleContraction (const SquareMatrix< T, 4 > &) const |
DYN_FUNC T | frobeniusNorm () const |
DYN_FUNC T | oneNorm () const |
DYN_FUNC T | infNorm () const |
DYN_FUNC T * | getDataPtr () |
SquareMatrix () | |
~SquareMatrix () | |
virtual unsigned int | rows () const |
virtual unsigned int | cols () const |
![]() | |
MatrixBase () | |
virtual | ~MatrixBase () |
Static Public Member Functions | |
static DYN_FUNC unsigned int | rows () |
static DYN_FUNC unsigned int | cols () |
static DYN_FUNC const SquareMatrix< T, 4 > | identityMatrix () |
Protected Attributes | |
glm::tmat4x4< T > | data_ |
Definition at line 13 of file Matrix4x4.h.
typedef T dyno::SquareMatrix< T, 4 >::VarType |
Definition at line 16 of file Matrix4x4.h.
DYN_FUNC dyno::SquareMatrix< T, 4 >::SquareMatrix | ( | ) |
Definition at line 9 of file Matrix4x4.inl.
|
explicit |
DYN_FUNC dyno::SquareMatrix< T, 4 >::SquareMatrix | ( | T | x00, |
T | x01, | ||
T | x02, | ||
T | x03, | ||
T | x10, | ||
T | x11, | ||
T | x12, | ||
T | x13, | ||
T | x20, | ||
T | x21, | ||
T | x22, | ||
T | x23, | ||
T | x30, | ||
T | x31, | ||
T | x32, | ||
T | x33 ) |
Definition at line 24 of file Matrix4x4.inl.
DYN_FUNC dyno::SquareMatrix< T, 4 >::SquareMatrix | ( | const Vector< T, 4 > & | row1, |
const Vector< T, 4 > & | row2, | ||
const Vector< T, 4 > & | row3, | ||
const Vector< T, 4 > & | row4 ) |
Definition at line 33 of file Matrix4x4.inl.
DYN_FUNC dyno::SquareMatrix< T, 4 >::SquareMatrix | ( | const SquareMatrix< T, 4 > & | mat | ) |
DYN_FUNC dyno::SquareMatrix< T, 4 >::~SquareMatrix | ( | ) |
Definition at line 51 of file Matrix4x4.inl.
|
inline |
Definition at line 10 of file SquareMatrix.h.
|
inline |
Definition at line 11 of file SquareMatrix.h.
DYN_FUNC const Vector< T, 4 > dyno::SquareMatrix< T, 4 >::col | ( | unsigned int | i | ) | const |
|
inlinestatic |
Definition at line 30 of file Matrix4x4.h.
|
virtual |
Implements dyno::MatrixBase.
DYN_FUNC T dyno::SquareMatrix< T, 4 >::determinant | ( | ) | const |
DYN_FUNC T dyno::SquareMatrix< T, 4 >::doubleContraction | ( | const SquareMatrix< T, 4 > & | mat2 | ) | const |
DYN_FUNC T dyno::SquareMatrix< T, 4 >::frobeniusNorm | ( | ) | const |
|
inline |
Definition at line 76 of file Matrix4x4.h.
|
static |
DYN_FUNC T dyno::SquareMatrix< T, 4 >::infNorm | ( | ) | const |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::inverse | ( | ) | const |
DYN_FUNC T dyno::SquareMatrix< T, 4 >::oneNorm | ( | ) | const |
DYN_FUNC bool dyno::SquareMatrix< T, 4 >::operator!= | ( | const SquareMatrix< T, 4 > & | mat2 | ) | const |
DYN_FUNC T & dyno::SquareMatrix< T, 4 >::operator() | ( | unsigned int | i, |
unsigned int | j ) |
DYN_FUNC const T & dyno::SquareMatrix< T, 4 >::operator() | ( | unsigned int | i, |
unsigned int | j ) const |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::operator* | ( | const SquareMatrix< T, 4 > & | mat2 | ) | const |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::operator* | ( | const T & | scale | ) | const |
DYN_FUNC SquareMatrix< T, 4 > & dyno::SquareMatrix< T, 4 >::operator*= | ( | const SquareMatrix< T, 4 > & | mat2 | ) |
DYN_FUNC SquareMatrix< T, 4 > & dyno::SquareMatrix< T, 4 >::operator*= | ( | const T & | scale | ) |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::operator+ | ( | const SquareMatrix< T, 4 > & | mat2 | ) | const |
DYN_FUNC SquareMatrix< T, 4 > & dyno::SquareMatrix< T, 4 >::operator+= | ( | const SquareMatrix< T, 4 > & | mat2 | ) |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::operator- | ( | const SquareMatrix< T, 4 > & | mat2 | ) | const |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::operator- | ( | void | ) | const |
DYN_FUNC SquareMatrix< T, 4 > & dyno::SquareMatrix< T, 4 >::operator-= | ( | const SquareMatrix< T, 4 > & | mat2 | ) |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::operator/ | ( | const SquareMatrix< T, 4 > & | mat2 | ) | const |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::operator/ | ( | const T & | scale | ) | const |
DYN_FUNC SquareMatrix< T, 4 > & dyno::SquareMatrix< T, 4 >::operator/= | ( | const SquareMatrix< T, 4 > & | mat2 | ) |
DYN_FUNC SquareMatrix< T, 4 > & dyno::SquareMatrix< T, 4 >::operator/= | ( | const T & | scale | ) |
DYN_FUNC SquareMatrix< T, 4 > & dyno::SquareMatrix< T, 4 >::operator= | ( | const SquareMatrix< T, 4 > & | mat2 | ) |
DYN_FUNC bool dyno::SquareMatrix< T, 4 >::operator== | ( | const SquareMatrix< T, 4 > & | mat2 | ) | const |
DYN_FUNC const Vector< T, 4 > dyno::SquareMatrix< T, 4 >::row | ( | unsigned int | i | ) | const |
|
inlinestatic |
Definition at line 29 of file Matrix4x4.h.
|
virtual |
Implements dyno::MatrixBase.
DYN_FUNC void dyno::SquareMatrix< T, 4 >::setCol | ( | unsigned int | j, |
const Vector< T, 4 > & | vec ) |
DYN_FUNC void dyno::SquareMatrix< T, 4 >::setRow | ( | unsigned int | i, |
const Vector< T, 4 > & | vec ) |
DYN_FUNC T dyno::SquareMatrix< T, 4 >::trace | ( | ) | const |
DYN_FUNC const SquareMatrix< T, 4 > dyno::SquareMatrix< T, 4 >::transpose | ( | ) | const |
|
protected |
Definition at line 79 of file Matrix4x4.h.