Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Matrix4_unsigned_char | identity () |
| Matrix4_unsigned_char | operator (*args, **kwargs) |
| Matrix4_unsigned_char | operator (*args, **kwargs) |
| Matrix4_unsigned_char | scale (int s) |
| Matrix4_unsigned_char | zero () |
Static Public Attributes | |
| Vector4_unsigned_char | VectorType = Vector4_unsigned_char |
Static Protected Attributes | |
| typing | _offsetof_w = 12 |
| typing | _offsetof_x = 0 |
| typing | _offsetof_y = 4 |
| typing | _offsetof_z = 8 |
Generated from: MR::Matrix4<unsigned char> Aliases: Vector4_unsigned_char.MatrixType arbitrary 4x4 matrix
|
static |
| None mrmeshpy.Matrix4_unsigned_char.__init__ | ( | self | ) |
| None mrmeshpy.Matrix4_unsigned_char.__init__ | ( | self, | |
| Vector4_unsigned_char | x, | ||
| Vector4_unsigned_char | y, | ||
| Vector4_unsigned_char | z, | ||
| Vector4_unsigned_char | w ) |
initializes matrix from 4 row-vectors
| None mrmeshpy.Matrix4_unsigned_char.__init__ | ( | self, | |
| Matrix3_unsigned_char | r, | ||
| Vector3_unsigned_char | t ) |
construct from rotation matrix and translation vector
| None mrmeshpy.Matrix4_unsigned_char.__init__ | ( | self, | |
| Matrix4_unsigned_char | arg0 ) |
Implicit copy constructor.
| Matrix4i mrmeshpy.Matrix4_unsigned_char.__add__ | ( | self, | |
| Matrix4_unsigned_char | 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.
| int mrmeshpy.Matrix4_unsigned_char.__call__ | ( | self, | |
| int | row, | ||
| int | col ) |
element access
| int mrmeshpy.Matrix4_unsigned_char.__call__ | ( | self, | |
| int | row, | ||
| int | col ) |
| bool mrmeshpy.Matrix4_unsigned_char.__eq__ | ( | self, | |
| Matrix4_unsigned_char | b ) |
| Vector4_unsigned_char mrmeshpy.Matrix4_unsigned_char.__getitem__ | ( | self, | |
| int | row ) |
row access
| Vector4_unsigned_char mrmeshpy.Matrix4_unsigned_char.__getitem__ | ( | self, | |
| int | row ) |
| Matrix4_unsigned_char mrmeshpy.Matrix4_unsigned_char.__iadd__ | ( | self, | |
| Matrix4_unsigned_char | b ) |
| Matrix4_unsigned_char mrmeshpy.Matrix4_unsigned_char.__imatmul__ | ( | self, | |
| int | b ) |
| Matrix4_unsigned_char mrmeshpy.Matrix4_unsigned_char.__isub__ | ( | self, | |
| Matrix4_unsigned_char | b ) |
| Matrix4_unsigned_char mrmeshpy.Matrix4_unsigned_char.__itruediv__ | ( | self, | |
| int | b ) |
| Matrix4i mrmeshpy.Matrix4_unsigned_char.__mul__ | ( | self, | |
| int | a ) |
| Matrix4i mrmeshpy.Matrix4_unsigned_char.__mul__ | ( | self, | |
| Matrix4_unsigned_char | b ) |
product of two matrices
| Vector4i mrmeshpy.Matrix4_unsigned_char.__mul__ | ( | self, | |
| Vector4_unsigned_char | b ) |
x = a * b
| bool mrmeshpy.Matrix4_unsigned_char.__ne__ | ( | self, | |
| Matrix4_unsigned_char | b ) |
| str mrmeshpy.Matrix4_unsigned_char.__repr__ | ( | self | ) |
| Matrix4i mrmeshpy.Matrix4_unsigned_char.__rmul__ | ( | self, | |
| int | b ) |
| None mrmeshpy.Matrix4_unsigned_char.__setitem__ | ( | self, | |
| int | arg0, | ||
| Vector4_unsigned_char | arg1 ) |
| Matrix4i mrmeshpy.Matrix4_unsigned_char.__sub__ | ( | self, | |
| Matrix4_unsigned_char | b ) |
| Matrix4i mrmeshpy.Matrix4_unsigned_char.__truediv__ | ( | self, | |
| int | a ) |
| Vector4_unsigned_char mrmeshpy.Matrix4_unsigned_char.col | ( | self, | |
| int | i ) |
column access
| int mrmeshpy.Matrix4_unsigned_char.data | ( | self | ) |
| int mrmeshpy.Matrix4_unsigned_char.data | ( | self | ) |
| int mrmeshpy.Matrix4_unsigned_char.det | ( | self | ) |
computes determinant of the matrix
| Matrix3_unsigned_char mrmeshpy.Matrix4_unsigned_char.getRotation | ( | self | ) |
| Vector3_unsigned_char mrmeshpy.Matrix4_unsigned_char.getTranslation | ( | self | ) |
|
static |
| float mrmeshpy.Matrix4_unsigned_char.norm | ( | self | ) |
| int mrmeshpy.Matrix4_unsigned_char.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
|
static |
|
static |
returns a matrix that scales uniformly
| None mrmeshpy.Matrix4_unsigned_char.setRotation | ( | self, | |
| Matrix3_unsigned_char | rot ) |
| None mrmeshpy.Matrix4_unsigned_char.setTranslation | ( | self, | |
| Vector3_unsigned_char | t ) |
| Matrix3_unsigned_char mrmeshpy.Matrix4_unsigned_char.submatrix3 | ( | self, | |
| int | i, | ||
| int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
| int mrmeshpy.Matrix4_unsigned_char.trace | ( | self | ) |
computes trace of the matrix
| Matrix4_unsigned_char mrmeshpy.Matrix4_unsigned_char.transposed | ( | self | ) |
computes transposed matrix
| Vector4_unsigned_char mrmeshpy.Matrix4_unsigned_char.x | ( | self | ) |
rows, identity matrix by default
| None mrmeshpy.Matrix4_unsigned_char.x | ( | self, | |
| Vector4_unsigned_char | arg1 ) |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |