Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::UniformSamplingSettings) -> &mut meshlib::UniformSamplingSettings |
| auto | distance () const -> &f32 |
| auto | distance_mut () -> &mut f32 |
| void | set_distance (value:f32) |
| auto | min_normal_dot () const -> &f32 |
| auto | min_normal_dot_mut () -> &mut f32 |
| void | set_min_normal_dot (value:f32) |
| auto | lexicographical_order () const -> &bool |
| auto | lexicographical_order_mut () -> &mut bool |
| void | set_lexicographical_order (value:bool) |
| auto | p_normals () const -> *const *const meshlib::ffi::MR_VertCoords |
| auto | p_normals_mut () -> *mut *const meshlib::ffi::MR_VertCoords |
| void | set_p_normals (value:Option<&meshlib::VertCoords >) |
| 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::UniformSamplingSettings > |
| static auto | construct_from (distance:f32, minNormalDot:f32, lexicographicalOrder:bool, pNormals:Option<&meshlib::VertCoords >, progress:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::UniformSamplingSettings > |
| static auto | construct_from_another (_other:&meshlib::UniformSamplingSettings) -> meshlib::Owned< meshlib::UniformSamplingSettings > |
| 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::UniformSamplingSettings.
Generated from class MR::UniformSamplingSettings. Heap-allocated instances are held in Owned<UniformSamplingSettings>.
| auto meshlib::UniformSamplingSettings::assign_from_another | ( | _other:&meshlib::UniformSamplingSettings | ) | -> &mut meshlib::UniformSamplingSettings |
Generated from method MR::UniformSamplingSettings::operator=.
Calls MR_UniformSamplingSettings_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::UniformSamplingSettings elementwise.
Calls MR_UniformSamplingSettings_ConstructFrom(). The reference to the parameter pNormals 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::UniformSamplingSettings::UniformSamplingSettings.
Calls MR_UniformSamplingSettings_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::UniformSamplingSettings::distance | ( | ) | const -> &f32 |
minimal distance between samples Returns a pointer to a member variable of class MR::UniformSamplingSettings named distance.
Calls MR_UniformSamplingSettings_Get_distance(). The reference to this object might be preserved as the return value.
| auto meshlib::UniformSamplingSettings::distance_mut | ( | ) | -> &mut f32 |
minimal distance between samples Returns a mutable pointer to a member variable of class MR::UniformSamplingSettings named distance.
Calls MR_UniformSamplingSettings_GetMutable_distance(). The reference to this object might be preserved as the return value.
| auto meshlib::UniformSamplingSettings::lexicographical_order | ( | ) | const -> &bool |
if true process the points in lexicographical order, which gives tighter and more uniform samples; if false process the points according to their ids, which is faster Returns a pointer to a member variable of class MR::UniformSamplingSettings named lexicographicalOrder.
Calls MR_UniformSamplingSettings_Get_lexicographicalOrder(). The reference to this object might be preserved as the return value.
| auto meshlib::UniformSamplingSettings::lexicographical_order_mut | ( | ) | -> &mut bool |
if true process the points in lexicographical order, which gives tighter and more uniform samples; if false process the points according to their ids, which is faster Returns a mutable pointer to a member variable of class MR::UniformSamplingSettings named lexicographicalOrder.
Calls MR_UniformSamplingSettings_GetMutable_lexicographicalOrder(). The reference to this object might be preserved as the return value.
| auto meshlib::UniformSamplingSettings::min_normal_dot | ( | ) | const -> &f32 |
if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value; this is to make sampling denser in the regions of high curvature; value <=0 means ignore normals; value >=1 means select all points (practically useless) Returns a pointer to a member variable of class MR::UniformSamplingSettings named minNormalDot.
Calls MR_UniformSamplingSettings_Get_minNormalDot(). The reference to this object might be preserved as the return value.
| auto meshlib::UniformSamplingSettings::min_normal_dot_mut | ( | ) | -> &mut f32 |
if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value; this is to make sampling denser in the regions of high curvature; value <=0 means ignore normals; value >=1 means select all points (practically useless) Returns a mutable pointer to a member variable of class MR::UniformSamplingSettings named minNormalDot.
Calls MR_UniformSamplingSettings_GetMutable_minNormalDot(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_UniformSamplingSettings_DefaultConstruct().
| auto meshlib::UniformSamplingSettings::p_normals | ( | ) | const -> *const *const meshlib::ffi::MR_VertCoords |
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself Returns a pointer to a member variable of class MR::UniformSamplingSettings named pNormals.
Calls MR_UniformSamplingSettings_Get_pNormals(). 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::UniformSamplingSettings::p_normals_mut | ( | ) | -> *mut *const meshlib::ffi::MR_VertCoords |
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself Returns a mutable pointer to a member variable of class MR::UniformSamplingSettings named pNormals.
Calls MR_UniformSamplingSettings_GetMutable_pNormals(). 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::UniformSamplingSettings::progress | ( | ) | const -> &meshlib::std_function_bool_from_float |
to report progress and cancel processing Returns a pointer to a member variable of class MR::UniformSamplingSettings named progress.
Calls MR_UniformSamplingSettings_Get_progress(). The reference to this object might be preserved as the return value.
| auto meshlib::UniformSamplingSettings::progress_mut | ( | ) | -> &mut meshlib::std_function_bool_from_float |
to report progress and cancel processing Returns a mutable pointer to a member variable of class MR::UniformSamplingSettings named progress.
Calls MR_UniformSamplingSettings_GetMutable_progress(). The reference to this object might be preserved as the return value.
| void meshlib::UniformSamplingSettings::set_distance | ( | value:f32 | ) |
minimal distance between samples Modifies a member variable of class MR::UniformSamplingSettings named distance.
Calls MR_UniformSamplingSettings_Set_distance().
| void meshlib::UniformSamplingSettings::set_lexicographical_order | ( | value:bool | ) |
if true process the points in lexicographical order, which gives tighter and more uniform samples; if false process the points according to their ids, which is faster Modifies a member variable of class MR::UniformSamplingSettings named lexicographicalOrder.
Calls MR_UniformSamplingSettings_Set_lexicographicalOrder().
| void meshlib::UniformSamplingSettings::set_min_normal_dot | ( | value:f32 | ) |
if point cloud has normals then automatically decreases local distance to make sure that all points inside have absolute normal dot product not less than this value; this is to make sampling denser in the regions of high curvature; value <=0 means ignore normals; value >=1 means select all points (practically useless) Modifies a member variable of class MR::UniformSamplingSettings named minNormalDot.
Calls MR_UniformSamplingSettings_Set_minNormalDot().
| void meshlib::UniformSamplingSettings::set_p_normals | ( | value:Option<&meshlib::VertCoords > | ) |
if not nullptr then these normals will be used during sampling instead of normals in the cloud itself Modifies a member variable of class MR::UniformSamplingSettings named pNormals.
Calls MR_UniformSamplingSettings_Set_pNormals(). The reference to the parameter value might be preserved in this object in element pNormals.
| void meshlib::UniformSamplingSettings::set_progress | ( | value:&meshlib::std_function_bool_from_float | ) |
to report progress and cancel processing Modifies a member variable of class MR::UniformSamplingSettings named progress.
Calls MR_UniformSamplingSettings_Set_progress(). The reference to the parameter value might be preserved in this object in element progress.