Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::MoveMeshToVoxelMaxDerivSettings) -> &mut meshlib::MoveMeshToVoxelMaxDerivSettings |
| auto | iters () const -> &core::ffi::c_int |
| auto | iters_mut () -> &mut core::ffi::c_int |
| void | set_iters (value:core::ffi::c_int) |
| auto | sample_points () const -> &core::ffi::c_int |
| auto | sample_points_mut () -> &mut core::ffi::c_int |
| void | set_sample_points (value:core::ffi::c_int) |
| auto | degree () const -> &core::ffi::c_int |
| auto | degree_mut () -> &mut core::ffi::c_int |
| void | set_degree (value:core::ffi::c_int) |
| auto | outlier_threshold () const -> &f32 |
| auto | outlier_threshold_mut () -> &mut f32 |
| void | set_outlier_threshold (value:f32) |
| auto | intermediate_smooth_force () const -> &f32 |
| auto | intermediate_smooth_force_mut () -> &mut f32 |
| void | set_intermediate_smooth_force (value:f32) |
| auto | preparation_smooth_force () const -> &f32 |
| auto | preparation_smooth_force_mut () -> &mut f32 |
| void | set_preparation_smooth_force (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MoveMeshToVoxelMaxDerivSettings > |
| static auto | construct_from (iters:core::ffi::c_int, samplePoints:core::ffi::c_int, degree:core::ffi::c_int, outlierThreshold:f32, intermediateSmoothForce:f32, preparationSmoothForce:f32) -> meshlib::Owned< meshlib::MoveMeshToVoxelMaxDerivSettings > |
| static auto | construct_from_another (_other:&meshlib::MoveMeshToVoxelMaxDerivSettings) -> meshlib::Owned< meshlib::MoveMeshToVoxelMaxDerivSettings > |
| 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::MoveMeshToVoxelMaxDerivSettings.
Generated from class MR::MoveMeshToVoxelMaxDerivSettings. Heap-allocated instances are held in Owned<MoveMeshToVoxelMaxDerivSettings>.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::assign_from_another | ( | _other:&meshlib::MoveMeshToVoxelMaxDerivSettings | ) | -> &mut meshlib::MoveMeshToVoxelMaxDerivSettings |
Generated from method MR::MoveMeshToVoxelMaxDerivSettings::operator=.
Calls MR_MoveMeshToVoxelMaxDerivSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::MoveMeshToVoxelMaxDerivSettings elementwise.
Calls MR_MoveMeshToVoxelMaxDerivSettings_ConstructFrom().
|
static |
Generated from constructor MR::MoveMeshToVoxelMaxDerivSettings::MoveMeshToVoxelMaxDerivSettings.
Calls MR_MoveMeshToVoxelMaxDerivSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::degree | ( | ) | const -> &core::ffi::c_int |
degree of the polynomial used to fit sampled points. Must be in range [3; 6] Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named degree.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_degree(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::degree_mut | ( | ) | -> &mut core::ffi::c_int |
degree of the polynomial used to fit sampled points. Must be in range [3; 6] Returns a mutable pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named degree.
Calls MR_MoveMeshToVoxelMaxDerivSettings_GetMutable_degree(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::intermediate_smooth_force | ( | ) | const -> &f32 |
force of the smoothing (relaxation) of vector field of shifts on each iteration Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named intermediateSmoothForce.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_intermediateSmoothForce(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::intermediate_smooth_force_mut | ( | ) | -> &mut f32 |
force of the smoothing (relaxation) of vector field of shifts on each iteration Returns a mutable pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named intermediateSmoothForce.
Calls MR_MoveMeshToVoxelMaxDerivSettings_GetMutable_intermediateSmoothForce(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::iters | ( | ) | const -> &core::ffi::c_int |
number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts. Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named iters.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_iters(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::iters_mut | ( | ) | -> &mut core::ffi::c_int |
number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts. Returns a mutable pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named iters.
Calls MR_MoveMeshToVoxelMaxDerivSettings_GetMutable_iters(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MoveMeshToVoxelMaxDerivSettings_DefaultConstruct().
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::outlier_threshold | ( | ) | const -> &f32 |
for each iteration, if target position of the vertex is greater than this threshold, it is disregarded. For small degrees, this value should be small, for large degrees it may be larger. Measured in number of voxels. Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named outlierThreshold.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_outlierThreshold(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::outlier_threshold_mut | ( | ) | -> &mut f32 |
for each iteration, if target position of the vertex is greater than this threshold, it is disregarded. For small degrees, this value should be small, for large degrees it may be larger. Measured in number of voxels. Returns a mutable pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named outlierThreshold.
Calls MR_MoveMeshToVoxelMaxDerivSettings_GetMutable_outlierThreshold(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::preparation_smooth_force | ( | ) | const -> &f32 |
force of initial smoothing of vertices, before applying the algorithm Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named preparationSmoothForce.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_preparationSmoothForce(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::preparation_smooth_force_mut | ( | ) | -> &mut f32 |
force of initial smoothing of vertices, before applying the algorithm Returns a mutable pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named preparationSmoothForce.
Calls MR_MoveMeshToVoxelMaxDerivSettings_GetMutable_preparationSmoothForce(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::sample_points | ( | ) | const -> &core::ffi::c_int |
number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and estimate the derivative based on it Returns a pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named samplePoints.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Get_samplePoints(). The reference to this object might be preserved as the return value.
| auto meshlib::MoveMeshToVoxelMaxDerivSettings::sample_points_mut | ( | ) | -> &mut core::ffi::c_int |
number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and estimate the derivative based on it Returns a mutable pointer to a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named samplePoints.
Calls MR_MoveMeshToVoxelMaxDerivSettings_GetMutable_samplePoints(). The reference to this object might be preserved as the return value.
| void meshlib::MoveMeshToVoxelMaxDerivSettings::set_degree | ( | value:core::ffi::c_int | ) |
degree of the polynomial used to fit sampled points. Must be in range [3; 6] Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named degree.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_degree().
| void meshlib::MoveMeshToVoxelMaxDerivSettings::set_intermediate_smooth_force | ( | value:f32 | ) |
force of the smoothing (relaxation) of vector field of shifts on each iteration Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named intermediateSmoothForce.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_intermediateSmoothForce().
| void meshlib::MoveMeshToVoxelMaxDerivSettings::set_iters | ( | value:core::ffi::c_int | ) |
number of iterations. Each iteration moves vertex only slightly and smooths the vector field of shifts. Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named iters.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_iters().
| void meshlib::MoveMeshToVoxelMaxDerivSettings::set_outlier_threshold | ( | value:f32 | ) |
for each iteration, if target position of the vertex is greater than this threshold, it is disregarded. For small degrees, this value should be small, for large degrees it may be larger. Measured in number of voxels. Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named outlierThreshold.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_outlierThreshold().
| void meshlib::MoveMeshToVoxelMaxDerivSettings::set_preparation_smooth_force | ( | value:f32 | ) |
force of initial smoothing of vertices, before applying the algorithm Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named preparationSmoothForce.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_preparationSmoothForce().
| void meshlib::MoveMeshToVoxelMaxDerivSettings::set_sample_points | ( | value:core::ffi::c_int | ) |
number of points to sample for each vertex. Samples are used to get the picewice-linear function of density and estimate the derivative based on it Modifies a member variable of class MR::MoveMeshToVoxelMaxDerivSettings named samplePoints.
Calls MR_MoveMeshToVoxelMaxDerivSettings_Set_samplePoints().