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

Public Member Functions

float __call__ (self, int row, int col)
float __call__ (ConstMatrix4d self, int row, int col)
Vector3d __call__ (ConstMatrix4d self, ConstVector3d b)
Vector4d __getitem__ (self, int row)
ConstVector4d __getitem__ (ConstMatrix4d self, int row)
Matrix4d __iadd__ (self, ConstMatrix4d b)
Matrix4d __imul__ (self, float b)
None __init__ (self)
None __init__ (self, ConstVector4d x, ConstVector4d y, ConstVector4d z, ConstVector4d w)
None __init__ (self, ConstMatrix3d r, ConstVector3d t)
None __init__ (self, ConstAffineXf3d xf)
None __init__ (self, Matrix4d arg0)
Matrix4d __isub__ (self, ConstMatrix4d b)
Matrix4d __itruediv__ (self, float b)
typing.Any __rrshift__ (self, typing.Any mat)
None __setitem__ (self, int arg0, ConstVector4d arg1)
Matrix4d assign (self, ConstMatrix4d other)
float data (self)
float data (ConstMatrix4d self)
None setRotation (self, ConstMatrix3d rot)
None setTranslation (self, ConstVector3d t)
Vector4d w (self)
None w (self, ConstVector4d arg1)
Vector4d x (self)
None x (self, ConstVector4d arg1)
Vector4d y (self)
None y (self, ConstVector4d arg1)
Vector4d z (self)
None z (self, ConstVector4d arg1)
Public Member Functions inherited from mrmeshpy.ConstMatrix4d
Matrix4d __add__ (self, ConstMatrix4d b)
float __call__ (self, int row, int col)
Vector3d __call__ (self, ConstVector3d b)
bool __eq__ (self, ConstMatrix4d b)
ConstVector4d __getitem__ (self, int row)
 __init__ (self, *args, **kwargs)
Matrix4d __mul__ (self, float a)
Vector4d __mul__ (self, ConstVector4d b)
Matrix4d __mul__ (self, ConstMatrix4d b)
bool __ne__ (self, ConstMatrix4d b)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any mat)
Matrix4d __rmul__ (self, float b)
Matrix4d __sub__ (self, ConstMatrix4d b)
Matrix4d __truediv__ (self, float a)
Vector4d col (self, int i)
float det (self)
Matrix3d getRotation (self)
Vector3d getTranslation (self)
Matrix4d inverse (self)
float norm (self)
float normSq (self)
Matrix3d submatrix3 (self, int i, int j)
float trace (self)
Matrix4d transposed (self)

Static Public Member Functions

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

Additional Inherited Members

Static Protected Attributes inherited from mrmeshpy.ConstMatrix4d
typing _offsetof_w = 96
typing _offsetof_x = 0
typing _offsetof_y = 32
typing _offsetof_z = 64

Detailed Description

Generated from:  MR::Matrix4d
Aliases:  Vector4_double_MatrixType

arbitrary 4x4 matrix

Constructor & Destructor Documentation

◆ __init__() [1/6]

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

◆ __init__() [2/6]

None mrmeshpy.Matrix4d.__init__ ( self)

◆ __init__() [3/6]

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

◆ __init__() [4/6]

None mrmeshpy.Matrix4d.__init__ ( self,
ConstMatrix3d r,
ConstVector3d t )
construct from rotation matrix and translation vector

◆ __init__() [5/6]

None mrmeshpy.Matrix4d.__init__ ( self,
ConstAffineXf3d 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.Matrix4d.__init__ ( self,
Matrix4d arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __call__() [1/3]

Vector3d mrmeshpy.Matrix4d.__call__ ( ConstMatrix4d self,
ConstVector3d 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.Matrix4d.__call__ ( ConstMatrix4d self,
int row,
int col )
element access

◆ __call__() [3/3]

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

◆ __getitem__() [1/2]

ConstVector4d mrmeshpy.Matrix4d.__getitem__ ( ConstMatrix4d self,
int row )
row access

◆ __getitem__() [2/2]

Vector4d mrmeshpy.Matrix4d.__getitem__ ( self,
int row )

◆ __iadd__()

Matrix4d mrmeshpy.Matrix4d.__iadd__ ( self,
ConstMatrix4d b )

◆ __imul__()

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

◆ __isub__()

Matrix4d mrmeshpy.Matrix4d.__isub__ ( self,
ConstMatrix4d b )

◆ __itruediv__()

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

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Matrix4d.__setitem__ ( self,
int arg0,
ConstVector4d arg1 )

◆ assign()

Matrix4d mrmeshpy.Matrix4d.assign ( self,
ConstMatrix4d other )

◆ data() [1/2]

float mrmeshpy.Matrix4d.data ( ConstMatrix4d self)

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ data() [2/2]

float mrmeshpy.Matrix4d.data ( self)

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ setRotation()

None mrmeshpy.Matrix4d.setRotation ( self,
ConstMatrix3d rot )

◆ setTranslation()

None mrmeshpy.Matrix4d.setTranslation ( self,
ConstVector3d t )

◆ w() [1/2]

Vector4d mrmeshpy.Matrix4d.w ( self)

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ w() [2/2]

None mrmeshpy.Matrix4d.w ( self,
ConstVector4d arg1 )

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ x() [1/2]

Vector4d mrmeshpy.Matrix4d.x ( self)
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ x() [2/2]

None mrmeshpy.Matrix4d.x ( self,
ConstVector4d arg1 )
rows, identity matrix by default

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ y() [1/2]

Vector4d mrmeshpy.Matrix4d.y ( self)

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ y() [2/2]

None mrmeshpy.Matrix4d.y ( self,
ConstVector4d arg1 )

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ z() [1/2]

Vector4d mrmeshpy.Matrix4d.z ( self)

Reimplemented from mrmeshpy.ConstMatrix4d.

◆ z() [2/2]

None mrmeshpy.Matrix4d.z ( self,
ConstVector4d arg1 )

Reimplemented from mrmeshpy.ConstMatrix4d.


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