#include <Matrix.h>
Public Member Functions | |
Matrix () | |
Matrix (T v) | |
Matrix (const Matrix< T > &Tr) | |
Matrix & | operator= (const Matrix< T > &Tr) |
bool | IsIdentity () const |
void | SetIdentity () |
T & | operator[] (size_t idx) |
const T & | operator[] (size_t idx) const |
Matrix | operator+ (const Matrix< T > &Tr) const |
Matrix | operator- (const Matrix< T > &Tr) const |
Matrix | operator* (const Matrix< T > &Tr) const |
Matrix & | operator+= (const Matrix< T > &Tr) |
Matrix & | operator-= (const Matrix< T > &Tr) |
Matrix & | operator*= (T constant) |
Matrix & | operator/= (T constant) |
Vec3D | operator* (const Vec3D &dc) const |
CVec3< T > | operator* (const Vec3< T > &dc) const |
Homogenous | operator* (const Homogenous &hc) const |
void | make3x3 (T *out) const |
void | LoadIdentity () |
void | LoadNullMatrix () |
void | SetScalefactors (const T &sx, const T &sy, const T &sz) |
void | SetTransformationFactors (const Vec3< T > &coef) |
bool | IsSingular () const |
void | Apply () const |
virtual | ~Matrix () |
void | rotateAbout (const float *coord, const float angle) |
void | scale (const Vec3D &vec) |
void | translate (const Vec3D &vec) |
Matrix | Invers () const |
template<> | |
bool | IsSingular () const |
template<> | |
void | rotateAbout (const float *coord, const float angle) |
template<> | |
void | scale (const Vec3D &vec) |
template<> | |
void | translate (const Vec3D &vec) |
template<> | |
Matrix< float > | Invers () const |
Static Public Member Functions | |
static Matrix | LookAt (const fvmath::Vec3< T > &eye, const fvmath::Vec3< T > ¢er, const fvmath::Vec3< T > &up) |
Public Attributes | |
std::vector< T > | matrix |
Static Public Attributes | |
static Matrix | Identity |
Friends | |
std::ostream & | operator<< (std::ostream &strm, const Matrix &mt) |
FemViewer::Matrix< T >::Matrix | ( | ) | [inline] |
FemViewer::Matrix< T >::Matrix | ( | T | v | ) | [inline] |
FemViewer::Matrix< T >::Matrix | ( | const Matrix< T > & | Tr | ) | [inline] |
virtual FemViewer::Matrix< T >::~Matrix | ( | ) | [inline, virtual] |
void FemViewer::Matrix< T >::Apply | ( | ) | const [inline] |
Matrix< float > FemViewer::Matrix< float >::Invers | ( | ) | const [inline] |
Matrix FemViewer::Matrix< T >::Invers | ( | ) | const |
bool FemViewer::Matrix< T >::IsIdentity | ( | ) | const [inline] |
bool FemViewer::Matrix< float >::IsSingular | ( | ) | const [inline] |
bool FemViewer::Matrix< T >::IsSingular | ( | ) | const |
void FemViewer::Matrix< T >::LoadIdentity | ( | ) | [inline] |
void FemViewer::Matrix< T >::LoadNullMatrix | ( | ) | [inline] |
static Matrix FemViewer::Matrix< T >::LookAt | ( | const fvmath::Vec3< T > & | eye, | |
const fvmath::Vec3< T > & | center, | |||
const fvmath::Vec3< T > & | up | |||
) | [inline, static] |
void FemViewer::Matrix< T >::make3x3 | ( | T * | out | ) | const [inline] |
Homogenous FemViewer::Matrix< T >::operator* | ( | const Homogenous & | hc | ) | const [inline] |
CVec3<T> FemViewer::Matrix< T >::operator* | ( | const Vec3< T > & | dc | ) | const [inline] |
Vec3D FemViewer::Matrix< T >::operator* | ( | const Vec3D & | dc | ) | const [inline] |
Matrix FemViewer::Matrix< T >::operator* | ( | const Matrix< T > & | Tr | ) | const [inline] |
Matrix& FemViewer::Matrix< T >::operator*= | ( | T | constant | ) | [inline] |
Matrix FemViewer::Matrix< T >::operator+ | ( | const Matrix< T > & | Tr | ) | const [inline] |
Matrix& FemViewer::Matrix< T >::operator+= | ( | const Matrix< T > & | Tr | ) | [inline] |
Matrix FemViewer::Matrix< T >::operator- | ( | const Matrix< T > & | Tr | ) | const [inline] |
Matrix& FemViewer::Matrix< T >::operator-= | ( | const Matrix< T > & | Tr | ) | [inline] |
Matrix& FemViewer::Matrix< T >::operator/= | ( | T | constant | ) | [inline] |
Matrix& FemViewer::Matrix< T >::operator= | ( | const Matrix< T > & | Tr | ) | [inline] |
const T& FemViewer::Matrix< T >::operator[] | ( | size_t | idx | ) | const [inline] |
T& FemViewer::Matrix< T >::operator[] | ( | size_t | idx | ) | [inline] |
void FemViewer::Matrix< float >::rotateAbout | ( | const float * | coord, | |
const float | angle | |||
) | [inline] |
void FemViewer::Matrix< T >::rotateAbout | ( | const float * | coord, | |
const float | angle | |||
) |
void FemViewer::Matrix< float >::scale | ( | const Vec3D & | vec | ) | [inline] |
void FemViewer::Matrix< T >::scale | ( | const Vec3D & | vec | ) |
void FemViewer::Matrix< T >::SetIdentity | ( | ) | [inline] |
void FemViewer::Matrix< T >::SetScalefactors | ( | const T & | sx, | |
const T & | sy, | |||
const T & | sz | |||
) | [inline] |
void FemViewer::Matrix< T >::SetTransformationFactors | ( | const Vec3< T > & | coef | ) | [inline] |
void FemViewer::Matrix< float >::translate | ( | const Vec3D & | vec | ) | [inline] |
void FemViewer::Matrix< T >::translate | ( | const Vec3D & | vec | ) |
std::ostream& operator<< | ( | std::ostream & | strm, | |
const Matrix< T > & | mt | |||
) | [friend] |
Matrix< T > FemViewer::Matrix< T >::Identity [inline, static] |
std::vector<T> FemViewer::Matrix< T >::matrix |