![]() |
open_iA 2021.08
A tool for the visual analysis and processing of volumetric datasets, with a focus on industrial computed tomography.
|
Class representing a 4x4 float matrix. More...
#include <iAmat4.h>
Public Member Functions | |
| iAMat4 () | |
| Create a matrix (with uninitialized values!). More... | |
| iAMat4 (const iAMat4 &m) | |
| Create new matrix, copying given matrix values. More... | |
| iAMat4 (float v) | |
| Create a matrix with the given value in the diagonal places (0-2), 1 in 3rd diagonal place, and 0 in the other places. More... | |
| void | invert () |
| iAMat4 & | operator*= (const iAMat4 &) |
| iAMat4 & | operator*= (float) |
| iAMat4 & | operator+= (const iAMat4 &) |
| iAMat4 & | operator-= (const iAMat4 &) |
| iAMat4 & | operator/= (float) |
| iAMat4 & | operator= (iAMat4 const &m) |
| Assign values from existing matrix. More... | |
| void | transpose () |
Public Attributes | |
| float | x [Rows][Cols] |
Static Public Attributes | |
| static const int | Cols = 4 |
| static const int | Rows = 4 |
Friends | |
| iAguibase_API iAMat4 | operator* (const iAMat4 &, const iAMat4 &) |
| iAguibase_API iAVec3f | operator* (const iAMat4 &, const iAVec3f &) |
| iAMat4 | operator* (const iAMat4 &, float) |
| iAMat4 | operator* (float, const iAMat4 &) |
| iAMat4 | operator+ (const iAMat4 &, const iAMat4 &) |
| iAMat4 | operator- (const iAMat4 &, const iAMat4 &) |
Class representing a 4x4 float matrix.
|
inline |
Create a matrix (with uninitialized values!).
|
explicit |
Create a matrix with the given value in the diagonal places (0-2), 1 in 3rd diagonal place, and 0 in the other places.
Example: iAMat4(0.5) would give 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 1
| iAMat4::iAMat4 | ( | const iAMat4 & | m | ) |
Create new matrix, copying given matrix values.
| void iAMat4::invert | ( | ) |
| iAMat4 & iAMat4::operator*= | ( | float | v | ) |
| iAMat4 & iAMat4::operator/= | ( | float | ) |
| void iAMat4::transpose | ( | ) |
|
static |
|
static |