|
| | Matrix4x4 () |
| |
| | Matrix4x4 (Type _00, Type _01, Type _02, Type _03, Type _10, Type _11, Type _12, Type _13, Type _20, Type _21, Type _22, Type _23, Type _30, Type _31, Type _32, Type _33) |
| |
| template<typename Type2 , std::size_t sizeOfArray> |
| | Matrix4x4 (const Type2(&values)[sizeOfArray]) |
| |
| template<typename It > |
| | Matrix4x4 (It begin, It end) |
| |
| template<typename Type2 > |
| | Matrix4x4 (const Type2 *values, int rows2, int cols2) |
| |
| | Matrix4x4 (const Matrix4x4 &second) |
| | Copying constructor. More...
|
| |
| template<int rows2, int cols2, typename Type2 > |
| | Matrix4x4 (const GenericMatrix< rows2, cols2, Type2 > &second) |
| | Copying constructor with the size_ conversion. More...
|
| |
| template<typename Type2 > |
| | Matrix4x4 (const Matrix4x4< Type2 > &second) |
| | Copying constructor with the type conversion. More...
|
| |
| void | fill (const Type value) |
| | Fill in the matrix with value. More...
|
| |
| template<typename Type2 > |
| Point4< Type2 > | operator* (const Point4< Type2 > &point) const |
| | Matrix-point multiplication. More...
|
| |
| template<typename Type2 > |
| Point3< Type2 > | operator* (const Point3< Type2 > &point) const |
| | Special case of the matrix-point multiplication: geometric transformation. More...
|
| |
| Matrix4x4 | operator- () const |
| | Unary minus. More...
|
| |
| bool | operator== (const Matrix4x4 &other) const |
| | Check whether the matrices are equal. More...
|
| |
| bool | operator!= (const Matrix4x4 &other) const |
| | Check whether the matrices are not equal. More...
|
| |
| Type & | operator() (int row, int col) |
| |
| const Type & | operator() (int row, int col) const |
| |
| void | setToIdentity () |
| | Turn current matrix to identity. More...
|
| |
| bool | isIdentity () const |
| | Check if the matrix is an identity one. More...
|
| |
| Matrix4x4 | transposed () const |
| | Return copy of transposed matrix. More...
|
| |
| Matrix4x4< Type > | inverted (bool *invertible=0) const |
| | Inversion. More...
|
| |
| Point3< Type > | project (const Point3< Type > &point) const |
| |
| int | size () const |
| | Returns the number of elements in the matrix. More...
|
| |
| const Type & | operator[] (int index) const |
| | Plain data element access operator Returns const reference to the element in the inner data array. More...
|
| |
| Type & | operator[] (int index) |
| |
|
| template<int rows2, int cols2, typename Type2 > |
| Matrix4x4 | operator= (const GenericMatrix< rows2, cols2, Type2 > &second) |
| |
| Matrix4x4 & | operator= (const Matrix4x4 &second) |
| |
|
| template<int rows, int cols> |
| GenericMatrix< rows, cols, Type > | toGenericMatrix () const |
| |
| template<int rows, int cols, typename Type2 > |
| GenericMatrix< rows, cols, Type2 > | toGenericMatrix () const |
| |
|
| Matrix4x4 & | operator+= (const Matrix4x4 &mat) |
| |
| Matrix4x4 & | operator-= (const Matrix4x4 &mat) |
| |
| Matrix4x4 & | operator*= (const Matrix4x4 &other) |
| |
| Matrix4x4 | operator+ (const Matrix4x4 &mat) const |
| |
| Matrix4x4 | operator- (const Matrix4x4 &mat) const |
| |
|
| Matrix4x4 | operator* (const Matrix4x4 &mat) const |
| |
| template<int cols2> |
| GenericMatrix< 4, cols2, Type > | operator* (const GenericMatrix< 4, cols2, Type > &mat) const |
| |
|
| Matrix4x4 & | operator*= (const Type &val) |
| |
| Matrix4x4 & | operator/= (const Type &val) |
| |
| Matrix4x4 | operator* (const Type &val) const |
| |
| Matrix4x4 | operator/ (const Type &val) const |
| |
|
| | operator const Type * () const |
| |
| const Type * | getData () const |
| |
|
| static Matrix4x4 | identity () |
| | Identity matrix. More...
|
| |
| static Matrix4x4 | rotation (Type angle, const Point3< Type > &direction) |
| | Important: Direction is a unit vector, don't forget to normalize it! More...
|
| |
| static Matrix4x4 | rotation (Type angle, const Point3< Type > &direction, const Point3< Type > ¢er) |
| | Important: Direction is a unit vector, don't forget to normalize it! More...
|
| |
| static Matrix4x4 | translation (const Point3< Type > &direction) |
| | Translations. More...
|
| |
| static Matrix4x4 | inverseMotion (const Matrix4x4 &matrix) |
| | Inverse transformation matrix. More...
|
| |
| static Matrix4x4 | perspective (Type left, Type right, Type bottom, Type top, Type nearVal, Type farVal) |
| | Get perspective projection matrix. More...
|
| |
| static Matrix4x4 | perspectiveFov (float fovy, float aspect, float zNear, float zFar) |
| | Get perspective projection matrix. More...
|
| |
| static Matrix4x4 | ortho (Type left, Type right, Type bottom, Type top, Type nearVal, Type farVal) |
| | Get orthogonal matrix. More...
|
| |
|
| static Matrix4x4 | rotationX (Type angle) |
| |
| static Matrix4x4 | rotationY (Type angle) |
| |
| static Matrix4x4 | rotationZ (Type angle) |
| |
| static Matrix4x4 | rotationX (Type angle, const Point3< Type > ¢er) |
| |
| static Matrix4x4 | rotationY (Type angle, const Point3< Type > ¢er) |
| |
| static Matrix4x4 | rotationZ (Type angle, const Point3< Type > ¢er) |
| |
|
| static Matrix4x4 | scale (Type factor) |
| |
| static Matrix4x4 | scale (Type factor, const Point3< Type > ¢er) |
| |
template<typename Type = double>
class artec::sdk::base::Matrix4x4< Type >
Transformation matrix.
- Examples:
- project-sample.cpp.
Definition at line 26 of file Matrix.h.