Public Member Functions | |
| auto | call (row:core::ffi::c_int, col:core::ffi::c_int) const -> &bool |
| auto | call_mut (row:core::ffi::c_int, col:core::ffi::c_int) -> &mut bool |
| auto | index (row:core::ffi::c_int) const -> &meshlib::Vector4b |
| auto | index_mut (row:core::ffi::c_int) -> &mut meshlib::Vector4b |
| auto | col (i:core::ffi::c_int) const -> meshlib::Vector4b |
| auto | trace () const -> bool |
| auto | norm_sq () const -> bool |
| auto | norm () const -> f64 |
| auto | submatrix3 (i:core::ffi::c_int, j:core::ffi::c_int) const -> meshlib::Matrix3b |
| auto | det () const -> bool |
| auto | transposed () const -> meshlib::Matrix4b |
| auto | get_rotation () const -> meshlib::Matrix3b |
| void | set_rotation (rot:&meshlib::Matrix3b) |
| auto | get_translation () const -> meshlib::Vector3b |
| void | set_translation (t:&meshlib::Vector3b) |
| auto | data_mut () -> Option<&mut bool > |
| auto | data () const -> Option<&bool > |
Static Public Member Functions | |
| static auto | new () -> meshlib::Matrix4b |
| static auto | construct_4 (x:&meshlib::Vector4b, y:&meshlib::Vector4b, z:&meshlib::Vector4b, w:&meshlib::Vector4b) -> meshlib::Matrix4b |
| static auto | construct_2 (r:&meshlib::Matrix3b, t:&meshlib::Vector3b) -> meshlib::Matrix4b |
| static auto | zero () -> meshlib::Matrix4b |
| static auto | identity () -> meshlib::Matrix4b |
| static auto | scale (s:bool) -> meshlib::Matrix4b |
Public Attributes | |
| meshlib::Vector4b | x |
| rows, identity matrix by default | |
| meshlib::Vector4b | y |
| meshlib::Vector4b | z |
| meshlib::Vector4b | w |
arbitrary 4x4 matrix Generated from class MR::Matrix4b.
Generated from struct MR::Matrix4b. The fields are accessed directly.
| auto meshlib::Matrix4b::call | ( | row:core::ffi::c_int | , |
| col:core::ffi::c_int | ) const -> &bool |
element access Generated from method MR::Matrix4b::operator().
Calls MR_Matrix4b_call().
| auto meshlib::Matrix4b::call_mut | ( | row:core::ffi::c_int | , |
| col:core::ffi::c_int | ) -> &mut bool |
Generated from method MR::Matrix4b::operator().
Calls MR_Matrix4b_call_mut().
| auto meshlib::Matrix4b::col | ( | i:core::ffi::c_int | ) | const -> meshlib::Vector4b |
column access Generated from method MR::Matrix4b::col.
Calls MR_Matrix4b_col().
|
static |
construct from rotation matrix and translation vector Generated from constructor MR::Matrix4b::Matrix4b.
Calls MR_Matrix4b_Construct_2(). The reference to the parameter r might be preserved in the constructed object. The reference to the parameter t might be preserved in the constructed object.
|
static |
initializes matrix from 4 row-vectors Generated from constructor MR::Matrix4b::Matrix4b.
Calls MR_Matrix4b_Construct_4(). The reference to the parameter x might be preserved in the constructed object. The reference to the parameter y might be preserved in the constructed object. The reference to the parameter z might be preserved in the constructed object. The reference to the parameter w might be preserved in the constructed object.
| auto meshlib::Matrix4b::data | ( | ) | const -> Option<&bool > |
Generated from method MR::Matrix4b::data.
Calls MR_Matrix4b_data().
| auto meshlib::Matrix4b::data_mut | ( | ) | -> Option<&mut bool > |
Generated from method MR::Matrix4b::data.
Calls MR_Matrix4b_data_mut().
| auto meshlib::Matrix4b::det | ( | ) | const -> bool |
computes determinant of the matrix Generated from method MR::Matrix4b::det.
Calls MR_Matrix4b_det().
| auto meshlib::Matrix4b::get_rotation | ( | ) | const -> meshlib::Matrix3b |
Generated from method MR::Matrix4b::getRotation.
Calls MR_Matrix4b_getRotation().
| auto meshlib::Matrix4b::get_translation | ( | ) | const -> meshlib::Vector3b |
Generated from method MR::Matrix4b::getTranslation.
Calls MR_Matrix4b_getTranslation().
|
static |
Generated from method MR::Matrix4b::identity.
Calls MR_Matrix4b_identity().
| auto meshlib::Matrix4b::index | ( | row:core::ffi::c_int | ) | const -> &meshlib::Vector4b |
row access Generated from method MR::Matrix4b::operator[].
Calls MR_Matrix4b_index().
| auto meshlib::Matrix4b::index_mut | ( | row:core::ffi::c_int | ) | -> &mut meshlib::Vector4b |
Generated from method MR::Matrix4b::operator[].
Calls MR_Matrix4b_index_mut().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Matrix4b_DefaultConstruct().
| auto meshlib::Matrix4b::norm | ( | ) | const -> f64 |
Generated from method MR::Matrix4b::norm.
Calls MR_Matrix4b_norm().
| auto meshlib::Matrix4b::norm_sq | ( | ) | const -> bool |
compute sum of squared matrix elements Generated from method MR::Matrix4b::normSq.
Calls MR_Matrix4b_normSq().
|
static |
returns a matrix that scales uniformly Generated from method MR::Matrix4b::scale.
Calls MR_Matrix4b_scale().
| void meshlib::Matrix4b::set_rotation | ( | rot:&meshlib::Matrix3b | ) |
Generated from method MR::Matrix4b::setRotation.
Calls MR_Matrix4b_setRotation().
| void meshlib::Matrix4b::set_translation | ( | t:&meshlib::Vector3b | ) |
Generated from method MR::Matrix4b::setTranslation.
Calls MR_Matrix4b_setTranslation().
| auto meshlib::Matrix4b::submatrix3 | ( | i:core::ffi::c_int | , |
| j:core::ffi::c_int | ) const -> meshlib::Matrix3b |
computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR::Matrix4b::submatrix3.
Calls MR_Matrix4b_submatrix3().
| auto meshlib::Matrix4b::trace | ( | ) | const -> bool |
computes trace of the matrix Generated from method MR::Matrix4b::trace.
Calls MR_Matrix4b_trace().
| auto meshlib::Matrix4b::transposed | ( | ) | const -> meshlib::Matrix4b |
computes transposed matrix Generated from method MR::Matrix4b::transposed.
Calls MR_Matrix4b_transposed().
|
static |
Generated from method MR::Matrix4b::zero.
Calls MR_Matrix4b_zero().
| meshlib::Vector4b meshlib::Matrix4b::w |
| meshlib::Vector4b meshlib::Matrix4b::x |
rows, identity matrix by default
| meshlib::Vector4b meshlib::Matrix4b::y |
| meshlib::Vector4b meshlib::Matrix4b::z |