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

Public Member Functions

auto assign_from_another (_other:&meshlib::ProjectAttributeParams) -> &mut meshlib::ProjectAttributeParams
auto xfs () const -> &meshlib::MeshProjectionTransforms
auto xfs_mut () -> &mut meshlib::MeshProjectionTransforms
void set_xfs (value:&meshlib::MeshProjectionTransforms)
auto progress_cb () const -> &meshlib::std_function_bool_from_float
auto progress_cb_mut () -> &mut meshlib::std_function_bool_from_float
void set_progress_cb (value:&meshlib::std_function_bool_from_float)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::ProjectAttributeParams >
static auto construct_from (xfs:&meshlib::MeshProjectionTransforms, progressCb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::ProjectAttributeParams >
static auto construct_from_another (_other:&meshlib::ProjectAttributeParams) -> meshlib::Owned< meshlib::ProjectAttributeParams >
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

this structure contains transformation for projection from one mesh to another and progress callback Generated from class MR::ProjectAttributeParams.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from()

auto meshlib::ProjectAttributeParams::construct_from ( xfs:&meshlib::MeshProjectionTransforms ,
progressCb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::ProjectAttributeParams >
static

Constructs MR::ProjectAttributeParams elementwise.

Calls MR_ProjectAttributeParams_ConstructFrom(). The reference to the parameter xfs might be preserved in the constructed object. The reference to the parameter progressCb might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::ProjectAttributeParams::ProjectAttributeParams.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_ProjectAttributeParams_DefaultConstruct().

◆ progress_cb()

auto meshlib::ProjectAttributeParams::progress_cb ( ) const -> &meshlib::std_function_bool_from_float

Returns a pointer to a member variable of class MR::ProjectAttributeParams named progressCb.

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

◆ progress_cb_mut()

auto meshlib::ProjectAttributeParams::progress_cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

Returns a mutable pointer to a member variable of class MR::ProjectAttributeParams named progressCb.

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

◆ set_progress_cb()

void meshlib::ProjectAttributeParams::set_progress_cb ( value:&meshlib::std_function_bool_from_float )

Modifies a member variable of class MR::ProjectAttributeParams named progressCb.

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

◆ set_xfs()

void meshlib::ProjectAttributeParams::set_xfs ( value:&meshlib::MeshProjectionTransforms )

Modifies a member variable of class MR::ProjectAttributeParams named xfs.

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

◆ xfs()

auto meshlib::ProjectAttributeParams::xfs ( ) const -> &meshlib::MeshProjectionTransforms

Returns a pointer to a member variable of class MR::ProjectAttributeParams named xfs.

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

◆ xfs_mut()

auto meshlib::ProjectAttributeParams::xfs_mut ( ) -> &mut meshlib::MeshProjectionTransforms

Returns a mutable pointer to a member variable of class MR::ProjectAttributeParams named xfs.

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


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