MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.Matrix4f:

Public Member Functions

float __call__ (self, int row, int col)
float __call__ (ConstMatrix4f self, int row, int col)
Vector3f __call__ (ConstMatrix4f self, ConstVector3f b)
Vector4f __getitem__ (self, int row)
ConstVector4f __getitem__ (ConstMatrix4f self, int row)
Matrix4f __iadd__ (self, ConstMatrix4f b)
Matrix4f __imul__ (self, float b)
None __init__ (self)
None __init__ (self, ConstVector4f x, ConstVector4f y, ConstVector4f z, ConstVector4f w)
None __init__ (self, ConstMatrix3f r, ConstVector3f t)
None __init__ (self, ConstAffineXf3f xf)
None __init__ (self, Matrix4f arg0)
Matrix4f __isub__ (self, ConstMatrix4f b)
Matrix4f __itruediv__ (self, float b)
typing.Any __rrshift__ (self, typing.Any mat)
None __setitem__ (self, int arg0, ConstVector4f arg1)
Matrix4f assign (self, ConstMatrix4f other)
float data (self)
float data (ConstMatrix4f self)
None setRotation (self, ConstMatrix3f rot)
None setTranslation (self, ConstVector3f t)
Vector4f w (self)
None w (self, ConstVector4f arg1)
Vector4f x (self)
None x (self, ConstVector4f arg1)
Vector4f y (self)
None y (self, ConstVector4f arg1)
Vector4f z (self)
None z (self, ConstVector4f arg1)
Public Member Functions inherited from mrmeshpy.ConstMatrix4f
Matrix4f __add__ (self, ConstMatrix4f b)
float __call__ (self, int row, int col)
Vector3f __call__ (self, ConstVector3f b)
bool __eq__ (self, ConstMatrix4f b)
ConstVector4f __getitem__ (self, int row)
 __init__ (self, *args, **kwargs)
Matrix4f __mul__ (self, float a)
Vector4f __mul__ (self, ConstVector4f b)
Matrix4f __mul__ (self, ConstMatrix4f b)
bool __ne__ (self, ConstMatrix4f b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any mat)
Matrix4f __rmul__ (self, float b)
Matrix4f __sub__ (self, ConstMatrix4f b)
Matrix4f __truediv__ (self, float a)
Vector4f col (self, int i)
float det (self)
Matrix3f getRotation (self)
Vector3f getTranslation (self)
Matrix4f inverse (self)
float norm (self)
float normSq (self)
Matrix3f submatrix3 (self, int i, int j)
float trace (self)
Matrix4f transposed (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstMatrix4f
Matrix4f identity ()
Matrix4f scale (float s)
Matrix4f zero ()

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMatrix4f
typing _offsetof_w = 48
typing _offsetof_x = 0
typing _offsetof_y = 16
typing _offsetof_z = 32

Detailed Description

Generated from:  MR::Matrix4f
Aliases:  Vector4_float_MatrixType

arbitrary 4x4 matrix

Constructor & Destructor Documentation

◆ __init__() [1/6]

None mrmeshpy.Matrix4f.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/6]

None mrmeshpy.Matrix4f.__init__ ( self)

◆ __init__() [3/6]

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

◆ __init__() [4/6]

None mrmeshpy.Matrix4f.__init__ ( self,
ConstMatrix3f r,
ConstVector3f t )
construct from rotation matrix and translation vector

◆ __init__() [5/6]

None mrmeshpy.Matrix4f.__init__ ( self,
ConstAffineXf3f xf )
Currently `AffineXf3<long long>` doesn't seem to compile, so we disable this constructor for `Matrix4<long long>`, because otherwise
mrbind instantiates the entire `AffineXf3<long long>` and chokes on it.

◆ __init__() [6/6]

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

Member Function Documentation

◆ __call__() [1/3]

Vector3f mrmeshpy.Matrix4f.__call__ ( ConstMatrix4f self,
ConstVector3f b )
converts 3d-vector b in 4d-vector (b,1), multiplies matrix on it,
and assuming the result is in homogeneous coordinates returns it as 3d-vector

◆ __call__() [2/3]

float mrmeshpy.Matrix4f.__call__ ( ConstMatrix4f self,
int row,
int col )
element access

◆ __call__() [3/3]

float mrmeshpy.Matrix4f.__call__ ( self,
int row,
int col )

◆ __getitem__() [1/2]

ConstVector4f mrmeshpy.Matrix4f.__getitem__ ( ConstMatrix4f self,
int row )
row access

◆ __getitem__() [2/2]

Vector4f mrmeshpy.Matrix4f.__getitem__ ( self,
int row )

◆ __iadd__()

Matrix4f mrmeshpy.Matrix4f.__iadd__ ( self,
ConstMatrix4f b )

◆ __imul__()

Matrix4f mrmeshpy.Matrix4f.__imul__ ( self,
float b )

◆ __isub__()

Matrix4f mrmeshpy.Matrix4f.__isub__ ( self,
ConstMatrix4f b )

◆ __itruediv__()

Matrix4f mrmeshpy.Matrix4f.__itruediv__ ( self,
float b )

◆ __rrshift__()

typing.Any mrmeshpy.Matrix4f.__rrshift__ ( self,
typing.Any mat )

◆ __setitem__()

None mrmeshpy.Matrix4f.__setitem__ ( self,
int arg0,
ConstVector4f arg1 )

◆ assign()

Matrix4f mrmeshpy.Matrix4f.assign ( self,
ConstMatrix4f other )

◆ data() [1/2]

float mrmeshpy.Matrix4f.data ( ConstMatrix4f self)

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ data() [2/2]

float mrmeshpy.Matrix4f.data ( self)

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ setRotation()

None mrmeshpy.Matrix4f.setRotation ( self,
ConstMatrix3f rot )

◆ setTranslation()

None mrmeshpy.Matrix4f.setTranslation ( self,
ConstVector3f t )

◆ w() [1/2]

Vector4f mrmeshpy.Matrix4f.w ( self)

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ w() [2/2]

None mrmeshpy.Matrix4f.w ( self,
ConstVector4f arg1 )

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ x() [1/2]

Vector4f mrmeshpy.Matrix4f.x ( self)
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ x() [2/2]

None mrmeshpy.Matrix4f.x ( self,
ConstVector4f arg1 )
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ y() [1/2]

Vector4f mrmeshpy.Matrix4f.y ( self)

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ y() [2/2]

None mrmeshpy.Matrix4f.y ( self,
ConstVector4f arg1 )

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ z() [1/2]

Vector4f mrmeshpy.Matrix4f.z ( self)

Reimplemented from mrmeshpy.ConstMatrix4f.

◆ z() [2/2]

None mrmeshpy.Matrix4f.z ( self,
ConstVector4f arg1 )

Reimplemented from mrmeshpy.ConstMatrix4f.


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