Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::DenoiseWithCreasesSettings) -> &mut meshlib::DenoiseWithCreasesSettings |
| auto | gamma () const -> &f32 |
| auto | gamma_mut () -> &mut f32 |
| void | set_gamma (value:f32) |
| auto | guide_weight () const -> &f32 |
| auto | guide_weight_mut () -> &mut f32 |
| void | set_guide_weight (value:f32) |
| auto | point_iters () const -> &core::ffi::c_int |
| auto | point_iters_mut () -> &mut core::ffi::c_int |
| void | set_point_iters (value:core::ffi::c_int) |
| auto | region () const -> *const *const meshlib::ffi::MR_FaceBitSet |
| auto | region_mut () -> *mut *const meshlib::ffi::MR_FaceBitSet |
| void | set_region (value:Option<&meshlib::FaceBitSet >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::DenoiseWithCreasesSettings > |
| static auto | construct_from (gamma:f32, guideWeight:f32, pointIters:core::ffi::c_int, region:Option<&meshlib::FaceBitSet >) -> meshlib::Owned< meshlib::DenoiseWithCreasesSettings > |
| static auto | construct_from_another (_other:&meshlib::DenoiseWithCreasesSettings) -> meshlib::Owned< meshlib::DenoiseWithCreasesSettings > |
| 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 |
Generated from class MR::DenoiseWithCreasesSettings.
Generated from class MR::DenoiseWithCreasesSettings. Heap-allocated instances are held in Owned<DenoiseWithCreasesSettings>.
| auto meshlib::DenoiseWithCreasesSettings::assign_from_another | ( | _other:&meshlib::DenoiseWithCreasesSettings | ) | -> &mut meshlib::DenoiseWithCreasesSettings |
Generated from method MR::DenoiseWithCreasesSettings::operator=.
Calls MR_DenoiseWithCreasesSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::DenoiseWithCreasesSettings elementwise.
Calls MR_DenoiseWithCreasesSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object.
|
static |
Generated from constructor MR::DenoiseWithCreasesSettings::DenoiseWithCreasesSettings.
Calls MR_DenoiseWithCreasesSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::DenoiseWithCreasesSettings::gamma | ( | ) | const -> &f32 |
the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ... Returns a pointer to a member variable of class MR::DenoiseWithCreasesSettings named gamma.
Calls MR_DenoiseWithCreasesSettings_Get_gamma(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseWithCreasesSettings::gamma_mut | ( | ) | -> &mut f32 |
the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ... Returns a mutable pointer to a member variable of class MR::DenoiseWithCreasesSettings named gamma.
Calls MR_DenoiseWithCreasesSettings_GetMutable_gamma(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseWithCreasesSettings::guide_weight | ( | ) | const -> &f32 |
how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0 Returns a pointer to a member variable of class MR::DenoiseWithCreasesSettings named guideWeight.
Calls MR_DenoiseWithCreasesSettings_Get_guideWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseWithCreasesSettings::guide_weight_mut | ( | ) | -> &mut f32 |
how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0 Returns a mutable pointer to a member variable of class MR::DenoiseWithCreasesSettings named guideWeight.
Calls MR_DenoiseWithCreasesSettings_GetMutable_guideWeight(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_DenoiseWithCreasesSettings_DefaultConstruct().
| auto meshlib::DenoiseWithCreasesSettings::point_iters | ( | ) | const -> &core::ffi::c_int |
the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation Returns a pointer to a member variable of class MR::DenoiseWithCreasesSettings named pointIters.
Calls MR_DenoiseWithCreasesSettings_Get_pointIters(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseWithCreasesSettings::point_iters_mut | ( | ) | -> &mut core::ffi::c_int |
the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation Returns a mutable pointer to a member variable of class MR::DenoiseWithCreasesSettings named pointIters.
Calls MR_DenoiseWithCreasesSettings_GetMutable_pointIters(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseWithCreasesSettings::region | ( | ) | const -> *const *const meshlib::ffi::MR_FaceBitSet |
if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved Returns a pointer to a member variable of class MR::DenoiseWithCreasesSettings named region.
Calls MR_DenoiseWithCreasesSettings_Get_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseWithCreasesSettings::region_mut | ( | ) | -> *mut *const meshlib::ffi::MR_FaceBitSet |
if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved Returns a mutable pointer to a member variable of class MR::DenoiseWithCreasesSettings named region.
Calls MR_DenoiseWithCreasesSettings_GetMutable_region(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| void meshlib::DenoiseWithCreasesSettings::set_gamma | ( | value:f32 | ) |
the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ... Modifies a member variable of class MR::DenoiseWithCreasesSettings named gamma.
Calls MR_DenoiseWithCreasesSettings_Set_gamma().
| void meshlib::DenoiseWithCreasesSettings::set_guide_weight | ( | value:f32 | ) |
how much resulting points must be attracted to initial points (e.g. to avoid general shrinkage), must be > 0 Modifies a member variable of class MR::DenoiseWithCreasesSettings named guideWeight.
Calls MR_DenoiseWithCreasesSettings_Set_guideWeight().
| void meshlib::DenoiseWithCreasesSettings::set_point_iters | ( | value:core::ffi::c_int | ) |
the number of iterations to update vertex coordinates from found normals; the more the better quality, but longer computation Modifies a member variable of class MR::DenoiseWithCreasesSettings named pointIters.
Calls MR_DenoiseWithCreasesSettings_Set_pointIters().
| void meshlib::DenoiseWithCreasesSettings::set_region | ( | value:Option<&meshlib::FaceBitSet > | ) |
if given, then only the normals of these faces are denoised, and only the vertices with all incident faces in the region are moved Modifies a member variable of class MR::DenoiseWithCreasesSettings named region.
Calls MR_DenoiseWithCreasesSettings_Set_region(). The reference to the parameter value might be preserved in this object in element region.