Static Public Member Functions | |
| Matrix4_unsigned_char | identity () |
| Matrix4_unsigned_char | scale (int s) |
| Matrix4_unsigned_char | zero () |
Static Public Attributes | |
| ConstVectorType = ConstVector4_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
| mrmeshpy.ConstMatrix4_unsigned_char.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstMatrix4_unsigned_char) -> None 2. __init__(self: meshlib.mrmeshpy.ConstMatrix4_unsigned_char, x: meshlib.mrmeshpy.ConstVector4_unsigned_char, y: meshlib.mrmeshpy.ConstVector4_unsigned_char, z: meshlib.mrmeshpy.ConstVector4_unsigned_char, w: meshlib.mrmeshpy.ConstVector4_unsigned_char) -> None initializes matrix from 4 row-vectors 3. __init__(self: meshlib.mrmeshpy.ConstMatrix4_unsigned_char, r: meshlib.mrmeshpy.ConstMatrix3_unsigned_char, t: meshlib.mrmeshpy.ConstVector3_unsigned_char) -> None construct from rotation matrix and translation vector 4. __init__(self: meshlib.mrmeshpy.ConstMatrix4_unsigned_char, arg0: meshlib.mrmeshpy.ConstMatrix4_unsigned_char) -> None Implicit copy constructor. 5. __init__(self: meshlib.mrmeshpy.ConstMatrix4_unsigned_char, : meshlib.mrmeshpy.ConstMatrix4_unsigned_char) -> None
| Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__add__ | ( | self, | |
| ConstMatrix4_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.ConstMatrix4_unsigned_char.__call__ | ( | self, | |
| int | row, | ||
| int | col ) |
element access
| bool mrmeshpy.ConstMatrix4_unsigned_char.__eq__ | ( | self, | |
| ConstMatrix4_unsigned_char | b ) |
| ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.__getitem__ | ( | self, | |
| int | row ) |
row access
| Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__mul__ | ( | self, | |
| ConstMatrix4_unsigned_char | b ) |
product of two matrices
| Vector4i mrmeshpy.ConstMatrix4_unsigned_char.__mul__ | ( | self, | |
| ConstVector4_unsigned_char | b ) |
x = a * b
| Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__mul__ | ( | self, | |
| int | a ) |
| bool mrmeshpy.ConstMatrix4_unsigned_char.__ne__ | ( | self, | |
| ConstMatrix4_unsigned_char | b ) |
| str mrmeshpy.ConstMatrix4_unsigned_char.__repr__ | ( | self | ) |
| typing.Any mrmeshpy.ConstMatrix4_unsigned_char.__rlshift__ | ( | self, | |
| typing.Any | mat ) |
| Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__rmul__ | ( | self, | |
| int | b ) |
| Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__sub__ | ( | self, | |
| ConstMatrix4_unsigned_char | b ) |
| Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__truediv__ | ( | self, | |
| int | a ) |
| Vector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.col | ( | self, | |
| int | i ) |
column access
| int mrmeshpy.ConstMatrix4_unsigned_char.data | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4_unsigned_char, and mrmeshpy.Matrix4_unsigned_char.
| int mrmeshpy.ConstMatrix4_unsigned_char.det | ( | self | ) |
computes determinant of the matrix
| Matrix3_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.getRotation | ( | self | ) |
| Vector3_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.getTranslation | ( | self | ) |
|
static |
| float mrmeshpy.ConstMatrix4_unsigned_char.norm | ( | self | ) |
| int mrmeshpy.ConstMatrix4_unsigned_char.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
returns a matrix that scales uniformly
| Matrix3_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.submatrix3 | ( | self, | |
| int | i, | ||
| int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
| int mrmeshpy.ConstMatrix4_unsigned_char.trace | ( | self | ) |
computes trace of the matrix
| Matrix4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.transposed | ( | self | ) |
computes transposed matrix
| ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.w | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4_unsigned_char, and mrmeshpy.Matrix4_unsigned_char.
| ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.x | ( | self | ) |
rows, identity matrix by default
Reimplemented in mrmeshpy.Matrix4_unsigned_char, and mrmeshpy.Matrix4_unsigned_char.
| ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.y | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4_unsigned_char, and mrmeshpy.Matrix4_unsigned_char.
| ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.z | ( | self | ) |
Reimplemented in mrmeshpy.Matrix4_unsigned_char, and mrmeshpy.Matrix4_unsigned_char.
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
static |
|
static |