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

Public Member Functions

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

Static Public Member Functions

Matrix4ll identity ()
 
Matrix4ll scale (int s)
 
Matrix4ll zero ()
 

Protected Member Functions

Vector4ll _Subscript (self, int row)
 
Vector4ll _Subscript (self, int row)
 

Detailed Description

Generated from:  MR::Matrix4ll
Aliases:  Vector4_long_long_MatrixType

arbitrary 4x4 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

None mrmeshpy.Matrix4ll.__init__ ( self)

◆ __init__() [2/4]

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

◆ __init__() [3/4]

None mrmeshpy.Matrix4ll.__init__ ( self,
Matrix3ll r,
Vector3ll t )
construct from rotation matrix and translation vector

◆ __init__() [4/4]

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

Member Function Documentation

◆ __add__()

Matrix4ll mrmeshpy.Matrix4ll.__add__ ( self,
Matrix4ll 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.Matrix4ll.__call__ ( self,
int row,
int col )
element access

◆ __call__() [2/2]

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

◆ __eq__()

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

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __itruediv__()

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

◆ __mul__() [1/3]

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

◆ __mul__() [2/3]

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

◆ __mul__() [3/3]

Vector4ll mrmeshpy.Matrix4ll.__mul__ ( self,
Vector4ll b )
x = a * b

◆ __ne__()

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

◆ __repr__()

str mrmeshpy.Matrix4ll.__repr__ ( self)

◆ __rmul__()

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

◆ __sub__()

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

◆ __truediv__()

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

◆ _Subscript() [1/2]

Vector4ll mrmeshpy.Matrix4ll._Subscript ( self,
int row )
protected
row access

◆ _Subscript() [2/2]

Vector4ll mrmeshpy.Matrix4ll._Subscript ( self,
int row )
protected

◆ col()

Vector4ll mrmeshpy.Matrix4ll.col ( self,
int i )
column access

◆ data() [1/2]

int mrmeshpy.Matrix4ll.data ( self)

◆ data() [2/2]

int mrmeshpy.Matrix4ll.data ( self)

◆ det()

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

◆ getRotation()

Matrix3ll mrmeshpy.Matrix4ll.getRotation ( self)

◆ getTranslation()

Vector3ll mrmeshpy.Matrix4ll.getTranslation ( self)

◆ identity()

Matrix4ll mrmeshpy.Matrix4ll.identity ( )
static

◆ norm()

float mrmeshpy.Matrix4ll.norm ( self)

◆ normSq()

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

◆ scale()

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

◆ setRotation()

None mrmeshpy.Matrix4ll.setRotation ( self,
Matrix3ll rot )

◆ setTranslation()

None mrmeshpy.Matrix4ll.setTranslation ( self,
Vector3ll t )

◆ submatrix3()

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

◆ trace()

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

◆ transposed()

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

◆ x() [1/2]

Vector4ll mrmeshpy.Matrix4ll.x ( self)
rows, identity matrix by default

◆ x() [2/2]

None mrmeshpy.Matrix4ll.x ( self,
Vector4ll arg1 )

◆ zero()

Matrix4ll mrmeshpy.Matrix4ll.zero ( )
static

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