Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::DecimateResult) -> &mut meshlib::DecimateResult |
| auto | verts_deleted () const -> &core::ffi::c_int |
| auto | verts_deleted_mut () -> &mut core::ffi::c_int |
| void | set_verts_deleted (value:core::ffi::c_int) |
| auto | faces_deleted () const -> &core::ffi::c_int |
| auto | faces_deleted_mut () -> &mut core::ffi::c_int |
| void | set_faces_deleted (value:core::ffi::c_int) |
| auto | error_introduced () const -> &f32 |
| auto | error_introduced_mut () -> &mut f32 |
| void | set_error_introduced (value:f32) |
| auto | cancelled () const -> &bool |
| auto | cancelled_mut () -> &mut bool |
| void | set_cancelled (value:bool) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::DecimateResult > |
| static auto | construct_from (vertsDeleted:core::ffi::c_int, facesDeleted:core::ffi::c_int, errorIntroduced:f32, cancelled:bool) -> meshlib::Owned< meshlib::DecimateResult > |
| static auto | construct_from_another (_other:&meshlib::DecimateResult) -> meshlib::Owned< meshlib::DecimateResult > |
| 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 |
| auto meshlib::DecimateResult::assign_from_another | ( | _other:&meshlib::DecimateResult | ) | -> &mut meshlib::DecimateResult |
Generated from method MR::DecimateResult::operator=.
Calls MR_DecimateResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::DecimateResult::cancelled | ( | ) | const -> &bool |
whether the algorithm was cancelled by the callback Returns a pointer to a member variable of class MR::DecimateResult named cancelled.
Calls MR_DecimateResult_Get_cancelled(). The reference to this object might be preserved as the return value.
| auto meshlib::DecimateResult::cancelled_mut | ( | ) | -> &mut bool |
whether the algorithm was cancelled by the callback Returns a mutable pointer to a member variable of class MR::DecimateResult named cancelled.
Calls MR_DecimateResult_GetMutable_cancelled(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::DecimateResult elementwise.
Calls MR_DecimateResult_ConstructFrom().
|
static |
Generated from constructor MR::DecimateResult::DecimateResult.
Calls MR_DecimateResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::DecimateResult::error_introduced | ( | ) | const -> &f32 |
for DecimateStrategy::MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy::ShortestEdgeFirst: the shortest remaining edge in the mesh Returns a pointer to a member variable of class MR::DecimateResult named errorIntroduced.
Calls MR_DecimateResult_Get_errorIntroduced(). The reference to this object might be preserved as the return value.
| auto meshlib::DecimateResult::error_introduced_mut | ( | ) | -> &mut f32 |
for DecimateStrategy::MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy::ShortestEdgeFirst: the shortest remaining edge in the mesh Returns a mutable pointer to a member variable of class MR::DecimateResult named errorIntroduced.
Calls MR_DecimateResult_GetMutable_errorIntroduced(). The reference to this object might be preserved as the return value.
| auto meshlib::DecimateResult::faces_deleted | ( | ) | const -> &core::ffi::c_int |
< Number deleted faces Returns a pointer to a member variable of class MR::DecimateResult named facesDeleted.
Calls MR_DecimateResult_Get_facesDeleted(). The reference to this object might be preserved as the return value.
| auto meshlib::DecimateResult::faces_deleted_mut | ( | ) | -> &mut core::ffi::c_int |
< Number deleted faces Returns a mutable pointer to a member variable of class MR::DecimateResult named facesDeleted.
Calls MR_DecimateResult_GetMutable_facesDeleted(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_DecimateResult_DefaultConstruct().
| void meshlib::DecimateResult::set_cancelled | ( | value:bool | ) |
whether the algorithm was cancelled by the callback Modifies a member variable of class MR::DecimateResult named cancelled.
Calls MR_DecimateResult_Set_cancelled().
| void meshlib::DecimateResult::set_error_introduced | ( | value:f32 | ) |
for DecimateStrategy::MinimizeError: estimated distance deviation of decimated mesh from the original mesh for DecimateStrategy::ShortestEdgeFirst: the shortest remaining edge in the mesh Modifies a member variable of class MR::DecimateResult named errorIntroduced.
Calls MR_DecimateResult_Set_errorIntroduced().
| void meshlib::DecimateResult::set_faces_deleted | ( | value:core::ffi::c_int | ) |
< Number deleted faces Modifies a member variable of class MR::DecimateResult named facesDeleted.
Calls MR_DecimateResult_Set_facesDeleted().
| void meshlib::DecimateResult::set_verts_deleted | ( | value:core::ffi::c_int | ) |
< Number deleted verts. Same as the number of performed collapses Modifies a member variable of class MR::DecimateResult named vertsDeleted.
Calls MR_DecimateResult_Set_vertsDeleted().
| auto meshlib::DecimateResult::verts_deleted | ( | ) | const -> &core::ffi::c_int |
< Number deleted verts. Same as the number of performed collapses Returns a pointer to a member variable of class MR::DecimateResult named vertsDeleted.
Calls MR_DecimateResult_Get_vertsDeleted(). The reference to this object might be preserved as the return value.
| auto meshlib::DecimateResult::verts_deleted_mut | ( | ) | -> &mut core::ffi::c_int |
< Number deleted verts. Same as the number of performed collapses Returns a mutable pointer to a member variable of class MR::DecimateResult named vertsDeleted.
Calls MR_DecimateResult_GetMutable_vertsDeleted(). The reference to this object might be preserved as the return value.