Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::Matrix_float) -> &mut meshlib::Matrix_float |
| auto | call_mut_2 (row:usize, col:usize) -> &mut f32 |
| auto | call_mut_1 (i:usize) -> &mut f32 |
| auto | call_2 (row:usize, col:usize) const -> &f32 |
| auto | call_1 (i:usize) const -> &f32 |
| auto | get_sub_matrix (startRow:usize, nRow:usize, startCol:usize, nCol:usize) -> meshlib::Owned< meshlib::Matrix_float > |
| auto | transposed () const -> meshlib::Owned< meshlib::Matrix_float > |
| void | fill (val:f32) |
| void | clear () |
| auto | get_rows_num () const -> usize |
| auto | get_cols_num () const -> usize |
| auto | data () const -> &meshlib::std_vector_float |
| void | resize (dims:&meshlib::Vector2i) |
| auto | dims () const -> &meshlib::Vector2i |
| auto | size () const -> usize |
| auto | to_pixel_id (pos:&meshlib::Vector2i) const -> meshlib::PixelId |
| auto | to_index (pos:&meshlib::Vector2i) const -> usize |
| auto | upcast_to_rect_indexer () const -> &meshlib::RectIndexer |
| auto | upcast_to_rect_indexer_mut () -> &mut meshlib::RectIndexer |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::Matrix_float > |
| static auto | construct_from_another (_other:&meshlib::Matrix_float) -> meshlib::Owned< meshlib::Matrix_float > |
| static auto | construct (numRows:usize, numCols:usize) -> meshlib::Owned< meshlib::Matrix_float > |
| static auto | static_downcast_from_rect_indexer (object:&meshlib::RectIndexer) -> &Self |
| static auto | static_downcast_from_rect_indexer_mut (object:&mut meshlib::RectIndexer) -> &mut Self |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Row-major matrix with T values Generated from class MR::Matrix<float>. Base classes: Direct: (non-virtual) MR::RectIndexer
Generated from class MR::Matrix<float>. Heap-allocated instances are held in Owned<Matrix_float>.
| auto meshlib::Matrix_float::assign_from_another | ( | _other:&meshlib::Matrix_float | ) | -> &mut meshlib::Matrix_float |
Generated from method MR::Matrix<float>::operator=.
Calls MR_Matrix_float_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::Matrix_float::call_1 | ( | i:usize | ) | const -> &f32 |
Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_1().
| auto meshlib::Matrix_float::call_2 | ( | row:usize | , |
| col:usize | ) const -> &f32 |
Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_2().
| auto meshlib::Matrix_float::call_mut_1 | ( | i:usize | ) | -> &mut f32 |
Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_mut_1().
| auto meshlib::Matrix_float::call_mut_2 | ( | row:usize | , |
| col:usize | ) -> &mut f32 |
main access method Generated from method MR::Matrix<float>::operator().
Calls MR_Matrix_float_call_mut_2().
| void meshlib::Matrix_float::clear | ( | ) |
Generated from method MR::Matrix<float>::clear.
Calls MR_Matrix_float_clear().
|
static |
Generated from constructor MR::Matrix<float>::Matrix.
Calls MR_Matrix_float_Construct(). 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.
|
static |
Generated from constructor MR::Matrix<float>::Matrix.
Calls MR_Matrix_float_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::Matrix_float::data | ( | ) | const -> &meshlib::std_vector_float |
Generated from method MR::Matrix<float>::data.
Calls MR_Matrix_float_data().
| auto meshlib::Matrix_float::dims | ( | ) | const -> &meshlib::Vector2i |
Generated from method MR::Matrix<float>::dims.
Calls MR_Matrix_float_dims().
| void meshlib::Matrix_float::fill | ( | val:f32 | ) |
Generated from method MR::Matrix<float>::fill.
Calls MR_Matrix_float_fill().
| auto meshlib::Matrix_float::get_cols_num | ( | ) | const -> usize |
Generated from method MR::Matrix<float>::getColsNum.
Calls MR_Matrix_float_getColsNum().
| auto meshlib::Matrix_float::get_rows_num | ( | ) | const -> usize |
Generated from method MR::Matrix<float>::getRowsNum.
Calls MR_Matrix_float_getRowsNum().
| auto meshlib::Matrix_float::get_sub_matrix | ( | startRow:usize | , |
| nRow:usize | , | ||
| startCol:usize | , | ||
| nCol:usize | ) -> meshlib::Owned< meshlib::Matrix_float > |
Generated from method MR::Matrix<float>::getSubMatrix.
Calls MR_Matrix_float_getSubMatrix().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Matrix_float_DefaultConstruct().
| void meshlib::Matrix_float::resize | ( | dims:&meshlib::Vector2i | ) |
Generated from method MR::Matrix<float>::resize.
Calls MR_Matrix_float_resize().
| auto meshlib::Matrix_float::size | ( | ) | const -> usize |
Generated from method MR::Matrix<float>::size.
Calls MR_Matrix_float_size().
|
static |
Static downcast from the base class MR::RectIndexer.
Calls MR_Matrix_float_StaticDowncastFrom_MR_RectIndexer(). Undefined behavior if the object isn't actually a Matrix_float.
|
static |
Static downcast from the base class MR::RectIndexer.
Calls MR_Matrix_float_MutableStaticDowncastFrom_MR_RectIndexer(). Undefined behavior if the object isn't actually a Matrix_float.
| auto meshlib::Matrix_float::to_index | ( | pos:&meshlib::Vector2i | ) | const -> usize |
Generated from method MR::Matrix<float>::toIndex.
Calls MR_Matrix_float_toIndex().
| auto meshlib::Matrix_float::to_pixel_id | ( | pos:&meshlib::Vector2i | ) | const -> meshlib::PixelId |
Generated from method MR::Matrix<float>::toPixelId.
Calls MR_Matrix_float_toPixelId().
| auto meshlib::Matrix_float::transposed | ( | ) | const -> meshlib::Owned< meshlib::Matrix_float > |
computes transposed matrix Generated from method MR::Matrix<float>::transposed.
Calls MR_Matrix_float_transposed().
| auto meshlib::Matrix_float::upcast_to_rect_indexer | ( | ) | const -> &meshlib::RectIndexer |
Upcasts to the base class MR::RectIndexer.
Calls MR_Matrix_float_UpcastTo_MR_RectIndexer().
| auto meshlib::Matrix_float::upcast_to_rect_indexer_mut | ( | ) | -> &mut meshlib::RectIndexer |
Upcasts to the base class MR::RectIndexer.
Calls MR_Matrix_float_MutableUpcastTo_MR_RectIndexer().