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

Public Member Functions

auto assign_from_another (_other:&meshlib::MakeSignedByWindingNumberSettings) -> &mut meshlib::MakeSignedByWindingNumberSettings
auto mesh_to_grid_xf () const -> &meshlib::AffineXf3f
auto mesh_to_grid_xf_mut () -> &mut meshlib::AffineXf3f
void set_mesh_to_grid_xf (value:meshlib::AffineXf3f)
auto fwn () const -> &meshlib::std_shared_ptr_MR_IFastWindingNumber
auto fwn_mut () -> &mut meshlib::std_shared_ptr_MR_IFastWindingNumber
void set_fwn (value:&meshlib::std_shared_ptr_MR_IFastWindingNumber)
auto winding_number_threshold () const -> &f32
auto winding_number_threshold_mut () -> &mut f32
void set_winding_number_threshold (value:f32)
auto winding_number_beta () const -> &f32
auto winding_number_beta_mut () -> &mut f32
void set_winding_number_beta (value:f32)
auto progress () const -> &meshlib::std_function_bool_from_float
auto progress_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MakeSignedByWindingNumberSettings >
static auto construct_from (meshToGridXf:meshlib::AffineXf3f, fwn:&meshlib::std_shared_ptr_MR_IFastWindingNumber, windingNumberThreshold:f32, windingNumberBeta:f32, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::MakeSignedByWindingNumberSettings >
static auto construct_from_another (_other:&meshlib::MakeSignedByWindingNumberSettings) -> meshlib::Owned< meshlib::MakeSignedByWindingNumberSettings >
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::MakeSignedByWindingNumberSettings.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::MakeSignedByWindingNumberSettings::assign_from_another ( _other:&meshlib::MakeSignedByWindingNumberSettings ) -> &mut meshlib::MakeSignedByWindingNumberSettings

Generated from method MR::MakeSignedByWindingNumberSettings::operator=.

Calls MR_MakeSignedByWindingNumberSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::MakeSignedByWindingNumberSettings::construct_from ( meshToGridXf:meshlib::AffineXf3f ,
fwn:&meshlib::std_shared_ptr_MR_IFastWindingNumber ,
windingNumberThreshold:f32 ,
windingNumberBeta:f32 ,
progress:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::MakeSignedByWindingNumberSettings >
static

Constructs MR::MakeSignedByWindingNumberSettings elementwise.

Calls MR_MakeSignedByWindingNumberSettings_ConstructFrom(). The reference to the parameter meshToGridXf might be preserved in the constructed object. The reference to the parameter fwn might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.

◆ construct_from_another()

auto meshlib::MakeSignedByWindingNumberSettings::construct_from_another ( _other:&meshlib::MakeSignedByWindingNumberSettings ) -> meshlib::Owned< meshlib::MakeSignedByWindingNumberSettings >
static

Generated from constructor MR::MakeSignedByWindingNumberSettings::MakeSignedByWindingNumberSettings.

Calls MR_MakeSignedByWindingNumberSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ fwn()

auto meshlib::MakeSignedByWindingNumberSettings::fwn ( ) const -> &meshlib::std_shared_ptr_MR_IFastWindingNumber

defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Returns a pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named fwn.

Calls MR_MakeSignedByWindingNumberSettings_Get_fwn(). The reference to this object might be preserved as the return value.

◆ fwn_mut()

auto meshlib::MakeSignedByWindingNumberSettings::fwn_mut ( ) -> &mut meshlib::std_shared_ptr_MR_IFastWindingNumber

defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Returns a mutable pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named fwn.

Calls MR_MakeSignedByWindingNumberSettings_GetMutable_fwn(). The reference to this object might be preserved as the return value.

◆ mesh_to_grid_xf()

auto meshlib::MakeSignedByWindingNumberSettings::mesh_to_grid_xf ( ) const -> &meshlib::AffineXf3f

defines the mapping from mesh reference from to grid reference frame Returns a pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named meshToGridXf.

Calls MR_MakeSignedByWindingNumberSettings_Get_meshToGridXf(). The reference to this object might be preserved as the return value.

◆ mesh_to_grid_xf_mut()

auto meshlib::MakeSignedByWindingNumberSettings::mesh_to_grid_xf_mut ( ) -> &mut meshlib::AffineXf3f

defines the mapping from mesh reference from to grid reference frame Returns a mutable pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named meshToGridXf.

Calls MR_MakeSignedByWindingNumberSettings_GetMutable_meshToGridXf(). The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MakeSignedByWindingNumberSettings_DefaultConstruct().

◆ progress()

auto meshlib::MakeSignedByWindingNumberSettings::progress ( ) const -> &meshlib::std_function_bool_from_float

to report algorithm's progress and to cancel it Returns a pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named progress.

Calls MR_MakeSignedByWindingNumberSettings_Get_progress(). The reference to this object might be preserved as the return value.

◆ progress_mut()

auto meshlib::MakeSignedByWindingNumberSettings::progress_mut ( ) -> &mut meshlib::std_function_bool_from_float

to report algorithm's progress and to cancel it Returns a mutable pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named progress.

Calls MR_MakeSignedByWindingNumberSettings_GetMutable_progress(). The reference to this object might be preserved as the return value.

◆ set_fwn()

void meshlib::MakeSignedByWindingNumberSettings::set_fwn ( value:&meshlib::std_shared_ptr_MR_IFastWindingNumber )

defines particular implementation of IFastWindingNumber interface that will compute windings. If it is not specified, default FastWindingNumber is used Modifies a member variable of class MR::MakeSignedByWindingNumberSettings named fwn.

Calls MR_MakeSignedByWindingNumberSettings_Set_fwn(). The reference to the parameter value might be preserved in this object in element fwn.

◆ set_mesh_to_grid_xf()

void meshlib::MakeSignedByWindingNumberSettings::set_mesh_to_grid_xf ( value:meshlib::AffineXf3f )

defines the mapping from mesh reference from to grid reference frame Modifies a member variable of class MR::MakeSignedByWindingNumberSettings named meshToGridXf.

Calls MR_MakeSignedByWindingNumberSettings_Set_meshToGridXf(). The reference to the parameter value might be preserved in this object in element meshToGridXf.

◆ set_progress()

void meshlib::MakeSignedByWindingNumberSettings::set_progress ( value:&meshlib::std_function_bool_from_float )

to report algorithm's progress and to cancel it Modifies a member variable of class MR::MakeSignedByWindingNumberSettings named progress.

Calls MR_MakeSignedByWindingNumberSettings_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.

◆ set_winding_number_beta()

void meshlib::MakeSignedByWindingNumberSettings::set_winding_number_beta ( value:f32 )

determines the precision of fast approximation: the more the better, minimum value is 1 Modifies a member variable of class MR::MakeSignedByWindingNumberSettings named windingNumberBeta.

Calls MR_MakeSignedByWindingNumberSettings_Set_windingNumberBeta().

◆ set_winding_number_threshold()

void meshlib::MakeSignedByWindingNumberSettings::set_winding_number_threshold ( value:f32 )

positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Modifies a member variable of class MR::MakeSignedByWindingNumberSettings named windingNumberThreshold.

Calls MR_MakeSignedByWindingNumberSettings_Set_windingNumberThreshold().

◆ winding_number_beta()

auto meshlib::MakeSignedByWindingNumberSettings::winding_number_beta ( ) const -> &f32

determines the precision of fast approximation: the more the better, minimum value is 1 Returns a pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named windingNumberBeta.

Calls MR_MakeSignedByWindingNumberSettings_Get_windingNumberBeta(). The reference to this object might be preserved as the return value.

◆ winding_number_beta_mut()

auto meshlib::MakeSignedByWindingNumberSettings::winding_number_beta_mut ( ) -> &mut f32

determines the precision of fast approximation: the more the better, minimum value is 1 Returns a mutable pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named windingNumberBeta.

Calls MR_MakeSignedByWindingNumberSettings_GetMutable_windingNumberBeta(). The reference to this object might be preserved as the return value.

◆ winding_number_threshold()

auto meshlib::MakeSignedByWindingNumberSettings::winding_number_threshold ( ) const -> &f32

positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named windingNumberThreshold.

Calls MR_MakeSignedByWindingNumberSettings_Get_windingNumberThreshold(). The reference to this object might be preserved as the return value.

◆ winding_number_threshold_mut()

auto meshlib::MakeSignedByWindingNumberSettings::winding_number_threshold_mut ( ) -> &mut f32

positive distance if winding number below or equal this threshold; ideal threshold: 0.5 for closed meshes; 0.0 for planar meshes Returns a mutable pointer to a member variable of class MR::MakeSignedByWindingNumberSettings named windingNumberThreshold.

Calls MR_MakeSignedByWindingNumberSettings_GetMutable_windingNumberThreshold(). The reference to this object might be preserved as the return value.


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