Public Member Functions | |
Matrix4i | __add__ (self, Matrix4i b) |
int | __call__ (self, int row, int col) |
int | __call__ (self, int row, int col) |
bool | __eq__ (self, Matrix4i b) |
Vector4i | __getitem__ (self, int row) |
Vector4i | __getitem__ (self, int row) |
Matrix4i | __iadd__ (self, Matrix4i b) |
Matrix4i | __imatmul__ (self, int b) |
None | __init__ (self) |
None | __init__ (self, Vector4i x, Vector4i y, Vector4i z, Vector4i w) |
None | __init__ (self, Matrix3i r, Vector3i t) |
None | __init__ (self, Matrix4i arg0) |
Matrix4i | __isub__ (self, Matrix4i b) |
Matrix4i | __itruediv__ (self, int b) |
Matrix4i | __mul__ (self, int a) |
Vector4i | __mul__ (self, Vector4i b) |
Matrix4i | __mul__ (self, Matrix4i b) |
bool | __ne__ (self, Matrix4i b) |
str | __repr__ (self) |
Matrix4i | __rmul__ (self, int b) |
None | __setitem__ (self, int arg0, Vector4i arg1) |
Matrix4i | __sub__ (self, Matrix4i b) |
Matrix4i | __truediv__ (self, int a) |
Vector4i | col (self, int i) |
int | data (self) |
int | data (self) |
int | det (self) |
Matrix3i | getRotation (self) |
Vector3i | getTranslation (self) |
float | norm (self) |
int | normSq (self) |
None | setRotation (self, Matrix3i rot) |
None | setTranslation (self, Vector3i t) |
Matrix3i | submatrix3 (self, int i, int j) |
int | trace (self) |
Matrix4i | transposed (self) |
Vector4i | x (self) |
None | x (self, Vector4i arg1) |
Static Public Member Functions | |
Matrix4i | identity () |
Matrix4i | scale (int s) |
Matrix4i | zero () |
Generated from: MR::Matrix4i Aliases: Vector4_int_MatrixType arbitrary 4x4 matrix \\ingroup MatrixGroup
None mrmeshpy.Matrix4i.__init__ | ( | self | ) |
initializes matrix from 4 row-vectors
construct from rotation matrix and translation vector
None mrmeshpy.Matrix4i.__init__ | ( | self, | |
Matrix4i | arg0 ) |
Implicit copy constructor.
NOTE: We use `std::declval()` in the operators below because libclang 18 in our binding generator is bugged and chokes on decltyping `a.x` and such. TODO fix this when we update libclang.
int mrmeshpy.Matrix4i.__call__ | ( | self, | |
int | row, | ||
int | col ) |
element access
int mrmeshpy.Matrix4i.__call__ | ( | self, | |
int | row, | ||
int | col ) |
bool mrmeshpy.Matrix4i.__eq__ | ( | self, | |
Matrix4i | b ) |
Vector4i mrmeshpy.Matrix4i.__getitem__ | ( | self, | |
int | row ) |
row access
Vector4i mrmeshpy.Matrix4i.__getitem__ | ( | self, | |
int | row ) |
Matrix4i mrmeshpy.Matrix4i.__imatmul__ | ( | self, | |
int | b ) |
Matrix4i mrmeshpy.Matrix4i.__itruediv__ | ( | self, | |
int | b ) |
Matrix4i mrmeshpy.Matrix4i.__mul__ | ( | self, | |
int | a ) |
bool mrmeshpy.Matrix4i.__ne__ | ( | self, | |
Matrix4i | b ) |
str mrmeshpy.Matrix4i.__repr__ | ( | self | ) |
Matrix4i mrmeshpy.Matrix4i.__rmul__ | ( | self, | |
int | b ) |
None mrmeshpy.Matrix4i.__setitem__ | ( | self, | |
int | arg0, | ||
Vector4i | arg1 ) |
Matrix4i mrmeshpy.Matrix4i.__truediv__ | ( | self, | |
int | a ) |
Vector4i mrmeshpy.Matrix4i.col | ( | self, | |
int | i ) |
column access
int mrmeshpy.Matrix4i.data | ( | self | ) |
int mrmeshpy.Matrix4i.data | ( | self | ) |
int mrmeshpy.Matrix4i.det | ( | self | ) |
computes determinant of the matrix
Matrix3i mrmeshpy.Matrix4i.getRotation | ( | self | ) |
Vector3i mrmeshpy.Matrix4i.getTranslation | ( | self | ) |
|
static |
float mrmeshpy.Matrix4i.norm | ( | self | ) |
int mrmeshpy.Matrix4i.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
returns a matrix that scales uniformly
None mrmeshpy.Matrix4i.setRotation | ( | self, | |
Matrix3i | rot ) |
None mrmeshpy.Matrix4i.setTranslation | ( | self, | |
Vector3i | t ) |
Matrix3i mrmeshpy.Matrix4i.submatrix3 | ( | self, | |
int | i, | ||
int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
int mrmeshpy.Matrix4i.trace | ( | self | ) |
computes trace of the matrix
Matrix4i mrmeshpy.Matrix4i.transposed | ( | self | ) |
computes transposed matrix
Vector4i mrmeshpy.Matrix4i.x | ( | self | ) |
rows, identity matrix by default
None mrmeshpy.Matrix4i.x | ( | self, | |
Vector4i | arg1 ) |
|
static |