Public Member Functions | |
| Matrix4i | __add__ (self, Matrix4b b) |
| bool | __call__ (self, int row, int col) |
| bool | __call__ (self, int row, int col) |
| bool | __eq__ (self, Matrix4b b) |
| Vector4b | __getitem__ (self, int row) |
| Vector4b | __getitem__ (self, int row) |
| Matrix4b | __iadd__ (self, Matrix4b b) |
| Matrix4b | __imatmul__ (self, bool b) |
| None | __init__ (self) |
| None | __init__ (self, Vector4b x, Vector4b y, Vector4b z, Vector4b w) |
| None | __init__ (self, Matrix3b r, Vector3b t) |
| None | __init__ (self, Matrix4b arg0) |
| Matrix4b | __isub__ (self, Matrix4b b) |
| Matrix4b | __itruediv__ (self, bool b) |
| Matrix4i | __mul__ (self, bool a) |
| Vector4i | __mul__ (self, Vector4b b) |
| Matrix4i | __mul__ (self, Matrix4b b) |
| bool | __ne__ (self, Matrix4b b) |
| str | __repr__ (self) |
| Matrix4i | __rmul__ (self, bool b) |
| None | __setitem__ (self, int arg0, Vector4b arg1) |
| Matrix4i | __sub__ (self, Matrix4b b) |
| Matrix4i | __truediv__ (self, bool a) |
| Vector4b | col (self, int i) |
| bool | data (self) |
| bool | data (self) |
| bool | det (self) |
| Matrix3b | getRotation (self) |
| Vector3b | getTranslation (self) |
| float | norm (self) |
| bool | normSq (self) |
| None | setRotation (self, Matrix3b rot) |
| None | setTranslation (self, Vector3b t) |
| Matrix3b | submatrix3 (self, int i, int j) |
| bool | trace (self) |
| Matrix4b | transposed (self) |
| Vector4b | x (self) |
| None | x (self, Vector4b arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Matrix4b | identity () |
| Matrix4b | operator (*args, **kwargs) |
| Matrix4b | operator (*args, **kwargs) |
| 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
|
static |
| None mrmeshpy.Matrix4b.__init__ | ( | self | ) |
initializes matrix from 4 row-vectors
construct from rotation matrix and translation vector
| None mrmeshpy.Matrix4b.__init__ | ( | self, | |
| Matrix4b | 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.
| bool mrmeshpy.Matrix4b.__call__ | ( | self, | |
| int | row, | ||
| int | col ) |
element access
| bool mrmeshpy.Matrix4b.__call__ | ( | self, | |
| int | row, | ||
| int | col ) |
| bool mrmeshpy.Matrix4b.__eq__ | ( | self, | |
| Matrix4b | b ) |
| Vector4b mrmeshpy.Matrix4b.__getitem__ | ( | self, | |
| int | row ) |
row access
| Vector4b mrmeshpy.Matrix4b.__getitem__ | ( | self, | |
| int | row ) |
| Matrix4b mrmeshpy.Matrix4b.__imatmul__ | ( | self, | |
| bool | b ) |
| Matrix4b mrmeshpy.Matrix4b.__itruediv__ | ( | self, | |
| bool | b ) |
| Matrix4i mrmeshpy.Matrix4b.__mul__ | ( | self, | |
| bool | a ) |
| bool mrmeshpy.Matrix4b.__ne__ | ( | self, | |
| Matrix4b | b ) |
| str mrmeshpy.Matrix4b.__repr__ | ( | self | ) |
| Matrix4i mrmeshpy.Matrix4b.__rmul__ | ( | self, | |
| bool | b ) |
| None mrmeshpy.Matrix4b.__setitem__ | ( | self, | |
| int | arg0, | ||
| Vector4b | arg1 ) |
| Matrix4i mrmeshpy.Matrix4b.__truediv__ | ( | self, | |
| bool | a ) |
| Vector4b mrmeshpy.Matrix4b.col | ( | self, | |
| int | i ) |
column access
| bool mrmeshpy.Matrix4b.data | ( | self | ) |
| bool mrmeshpy.Matrix4b.data | ( | self | ) |
| bool mrmeshpy.Matrix4b.det | ( | self | ) |
computes determinant of the matrix
| Matrix3b mrmeshpy.Matrix4b.getRotation | ( | self | ) |
| Vector3b mrmeshpy.Matrix4b.getTranslation | ( | self | ) |
|
static |
| float mrmeshpy.Matrix4b.norm | ( | self | ) |
| bool mrmeshpy.Matrix4b.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
|
static |
|
static |
returns a matrix that scales uniformly
| None mrmeshpy.Matrix4b.setRotation | ( | self, | |
| Matrix3b | rot ) |
| None mrmeshpy.Matrix4b.setTranslation | ( | self, | |
| Vector3b | t ) |
| Matrix3b mrmeshpy.Matrix4b.submatrix3 | ( | self, | |
| int | i, | ||
| int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
| bool mrmeshpy.Matrix4b.trace | ( | self | ) |
computes trace of the matrix
| Matrix4b mrmeshpy.Matrix4b.transposed | ( | self | ) |
computes transposed matrix
| Vector4b mrmeshpy.Matrix4b.x | ( | self | ) |
rows, identity matrix by default
| None mrmeshpy.Matrix4b.x | ( | self, | |
| Vector4b | arg1 ) |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |