Public Member Functions | |
| Matrix4f | __add__ (self, Matrix4f b) | 
| float | __call__ (self, int row, int col) | 
| float | __call__ (self, int row, int col) | 
| Vector3f | __call__ (self, Vector3f b) | 
| bool | __eq__ (self, Matrix4f b) | 
| Vector4f | __getitem__ (self, int row) | 
| Vector4f | __getitem__ (self, int row) | 
| Matrix4f | __iadd__ (self, Matrix4f b) | 
| Matrix4f | __imatmul__ (self, float b) | 
| None | __init__ (self) | 
| None | __init__ (self, Vector4f x, Vector4f y, Vector4f z, Vector4f w) | 
| None | __init__ (self, Matrix3f r, Vector3f t) | 
| None | __init__ (self, AffineXf3f xf) | 
| None | __init__ (self, Matrix4f arg0) | 
| Matrix4f | __isub__ (self, Matrix4f b) | 
| Matrix4f | __itruediv__ (self, float b) | 
| Matrix4f | __mul__ (self, float a) | 
| Vector4f | __mul__ (self, Vector4f b) | 
| Matrix4f | __mul__ (self, Matrix4f b) | 
| bool | __ne__ (self, Matrix4f b) | 
| str | __repr__ (self) | 
| Matrix4f | __rmul__ (self, float b) | 
| None | __setitem__ (self, int arg0, Vector4f arg1) | 
| Matrix4f | __sub__ (self, Matrix4f b) | 
| Matrix4f | __truediv__ (self, float a) | 
| Vector4f | col (self, int i) | 
| float | data (self) | 
| float | data (self) | 
| float | det (self) | 
| Matrix3f | getRotation (self) | 
| Vector3f | getTranslation (self) | 
| Matrix4f | inverse (self) | 
| float | norm (self) | 
| float | normSq (self) | 
| None | setRotation (self, Matrix3f rot) | 
| None | setTranslation (self, Vector3f t) | 
| Matrix3f | submatrix3 (self, int i, int j) | 
| float | trace (self) | 
| Matrix4f | transposed (self) | 
| Vector4f | x (self) | 
| None | x (self, Vector4f arg1) | 
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) | 
| Matrix4f | identity () | 
| Matrix4f | operator (*args, **kwargs) | 
| Matrix4f | operator (*args, **kwargs) | 
| Matrix4f | scale (float s) | 
| Matrix4f | zero () | 
Static Protected Attributes | |
| typing | _offsetof_w = 48 | 
| typing | _offsetof_x = 0 | 
| typing | _offsetof_y = 16 | 
| typing | _offsetof_z = 32 | 
Generated from: MR::Matrix4f Aliases: Vector4_float_MatrixType arbitrary 4x4 matrix
      
  | 
  static | 
| None mrmeshpy.Matrix4f.__init__ | ( | self | ) | 
initializes matrix from 4 row-vectors
construct from rotation matrix and translation vector
| None mrmeshpy.Matrix4f.__init__ | ( | self, | |
| AffineXf3f | 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 mrmeshpy.Matrix4f.__init__ | ( | self, | |
| Matrix4f | arg0 ) | 
Implicit copy constructor.
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.
| float mrmeshpy.Matrix4f.__call__ | ( | self, | |
| int | row, | ||
| int | col ) | 
element access
| float mrmeshpy.Matrix4f.__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
| bool mrmeshpy.Matrix4f.__eq__ | ( | self, | |
| Matrix4f | b ) | 
| Vector4f mrmeshpy.Matrix4f.__getitem__ | ( | self, | |
| int | row ) | 
row access
| Vector4f mrmeshpy.Matrix4f.__getitem__ | ( | self, | |
| int | row ) | 
| Matrix4f mrmeshpy.Matrix4f.__imatmul__ | ( | self, | |
| float | b ) | 
| Matrix4f mrmeshpy.Matrix4f.__itruediv__ | ( | self, | |
| float | b ) | 
| Matrix4f mrmeshpy.Matrix4f.__mul__ | ( | self, | |
| float | a ) | 
| bool mrmeshpy.Matrix4f.__ne__ | ( | self, | |
| Matrix4f | b ) | 
| str mrmeshpy.Matrix4f.__repr__ | ( | self | ) | 
| Matrix4f mrmeshpy.Matrix4f.__rmul__ | ( | self, | |
| float | b ) | 
| None mrmeshpy.Matrix4f.__setitem__ | ( | self, | |
| int | arg0, | ||
| Vector4f | arg1 ) | 
| Matrix4f mrmeshpy.Matrix4f.__truediv__ | ( | self, | |
| float | a ) | 
| Vector4f mrmeshpy.Matrix4f.col | ( | self, | |
| int | i ) | 
column access
| float mrmeshpy.Matrix4f.data | ( | self | ) | 
| float mrmeshpy.Matrix4f.data | ( | self | ) | 
| float mrmeshpy.Matrix4f.det | ( | self | ) | 
computes determinant of the matrix
| Matrix3f mrmeshpy.Matrix4f.getRotation | ( | self | ) | 
| Vector3f mrmeshpy.Matrix4f.getTranslation | ( | self | ) | 
      
  | 
  static | 
| Matrix4f mrmeshpy.Matrix4f.inverse | ( | self | ) | 
computes inverse matrix
| float mrmeshpy.Matrix4f.norm | ( | self | ) | 
| float mrmeshpy.Matrix4f.normSq | ( | self | ) | 
compute sum of squared matrix elements
      
  | 
  static | 
      
  | 
  static | 
      
  | 
  static | 
returns a matrix that scales uniformly
| None mrmeshpy.Matrix4f.setRotation | ( | self, | |
| Matrix3f | rot ) | 
| None mrmeshpy.Matrix4f.setTranslation | ( | self, | |
| Vector3f | t ) | 
| Matrix3f mrmeshpy.Matrix4f.submatrix3 | ( | self, | |
| int | i, | ||
| int | j ) | 
computes submatrix of the matrix with excluded i-th row and j-th column
| float mrmeshpy.Matrix4f.trace | ( | self | ) | 
computes trace of the matrix
| Matrix4f mrmeshpy.Matrix4f.transposed | ( | self | ) | 
computes transposed matrix
| Vector4f mrmeshpy.Matrix4f.x | ( | self | ) | 
rows, identity matrix by default
| None mrmeshpy.Matrix4f.x | ( | self, | |
| Vector4f | arg1 ) | 
      
  | 
  static | 
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
      
  | 
  staticprotected | 
      
  | 
  staticprotected |