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

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

Detailed Description

Generated from class MR::MoveMeshToVoxelMaxDerivSettings.

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

Member Function Documentation

◆ assign_from_another()

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.

◆ construct_from()

auto meshlib::MoveMeshToVoxelMaxDerivSettings::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

Constructs MR::MoveMeshToVoxelMaxDerivSettings elementwise.

Calls MR_MoveMeshToVoxelMaxDerivSettings_ConstructFrom().

◆ construct_from_another()

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

◆ degree()

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.

◆ degree_mut()

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.

◆ intermediate_smooth_force()

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.

◆ intermediate_smooth_force_mut()

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.

◆ iters()

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.

◆ iters_mut()

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.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MoveMeshToVoxelMaxDerivSettings_DefaultConstruct().

◆ outlier_threshold()

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.

◆ outlier_threshold_mut()

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.

◆ preparation_smooth_force()

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.

◆ preparation_smooth_force_mut()

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.

◆ sample_points()

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.

◆ sample_points_mut()

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.

◆ set_degree()

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

◆ set_intermediate_smooth_force()

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

◆ set_iters()

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

◆ set_outlier_threshold()

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

◆ set_preparation_smooth_force()

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

◆ set_sample_points()

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


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