#include <RMatrix4x4.hxx>
Inheritance diagram for RayGina::CORE::RMatrix4x4< T >:

Public Member Functions | |
| RMatrix4x4 () | |
| RMatrix4x4 (T value) | |
| RMatrix4x4 (const T *data) | |
| template<typename R> | |
| RMatrix4x4 (const RMatrix4x4< R > &other) | |
| T & | operator() (std::size_t row, std::size_t col) |
| const T & | operator() (std::size_t row, std::size_t col) const |
| RMatrix4x4< T > & | operator+= (const RMatrix4x4< T > &M) |
| RMatrix4x4< T > & | operator-= (const RMatrix4x4< T > &M) |
| RMatrix4x4< T > & | operator *= (const RMatrix4x4< T > &M) |
| RMatrix4x4< T > & | operator *= (T s) |
| void | multiply (const RMatrix4x4< T > &M) |
| void | preMultiply (const RMatrix4x4< T > &M) |
| void | invert () |
| T | trace (void) const |
Static Public Member Functions | |
| RMatrix4x4< T > | createRotationMatrix (T angle, const RVec3< T > &direction, const RVec3< T > &origin) |
| RMatrix4x4< T > | createRotationMatrix (T angle, typename RVec3< T >::AXIS axis) |
| RMatrix4x4< T > | createTranslationMatrix (const RVec3< T > &translation) |
| RMatrix4x4< T > | createScaleMatrix (const RVec3< T > &scale) |
| const RMatrix4x4< T > & | identity () |
| const RMatrix4x4< T > & | zero () |
Static Private Member Functions | |
| const RMatrix4x4< T > | _createIdentity () |
| const RMatrix4x4< T > | _createZero () |
Static Private Attributes | |
| const RMatrix4x4< T > | _identity = RMatrix4x4<T>::_createIdentity() |
| const RMatrix4x4< T > | _zero = RMatrix4x4<T>::_createZero() |
Friends | |
| RMatrix4x4< T > | operator+ (const RMatrix4x4< T > &A, const RMatrix4x4< T > &B) |
| RMatrix4x4< T > | operator- (const RMatrix4x4< T > &A, const RMatrix4x4< T > &B) |
| RMatrix4x4< T > | operator * (const RMatrix4x4< T > &A, const RMatrix4x4< T > &B) |
| RMatrix4x4< T > | operator * (T s, const RMatrix4x4< T > &M) |
Uses T as type for its elements.
Definition at line 69 of file RMatrix4x4.hxx.
|
|||||||||
|
Default constructor. Assign the default value T() to all elements (== 0 for basic types). Definition at line 43 of file RMatrix4x4.inl. |
|
||||||||||
|
Initalizes all elements with the given value.
Definition at line 52 of file RMatrix4x4.inl. |
|
||||||||||
|
Copies the data from data (16 values). Assumes row-wise ordering, e.g. {1,0,0,0, 0,1,0,0, ... } for the identity. Definition at line 61 of file RMatrix4x4.inl. |
|
||||||||||||||
|
Template-Constructor. Does not hide the (default-)copy-constructor ! Definition at line 71 of file RMatrix4x4.inl. |
|
|||||||||
|
Helper function to create the static const Identity Definition at line 7 of file RMatrix4x4.inl. |
|
|||||||||
|
Helper function to create the static const Zero Definition at line 15 of file RMatrix4x4.inl. |
|
||||||||||||||||
|
Creates a rotation matrix.
Definition at line 356 of file RMatrix4x4.inl. |
|
||||||||||||||||||||
|
Creates a matrix for rotation about an arbitrary axis.
Definition at line 316 of file RMatrix4x4.inl. |
|
||||||||||
|
Creates a scale matrix.
Definition at line 293 of file RMatrix4x4.inl. |
|
||||||||||
|
Creates a translation matrix.
Definition at line 304 of file RMatrix4x4.inl. |
|
|||||||||
|
Identity-matrix. Definition at line 37 of file RMatrix4x4.inl. |
|
|||||||||
|
Inverts this matrix.
Definition at line 164 of file RMatrix4x4.inl. |
|
||||||||||
|
Post-multiplies the other matrix to this matrix, so this = this*M Definition at line 144 of file RMatrix4x4.inl. |
|
||||||||||
|
Scalar Multiplication s*(this)
Definition at line 131 of file RMatrix4x4.inl. |
|
||||||||||
|
(Post-)Multiplication
Definition at line 108 of file RMatrix4x4.inl. |
|
||||||||||||||||
|
Reference to a value (const, so only reading is possible).
Reimplemented from RayGina::CORE::RMatrix< T, 4, 4 >. Definition at line 282 of file RMatrix4x4.inl. |
|
||||||||||||||||
|
Reference to a value (not const, so reading and writing is possible).
Reimplemented from RayGina::CORE::RMatrix< T, 4, 4 >. Definition at line 270 of file RMatrix4x4.inl. |
|
||||||||||
|
Element-wise addition
Definition at line 82 of file RMatrix4x4.inl. |
|
||||||||||
|
Element-wise subtraction
Definition at line 95 of file RMatrix4x4.inl. |
|
||||||||||
|
Pre-multiplies the other matrix, so this = M*this Definition at line 153 of file RMatrix4x4.inl. |
|
||||||||||
|
Definition at line 257 of file RMatrix4x4.inl. |
|
|||||||||
|
Zero-matrix. Reimplemented from RayGina::CORE::RMatrix< T, 4, 4 >. Definition at line 30 of file RMatrix4x4.inl. |
|
||||||||||||||||
|
Scalar multiplication
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||||||||
|
|
|
|||||
|
Definition at line 22 of file RMatrix4x4.inl. |
|
|||||
|
Definition at line 26 of file RMatrix4x4.inl. |
1.3.9.1