Public Member Functions | |
| auto | convert_to_mr_affine_xf3d () const -> meshlib::AffineXf3d |
| auto | call_2 (row:core::ffi::c_int, col:core::ffi::c_int) const -> &f64 |
| auto | call_mut (row:core::ffi::c_int, col:core::ffi::c_int) -> &mut f64 |
| auto | index (row:core::ffi::c_int) const -> &meshlib::Vector4d |
| auto | index_mut (row:core::ffi::c_int) -> &mut meshlib::Vector4d |
| auto | col (i:core::ffi::c_int) const -> meshlib::Vector4d |
| auto | trace () const -> f64 |
| auto | norm_sq () const -> f64 |
| auto | norm () const -> f64 |
| auto | submatrix3 (i:core::ffi::c_int, j:core::ffi::c_int) const -> meshlib::Matrix3d |
| auto | det () const -> f64 |
| auto | inverse () const -> meshlib::Matrix4d |
| auto | transposed () const -> meshlib::Matrix4d |
| auto | get_rotation () const -> meshlib::Matrix3d |
| void | set_rotation (rot:&meshlib::Matrix3d) |
| auto | get_translation () const -> meshlib::Vector3d |
| void | set_translation (t:&meshlib::Vector3d) |
| auto | data_mut () -> Option<&mut f64 > |
| auto | data () const -> Option<&f64 > |
| auto | call_1 (b:&meshlib::Vector3d) const -> meshlib::Vector3d |
Static Public Member Functions | |
| static auto | new () -> meshlib::Matrix4d |
| static auto | construct_4 (x:&meshlib::Vector4d, y:&meshlib::Vector4d, z:&meshlib::Vector4d, w:&meshlib::Vector4d) -> meshlib::Matrix4d |
| static auto | construct_2 (r:&meshlib::Matrix3d, t:&meshlib::Vector3d) -> meshlib::Matrix4d |
| static auto | construct_1 (xf:&meshlib::AffineXf3d) -> meshlib::Matrix4d |
| static auto | zero () -> meshlib::Matrix4d |
| static auto | identity () -> meshlib::Matrix4d |
| static auto | scale (s:f64) -> meshlib::Matrix4d |
Public Attributes | |
| meshlib::Vector4d | x |
| rows, identity matrix by default | |
| meshlib::Vector4d | y |
| meshlib::Vector4d | z |
| meshlib::Vector4d | w |
arbitrary 4x4 matrix Generated from class MR::Matrix4d.
Generated from struct MR::Matrix4d. The fields are accessed directly.
| auto meshlib::Matrix4d::call_1 | ( | b:&meshlib::Vector3d | ) | const -> meshlib::Vector3d |
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 Generated from method MR::Matrix4d::operator().
Calls MR_Matrix4d_call_1().
| auto meshlib::Matrix4d::call_2 | ( | row:core::ffi::c_int | , |
| col:core::ffi::c_int | ) const -> &f64 |
element access Generated from method MR::Matrix4d::operator().
Calls MR_Matrix4d_call_2().
| auto meshlib::Matrix4d::call_mut | ( | row:core::ffi::c_int | , |
| col:core::ffi::c_int | ) -> &mut f64 |
Generated from method MR::Matrix4d::operator().
Calls MR_Matrix4d_call_mut().
| auto meshlib::Matrix4d::col | ( | i:core::ffi::c_int | ) | const -> meshlib::Vector4d |
column access Generated from method MR::Matrix4d::col.
Calls MR_Matrix4d_col().
|
static |
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. Generated from constructor MR::Matrix4d::Matrix4d.
Calls MR_Matrix4d_Construct_1(). The reference to the parameter xf might be preserved in the constructed object.
|
static |
construct from rotation matrix and translation vector Generated from constructor MR::Matrix4d::Matrix4d.
Calls MR_Matrix4d_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::Matrix4d::Matrix4d.
Calls MR_Matrix4d_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::Matrix4d::convert_to_mr_affine_xf3d | ( | ) | const -> meshlib::AffineXf3d |
Generated from conversion operator MR::Matrix4d::operator MR::AffineXf3d.
Calls MR_Matrix4d_ConvertTo_MR_AffineXf3d().
| auto meshlib::Matrix4d::data | ( | ) | const -> Option<&f64 > |
Generated from method MR::Matrix4d::data.
Calls MR_Matrix4d_data().
| auto meshlib::Matrix4d::data_mut | ( | ) | -> Option<&mut f64 > |
Generated from method MR::Matrix4d::data.
Calls MR_Matrix4d_data_mut().
| auto meshlib::Matrix4d::det | ( | ) | const -> f64 |
computes determinant of the matrix Generated from method MR::Matrix4d::det.
Calls MR_Matrix4d_det().
| auto meshlib::Matrix4d::get_rotation | ( | ) | const -> meshlib::Matrix3d |
Generated from method MR::Matrix4d::getRotation.
Calls MR_Matrix4d_getRotation().
| auto meshlib::Matrix4d::get_translation | ( | ) | const -> meshlib::Vector3d |
Generated from method MR::Matrix4d::getTranslation.
Calls MR_Matrix4d_getTranslation().
|
static |
Generated from method MR::Matrix4d::identity.
Calls MR_Matrix4d_identity().
| auto meshlib::Matrix4d::index | ( | row:core::ffi::c_int | ) | const -> &meshlib::Vector4d |
row access Generated from method MR::Matrix4d::operator[].
Calls MR_Matrix4d_index().
| auto meshlib::Matrix4d::index_mut | ( | row:core::ffi::c_int | ) | -> &mut meshlib::Vector4d |
Generated from method MR::Matrix4d::operator[].
Calls MR_Matrix4d_index_mut().
| auto meshlib::Matrix4d::inverse | ( | ) | const -> meshlib::Matrix4d |
computes inverse matrix Generated from method MR::Matrix4d::inverse.
Calls MR_Matrix4d_inverse().
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_Matrix4d_DefaultConstruct().
| auto meshlib::Matrix4d::norm | ( | ) | const -> f64 |
Generated from method MR::Matrix4d::norm.
Calls MR_Matrix4d_norm().
| auto meshlib::Matrix4d::norm_sq | ( | ) | const -> f64 |
compute sum of squared matrix elements Generated from method MR::Matrix4d::normSq.
Calls MR_Matrix4d_normSq().
|
static |
returns a matrix that scales uniformly Generated from method MR::Matrix4d::scale.
Calls MR_Matrix4d_scale().
| void meshlib::Matrix4d::set_rotation | ( | rot:&meshlib::Matrix3d | ) |
Generated from method MR::Matrix4d::setRotation.
Calls MR_Matrix4d_setRotation().
| void meshlib::Matrix4d::set_translation | ( | t:&meshlib::Vector3d | ) |
Generated from method MR::Matrix4d::setTranslation.
Calls MR_Matrix4d_setTranslation().
| auto meshlib::Matrix4d::submatrix3 | ( | i:core::ffi::c_int | , |
| j:core::ffi::c_int | ) const -> meshlib::Matrix3d |
computes submatrix of the matrix with excluded i-th row and j-th column Generated from method MR::Matrix4d::submatrix3.
Calls MR_Matrix4d_submatrix3().
| auto meshlib::Matrix4d::trace | ( | ) | const -> f64 |
computes trace of the matrix Generated from method MR::Matrix4d::trace.
Calls MR_Matrix4d_trace().
| auto meshlib::Matrix4d::transposed | ( | ) | const -> meshlib::Matrix4d |
computes transposed matrix Generated from method MR::Matrix4d::transposed.
Calls MR_Matrix4d_transposed().
|
static |
Generated from method MR::Matrix4d::zero.
Calls MR_Matrix4d_zero().
| meshlib::Vector4d meshlib::Matrix4d::w |
| meshlib::Vector4d meshlib::Matrix4d::x |
rows, identity matrix by default
| meshlib::Vector4d meshlib::Matrix4d::y |
| meshlib::Vector4d meshlib::Matrix4d::z |