Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::ImproveSamplingSettings) -> &mut meshlib::ImproveSamplingSettings |
| auto | num_iters () const -> &core::ffi::c_int |
| auto | num_iters_mut () -> &mut core::ffi::c_int |
| void | set_num_iters (value:core::ffi::c_int) |
| auto | min_points_in_sample () const -> &core::ffi::c_int |
| auto | min_points_in_sample_mut () -> &mut core::ffi::c_int |
| void | set_min_points_in_sample (value:core::ffi::c_int) |
| auto | pt2sm () const -> *const *mut meshlib::ffi::MR_VertMap |
| auto | pt2sm_mut () -> *mut *mut meshlib::ffi::MR_VertMap |
| void | set_pt2sm (value:Option<&mut meshlib::VertMap >) |
| auto | cloud_of_samples () const -> *const *mut meshlib::ffi::MR_PointCloud |
| auto | cloud_of_samples_mut () -> *mut *mut meshlib::ffi::MR_PointCloud |
| void | set_cloud_of_samples (value:Option<&mut meshlib::PointCloud >) |
| auto | pts_in_sm () const -> *const *mut meshlib::ffi::MR_Vector_int_MR_VertId |
| auto | pts_in_sm_mut () -> *mut *mut meshlib::ffi::MR_Vector_int_MR_VertId |
| void | set_pts_in_sm (value:Option<&mut meshlib::Vector_int_MR_VertId >) |
| auto | pt_colors () const -> *const *const meshlib::ffi::MR_VertColors |
| auto | pt_colors_mut () -> *mut *const meshlib::ffi::MR_VertColors |
| void | set_pt_colors (value:Option<&meshlib::VertColors >) |
| auto | sm_colors () const -> *const *mut meshlib::ffi::MR_VertColors |
| auto | sm_colors_mut () -> *mut *mut meshlib::ffi::MR_VertColors |
| void | set_sm_colors (value:Option<&mut meshlib::VertColors >) |
| 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::ImproveSamplingSettings > |
| static auto | construct_from (numIters:core::ffi::c_int, minPointsInSample:core::ffi::c_int, pt2sm:Option<&mut meshlib::VertMap >, cloudOfSamples:Option<&mut meshlib::PointCloud >, ptsInSm:Option<&mut meshlib::Vector_int_MR_VertId >, ptColors:Option<&meshlib::VertColors >, smColors:Option<&mut meshlib::VertColors >, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::ImproveSamplingSettings > |
| static auto | construct_from_another (_other:&meshlib::ImproveSamplingSettings) -> meshlib::Owned< meshlib::ImproveSamplingSettings > |
| 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::ImproveSamplingSettings.
Generated from class MR::ImproveSamplingSettings. Heap-allocated instances are held in Owned<ImproveSamplingSettings>.
| auto meshlib::ImproveSamplingSettings::assign_from_another | ( | _other:&meshlib::ImproveSamplingSettings | ) | -> &mut meshlib::ImproveSamplingSettings |
Generated from method MR::ImproveSamplingSettings::operator=.
Calls MR_ImproveSamplingSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
| auto meshlib::ImproveSamplingSettings::cloud_of_samples | ( | ) | const -> *const *mut meshlib::ffi::MR_PointCloud |
optional output: new cloud containing averaged points and normals for each sample Returns a pointer to a member variable of class MR::ImproveSamplingSettings named cloudOfSamples.
Calls MR_ImproveSamplingSettings_Get_cloudOfSamples(). 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::ImproveSamplingSettings::cloud_of_samples_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_PointCloud |
optional output: new cloud containing averaged points and normals for each sample Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named cloudOfSamples.
Calls MR_ImproveSamplingSettings_GetMutable_cloudOfSamples(). 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.
|
static |
Constructs MR::ImproveSamplingSettings elementwise.
Calls MR_ImproveSamplingSettings_ConstructFrom(). The reference to the parameter pt2sm might be preserved in the constructed object. The reference to the parameter cloudOfSamples might be preserved in the constructed object. The reference to the parameter ptsInSm might be preserved in the constructed object. The reference to the parameter ptColors might be preserved in the constructed object. The reference to the parameter smColors might be preserved in the constructed object. The reference to the parameter progress might be preserved in the constructed object.
|
static |
Generated from constructor MR::ImproveSamplingSettings::ImproveSamplingSettings.
Calls MR_ImproveSamplingSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::ImproveSamplingSettings::min_points_in_sample | ( | ) | const -> &core::ffi::c_int |
if a sample represents less than this number of input points then such sample will be discarded; it can be used to remove outliers Returns a pointer to a member variable of class MR::ImproveSamplingSettings named minPointsInSample.
Calls MR_ImproveSamplingSettings_Get_minPointsInSample(). The reference to this object might be preserved as the return value.
| auto meshlib::ImproveSamplingSettings::min_points_in_sample_mut | ( | ) | -> &mut core::ffi::c_int |
if a sample represents less than this number of input points then such sample will be discarded; it can be used to remove outliers Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named minPointsInSample.
Calls MR_ImproveSamplingSettings_GetMutable_minPointsInSample(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_ImproveSamplingSettings_DefaultConstruct().
| auto meshlib::ImproveSamplingSettings::num_iters | ( | ) | const -> &core::ffi::c_int |
the number of algorithm iterations to perform Returns a pointer to a member variable of class MR::ImproveSamplingSettings named numIters.
Calls MR_ImproveSamplingSettings_Get_numIters(). The reference to this object might be preserved as the return value.
| auto meshlib::ImproveSamplingSettings::num_iters_mut | ( | ) | -> &mut core::ffi::c_int |
the number of algorithm iterations to perform Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named numIters.
Calls MR_ImproveSamplingSettings_GetMutable_numIters(). The reference to this object might be preserved as the return value.
| auto meshlib::ImproveSamplingSettings::progress | ( | ) | const -> &meshlib::std_function_bool_from_float |
output progress status and receive cancel signal Returns a pointer to a member variable of class MR::ImproveSamplingSettings named progress.
Calls MR_ImproveSamplingSettings_Get_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::ImproveSamplingSettings::progress_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
output progress status and receive cancel signal Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named progress.
Calls MR_ImproveSamplingSettings_GetMutable_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::ImproveSamplingSettings::pt2sm | ( | ) | const -> *const *mut meshlib::ffi::MR_VertMap |
optional output: mapping from input point id to sample id Returns a pointer to a member variable of class MR::ImproveSamplingSettings named pt2sm.
Calls MR_ImproveSamplingSettings_Get_pt2sm(). 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::ImproveSamplingSettings::pt2sm_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_VertMap |
optional output: mapping from input point id to sample id Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named pt2sm.
Calls MR_ImproveSamplingSettings_GetMutable_pt2sm(). 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::ImproveSamplingSettings::pt_colors | ( | ) | const -> *const *const meshlib::ffi::MR_VertColors |
optional input: colors of input points Returns a pointer to a member variable of class MR::ImproveSamplingSettings named ptColors.
Calls MR_ImproveSamplingSettings_Get_ptColors(). 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::ImproveSamplingSettings::pt_colors_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertColors |
optional input: colors of input points Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named ptColors.
Calls MR_ImproveSamplingSettings_GetMutable_ptColors(). 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::ImproveSamplingSettings::pts_in_sm | ( | ) | const -> *const *mut meshlib::ffi::MR_Vector_int_MR_VertId |
optional output: the number of points in each sample Returns a pointer to a member variable of class MR::ImproveSamplingSettings named ptsInSm.
Calls MR_ImproveSamplingSettings_Get_ptsInSm(). 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::ImproveSamplingSettings::pts_in_sm_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_Vector_int_MR_VertId |
optional output: the number of points in each sample Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named ptsInSm.
Calls MR_ImproveSamplingSettings_GetMutable_ptsInSm(). 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::ImproveSamplingSettings::set_cloud_of_samples | ( | value:Option<&mut meshlib::PointCloud > | ) |
optional output: new cloud containing averaged points and normals for each sample Modifies a member variable of class MR::ImproveSamplingSettings named cloudOfSamples.
Calls MR_ImproveSamplingSettings_Set_cloudOfSamples(). The reference to the parameter value might be preserved in this object in element cloudOfSamples.
| void meshlib::ImproveSamplingSettings::set_min_points_in_sample | ( | value:core::ffi::c_int | ) |
if a sample represents less than this number of input points then such sample will be discarded; it can be used to remove outliers Modifies a member variable of class MR::ImproveSamplingSettings named minPointsInSample.
Calls MR_ImproveSamplingSettings_Set_minPointsInSample().
| void meshlib::ImproveSamplingSettings::set_num_iters | ( | value:core::ffi::c_int | ) |
the number of algorithm iterations to perform Modifies a member variable of class MR::ImproveSamplingSettings named numIters.
Calls MR_ImproveSamplingSettings_Set_numIters().
| void meshlib::ImproveSamplingSettings::set_progress | ( | value:&meshlib::std_function_bool_from_float | ) |
output progress status and receive cancel signal Modifies a member variable of class MR::ImproveSamplingSettings named progress.
Calls MR_ImproveSamplingSettings_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.
| void meshlib::ImproveSamplingSettings::set_pt2sm | ( | value:Option<&mut meshlib::VertMap > | ) |
optional output: mapping from input point id to sample id Modifies a member variable of class MR::ImproveSamplingSettings named pt2sm.
Calls MR_ImproveSamplingSettings_Set_pt2sm(). The reference to the parameter value might be preserved in this object in element pt2sm.
| void meshlib::ImproveSamplingSettings::set_pt_colors | ( | value:Option<&meshlib::VertColors > | ) |
optional input: colors of input points Modifies a member variable of class MR::ImproveSamplingSettings named ptColors.
Calls MR_ImproveSamplingSettings_Set_ptColors(). The reference to the parameter value might be preserved in this object in element ptColors.
| void meshlib::ImproveSamplingSettings::set_pts_in_sm | ( | value:Option<&mut meshlib::Vector_int_MR_VertId > | ) |
optional output: the number of points in each sample Modifies a member variable of class MR::ImproveSamplingSettings named ptsInSm.
Calls MR_ImproveSamplingSettings_Set_ptsInSm(). The reference to the parameter value might be preserved in this object in element ptsInSm.
| void meshlib::ImproveSamplingSettings::set_sm_colors | ( | value:Option<&mut meshlib::VertColors > | ) |
optional output: averaged colors of samples Modifies a member variable of class MR::ImproveSamplingSettings named smColors.
Calls MR_ImproveSamplingSettings_Set_smColors(). The reference to the parameter value might be preserved in this object in element smColors.
| auto meshlib::ImproveSamplingSettings::sm_colors | ( | ) | const -> *const *mut meshlib::ffi::MR_VertColors |
optional output: averaged colors of samples Returns a pointer to a member variable of class MR::ImproveSamplingSettings named smColors.
Calls MR_ImproveSamplingSettings_Get_smColors(). 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::ImproveSamplingSettings::sm_colors_mut | ( | ) | -> *mut *mut meshlib::ffi::MR_VertColors |
optional output: averaged colors of samples Returns a mutable pointer to a member variable of class MR::ImproveSamplingSettings named smColors.
Calls MR_ImproveSamplingSettings_GetMutable_smColors(). 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.