MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstMatrix4_unsigned_char:

Public Member Functions

Matrix4i __add__ (self, ConstMatrix4_unsigned_char b)
int __call__ (self, int row, int col)
bool __eq__ (self, ConstMatrix4_unsigned_char b)
ConstVector4_unsigned_char __getitem__ (self, int row)
 __init__ (self, *args, **kwargs)
Matrix4i __mul__ (self, int a)
Vector4i __mul__ (self, ConstVector4_unsigned_char b)
Matrix4i __mul__ (self, ConstMatrix4_unsigned_char b)
bool __ne__ (self, ConstMatrix4_unsigned_char b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any mat)
Matrix4i __rmul__ (self, int b)
Matrix4i __sub__ (self, ConstMatrix4_unsigned_char b)
Matrix4i __truediv__ (self, int a)
Vector4_unsigned_char col (self, int i)
int data (self)
int det (self)
Matrix3_unsigned_char getRotation (self)
Vector3_unsigned_char getTranslation (self)
float norm (self)
int normSq (self)
Matrix3_unsigned_char submatrix3 (self, int i, int j)
int trace (self)
Matrix4_unsigned_char transposed (self)
ConstVector4_unsigned_char w (self)
ConstVector4_unsigned_char x (self)
ConstVector4_unsigned_char y (self)
ConstVector4_unsigned_char z (self)

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

Detailed Description

Generated from:  MR::Matrix4<unsigned char>
Aliases:  Vector4_unsigned_char.MatrixType

arbitrary 4x4 matrix

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ __add__()

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.

◆ __call__()

int mrmeshpy.ConstMatrix4_unsigned_char.__call__ ( self,
int row,
int col )
element access

◆ __eq__()

bool mrmeshpy.ConstMatrix4_unsigned_char.__eq__ ( self,
ConstMatrix4_unsigned_char b )

◆ __getitem__()

ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.__getitem__ ( self,
int row )
row access

◆ __mul__() [1/3]

Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__mul__ ( self,
ConstMatrix4_unsigned_char b )
product of two matrices

◆ __mul__() [2/3]

Vector4i mrmeshpy.ConstMatrix4_unsigned_char.__mul__ ( self,
ConstVector4_unsigned_char b )
x = a * b

◆ __mul__() [3/3]

Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__mul__ ( self,
int a )

◆ __ne__()

bool mrmeshpy.ConstMatrix4_unsigned_char.__ne__ ( self,
ConstMatrix4_unsigned_char b )

◆ __repr__()

str mrmeshpy.ConstMatrix4_unsigned_char.__repr__ ( self)

◆ __rlshift__()

typing.Any mrmeshpy.ConstMatrix4_unsigned_char.__rlshift__ ( self,
typing.Any mat )

◆ __rmul__()

Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__rmul__ ( self,
int b )

◆ __sub__()

Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__sub__ ( self,
ConstMatrix4_unsigned_char b )

◆ __truediv__()

Matrix4i mrmeshpy.ConstMatrix4_unsigned_char.__truediv__ ( self,
int a )

◆ col()

Vector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.col ( self,
int i )
column access

◆ data()

int mrmeshpy.ConstMatrix4_unsigned_char.data ( self)

◆ det()

int mrmeshpy.ConstMatrix4_unsigned_char.det ( self)
computes determinant of the matrix

◆ getRotation()

Matrix3_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.getRotation ( self)

◆ getTranslation()

Vector3_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.getTranslation ( self)

◆ identity()

Matrix4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.identity ( )
static

◆ norm()

float mrmeshpy.ConstMatrix4_unsigned_char.norm ( self)

◆ normSq()

int mrmeshpy.ConstMatrix4_unsigned_char.normSq ( self)
compute sum of squared matrix elements

◆ scale()

Matrix4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.scale ( int s)
static
returns a matrix that scales uniformly

◆ submatrix3()

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

◆ trace()

int mrmeshpy.ConstMatrix4_unsigned_char.trace ( self)
computes trace of the matrix

◆ transposed()

Matrix4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.transposed ( self)
computes transposed matrix

◆ w()

ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.w ( self)

◆ x()

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.

◆ y()

ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.y ( self)

◆ z()

ConstVector4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.z ( self)

◆ zero()

Matrix4_unsigned_char mrmeshpy.ConstMatrix4_unsigned_char.zero ( )
static

Member Data Documentation

◆ _offsetof_w

typing mrmeshpy.ConstMatrix4_unsigned_char._offsetof_w = 12
staticprotected

◆ _offsetof_x

typing mrmeshpy.ConstMatrix4_unsigned_char._offsetof_x = 0
staticprotected

◆ _offsetof_y

typing mrmeshpy.ConstMatrix4_unsigned_char._offsetof_y = 4
staticprotected

◆ _offsetof_z

typing mrmeshpy.ConstMatrix4_unsigned_char._offsetof_z = 8
staticprotected

◆ ConstVectorType

mrmeshpy.ConstMatrix4_unsigned_char.ConstVectorType = ConstVector4_unsigned_char
static

◆ VectorType

mrmeshpy.ConstMatrix4_unsigned_char.VectorType = Vector4_unsigned_char
static

The documentation for this class was generated from the following file: