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

Public Member Functions

auto assign_from_another (_other:&meshlib::OutlierParams) -> &mut meshlib::OutlierParams
auto max_cluster_size () const -> &core::ffi::c_int
auto max_cluster_size_mut () -> &mut core::ffi::c_int
void set_max_cluster_size (value:core::ffi::c_int)
auto max_neighbors () const -> &core::ffi::c_int
auto max_neighbors_mut () -> &mut core::ffi::c_int
void set_max_neighbors (value:core::ffi::c_int)
auto min_height () const -> &f32
auto min_height_mut () -> &mut f32
void set_min_height (value:f32)
auto min_angle () const -> &f32
auto min_angle_mut () -> &mut f32
void set_min_angle (value:f32)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::OutlierParams >
static auto construct_from (maxClusterSize:core::ffi::c_int, maxNeighbors:core::ffi::c_int, minHeight:f32, minAngle:f32) -> meshlib::Owned< meshlib::OutlierParams >
static auto construct_from_another (_other:&meshlib::OutlierParams) -> meshlib::Owned< meshlib::OutlierParams >
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

Parameters of various criteria for detecting outlier points Generated from class MR::OutlierParams.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::OutlierParams::assign_from_another ( _other:&meshlib::OutlierParams ) -> &mut meshlib::OutlierParams

Generated from method MR::OutlierParams::operator=.

Calls MR_OutlierParams_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.

◆ construct_from()

auto meshlib::OutlierParams::construct_from ( maxClusterSize:core::ffi::c_int ,
maxNeighbors:core::ffi::c_int ,
minHeight:f32 ,
minAngle:f32  ) -> meshlib::Owned< meshlib::OutlierParams >
static

Constructs MR::OutlierParams elementwise.

Calls MR_OutlierParams_ConstructFrom().

◆ construct_from_another()

auto meshlib::OutlierParams::construct_from_another ( _other:&meshlib::OutlierParams ) -> meshlib::Owned< meshlib::OutlierParams >
static

Generated from constructor MR::OutlierParams::OutlierParams.

Calls MR_OutlierParams_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.

◆ max_cluster_size()

auto meshlib::OutlierParams::max_cluster_size ( ) const -> &core::ffi::c_int

Maximum points in the outlier component Returns a pointer to a member variable of class MR::OutlierParams named maxClusterSize.

Calls MR_OutlierParams_Get_maxClusterSize(). The reference to this object might be preserved as the return value.

◆ max_cluster_size_mut()

auto meshlib::OutlierParams::max_cluster_size_mut ( ) -> &mut core::ffi::c_int

Maximum points in the outlier component Returns a mutable pointer to a member variable of class MR::OutlierParams named maxClusterSize.

Calls MR_OutlierParams_GetMutable_maxClusterSize(). The reference to this object might be preserved as the return value.

◆ max_neighbors()

auto meshlib::OutlierParams::max_neighbors ( ) const -> &core::ffi::c_int

Maximum number of adjacent points for an outlier point Returns a pointer to a member variable of class MR::OutlierParams named maxNeighbors.

Calls MR_OutlierParams_Get_maxNeighbors(). The reference to this object might be preserved as the return value.

◆ max_neighbors_mut()

auto meshlib::OutlierParams::max_neighbors_mut ( ) -> &mut core::ffi::c_int

Maximum number of adjacent points for an outlier point Returns a mutable pointer to a member variable of class MR::OutlierParams named maxNeighbors.

Calls MR_OutlierParams_GetMutable_maxNeighbors(). The reference to this object might be preserved as the return value.

◆ min_angle()

auto meshlib::OutlierParams::min_angle ( ) const -> &f32

Minimum angle of difference of normal at outlier points

Note
available only if there are normals Returns a pointer to a member variable of class MR::OutlierParams named minAngle.

Calls MR_OutlierParams_Get_minAngle(). The reference to this object might be preserved as the return value.

◆ min_angle_mut()

auto meshlib::OutlierParams::min_angle_mut ( ) -> &mut f32

Minimum angle of difference of normal at outlier points

Note
available only if there are normals Returns a mutable pointer to a member variable of class MR::OutlierParams named minAngle.

Calls MR_OutlierParams_GetMutable_minAngle(). The reference to this object might be preserved as the return value.

◆ min_height()

auto meshlib::OutlierParams::min_height ( ) const -> &f32

Minimum distance (as proportion of search radius) to the approximate surface from outliers point Returns a pointer to a member variable of class MR::OutlierParams named minHeight.

Calls MR_OutlierParams_Get_minHeight(). The reference to this object might be preserved as the return value.

◆ min_height_mut()

auto meshlib::OutlierParams::min_height_mut ( ) -> &mut f32

Minimum distance (as proportion of search radius) to the approximate surface from outliers point Returns a mutable pointer to a member variable of class MR::OutlierParams named minHeight.

Calls MR_OutlierParams_GetMutable_minHeight(). The reference to this object might be preserved as the return value.

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_OutlierParams_DefaultConstruct().

◆ set_max_cluster_size()

void meshlib::OutlierParams::set_max_cluster_size ( value:core::ffi::c_int )

Maximum points in the outlier component Modifies a member variable of class MR::OutlierParams named maxClusterSize.

Calls MR_OutlierParams_Set_maxClusterSize().

◆ set_max_neighbors()

void meshlib::OutlierParams::set_max_neighbors ( value:core::ffi::c_int )

Maximum number of adjacent points for an outlier point Modifies a member variable of class MR::OutlierParams named maxNeighbors.

Calls MR_OutlierParams_Set_maxNeighbors().

◆ set_min_angle()

void meshlib::OutlierParams::set_min_angle ( value:f32 )

Minimum angle of difference of normal at outlier points

Note
available only if there are normals Modifies a member variable of class MR::OutlierParams named minAngle.

Calls MR_OutlierParams_Set_minAngle().

◆ set_min_height()

void meshlib::OutlierParams::set_min_height ( value:f32 )

Minimum distance (as proportion of search radius) to the approximate surface from outliers point Modifies a member variable of class MR::OutlierParams named minHeight.

Calls MR_OutlierParams_Set_minHeight().


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