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

Public Member Functions

bool __call__ (self, int row, int col)
 
bool __call__ (self, int row, int col)
 
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)
 
Vector4b col (self, int i)
 
bool data (self)
 
bool data (self)
 
bool det (self)
 
Matrix3b getRotation (self)
 
Vector3b getTranslation (self)
 
Matrix4b inverse (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:  Matrix4_bool, Vector4_bool_MatrixType, Matrix4_bool

arbitrary 4x4 matrix
\\ingroup MatrixGroup

Constructor & Destructor Documentation

◆ __init__() [1/4]

None meshlib.mrmeshpy.Matrix4b.__init__ ( self)

◆ __init__() [2/4]

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

◆ __init__() [3/4]

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

◆ __init__() [4/4]

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

Member Function Documentation

◆ __call__() [1/2]

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

◆ __call__() [2/2]

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

◆ __iadd__()

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

◆ __imatmul__()

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

◆ __isub__()

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

◆ __itruediv__()

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

◆ _Subscript() [1/2]

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

◆ _Subscript() [2/2]

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

◆ col()

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

◆ data() [1/2]

bool meshlib.mrmeshpy.Matrix4b.data ( self)

◆ data() [2/2]

bool meshlib.mrmeshpy.Matrix4b.data ( self)

◆ det()

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

◆ getRotation()

Matrix3b meshlib.mrmeshpy.Matrix4b.getRotation ( self)

◆ getTranslation()

Vector3b meshlib.mrmeshpy.Matrix4b.getTranslation ( self)

◆ identity()

Matrix4b meshlib.mrmeshpy.Matrix4b.identity ( )
static

◆ inverse()

Matrix4b meshlib.mrmeshpy.Matrix4b.inverse ( self)
computes inverse matrix

◆ norm()

float meshlib.mrmeshpy.Matrix4b.norm ( self)

◆ normSq()

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

◆ scale()

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

◆ setRotation()

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

◆ setTranslation()

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

◆ submatrix3()

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

◆ trace()

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

◆ transposed()

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

◆ x() [1/2]

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

◆ x() [2/2]

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

◆ zero()

Matrix4b meshlib.mrmeshpy.Matrix4b.zero ( )
static

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