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

Public Member Functions

auto assign_from_another (_other:&meshlib::MultiwayICPSamplingParameters) -> &mut meshlib::MultiwayICPSamplingParameters
auto sampling_voxel_size () const -> &f32
auto sampling_voxel_size_mut () -> &mut f32
void set_sampling_voxel_size (value:f32)
auto max_group_size () const -> &core::ffi::c_int
auto max_group_size_mut () -> &mut core::ffi::c_int
void set_max_group_size (value:core::ffi::c_int)
auto cascade_mode () const -> &meshlib::MultiwayICPSamplingParameters_CascadeMode
auto cascade_mode_mut () -> &mut meshlib::MultiwayICPSamplingParameters_CascadeMode
void set_cascade_mode (value:meshlib::MultiwayICPSamplingParameters_CascadeMode)
auto cb () const -> &meshlib::std_function_bool_from_float
auto cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_cb (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MultiwayICPSamplingParameters >
static auto construct_from (samplingVoxelSize:f32, maxGroupSize:core::ffi::c_int, cascadeMode:meshlib::MultiwayICPSamplingParameters_CascadeMode, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::MultiwayICPSamplingParameters >
static auto construct_from_another (_other:&meshlib::MultiwayICPSamplingParameters) -> meshlib::Owned< meshlib::MultiwayICPSamplingParameters >
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

Parameters that are used for sampling of the MultiwayICP objects Generated from class MR::MultiwayICPSamplingParameters.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cascade_mode()

auto meshlib::MultiwayICPSamplingParameters::cascade_mode ( ) const -> &meshlib::MultiwayICPSamplingParameters_CascadeMode

Returns a pointer to a member variable of class MR::MultiwayICPSamplingParameters named cascadeMode.

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

◆ cascade_mode_mut()

auto meshlib::MultiwayICPSamplingParameters::cascade_mode_mut ( ) -> &mut meshlib::MultiwayICPSamplingParameters_CascadeMode

Returns a mutable pointer to a member variable of class MR::MultiwayICPSamplingParameters named cascadeMode.

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

◆ cb()

auto meshlib::MultiwayICPSamplingParameters::cb ( ) const -> &meshlib::std_function_bool_from_float

callback for progress reports Returns a pointer to a member variable of class MR::MultiwayICPSamplingParameters named cb.

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

◆ cb_mut()

auto meshlib::MultiwayICPSamplingParameters::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

callback for progress reports Returns a mutable pointer to a member variable of class MR::MultiwayICPSamplingParameters named cb.

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

◆ construct_from()

auto meshlib::MultiwayICPSamplingParameters::construct_from ( samplingVoxelSize:f32 ,
maxGroupSize:core::ffi::c_int ,
cascadeMode:meshlib::MultiwayICPSamplingParameters_CascadeMode ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::MultiwayICPSamplingParameters >
static

Constructs MR::MultiwayICPSamplingParameters elementwise.

Calls MR_MultiwayICPSamplingParameters_ConstructFrom(). The reference to the parameter cascadeMode might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MultiwayICPSamplingParameters::MultiwayICPSamplingParameters.

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

◆ max_group_size()

auto meshlib::MultiwayICPSamplingParameters::max_group_size ( ) const -> &core::ffi::c_int

size of maximum icp group to work with; if the number of objects exceeds this value, icp is applied in cascade mode; maxGroupSize = 1 means that every object is moved independently on half distance to the previous position of all other objects; maxGroupSize = 0 means that a big system of equations for all objects is solved (force no cascading) Returns a pointer to a member variable of class MR::MultiwayICPSamplingParameters named maxGroupSize.

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

◆ max_group_size_mut()

auto meshlib::MultiwayICPSamplingParameters::max_group_size_mut ( ) -> &mut core::ffi::c_int

size of maximum icp group to work with; if the number of objects exceeds this value, icp is applied in cascade mode; maxGroupSize = 1 means that every object is moved independently on half distance to the previous position of all other objects; maxGroupSize = 0 means that a big system of equations for all objects is solved (force no cascading) Returns a mutable pointer to a member variable of class MR::MultiwayICPSamplingParameters named maxGroupSize.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MultiwayICPSamplingParameters_DefaultConstruct().

◆ sampling_voxel_size()

auto meshlib::MultiwayICPSamplingParameters::sampling_voxel_size ( ) const -> &f32

sampling size of each object, 0 has special meaning "take all valid points" Returns a pointer to a member variable of class MR::MultiwayICPSamplingParameters named samplingVoxelSize.

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

◆ sampling_voxel_size_mut()

auto meshlib::MultiwayICPSamplingParameters::sampling_voxel_size_mut ( ) -> &mut f32

sampling size of each object, 0 has special meaning "take all valid points" Returns a mutable pointer to a member variable of class MR::MultiwayICPSamplingParameters named samplingVoxelSize.

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

◆ set_cascade_mode()

void meshlib::MultiwayICPSamplingParameters::set_cascade_mode ( value:meshlib::MultiwayICPSamplingParameters_CascadeMode )

Modifies a member variable of class MR::MultiwayICPSamplingParameters named cascadeMode.

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

◆ set_cb()

void meshlib::MultiwayICPSamplingParameters::set_cb ( value:&meshlib::std_function_bool_from_float )

callback for progress reports Modifies a member variable of class MR::MultiwayICPSamplingParameters named cb.

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

◆ set_max_group_size()

void meshlib::MultiwayICPSamplingParameters::set_max_group_size ( value:core::ffi::c_int )

size of maximum icp group to work with; if the number of objects exceeds this value, icp is applied in cascade mode; maxGroupSize = 1 means that every object is moved independently on half distance to the previous position of all other objects; maxGroupSize = 0 means that a big system of equations for all objects is solved (force no cascading) Modifies a member variable of class MR::MultiwayICPSamplingParameters named maxGroupSize.

Calls MR_MultiwayICPSamplingParameters_Set_maxGroupSize().

◆ set_sampling_voxel_size()

void meshlib::MultiwayICPSamplingParameters::set_sampling_voxel_size ( value:f32 )

sampling size of each object, 0 has special meaning "take all valid points" Modifies a member variable of class MR::MultiwayICPSamplingParameters named samplingVoxelSize.

Calls MR_MultiwayICPSamplingParameters_Set_samplingVoxelSize().


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