cctw
0.2.1
|
#include <cctwmatrix3x3.h>
Public Member Functions | |
CctwMatrix3x3 () | |
CctwMatrix3x3 (CctwVector3D< T > c1, CctwVector3D< T > c2, CctwVector3D< T > c3) | |
CctwMatrix3x3 (T a11, T a12, T a13, T a21, T a22, T a23, T a31, T a32, T a33) | |
T & | operator() (int row, int col) |
const T & | operator() (int row, int col) const |
CctwMatrix3x3 | operator+ (const CctwMatrix3x3 &mat) const |
CctwMatrix3x3 | operator+= (const CctwMatrix3x3 &mat) |
CctwMatrix3x3 | operator- (const CctwMatrix3x3 &mat) const |
CctwMatrix3x3 | operator-= (const CctwMatrix3x3 &mat) |
CctwMatrix3x3 | operator* (const CctwMatrix3x3 &mat) const |
CctwVector3D< T > | operator* (const CctwVector3D< T > &vec) const |
bool | operator== (const CctwMatrix3x3 &mat) const |
bool | operator!= (const CctwMatrix3x3 &mat) const |
double | determinant () const |
CctwMatrix3x3 | inverted (bool *invertible=NULL) const |
CctwMatrix3x3 | transposed () const |
void | setToIdentity () |
void | setSettingsValue (QSettings *settings, QString name) |
template<> | |
void | customSaver (const QVariant &val, QSettings *settings, QString name) |
Static Public Member Functions | |
static CctwMatrix3x3 | zero () |
static CctwMatrix3x3 | identity () |
static CctwMatrix3x3 | rotationMatrix (double r1, double r2, double r3) |
static CctwMatrix3x3 | rotX (double r) |
static CctwMatrix3x3 | rotY (double r) |
static CctwMatrix3x3 | rotZ (double r) |
static void | customSaver (const QVariant &val, QSettings *settings, QString name) |
Private Attributes | |
T | m_Matrix [3][3] |
Friends | |
template<typename T1 > | |
class | CctwMatrix3x3 |
template<typename T1 > | |
class | CctwVector3D |
Definition at line 10 of file cctwmatrix3x3.h.
CctwMatrix3x3< T >::CctwMatrix3x3 | ( | ) |
Definition at line 5 of file cctwmatrix3x3.cpp.
CctwMatrix3x3< T >::CctwMatrix3x3 | ( | CctwVector3D< T > | c1, |
CctwVector3D< T > | c2, | ||
CctwVector3D< T > | c3 | ||
) |
Definition at line 11 of file cctwmatrix3x3.cpp.
CctwMatrix3x3< T >::CctwMatrix3x3 | ( | T | a11, |
T | a12, | ||
T | a13, | ||
T | a21, | ||
T | a22, | ||
T | a23, | ||
T | a31, | ||
T | a32, | ||
T | a33 | ||
) |
Definition at line 21 of file cctwmatrix3x3.cpp.
|
static |
void CctwMatrix3x3< int >::customSaver | ( | const QVariant & | val, |
QSettings * | settings, | ||
QString | name | ||
) |
Definition at line 329 of file cctwmatrix3x3.cpp.
References CctwMatrix3x3< T >::setSettingsValue().
double CctwMatrix3x3< T >::determinant | ( | ) | const |
Definition at line 167 of file cctwmatrix3x3.cpp.
|
static |
Definition at line 301 of file cctwmatrix3x3.cpp.
Referenced by CctwCrystalCoordinateTransform::setCurrentFrame().
CctwMatrix3x3< T > CctwMatrix3x3< T >::inverted | ( | bool * | invertible = NULL | ) | const |
Definition at line 184 of file cctwmatrix3x3.cpp.
References CctwMatrix3x3< T >::m_Matrix.
Referenced by CctwCrystalCoordinateTransform::createBMatrix(), CctwCrystalCoordinateTransform::setCurrentFrame(), and CctwCrystalCoordinateTransform::updateFromParameters().
bool CctwMatrix3x3< T >::operator!= | ( | const CctwMatrix3x3< T > & | mat | ) | const |
T & CctwMatrix3x3< T >::operator() | ( | int | row, |
int | col | ||
) |
Definition at line 35 of file cctwmatrix3x3.cpp.
const T & CctwMatrix3x3< T >::operator() | ( | int | row, |
int | col | ||
) | const |
Definition at line 41 of file cctwmatrix3x3.cpp.
CctwMatrix3x3< T > CctwMatrix3x3< T >::operator* | ( | const CctwMatrix3x3< T > & | mat | ) | const |
Definition at line 95 of file cctwmatrix3x3.cpp.
References CctwMatrix3x3< T >::m_Matrix.
CctwVector3D< T > CctwMatrix3x3< T >::operator* | ( | const CctwVector3D< T > & | vec | ) | const |
Definition at line 111 of file cctwmatrix3x3.cpp.
CctwMatrix3x3< T > CctwMatrix3x3< T >::operator+ | ( | const CctwMatrix3x3< T > & | mat | ) | const |
Definition at line 47 of file cctwmatrix3x3.cpp.
References CctwMatrix3x3< T >::m_Matrix.
CctwMatrix3x3< T > CctwMatrix3x3< T >::operator+= | ( | const CctwMatrix3x3< T > & | mat | ) |
CctwMatrix3x3< T > CctwMatrix3x3< T >::operator- | ( | const CctwMatrix3x3< T > & | mat | ) | const |
Definition at line 70 of file cctwmatrix3x3.cpp.
References CctwMatrix3x3< T >::m_Matrix.
CctwMatrix3x3< T > CctwMatrix3x3< T >::operator-= | ( | const CctwMatrix3x3< T > & | mat | ) |
bool CctwMatrix3x3< T >::operator== | ( | const CctwMatrix3x3< T > & | mat | ) | const |
|
static |
Definition at line 240 of file cctwmatrix3x3.cpp.
References CctwMatrix3x3< T >::rotX(), CctwMatrix3x3< T >::rotY(), and CctwMatrix3x3< T >::rotZ().
|
static |
Definition at line 250 of file cctwmatrix3x3.cpp.
Referenced by CctwMatrix3x3< T >::rotationMatrix(), and CctwCrystalCoordinateTransform::setCurrentFrame().
|
static |
Definition at line 265 of file cctwmatrix3x3.cpp.
Referenced by CctwMatrix3x3< T >::rotationMatrix(), and CctwCrystalCoordinateTransform::setCurrentFrame().
|
static |
Definition at line 280 of file cctwmatrix3x3.cpp.
Referenced by CctwMatrix3x3< T >::rotationMatrix(), and CctwCrystalCoordinateTransform::setCurrentFrame().
void CctwMatrix3x3< T >::setSettingsValue | ( | QSettings * | settings, |
QString | name | ||
) |
Definition at line 307 of file cctwmatrix3x3.cpp.
Referenced by CctwMatrix3x3< double >::customSaver(), and CctwMatrix3x3< T >::customSaver().
void CctwMatrix3x3< T >::setToIdentity | ( | ) |
Definition at line 153 of file cctwmatrix3x3.cpp.
CctwMatrix3x3< T > CctwMatrix3x3< T >::transposed | ( | ) | const |
Definition at line 226 of file cctwmatrix3x3.cpp.
Referenced by CctwCrystalCoordinateTransform::createBMatrix().
|
static |
Definition at line 295 of file cctwmatrix3x3.cpp.
Definition at line 39 of file cctwmatrix3x3.h.
Definition at line 42 of file cctwmatrix3x3.h.
|
private |
Definition at line 55 of file cctwmatrix3x3.h.
Referenced by CctwMatrix3x3< T >::inverted(), CctwMatrix3x3< T >::operator!=(), CctwMatrix3x3< T >::operator*(), CctwMatrix3x3< T >::operator+(), CctwMatrix3x3< T >::operator+=(), CctwMatrix3x3< T >::operator-(), CctwMatrix3x3< T >::operator-=(), and CctwMatrix3x3< T >::operator==().