Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::PointCloudRelaxParams) -> &mut meshlib::PointCloudRelaxParams |
| auto | neighborhood_radius () const -> &f32 |
| auto | neighborhood_radius_mut () -> &mut f32 |
| void | set_neighborhood_radius (value:f32) |
| 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::PointCloudRelaxParams > |
| static auto | construct_from_another (_other:&meshlib::PointCloudRelaxParams) -> meshlib::Owned< meshlib::PointCloudRelaxParams > |
| 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::PointCloudRelaxParams. Base classes: Direct: (non-virtual) MR::RelaxParams Derived classes: Direct: (non-virtual) MR::PointCloudApproxRelaxParams
Generated from class MR::PointCloudRelaxParams. Heap-allocated instances are held in Owned<PointCloudRelaxParams>.
| auto meshlib::PointCloudRelaxParams::assign_from_another | ( | _other:&meshlib::PointCloudRelaxParams | ) | -> &mut meshlib::PointCloudRelaxParams |
Generated from method MR::PointCloudRelaxParams::operator=.
Calls MR_PointCloudRelaxParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::PointCloudRelaxParams::PointCloudRelaxParams.
Calls MR_PointCloudRelaxParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::PointCloudRelaxParams::force | ( | ) | const -> &f32 |
speed of relaxing, typical values (0.0, 0.5] Returns a pointer to a member variable of class MR::PointCloudRelaxParams named force.
Calls MR_PointCloudRelaxParams_Get_force(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::force_mut | ( | ) | -> &mut f32 |
speed of relaxing, typical values (0.0, 0.5] Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named force.
Calls MR_PointCloudRelaxParams_GetMutable_force(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::iterations | ( | ) | const -> &core::ffi::c_int |
number of iterations Returns a pointer to a member variable of class MR::PointCloudRelaxParams named iterations.
Calls MR_PointCloudRelaxParams_Get_iterations(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::iterations_mut | ( | ) | -> &mut core::ffi::c_int |
number of iterations Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named iterations.
Calls MR_PointCloudRelaxParams_GetMutable_iterations(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named limitNearInitial.
Calls MR_PointCloudRelaxParams_Get_limitNearInitial(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named limitNearInitial.
Calls MR_PointCloudRelaxParams_GetMutable_limitNearInitial(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named maxInitialDist.
Calls MR_PointCloudRelaxParams_Get_maxInitialDist(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named maxInitialDist.
Calls MR_PointCloudRelaxParams_GetMutable_maxInitialDist(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::neighborhood_radius | ( | ) | const -> &f32 |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Returns a pointer to a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius.
Calls MR_PointCloudRelaxParams_Get_neighborhoodRadius(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::neighborhood_radius_mut | ( | ) | -> &mut f32 |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius.
Calls MR_PointCloudRelaxParams_GetMutable_neighborhoodRadius(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_PointCloudRelaxParams_DefaultConstruct().
| auto meshlib::PointCloudRelaxParams::region | ( | ) | const -> *const *const meshlib::ffi::MR_VertBitSet |
region to relax Returns a pointer to a member variable of class MR::PointCloudRelaxParams named region.
Calls MR_PointCloudRelaxParams_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::PointCloudRelaxParams::region_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertBitSet |
region to relax Returns a mutable pointer to a member variable of class MR::PointCloudRelaxParams named region.
Calls MR_PointCloudRelaxParams_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::PointCloudRelaxParams::set_force | ( | value:f32 | ) |
speed of relaxing, typical values (0.0, 0.5] Modifies a member variable of class MR::PointCloudRelaxParams named force.
Calls MR_PointCloudRelaxParams_Set_force().
| void meshlib::PointCloudRelaxParams::set_iterations | ( | value:core::ffi::c_int | ) |
number of iterations Modifies a member variable of class MR::PointCloudRelaxParams named iterations.
Calls MR_PointCloudRelaxParams_Set_iterations().
| void meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named limitNearInitial.
Calls MR_PointCloudRelaxParams_Set_limitNearInitial().
| void meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named maxInitialDist.
Calls MR_PointCloudRelaxParams_Set_maxInitialDist().
| void meshlib::PointCloudRelaxParams::set_neighborhood_radius | ( | value:f32 | ) |
radius to find neighbors in, 0.0 - default, 0.1*boundibg box diagonal Modifies a member variable of class MR::PointCloudRelaxParams named neighborhoodRadius.
Calls MR_PointCloudRelaxParams_Set_neighborhoodRadius().
| void meshlib::PointCloudRelaxParams::set_region | ( | value:Option<&meshlib::VertBitSet > | ) |
region to relax Modifies a member variable of class MR::PointCloudRelaxParams named region.
Calls MR_PointCloudRelaxParams_Set_region(). The reference to the parameter value might be preserved in this object in element region.
| void meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named updateCaches.
Calls MR_PointCloudRelaxParams_Set_updateCaches().
|
static |
Static downcast from the base class MR::RelaxParams.
Calls MR_PointCloudRelaxParams_StaticDowncastFrom_MR_RelaxParams(). Undefined behavior if the object isn't actually a PointCloudRelaxParams.
|
static |
Static downcast from the base class MR::RelaxParams.
Calls MR_PointCloudRelaxParams_MutableStaticDowncastFrom_MR_RelaxParams(). Undefined behavior if the object isn't actually a PointCloudRelaxParams.
| auto meshlib::PointCloudRelaxParams::upcast_to_relax_params | ( | ) | const -> &meshlib::RelaxParams |
Upcasts to the base class MR::RelaxParams.
Calls MR_PointCloudRelaxParams_UpcastTo_MR_RelaxParams().
| auto meshlib::PointCloudRelaxParams::upcast_to_relax_params_mut | ( | ) | -> &mut meshlib::RelaxParams |
Upcasts to the base class MR::RelaxParams.
Calls MR_PointCloudRelaxParams_MutableUpcastTo_MR_RelaxParams().
| auto meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named updateCaches.
Calls MR_PointCloudRelaxParams_Get_updateCaches(). The reference to this object might be preserved as the return value.
| auto meshlib::PointCloudRelaxParams::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::PointCloudRelaxParams named updateCaches.
Calls MR_PointCloudRelaxParams_GetMutable_updateCaches(). The reference to this object might be preserved as the return value.