Public Member Functions | |
float | __call__ (self, int row, int col) |
float | __call__ (self, int row, int col) |
Vector3d | __call__ (self, Vector3d b) |
Matrix4d | __iadd__ (self, Matrix4d b) |
Matrix4d | __imatmul__ (self, float b) |
None | __init__ (self) |
None | __init__ (self, Vector4d x, Vector4d y, Vector4d z, Vector4d w) |
None | __init__ (self, Matrix3d r, Vector3d t) |
None | __init__ (self, AffineXf3d xf) |
None | __init__ (self, Matrix4d arg0) |
Matrix4d | __isub__ (self, Matrix4d b) |
Matrix4d | __itruediv__ (self, float b) |
Vector4d | col (self, int i) |
float | data (self) |
float | data (self) |
float | det (self) |
Matrix3d | getRotation (self) |
Vector3d | getTranslation (self) |
Matrix4d | inverse (self) |
float | norm (self) |
float | normSq (self) |
None | setRotation (self, Matrix3d rot) |
None | setTranslation (self, Vector3d t) |
Matrix3d | submatrix3 (self, int i, int j) |
float | trace (self) |
Matrix4d | transposed (self) |
Vector4d | x (self) |
None | x (self, Vector4d arg1) |
Static Public Member Functions | |
Matrix4d | identity () |
Matrix4d | scale (float s) |
Matrix4d | zero () |
Protected Member Functions | |
Vector4d | _Subscript (self, int row) |
Vector4d | _Subscript (self, int row) |
AffineXf3d | _convert_to_AffineXf3_double (self) |
Generated from: MR::Matrix4d Aliases: Matrix4_double, Matrix4_double, Vector4_double_MatrixType arbitrary 4x4 matrix \\ingroup MatrixGroup
None meshlib.mrmeshpy.Matrix4d.__init__ | ( | self | ) |
initializes matrix from 4 row-vectors
construct from rotation matrix and translation vector
None meshlib.mrmeshpy.Matrix4d.__init__ | ( | self, | |
AffineXf3d | 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.
None meshlib.mrmeshpy.Matrix4d.__init__ | ( | self, | |
Matrix4d | arg0 ) |
Implicit copy constructor.
float meshlib.mrmeshpy.Matrix4d.__call__ | ( | self, | |
int | row, | ||
int | col ) |
element access
float meshlib.mrmeshpy.Matrix4d.__call__ | ( | self, | |
int | row, | ||
int | col ) |
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
Matrix4d meshlib.mrmeshpy.Matrix4d.__imatmul__ | ( | self, | |
float | b ) |
Matrix4d meshlib.mrmeshpy.Matrix4d.__itruediv__ | ( | self, | |
float | b ) |
|
protected |
|
protected |
row access
|
protected |
Vector4d meshlib.mrmeshpy.Matrix4d.col | ( | self, | |
int | i ) |
column access
float meshlib.mrmeshpy.Matrix4d.data | ( | self | ) |
float meshlib.mrmeshpy.Matrix4d.data | ( | self | ) |
float meshlib.mrmeshpy.Matrix4d.det | ( | self | ) |
computes determinant of the matrix
Matrix3d meshlib.mrmeshpy.Matrix4d.getRotation | ( | self | ) |
Vector3d meshlib.mrmeshpy.Matrix4d.getTranslation | ( | self | ) |
|
static |
Matrix4d meshlib.mrmeshpy.Matrix4d.inverse | ( | self | ) |
computes inverse matrix
float meshlib.mrmeshpy.Matrix4d.norm | ( | self | ) |
float meshlib.mrmeshpy.Matrix4d.normSq | ( | self | ) |
compute sum of squared matrix elements
|
static |
returns a matrix that scales uniformly
None meshlib.mrmeshpy.Matrix4d.setRotation | ( | self, | |
Matrix3d | rot ) |
None meshlib.mrmeshpy.Matrix4d.setTranslation | ( | self, | |
Vector3d | t ) |
Matrix3d meshlib.mrmeshpy.Matrix4d.submatrix3 | ( | self, | |
int | i, | ||
int | j ) |
computes submatrix of the matrix with excluded i-th row and j-th column
float meshlib.mrmeshpy.Matrix4d.trace | ( | self | ) |
computes trace of the matrix
Matrix4d meshlib.mrmeshpy.Matrix4d.transposed | ( | self | ) |
computes transposed matrix
Vector4d meshlib.mrmeshpy.Matrix4d.x | ( | self | ) |
rows, identity matrix by default
None meshlib.mrmeshpy.Matrix4d.x | ( | self, | |
Vector4d | arg1 ) |
|
static |