Loading [MathJax]/jax/output/HTML-CSS/config.js
MeshLib Python Docs
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages Concepts
mrmeshpy.Matrix4i Class Reference

Public Member Functions

Matrix4i __add__ (self, Matrix4i b)
 
int __call__ (self, int row, int col)
 
int __call__ (self, int row, int col)
 
bool __eq__ (self, Matrix4i b)
 
Matrix4i __iadd__ (self, Matrix4i b)
 
Matrix4i __imatmul__ (self, int b)
 
None __init__ (self)
 
None __init__ (self, Vector4i x, Vector4i y, Vector4i z, Vector4i w)
 
None __init__ (self, Matrix3i r, Vector3i t)
 
None __init__ (self, Matrix4i arg0)
 
Matrix4i __isub__ (self, Matrix4i b)
 
Matrix4i __itruediv__ (self, int b)
 
Matrix4i __mul__ (self, int a)
 
Vector4i __mul__ (self, Vector4i b)
 
Matrix4i __mul__ (self, Matrix4i b)
 
bool __ne__ (self, Matrix4i b)
 
str __repr__ (self)
 
Matrix4i __rmul__ (self, int b)
 
Matrix4i __sub__ (self, Matrix4i b)
 
Matrix4i __truediv__ (self, int a)
 
Vector4i col (self, int i)
 
int data (self)
 
int data (self)
 
int det (self)
 
Matrix3i getRotation (self)
 
Vector3i getTranslation (self)
 
float norm (self)
 
int normSq (self)
 
None setRotation (self, Matrix3i rot)
 
None setTranslation (self, Vector3i t)
 
Matrix3i submatrix3 (self, int i, int j)
 
int trace (self)
 
Matrix4i transposed (self)
 
Vector4i x (self)
 
None x (self, Vector4i arg1)
 

Static Public Member Functions

Matrix4i identity ()
 
Matrix4i scale (int s)
 
Matrix4i zero ()
 

Protected Member Functions

Vector4i _Subscript (self, int row)
 
Vector4i _Subscript (self, int row)
 

Detailed Description

Generated from: MR::Matrix4i Aliases: Vector4_int_MatrixType arbitrary 4x4 matrix \\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.Matrix4i.__init__ ( self)

◆ __init__() [2/4]

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

◆ __init__() [3/4]

None mrmeshpy.Matrix4i.__init__ ( self,
Matrix3i r,
Vector3i t )
construct from rotation matrix and translation vector

◆ __init__() [4/4]

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

Member Function Documentation

◆ __add__()

Matrix4i mrmeshpy.Matrix4i.__add__ ( self,
Matrix4i 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]

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

◆ __call__() [2/2]

int mrmeshpy.Matrix4i.__call__ ( self,
int row,
int col )

◆ __eq__()

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

◆ __iadd__()

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

◆ __imatmul__()

Matrix4i mrmeshpy.Matrix4i.__imatmul__ ( self,
int b )

◆ __isub__()

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

◆ __itruediv__()

Matrix4i mrmeshpy.Matrix4i.__itruediv__ ( self,
int b )

◆ __mul__() [1/3]

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

◆ __mul__() [2/3]

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

◆ __mul__() [3/3]

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

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.Matrix4i.__repr__ ( self)

◆ __rmul__()

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

◆ __sub__()

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

◆ __truediv__()

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

◆ _Subscript() [1/2]

Vector4i mrmeshpy.Matrix4i._Subscript ( self,
int row )
protected
row access

◆ _Subscript() [2/2]

Vector4i mrmeshpy.Matrix4i._Subscript ( self,
int row )
protected

◆ col()

Vector4i mrmeshpy.Matrix4i.col ( self,
int i )
column access

◆ data() [1/2]

int mrmeshpy.Matrix4i.data ( self)

◆ data() [2/2]

int mrmeshpy.Matrix4i.data ( self)

◆ det()

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

◆ getRotation()

Matrix3i mrmeshpy.Matrix4i.getRotation ( self)

◆ getTranslation()

Vector3i mrmeshpy.Matrix4i.getTranslation ( self)

◆ identity()

Matrix4i mrmeshpy.Matrix4i.identity ( )
static

◆ norm()

float mrmeshpy.Matrix4i.norm ( self)

◆ normSq()

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

◆ scale()

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

◆ setRotation()

None mrmeshpy.Matrix4i.setRotation ( self,
Matrix3i rot )

◆ setTranslation()

None mrmeshpy.Matrix4i.setTranslation ( self,
Vector3i t )

◆ submatrix3()

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

◆ trace()

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

◆ transposed()

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

◆ x() [1/2]

Vector4i mrmeshpy.Matrix4i.x ( self)
rows, identity matrix by default

◆ x() [2/2]

None mrmeshpy.Matrix4i.x ( self,
Vector4i arg1 )

◆ zero()

Matrix4i mrmeshpy.Matrix4i.zero ( )
static

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