Public Member Functions | |
| Matrix_float (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| Matrix_float () | |
| Matrix_float (meshlib.Matrix_float _other) | |
| Matrix_float (long numRows, long numCols) | |
| meshlib.Matrix_float | assignFromAnother (meshlib.Matrix_float _other) |
| java.lang.foreign.MemorySegment | call_mut_2 (long row, long col) |
| java.lang.foreign.MemorySegment | call_mut_1 (long i) |
| float | call_2 (long row, long col) |
| float | call_1 (long i) |
| meshlib.Matrix_float | getSubMatrix (long startRow, long nRow, long startCol, long nCol) |
| meshlib.Matrix_float | transposed () |
| void | fill (float val) |
| void | clear () |
| long | getRowsNum () |
| long | getColsNum () |
| meshlib.std_vector_float | data () |
| void | resize (meshlib.Vector2i dims) |
| meshlib.Vector2i | dims () |
| long | size () |
| meshlib.PixelId | toPixelId (meshlib.Vector2i pos) |
| long | toIndex (meshlib.Vector2i pos) |
| meshlib.RectIndexer | upcastToRectIndexer () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Static Public Member Functions | |
| static meshlib.Matrix_float | staticDowncastFromRectIndexer (meshlib.RectIndexer object) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Row-major matrix with T values Generated from class MR::Matrix<float>. Base classes: Direct: (non-virtual) MR::RectIndexer
Instances created here own their C++ objects, see CppObject.
| meshlib.Matrix_float.Matrix_float | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.Matrix_float.Matrix_float | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_Matrix_float_DefaultConstruct().
| meshlib.Matrix_float.Matrix_float | ( | meshlib.Matrix_float | _other | ) |
Generated from constructor MR::Matrix<float>::Matrix. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_Matrix_float_ConstructFromAnother().
| meshlib.Matrix_float.Matrix_float | ( | long | numRows, |
| long | numCols ) |
Generated from constructor MR::Matrix<float>::Matrix. The reference to the parameter numRows might be preserved in the constructed object. The reference to the parameter numCols might be preserved in the constructed object.
Calls MR_Matrix_float_Construct().
| meshlib.Matrix_float meshlib.Matrix_float.assignFromAnother | ( | meshlib.Matrix_float | _other | ) |
Generated from method MR::Matrix<float>::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_Matrix_float_AssignFromAnother().
| float meshlib.Matrix_float.call_1 | ( | long | i | ) |
Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_1().
| float meshlib.Matrix_float.call_2 | ( | long | row, |
| long | col ) |
Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_2().
| java.lang.foreign.MemorySegment meshlib.Matrix_float.call_mut_1 | ( | long | i | ) |
Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_mut_1(). Some types are raw C types, see the C bindings for the details.
| java.lang.foreign.MemorySegment meshlib.Matrix_float.call_mut_2 | ( | long | row, |
| long | col ) |
main access method Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_mut_2(). Some types are raw C types, see the C bindings for the details.
| void meshlib.Matrix_float.clear | ( | ) |
Generated from method MR::Matrix<float>::clear.
Calls MR_Matrix_float_clear().
| meshlib.std_vector_float meshlib.Matrix_float.data | ( | ) |
Generated from method MR::Matrix<float>::data.
Calls MR_Matrix_float_data().
| meshlib.Vector2i meshlib.Matrix_float.dims | ( | ) |
Generated from method MR::Matrix<float>::dims.
Calls MR_Matrix_float_dims().
| void meshlib.Matrix_float.fill | ( | float | val | ) |
Generated from method MR::Matrix<float>::fill.
Calls MR_Matrix_float_fill().
| long meshlib.Matrix_float.getColsNum | ( | ) |
Generated from method MR::Matrix<float>::getColsNum.
Calls MR_Matrix_float_getColsNum().
| long meshlib.Matrix_float.getRowsNum | ( | ) |
Generated from method MR::Matrix<float>::getRowsNum.
Calls MR_Matrix_float_getRowsNum().
| meshlib.Matrix_float meshlib.Matrix_float.getSubMatrix | ( | long | startRow, |
| long | nRow, | ||
| long | startCol, | ||
| long | nCol ) |
Generated from method MR::Matrix<float>::getSubMatrix.
Calls MR_Matrix_float_getSubMatrix().
| void meshlib.Matrix_float.resize | ( | meshlib.Vector2i | dims | ) |
Generated from method MR::Matrix<float>::resize.
Calls MR_Matrix_float_resize().
| long meshlib.Matrix_float.size | ( | ) |
Generated from method MR::Matrix<float>::size.
Calls MR_Matrix_float_size().
|
static |
Static downcast from the base class MR::RectIndexer. Undefined behavior if the object isn't actually a Matrix_float. The result refers to object.
Calls MR_Matrix_float_MutableStaticDowncastFrom_MR_RectIndexer().
| long meshlib.Matrix_float.toIndex | ( | meshlib.Vector2i | pos | ) |
Generated from method MR::Matrix<float>::toIndex.
Calls MR_Matrix_float_toIndex().
| meshlib.PixelId meshlib.Matrix_float.toPixelId | ( | meshlib.Vector2i | pos | ) |
Generated from method MR::Matrix<float>::toPixelId.
Calls MR_Matrix_float_toPixelId().
| meshlib.Matrix_float meshlib.Matrix_float.transposed | ( | ) |
computes transposed matrix Generated from method MR::Matrix<float>::transposed.
Calls MR_Matrix_float_transposed().
| meshlib.RectIndexer meshlib.Matrix_float.upcastToRectIndexer | ( | ) |
Upcasts to the base class MR::RectIndexer. The result refers to this object.
Calls MR_Matrix_float_MutableUpcastTo_MR_RectIndexer().