MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Matrix4b Class Reference

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)
 
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)
 
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

Matrix4b identity ()
 
Matrix4b scale (bool s)
 
Matrix4b zero ()
 

Protected Member Functions

Vector4b _Subscript (self, int row)
 
Vector4b _Subscript (self, int row)
 

Detailed Description

Generated from:  MR::Matrix4b
Aliases:  Vector4_bool_MatrixType

arbitrary 4x4 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.Matrix4b.__init__ ( self)

◆ __init__() [2/4]

None mrmeshpy.Matrix4b.__init__ ( self,
Vector4b x,
Vector4b y,
Vector4b z,
Vector4b w )
initializes matrix from 4 row-vectors

◆ __init__() [3/4]

None mrmeshpy.Matrix4b.__init__ ( self,
Matrix3b r,
Vector3b t )
construct from rotation matrix and translation vector

◆ __init__() [4/4]

None mrmeshpy.Matrix4b.__init__ ( self,
Matrix4b arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __add__()

Matrix4i mrmeshpy.Matrix4b.__add__ ( self,
Matrix4b 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__() [1/2]

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

◆ __call__() [2/2]

bool mrmeshpy.Matrix4b.__call__ ( self,
int row,
int col )

◆ __eq__()

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

◆ __iadd__()

Matrix4b mrmeshpy.Matrix4b.__iadd__ ( self,
Matrix4b b )

◆ __imatmul__()

Matrix4b mrmeshpy.Matrix4b.__imatmul__ ( self,
bool b )

◆ __isub__()

Matrix4b mrmeshpy.Matrix4b.__isub__ ( self,
Matrix4b b )

◆ __itruediv__()

Matrix4b mrmeshpy.Matrix4b.__itruediv__ ( self,
bool b )

◆ __mul__() [1/3]

Matrix4i mrmeshpy.Matrix4b.__mul__ ( self,
bool a )

◆ __mul__() [2/3]

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

◆ __mul__() [3/3]

Vector4i mrmeshpy.Matrix4b.__mul__ ( self,
Vector4b b )
x = a * b

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.Matrix4b.__repr__ ( self)

◆ __rmul__()

Matrix4i mrmeshpy.Matrix4b.__rmul__ ( self,
bool b )

◆ __sub__()

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

◆ __truediv__()

Matrix4i mrmeshpy.Matrix4b.__truediv__ ( self,
bool a )

◆ _Subscript() [1/2]

Vector4b mrmeshpy.Matrix4b._Subscript ( self,
int row )
protected
row access

◆ _Subscript() [2/2]

Vector4b mrmeshpy.Matrix4b._Subscript ( self,
int row )
protected

◆ col()

Vector4b mrmeshpy.Matrix4b.col ( self,
int i )
column access

◆ data() [1/2]

bool mrmeshpy.Matrix4b.data ( self)

◆ data() [2/2]

bool mrmeshpy.Matrix4b.data ( self)

◆ det()

bool mrmeshpy.Matrix4b.det ( self)
computes determinant of the matrix

◆ getRotation()

Matrix3b mrmeshpy.Matrix4b.getRotation ( self)

◆ getTranslation()

Vector3b mrmeshpy.Matrix4b.getTranslation ( self)

◆ identity()

Matrix4b mrmeshpy.Matrix4b.identity ( )
static

◆ norm()

float mrmeshpy.Matrix4b.norm ( self)

◆ normSq()

bool mrmeshpy.Matrix4b.normSq ( self)
compute sum of squared matrix elements

◆ scale()

Matrix4b mrmeshpy.Matrix4b.scale ( bool s)
static
returns a matrix that scales uniformly

◆ setRotation()

None mrmeshpy.Matrix4b.setRotation ( self,
Matrix3b rot )

◆ setTranslation()

None mrmeshpy.Matrix4b.setTranslation ( self,
Vector3b t )

◆ submatrix3()

Matrix3b mrmeshpy.Matrix4b.submatrix3 ( self,
int i,
int j )
computes submatrix of the matrix with excluded i-th row and j-th column

◆ trace()

bool mrmeshpy.Matrix4b.trace ( self)
computes trace of the matrix

◆ transposed()

Matrix4b mrmeshpy.Matrix4b.transposed ( self)
computes transposed matrix

◆ x() [1/2]

Vector4b mrmeshpy.Matrix4b.x ( self)
rows, identity matrix by default

◆ x() [2/2]

None mrmeshpy.Matrix4b.x ( self,
Vector4b arg1 )

◆ zero()

Matrix4b mrmeshpy.Matrix4b.zero ( )
static

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