MeshLib Rust Docs
Loading...
Searching...
No Matches
meshlib::DenoiseWithCreasesSettings Struct Reference
Inheritance diagram for meshlib::DenoiseWithCreasesSettings:

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

Detailed Description

Generated from class MR::DenoiseWithCreasesSettings.

Generated from class MR::DenoiseWithCreasesSettings. Heap-allocated instances are held in Owned<DenoiseWithCreasesSettings>.

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from()

auto meshlib::DenoiseWithCreasesSettings::construct_from ( gamma:f32 ,
guideWeight:f32 ,
pointIters:core::ffi::c_int ,
region:Option<&meshlib::FaceBitSet >  ) -> meshlib::Owned< meshlib::DenoiseWithCreasesSettings >
static

Constructs MR::DenoiseWithCreasesSettings elementwise.

Calls MR_DenoiseWithCreasesSettings_ConstructFrom(). The reference to the parameter region might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::DenoiseWithCreasesSettings::construct_from_another ( _other:&meshlib::DenoiseWithCreasesSettings ) -> meshlib::Owned< meshlib::DenoiseWithCreasesSettings >
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.

◆ gamma()

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.

◆ gamma_mut()

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.

◆ guide_weight()

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.

◆ guide_weight_mut()

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.

◆ new()

auto meshlib::DenoiseWithCreasesSettings::new ( ) -> meshlib::Owned< meshlib::DenoiseWithCreasesSettings >
static

Constructs an empty (default-constructed) instance.

Calls MR_DenoiseWithCreasesSettings_DefaultConstruct().

◆ point_iters()

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.

◆ point_iters_mut()

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.

◆ region()

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.

◆ region_mut()

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.

◆ set_gamma()

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().

◆ set_guide_weight()

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().

◆ set_point_iters()

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().

◆ set_region()

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.


The documentation for this struct was generated from the following file: