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

Public Member Functions

auto assign_from_another (_other:&meshlib::MeshProjectionParameters) -> &mut meshlib::MeshProjectionParameters
auto lo_dist_limit_sq () const -> &f32
auto lo_dist_limit_sq_mut () -> &mut f32
void set_lo_dist_limit_sq (value:f32)
auto up_dist_limit_sq () const -> &f32
auto up_dist_limit_sq_mut () -> &mut f32
void set_up_dist_limit_sq (value:f32)
auto ref_xf () const -> *const *const meshlib::AffineXf3f
auto ref_xf_mut () -> *mut *const meshlib::AffineXf3f
void set_ref_xf (value:Option<&meshlib::AffineXf3f >)
auto xf () const -> *const *const meshlib::AffineXf3f
auto xf_mut () -> *mut *const meshlib::AffineXf3f
void set_xf (value:Option<&meshlib::AffineXf3f >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::MeshProjectionParameters >
static auto construct_from (loDistLimitSq:f32, upDistLimitSq:f32, refXf:Option<&meshlib::AffineXf3f >, xf:Option<&meshlib::AffineXf3f >) -> meshlib::Owned< meshlib::MeshProjectionParameters >
static auto construct_from_another (_other:&meshlib::MeshProjectionParameters) -> meshlib::Owned< meshlib::MeshProjectionParameters >
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

Generated from class MR::MeshProjectionParameters. Derived classes: Direct: (non-virtual) MR::ShrinkwrapParameters

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::MeshProjectionParameters::construct_from ( loDistLimitSq:f32 ,
upDistLimitSq:f32 ,
refXf:Option<&meshlib::AffineXf3f > ,
xf:Option<&meshlib::AffineXf3f >  ) -> meshlib::Owned< meshlib::MeshProjectionParameters >
static

Constructs MR::MeshProjectionParameters elementwise.

Calls MR_MeshProjectionParameters_ConstructFrom(). The reference to the parameter refXf might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::MeshProjectionParameters::MeshProjectionParameters.

Calls MR_MeshProjectionParameters_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::MeshProjectionParameters::lo_dist_limit_sq ( ) const -> &f32

minimum squared distance from a test point to mesh to be computed precisely, if a mesh 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::MeshProjectionParameters named loDistLimitSq.

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

◆ lo_dist_limit_sq_mut()

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

minimum squared distance from a test point to mesh to be computed precisely, if a mesh 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::MeshProjectionParameters named loDistLimitSq.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_MeshProjectionParameters_DefaultConstruct().

◆ ref_xf()

auto meshlib::MeshProjectionParameters::ref_xf ( ) const -> *const *const meshlib::AffineXf3f

optional reference mesh to world transformation Returns a pointer to a member variable of class MR::MeshProjectionParameters named refXf.

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

◆ ref_xf_mut()

auto meshlib::MeshProjectionParameters::ref_xf_mut ( ) -> *mut *const meshlib::AffineXf3f

optional reference mesh to world transformation Returns a mutable pointer to a member variable of class MR::MeshProjectionParameters named refXf.

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

◆ set_lo_dist_limit_sq()

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

minimum squared distance from a test point to mesh to be computed precisely, if a mesh point is found within this distance then it is immediately returned without searching for a closer one Modifies a member variable of class MR::MeshProjectionParameters named loDistLimitSq.

Calls MR_MeshProjectionParameters_Set_loDistLimitSq().

◆ set_ref_xf()

void meshlib::MeshProjectionParameters::set_ref_xf ( value:Option<&meshlib::AffineXf3f > )

optional reference mesh to world transformation Modifies a member variable of class MR::MeshProjectionParameters named refXf.

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

◆ set_up_dist_limit_sq()

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

maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Modifies a member variable of class MR::MeshProjectionParameters named upDistLimitSq.

Calls MR_MeshProjectionParameters_Set_upDistLimitSq().

◆ set_xf()

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

optional test points to world transformation Modifies a member variable of class MR::MeshProjectionParameters named xf.

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

◆ up_dist_limit_sq()

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

maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Returns a pointer to a member variable of class MR::MeshProjectionParameters named upDistLimitSq.

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

◆ up_dist_limit_sq_mut()

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

maximum squared distance from a test point to mesh to be computed precisely, if actual distance is larger than upDistLimit will be returned with not-trusted sign Returns a mutable pointer to a member variable of class MR::MeshProjectionParameters named upDistLimitSq.

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

◆ xf()

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

optional test points to world transformation Returns a pointer to a member variable of class MR::MeshProjectionParameters named xf.

Calls MR_MeshProjectionParameters_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::MeshProjectionParameters::xf_mut ( ) -> *mut *const meshlib::AffineXf3f

optional test points to world transformation Returns a mutable pointer to a member variable of class MR::MeshProjectionParameters named xf.

Calls MR_MeshProjectionParameters_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: