#include <matrix4x4.h>
|
| Matrix4x4 () |
|
| Matrix4x4 (std::array< std::array< double, 4 >, 4 > a) |
|
template<typename V > |
void | scale (const V &s) |
| Multiplies this matrix by another that scales coordinates by the components of the given vector. More...
|
|
template<typename V > |
void | translate (const V &v) |
| Multiplies this matrix by another that translates coordinates by the components of the given vector. More...
|
|
template<typename R > |
void | rotate (const R &r) |
| Multiplies this matrix by another that rotates coordinates by the according to the given rotation. More...
|
|
Matrix4x4 | operator* (const Matrix4x4 &N) |
|
template<typename V > |
V | operator* (const V &v) |
|
std::array< double, 4 > & | operator[] (const size_t index) |
|
const std::array< double, 4 > & | operator[] (const size_t index) const |
|
|
std::array< std::array< double, 4 >, 4 > | m |
|
Definition at line 9 of file matrix4x4.h.
◆ Matrix4x4() [1/2]
MecaCell::Matrix4x4::Matrix4x4 |
( |
| ) |
|
|
inline |
◆ Matrix4x4() [2/2]
MecaCell::Matrix4x4::Matrix4x4 |
( |
std::array< std::array< double, 4 >, 4 > |
a | ) |
|
|
inline |
◆ operator*() [1/2]
◆ operator*() [2/2]
template<typename V >
V MecaCell::Matrix4x4::operator* |
( |
const V & |
v | ) |
|
|
inline |
◆ operator[]() [1/2]
std::array< double, 4 > & MecaCell::Matrix4x4::operator[] |
( |
const size_t |
index | ) |
|
|
inline |
◆ operator[]() [2/2]
const std::array< double, 4 > & MecaCell::Matrix4x4::operator[] |
( |
const size_t |
index | ) |
const |
|
inline |
◆ rotate()
template<typename R >
void MecaCell::Matrix4x4::rotate |
( |
const R & |
r | ) |
|
|
inline |
Multiplies this matrix by another that rotates coordinates by the according to the given rotation.
- Template Parameters
-
- Parameters
-
Definition at line 48 of file matrix4x4.h.
◆ scale()
template<typename V >
void MecaCell::Matrix4x4::scale |
( |
const V & |
s | ) |
|
|
inline |
Multiplies this matrix by another that scales coordinates by the components of the given vector.
- Template Parameters
-
- Parameters
-
Definition at line 22 of file matrix4x4.h.
◆ translate()
template<typename V >
void MecaCell::Matrix4x4::translate |
( |
const V & |
v | ) |
|
|
inline |
Multiplies this matrix by another that translates coordinates by the components of the given vector.
- Template Parameters
-
- Parameters
-
Definition at line 35 of file matrix4x4.h.
◆ operator<<
ostream & operator<< |
( |
ostream & |
out, |
|
|
const Matrix4x4 & |
M |
|
) |
| |
|
friend |
std::array<std::array<double, 4>, 4> MecaCell::Matrix4x4::m |
Initial value:= {
{{{1, 0, 0, 0}}, {{0, 1, 0, 0}}, {{0, 0, 1, 0}}, {{0, 0, 0, 1}}}}
Definition at line 10 of file matrix4x4.h.
The documentation for this struct was generated from the following file: