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

Public Member Functions

int __call__ (self, int row, int col)
 
int __call__ (self, int row, int col)
 
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)
 
str __repr__ (self)
 
Vector4i col (self, int i)
 
int data (self)
 
int data (self)
 
int det (self)
 
Matrix3i getRotation (self)
 
Vector3i getTranslation (self)
 
Matrix4i inverse (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)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

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

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

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

◆ __repr__()

str mrmeshpy.Matrix4i.__repr__ ( self)

◆ _pybind11_conduit_v1_()

mrmeshpy.Matrix4i._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ _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

◆ inverse()

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

◆ 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: