Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::DenoiseViaNormalsSettings) -> &mut meshlib::DenoiseViaNormalsSettings |
| auto | fast_indicator_computation () const -> &bool |
| auto | fast_indicator_computation_mut () -> &mut bool |
| void | set_fast_indicator_computation (value:bool) |
| auto | beta () const -> &f32 |
| auto | beta_mut () -> &mut f32 |
| void | set_beta (value:f32) |
| auto | gamma () const -> &f32 |
| auto | gamma_mut () -> &mut f32 |
| void | set_gamma (value:f32) |
| auto | normal_iters () const -> &core::ffi::c_int |
| auto | normal_iters_mut () -> &mut core::ffi::c_int |
| void | set_normal_iters (value:core::ffi::c_int) |
| 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 | guide_weight () const -> &f32 |
| auto | guide_weight_mut () -> &mut f32 |
| void | set_guide_weight (value:f32) |
| auto | limit_near_initial () const -> &bool |
| auto | limit_near_initial_mut () -> &mut bool |
| void | set_limit_near_initial (value:bool) |
| auto | max_initial_dist () const -> &f32 |
| auto | max_initial_dist_mut () -> &mut f32 |
| void | set_max_initial_dist (value:f32) |
| 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 >) |
| auto | out_creases () const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
| auto | out_creases_mut () -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
| void | set_out_creases (value:Option<&mut meshlib::UndirectedEdgeBitSet >) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::DenoiseViaNormalsSettings > |
| static auto | construct_from (fastIndicatorComputation:bool, beta:f32, gamma:f32, normalIters:core::ffi::c_int, pointIters:core::ffi::c_int, guideWeight:f32, limitNearInitial:bool, maxInitialDist:f32, region:Option<&meshlib::FaceBitSet >, outCreases:Option<&mut meshlib::UndirectedEdgeBitSet >) -> meshlib::Owned< meshlib::DenoiseViaNormalsSettings > |
| static auto | construct_from_another (_other:&meshlib::DenoiseViaNormalsSettings) -> meshlib::Owned< meshlib::DenoiseViaNormalsSettings > |
| 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::DenoiseViaNormalsSettings.
Generated from class MR::DenoiseViaNormalsSettings. Heap-allocated instances are held in Owned<DenoiseViaNormalsSettings>.
| auto meshlib::DenoiseViaNormalsSettings::assign_from_another | ( | _other:&meshlib::DenoiseViaNormalsSettings | ) | -> &mut meshlib::DenoiseViaNormalsSettings |
Generated from method MR::DenoiseViaNormalsSettings::operator=.
Calls MR_DenoiseViaNormalsSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::DenoiseViaNormalsSettings::beta | ( | ) | const -> &f32 |
0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named beta.
Calls MR_DenoiseViaNormalsSettings_Get_beta(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::beta_mut | ( | ) | -> &mut f32 |
0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges Returns a mutable pointer to a member variable of class MR::DenoiseViaNormalsSettings named beta.
Calls MR_DenoiseViaNormalsSettings_GetMutable_beta(). The reference to this object might be preserved as the return value.
|
static |
Constructs MR::DenoiseViaNormalsSettings elementwise.
Calls MR_DenoiseViaNormalsSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object. The reference to the parameter outCreases might be preserved in the constructed object.
|
static |
Generated from constructor MR::DenoiseViaNormalsSettings::DenoiseViaNormalsSettings.
Calls MR_DenoiseViaNormalsSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::DenoiseViaNormalsSettings::fast_indicator_computation | ( | ) | const -> &bool |
use approximated computation, which is much faster than precise solution Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named fastIndicatorComputation.
Calls MR_DenoiseViaNormalsSettings_Get_fastIndicatorComputation(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::fast_indicator_computation_mut | ( | ) | -> &mut bool |
use approximated computation, which is much faster than precise solution Returns a mutable pointer to a member variable of class MR::DenoiseViaNormalsSettings named fastIndicatorComputation.
Calls MR_DenoiseViaNormalsSettings_GetMutable_fastIndicatorComputation(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::gamma | ( | ) | const -> &f32 |
the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ... Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named gamma.
Calls MR_DenoiseViaNormalsSettings_Get_gamma(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named gamma.
Calls MR_DenoiseViaNormalsSettings_GetMutable_gamma(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named guideWeight.
Calls MR_DenoiseViaNormalsSettings_Get_guideWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named guideWeight.
Calls MR_DenoiseViaNormalsSettings_GetMutable_guideWeight(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::limit_near_initial | ( | ) | const -> &bool |
if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named limitNearInitial.
Calls MR_DenoiseViaNormalsSettings_Get_limitNearInitial(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::limit_near_initial_mut | ( | ) | -> &mut bool |
if true then maximal displacement of each point during denoising will be limited Returns a mutable pointer to a member variable of class MR::DenoiseViaNormalsSettings named limitNearInitial.
Calls MR_DenoiseViaNormalsSettings_GetMutable_limitNearInitial(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::max_initial_dist | ( | ) | const -> &f32 |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named maxInitialDist.
Calls MR_DenoiseViaNormalsSettings_Get_maxInitialDist(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::max_initial_dist_mut | ( | ) | -> &mut f32 |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a mutable pointer to a member variable of class MR::DenoiseViaNormalsSettings named maxInitialDist.
Calls MR_DenoiseViaNormalsSettings_GetMutable_maxInitialDist(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_DenoiseViaNormalsSettings_DefaultConstruct().
| auto meshlib::DenoiseViaNormalsSettings::normal_iters | ( | ) | const -> &core::ffi::c_int |
the number of iterations to smooth normals and find creases; the more the better quality, but longer computation Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named normalIters.
Calls MR_DenoiseViaNormalsSettings_Get_normalIters(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::normal_iters_mut | ( | ) | -> &mut core::ffi::c_int |
the number of iterations to smooth normals and find creases; the more the better quality, but longer computation Returns a mutable pointer to a member variable of class MR::DenoiseViaNormalsSettings named normalIters.
Calls MR_DenoiseViaNormalsSettings_GetMutable_normalIters(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::out_creases | ( | ) | const -> *const *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
optionally returns creases found during smoothing, only among the edges with both incident faces in the region Returns a pointer to a member variable of class MR::DenoiseViaNormalsSettings named outCreases.
Calls MR_DenoiseViaNormalsSettings_Get_outCreases(). 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::DenoiseViaNormalsSettings::out_creases_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_UndirectedEdgeBitSet |
optionally returns creases found during smoothing, only among the edges with both incident faces in the region Returns a mutable pointer to a member variable of class MR::DenoiseViaNormalsSettings named outCreases.
Calls MR_DenoiseViaNormalsSettings_GetMutable_outCreases(). 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::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named pointIters.
Calls MR_DenoiseViaNormalsSettings_Get_pointIters(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named pointIters.
Calls MR_DenoiseViaNormalsSettings_GetMutable_pointIters(). The reference to this object might be preserved as the return value.
| auto meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named region.
Calls MR_DenoiseViaNormalsSettings_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::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named region.
Calls MR_DenoiseViaNormalsSettings_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::DenoiseViaNormalsSettings::set_beta | ( | value:f32 | ) |
0.001 - sharp edges, 0.01 - moderate edges, 0.1 - smooth edges Modifies a member variable of class MR::DenoiseViaNormalsSettings named beta.
Calls MR_DenoiseViaNormalsSettings_Set_beta().
| void meshlib::DenoiseViaNormalsSettings::set_fast_indicator_computation | ( | value:bool | ) |
use approximated computation, which is much faster than precise solution Modifies a member variable of class MR::DenoiseViaNormalsSettings named fastIndicatorComputation.
Calls MR_DenoiseViaNormalsSettings_Set_fastIndicatorComputation().
| void meshlib::DenoiseViaNormalsSettings::set_gamma | ( | value:f32 | ) |
the amount of smoothing: 0 - no smoothing, 1 - average smoothing, ... Modifies a member variable of class MR::DenoiseViaNormalsSettings named gamma.
Calls MR_DenoiseViaNormalsSettings_Set_gamma().
| void meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named guideWeight.
Calls MR_DenoiseViaNormalsSettings_Set_guideWeight().
| void meshlib::DenoiseViaNormalsSettings::set_limit_near_initial | ( | value:bool | ) |
if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::DenoiseViaNormalsSettings named limitNearInitial.
Calls MR_DenoiseViaNormalsSettings_Set_limitNearInitial().
| void meshlib::DenoiseViaNormalsSettings::set_max_initial_dist | ( | value:f32 | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::DenoiseViaNormalsSettings named maxInitialDist.
Calls MR_DenoiseViaNormalsSettings_Set_maxInitialDist().
| void meshlib::DenoiseViaNormalsSettings::set_normal_iters | ( | value:core::ffi::c_int | ) |
the number of iterations to smooth normals and find creases; the more the better quality, but longer computation Modifies a member variable of class MR::DenoiseViaNormalsSettings named normalIters.
Calls MR_DenoiseViaNormalsSettings_Set_normalIters().
| void meshlib::DenoiseViaNormalsSettings::set_out_creases | ( | value:Option<&mut meshlib::UndirectedEdgeBitSet > | ) |
optionally returns creases found during smoothing, only among the edges with both incident faces in the region Modifies a member variable of class MR::DenoiseViaNormalsSettings named outCreases.
Calls MR_DenoiseViaNormalsSettings_Set_outCreases(). The reference to the parameter value might be preserved in this object in element outCreases.
| void meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named pointIters.
Calls MR_DenoiseViaNormalsSettings_Set_pointIters().
| void meshlib::DenoiseViaNormalsSettings::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::DenoiseViaNormalsSettings named region.
Calls MR_DenoiseViaNormalsSettings_Set_region(). The reference to the parameter value might be preserved in this object in element region.