Public Member Functions | |
| Matrix4i | __add__ (self, ConstMatrix4b b) |
| bool | __call__ (self, int row, int col) |
| bool | __eq__ (self, ConstMatrix4b b) |
| ConstVector4b | __getitem__ (self, int row) |
| __init__ (self, *args, **kwargs) | |
| Matrix4i | __mul__ (self, bool a) |
| Vector4i | __mul__ (self, ConstVector4b b) |
| Matrix4i | __mul__ (self, ConstMatrix4b b) |
| bool | __ne__ (self, ConstMatrix4b b) |
| str | __repr__ (self) |
| typing.Any | __rlshift__ (self, typing.Any mat) |
| Matrix4i | __rmul__ (self, bool b) |
| Matrix4i | __sub__ (self, ConstMatrix4b b) |
| Matrix4i | __truediv__ (self, bool a) |
| Vector4b | col (self, int i) |
| bool | data (self) |
| bool | det (self) |
| Matrix3b | getRotation (self) |
| Vector3b | getTranslation (self) |
| float | norm (self) |
| bool | normSq (self) |
| Matrix3b | submatrix3 (self, int i, int j) |
| bool | trace (self) |
| Matrix4b | transposed (self) |
| ConstVector4b | w (self) |
| ConstVector4b | x (self) |
| ConstVector4b | y (self) |
| ConstVector4b | z (self) |
Static Public Member Functions | |
| Matrix4b | identity () |
| Matrix4b | scale (bool s) |
| Matrix4b | zero () |
Static Protected Attributes | |
| typing | _offsetof_w = 12 |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 4 |
| typing | _offsetof_z = 8 |
Generated from: MR::Matrix4b Aliases: Vector4_bool_MatrixType arbitrary 4x4 matrix
| mrmeshpy.ConstMatrix4b.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMatrix4b) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMatrix4b, x: meshlib.mrmeshpy.ConstVector4b, y: meshlib.mrmeshpy.ConstVector4b, z: meshlib.mrmeshpy.ConstVector4b, w: meshlib.mrmeshpy.ConstVector4b) -> None initializes matrix from 4 row-vectors 3. __init__(self: meshlib.mrmeshpy.ConstMatrix4b, r: meshlib.mrmeshpy.ConstMatrix3b, t: meshlib.mrmeshpy.ConstVector3b) -> None construct from rotation matrix and translation vector 4. __init__(self: meshlib.mrmeshpy.ConstMatrix4b, arg0: meshlib.mrmeshpy.Matrix4b) -> None Implicit copy constructor. 5. __init__(self: meshlib.mrmeshpy.ConstMatrix4b, : meshlib.mrmeshpy.Matrix4b) -> None
| Matrix4i mrmeshpy.ConstMatrix4b.__add__ | ( | self, | |
| ConstMatrix4b | b ) |
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.
| bool mrmeshpy.ConstMatrix4b.__call__ | ( | self, | |
| int | row, | ||
| int | col ) |
element access
| bool mrmeshpy.ConstMatrix4b.__eq__ | ( | self, | |
| ConstMatrix4b | b ) |
| ConstVector4b mrmeshpy.ConstMatrix4b.__getitem__ | ( | self, | |
| int | row ) |
row access
| Matrix4i mrmeshpy.ConstMatrix4b.__mul__ | ( | self, | |
| bool | a ) |
| Matrix4i mrmeshpy.ConstMatrix4b.__mul__ | ( | self, | |
| ConstMatrix4b | b ) |
product of two matrices
| Vector4i mrmeshpy.ConstMatrix4b.__mul__ | ( | self, | |
| ConstVector4b | b ) |
x = a * b
| bool mrmeshpy.ConstMatrix4b.__ne__ | ( | self, | |
| ConstMatrix4b | b ) |
| str mrmeshpy.ConstMatrix4b.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstMatrix4b.__rlshift__ | ( | self, | |
| typing.Any | mat ) |
| Matrix4i mrmeshpy.ConstMatrix4b.__rmul__ | ( | self, | |
| bool | b ) |
| Matrix4i mrmeshpy.ConstMatrix4b.__sub__ | ( | self, | |
| ConstMatrix4b | b ) |
| Matrix4i mrmeshpy.ConstMatrix4b.__truediv__ | ( | self, | |
| bool | a ) |
| Vector4b mrmeshpy.ConstMatrix4b.col | ( | self, | |
| int | i ) |
column access
| bool mrmeshpy.ConstMatrix4b.data | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4b, and mrmeshpy.Matrix4b.
| bool mrmeshpy.ConstMatrix4b.det | ( | self | ) |
computes determinant of the matrix
| Matrix3b mrmeshpy.ConstMatrix4b.getRotation | ( | self | ) |
| Vector3b mrmeshpy.ConstMatrix4b.getTranslation | ( | self | ) |
|
static |
| float mrmeshpy.ConstMatrix4b.norm | ( | self | ) |
| bool mrmeshpy.ConstMatrix4b.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
returns a matrix that scales uniformly
| Matrix3b mrmeshpy.ConstMatrix4b.submatrix3 | ( | self, | |
| int | i, | ||
| int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
| bool mrmeshpy.ConstMatrix4b.trace | ( | self | ) |
computes trace of the matrix
| Matrix4b mrmeshpy.ConstMatrix4b.transposed | ( | self | ) |
computes transposed matrix
| ConstVector4b mrmeshpy.ConstMatrix4b.w | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4b, and mrmeshpy.Matrix4b.
| ConstVector4b mrmeshpy.ConstMatrix4b.x | ( | self | ) |
rows, identity matrix by default
Reimplemented in mrmeshpy.Matrix4b, and mrmeshpy.Matrix4b.
| ConstVector4b mrmeshpy.ConstMatrix4b.y | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4b, and mrmeshpy.Matrix4b.
| ConstVector4b mrmeshpy.ConstMatrix4b.z | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4b, and mrmeshpy.Matrix4b.
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |