Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::MeshRelaxParams) -> &mut meshlib::MeshRelaxParams |
| auto | hard_smooth_tetrahedrons () const -> &bool |
| auto | hard_smooth_tetrahedrons_mut () -> &mut bool |
| void | set_hard_smooth_tetrahedrons (value:bool) |
| auto | weights () const -> *const *const meshlib::ffi::MR_VertScalars |
| auto | weights_mut () -> *mut *const meshlib::ffi::MR_VertScalars |
| void | set_weights (value:Option<&meshlib::VertScalars >) |
| auto | iterations () const -> &core::ffi::c_int |
| auto | iterations_mut () -> &mut core::ffi::c_int |
| void | set_iterations (value:core::ffi::c_int) |
| auto | region () const -> *const *const meshlib::ffi::MR_VertBitSet |
| auto | region_mut () -> *mut *const meshlib::ffi::MR_VertBitSet |
| void | set_region (value:Option<&meshlib::VertBitSet >) |
| auto | force () const -> &f32 |
| auto | force_mut () -> &mut f32 |
| void | set_force (value:f32) |
| auto | update_caches () const -> &bool |
| auto | update_caches_mut () -> &mut bool |
| void | set_update_caches (value:bool) |
| auto | limit_near_initial () const -> &bool |
| auto | limit_near_initial_mut () -> &mut bool |
| void | set_limit_near_initial (value:bool) |
| auto | max_initial_dist () const -> &f32 |
| auto | max_initial_dist_mut () -> &mut f32 |
| void | set_max_initial_dist (value:f32) |
| auto | upcast_to_relax_params () const -> &meshlib::RelaxParams |
| auto | upcast_to_relax_params_mut () -> &mut meshlib::RelaxParams |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MeshRelaxParams > |
| static auto | construct_from_another (_other:&meshlib::MeshRelaxParams) -> meshlib::Owned< meshlib::MeshRelaxParams > |
| static auto | static_downcast_from_relax_params (object:&meshlib::RelaxParams) -> &Self |
| static auto | static_downcast_from_relax_params_mut (object:&mut meshlib::RelaxParams) -> &mut Self |
| 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::MeshRelaxParams. Base classes: Direct: (non-virtual) MR::RelaxParams Derived classes: Direct: (non-virtual) MR::MeshApproxRelaxParams MR::MeshEqualizeTriAreasParams
Generated from class MR::MeshRelaxParams. Heap-allocated instances are held in Owned<MeshRelaxParams>.
| auto meshlib::MeshRelaxParams::assign_from_another | ( | _other:&meshlib::MeshRelaxParams | ) | -> &mut meshlib::MeshRelaxParams |
Generated from method MR::MeshRelaxParams::operator=.
Calls MR_MeshRelaxParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::MeshRelaxParams::MeshRelaxParams.
Calls MR_MeshRelaxParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MeshRelaxParams::force | ( | ) | const -> &f32 |
speed of relaxing, typical values (0.0, 0.5] Returns a pointer to a member variable of class MR::MeshRelaxParams named force.
Calls MR_MeshRelaxParams_Get_force(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::force_mut | ( | ) | -> &mut f32 |
speed of relaxing, typical values (0.0, 0.5] Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named force.
Calls MR_MeshRelaxParams_GetMutable_force(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::hard_smooth_tetrahedrons | ( | ) | const -> &bool |
move all region vertices with exactly three neighbor vertices in the center of the neighbors Returns a pointer to a member variable of class MR::MeshRelaxParams named hardSmoothTetrahedrons.
Calls MR_MeshRelaxParams_Get_hardSmoothTetrahedrons(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::hard_smooth_tetrahedrons_mut | ( | ) | -> &mut bool |
move all region vertices with exactly three neighbor vertices in the center of the neighbors Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named hardSmoothTetrahedrons.
Calls MR_MeshRelaxParams_GetMutable_hardSmoothTetrahedrons(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::iterations | ( | ) | const -> &core::ffi::c_int |
number of iterations Returns a pointer to a member variable of class MR::MeshRelaxParams named iterations.
Calls MR_MeshRelaxParams_Get_iterations(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::iterations_mut | ( | ) | -> &mut core::ffi::c_int |
number of iterations Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named iterations.
Calls MR_MeshRelaxParams_GetMutable_iterations(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::limit_near_initial | ( | ) | const -> &bool |
if true then maximal displacement of each point during denoising will be limited Returns a pointer to a member variable of class MR::MeshRelaxParams named limitNearInitial.
Calls MR_MeshRelaxParams_Get_limitNearInitial(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::limit_near_initial_mut | ( | ) | -> &mut bool |
if true then maximal displacement of each point during denoising will be limited Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named limitNearInitial.
Calls MR_MeshRelaxParams_GetMutable_limitNearInitial(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::max_initial_dist | ( | ) | const -> &f32 |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a pointer to a member variable of class MR::MeshRelaxParams named maxInitialDist.
Calls MR_MeshRelaxParams_Get_maxInitialDist(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::max_initial_dist_mut | ( | ) | -> &mut f32 |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named maxInitialDist.
Calls MR_MeshRelaxParams_GetMutable_maxInitialDist(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MeshRelaxParams_DefaultConstruct().
| auto meshlib::MeshRelaxParams::region | ( | ) | const -> *const *const meshlib::ffi::MR_VertBitSet |
region to relax Returns a pointer to a member variable of class MR::MeshRelaxParams named region.
Calls MR_MeshRelaxParams_Get_region(). 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::MeshRelaxParams::region_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertBitSet |
region to relax Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named region.
Calls MR_MeshRelaxParams_GetMutable_region(). 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::MeshRelaxParams::set_force | ( | value:f32 | ) |
speed of relaxing, typical values (0.0, 0.5] Modifies a member variable of class MR::MeshRelaxParams named force.
Calls MR_MeshRelaxParams_Set_force().
| void meshlib::MeshRelaxParams::set_hard_smooth_tetrahedrons | ( | value:bool | ) |
move all region vertices with exactly three neighbor vertices in the center of the neighbors Modifies a member variable of class MR::MeshRelaxParams named hardSmoothTetrahedrons.
Calls MR_MeshRelaxParams_Set_hardSmoothTetrahedrons().
| void meshlib::MeshRelaxParams::set_iterations | ( | value:core::ffi::c_int | ) |
number of iterations Modifies a member variable of class MR::MeshRelaxParams named iterations.
Calls MR_MeshRelaxParams_Set_iterations().
| void meshlib::MeshRelaxParams::set_limit_near_initial | ( | value:bool | ) |
if true then maximal displacement of each point during denoising will be limited Modifies a member variable of class MR::MeshRelaxParams named limitNearInitial.
Calls MR_MeshRelaxParams_Set_limitNearInitial().
| void meshlib::MeshRelaxParams::set_max_initial_dist | ( | value:f32 | ) |
maximum distance between a point and its position before relaxation, ignored if limitNearInitial = false Modifies a member variable of class MR::MeshRelaxParams named maxInitialDist.
Calls MR_MeshRelaxParams_Set_maxInitialDist().
| void meshlib::MeshRelaxParams::set_region | ( | value:Option<&meshlib::VertBitSet > | ) |
region to relax Modifies a member variable of class MR::MeshRelaxParams named region.
Calls MR_MeshRelaxParams_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::MeshRelaxParams::set_update_caches | ( | value:bool | ) |
in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient) Modifies a member variable of class MR::MeshRelaxParams named updateCaches.
Calls MR_MeshRelaxParams_Set_updateCaches().
| void meshlib::MeshRelaxParams::set_weights | ( | value:Option<&meshlib::VertScalars > | ) |
weight for each vertex. By default, all the vertices have equal weights. Modifies a member variable of class MR::MeshRelaxParams named weights.
Calls MR_MeshRelaxParams_Set_weights(). The reference to the parameter value might be preserved in this object in element weights.
|
static |
Static downcast from the base class MR::RelaxParams.
Calls MR_MeshRelaxParams_StaticDowncastFrom_MR_RelaxParams(). Undefined behavior if the object isn't actually a MeshRelaxParams.
|
static |
Static downcast from the base class MR::RelaxParams.
Calls MR_MeshRelaxParams_MutableStaticDowncastFrom_MR_RelaxParams(). Undefined behavior if the object isn't actually a MeshRelaxParams.
| auto meshlib::MeshRelaxParams::upcast_to_relax_params | ( | ) | const -> &meshlib::RelaxParams |
Upcasts to the base class MR::RelaxParams.
Calls MR_MeshRelaxParams_UpcastTo_MR_RelaxParams().
| auto meshlib::MeshRelaxParams::upcast_to_relax_params_mut | ( | ) | -> &mut meshlib::RelaxParams |
Upcasts to the base class MR::RelaxParams.
Calls MR_MeshRelaxParams_MutableUpcastTo_MR_RelaxParams().
| auto meshlib::MeshRelaxParams::update_caches | ( | ) | const -> &bool |
in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient) Returns a pointer to a member variable of class MR::MeshRelaxParams named updateCaches.
Calls MR_MeshRelaxParams_Get_updateCaches(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::update_caches_mut | ( | ) | -> &mut bool |
in functions taking Mesh or PointCloud: if false then all mesh caches (AABB trees) are invalidated after relaxation, if true then they are updated only in the region (faster, but the trees might become less efficient) Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named updateCaches.
Calls MR_MeshRelaxParams_GetMutable_updateCaches(). The reference to this object might be preserved as the return value.
| auto meshlib::MeshRelaxParams::weights | ( | ) | const -> *const *const meshlib::ffi::MR_VertScalars |
weight for each vertex. By default, all the vertices have equal weights. Returns a pointer to a member variable of class MR::MeshRelaxParams named weights.
Calls MR_MeshRelaxParams_Get_weights(). 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::MeshRelaxParams::weights_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertScalars |
weight for each vertex. By default, all the vertices have equal weights. Returns a mutable pointer to a member variable of class MR::MeshRelaxParams named weights.
Calls MR_MeshRelaxParams_GetMutable_weights(). 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.