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

Public Member Functions

auto assign_from_another (_other:&meshlib::FindProjectionOnPointsSettings) -> &mut meshlib::FindProjectionOnPointsSettings
auto valid () const -> *const *const meshlib::ffi::MR_BitSet
auto valid_mut () -> *mut *const meshlib::ffi::MR_BitSet
void set_valid (value:Option<&meshlib::BitSet >)
auto xf () const -> *const *const meshlib::AffineXf3f
auto xf_mut () -> *mut *const meshlib::AffineXf3f
void set_xf (value:Option<&meshlib::AffineXf3f >)
auto up_dist_limit_sq () const -> &f32
auto up_dist_limit_sq_mut () -> &mut f32
void set_up_dist_limit_sq (value:f32)
auto lo_dist_limit_sq () const -> &f32
auto lo_dist_limit_sq_mut () -> &mut f32
void set_lo_dist_limit_sq (value:f32)
auto skip_same_index () const -> &bool
auto skip_same_index_mut () -> &mut bool
void set_skip_same_index (value:bool)
auto cb () const -> &meshlib::std_function_bool_from_float
auto cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_cb (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::FindProjectionOnPointsSettings >
static auto construct_from (valid:Option<&meshlib::BitSet >, xf:Option<&meshlib::AffineXf3f >, upDistLimitSq:f32, loDistLimitSq:f32, skipSameIndex:bool, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::FindProjectionOnPointsSettings >
static auto construct_from_another (_other:&meshlib::FindProjectionOnPointsSettings) -> meshlib::Owned< meshlib::FindProjectionOnPointsSettings >
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

settings for IPointsProjector::findProjections Generated from class MR::FindProjectionOnPointsSettings.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cb()

auto meshlib::FindProjectionOnPointsSettings::cb ( ) const -> &meshlib::std_function_bool_from_float

progress callback Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named cb.

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

◆ cb_mut()

auto meshlib::FindProjectionOnPointsSettings::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

progress callback Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named cb.

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

◆ construct_from()

auto meshlib::FindProjectionOnPointsSettings::construct_from ( valid:Option<&meshlib::BitSet > ,
xf:Option<&meshlib::AffineXf3f > ,
upDistLimitSq:f32 ,
loDistLimitSq:f32 ,
skipSameIndex:bool ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::FindProjectionOnPointsSettings >
static

Constructs MR::FindProjectionOnPointsSettings elementwise.

Calls MR_FindProjectionOnPointsSettings_ConstructFrom(). The reference to the parameter valid might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::FindProjectionOnPointsSettings::FindProjectionOnPointsSettings.

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

◆ lo_dist_limit_sq()

auto meshlib::FindProjectionOnPointsSettings::lo_dist_limit_sq ( ) const -> &f32

low limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named loDistLimitSq.

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

◆ lo_dist_limit_sq_mut()

auto meshlib::FindProjectionOnPointsSettings::lo_dist_limit_sq_mut ( ) -> &mut f32

low limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named loDistLimitSq.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_FindProjectionOnPointsSettings_DefaultConstruct().

◆ set_cb()

void meshlib::FindProjectionOnPointsSettings::set_cb ( value:&meshlib::std_function_bool_from_float )

progress callback Modifies a member variable of class MR::FindProjectionOnPointsSettings named cb.

Calls MR_FindProjectionOnPointsSettings_Set_cb(). The reference to the parameter value might be preserved in this object in element cb.

◆ set_lo_dist_limit_sq()

void meshlib::FindProjectionOnPointsSettings::set_lo_dist_limit_sq ( value:f32 )

low limit on the distance in question, if a point is found within this distance then it is immediately returned without searching for a closer one Modifies a member variable of class MR::FindProjectionOnPointsSettings named loDistLimitSq.

Calls MR_FindProjectionOnPointsSettings_Set_loDistLimitSq().

◆ set_skip_same_index()

void meshlib::FindProjectionOnPointsSettings::set_skip_same_index ( value:bool )

if true, discards a projection candidate with the same index as the target point Modifies a member variable of class MR::FindProjectionOnPointsSettings named skipSameIndex.

Calls MR_FindProjectionOnPointsSettings_Set_skipSameIndex().

◆ set_up_dist_limit_sq()

void meshlib::FindProjectionOnPointsSettings::set_up_dist_limit_sq ( value:f32 )

upper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point Modifies a member variable of class MR::FindProjectionOnPointsSettings named upDistLimitSq.

Calls MR_FindProjectionOnPointsSettings_Set_upDistLimitSq().

◆ set_valid()

void meshlib::FindProjectionOnPointsSettings::set_valid ( value:Option<&meshlib::BitSet > )

bitset of valid input points Modifies a member variable of class MR::FindProjectionOnPointsSettings named valid.

Calls MR_FindProjectionOnPointsSettings_Set_valid(). The reference to the parameter value might be preserved in this object in element valid.

◆ set_xf()

void meshlib::FindProjectionOnPointsSettings::set_xf ( value:Option<&meshlib::AffineXf3f > )

affine transformation for input points Modifies a member variable of class MR::FindProjectionOnPointsSettings named xf.

Calls MR_FindProjectionOnPointsSettings_Set_xf(). The reference to the parameter value might be preserved in this object in element xf.

◆ skip_same_index()

auto meshlib::FindProjectionOnPointsSettings::skip_same_index ( ) const -> &bool

if true, discards a projection candidate with the same index as the target point Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named skipSameIndex.

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

◆ skip_same_index_mut()

auto meshlib::FindProjectionOnPointsSettings::skip_same_index_mut ( ) -> &mut bool

if true, discards a projection candidate with the same index as the target point Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named skipSameIndex.

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

◆ up_dist_limit_sq()

auto meshlib::FindProjectionOnPointsSettings::up_dist_limit_sq ( ) const -> &f32

upper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named upDistLimitSq.

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

◆ up_dist_limit_sq_mut()

auto meshlib::FindProjectionOnPointsSettings::up_dist_limit_sq_mut ( ) -> &mut f32

upper limit on the distance in question, if the real distance is larger than the function exits returning upDistLimitSq and no valid point Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named upDistLimitSq.

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

◆ valid()

auto meshlib::FindProjectionOnPointsSettings::valid ( ) const -> *const *const meshlib::ffi::MR_BitSet

bitset of valid input points Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named valid.

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

◆ valid_mut()

auto meshlib::FindProjectionOnPointsSettings::valid_mut ( ) -> *mut *const meshlib::ffi::MR_BitSet

bitset of valid input points Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named valid.

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

◆ xf()

auto meshlib::FindProjectionOnPointsSettings::xf ( ) const -> *const *const meshlib::AffineXf3f

affine transformation for input points Returns a pointer to a member variable of class MR::FindProjectionOnPointsSettings named xf.

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

◆ xf_mut()

auto meshlib::FindProjectionOnPointsSettings::xf_mut ( ) -> *mut *const meshlib::AffineXf3f

affine transformation for input points Returns a mutable pointer to a member variable of class MR::FindProjectionOnPointsSettings named xf.

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


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