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

Public Member Functions

auto assign_from_another (_other:&meshlib::nesting::Nesting3mfParams) -> &mut meshlib::nesting::Nesting3mfParams
auto meshes () const -> &meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId
auto meshes_mut () -> &mut meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId
void set_meshes (value:&meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId)
auto z_step () const -> &f32
auto z_step_mut () -> &mut f32
void set_z_step (value:f32)
auto decimate_max_error () const -> &f32
auto decimate_max_error_mut () -> &mut f32
void set_decimate_max_error (value:f32)
auto image () const -> *const *const meshlib::ffi::MR_Image
auto image_mut () -> *mut *const meshlib::ffi::MR_Image
void set_image (value:Option<&meshlib::Image >)
auto mesh_images () const -> *const *const meshlib::ffi::MR_std_vector_MR_Image
auto mesh_images_mut () -> *mut *const meshlib::ffi::MR_std_vector_MR_Image
void set_mesh_images (value:Option<&meshlib::std_vector_MR_Image >)
auto mesh_names () const -> *const *const meshlib::ffi::MR_std_vector_std_string
auto mesh_names_mut () -> *mut *const meshlib::ffi::MR_std_vector_std_string
void set_mesh_names (value:Option<&meshlib::std_vector_std_string >)
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::nesting::Nesting3mfParams >
static auto construct_from (meshes:&meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId, zStep:f32, decimateMaxError:f32, image:Option<&meshlib::Image >, meshImages:Option<&meshlib::std_vector_MR_Image >, meshNames:Option<&meshlib::std_vector_std_string >, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::nesting::Nesting3mfParams >
static auto construct_from_another (_other:&meshlib::nesting::Nesting3mfParams) -> meshlib::Owned< meshlib::nesting::Nesting3mfParams >
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::Nesting::Nesting3mfParams.

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

Member Function Documentation

◆ assign_from_another()

auto meshlib::nesting::Nesting3mfParams::assign_from_another ( _other:&meshlib::nesting::Nesting3mfParams ) -> &mut meshlib::nesting::Nesting3mfParams

Generated from method MR::Nesting::Nesting3mfParams::operator=.

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

◆ cb()

auto meshlib::nesting::Nesting3mfParams::cb ( ) const -> &meshlib::std_function_bool_from_float

Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named cb.

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

◆ cb_mut()

auto meshlib::nesting::Nesting3mfParams::cb_mut ( ) -> &mut meshlib::std_function_bool_from_float

Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named cb.

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

◆ construct_from()

auto meshlib::nesting::Nesting3mfParams::construct_from ( meshes:&meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId ,
zStep:f32 ,
decimateMaxError:f32 ,
image:Option<&meshlib::Image > ,
meshImages:Option<&meshlib::std_vector_MR_Image > ,
meshNames:Option<&meshlib::std_vector_std_string > ,
cb:&meshlib::std_function_bool_from_float  ) -> meshlib::Owned< meshlib::nesting::Nesting3mfParams >
static

Constructs MR::Nesting::Nesting3mfParams elementwise.

Calls MR_Nesting_Nesting3mfParams_ConstructFrom(). The reference to the parameter meshes might be preserved in the constructed object. The reference to the parameter image might be preserved in the constructed object. The reference to the parameter meshImages might be preserved in the constructed object. The reference to the parameter meshNames 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::nesting::Nesting3mfParams::construct_from_another ( _other:&meshlib::nesting::Nesting3mfParams ) -> meshlib::Owned< meshlib::nesting::Nesting3mfParams >
static

Generated from constructor MR::Nesting::Nesting3mfParams::Nesting3mfParams.

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

◆ decimate_max_error()

auto meshlib::nesting::Nesting3mfParams::decimate_max_error ( ) const -> &f32

max error for slice decimation: 0 - no decimation, >0 - used directly as the slice decimation max error Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named decimateMaxError.

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

◆ decimate_max_error_mut()

auto meshlib::nesting::Nesting3mfParams::decimate_max_error_mut ( ) -> &mut f32

max error for slice decimation: 0 - no decimation, >0 - used directly as the slice decimation max error Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named decimateMaxError.

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

◆ image()

auto meshlib::nesting::Nesting3mfParams::image ( ) const -> *const *const meshlib::ffi::MR_Image

optional image of all meshes in nest Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named image.

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

◆ image_mut()

auto meshlib::nesting::Nesting3mfParams::image_mut ( ) -> *mut *const meshlib::ffi::MR_Image

optional image of all meshes in nest Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named image.

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

◆ mesh_images()

auto meshlib::nesting::Nesting3mfParams::mesh_images ( ) const -> *const *const meshlib::ffi::MR_std_vector_MR_Image

optional screen shots of each mesh one by one Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshImages.

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

◆ mesh_images_mut()

auto meshlib::nesting::Nesting3mfParams::mesh_images_mut ( ) -> *mut *const meshlib::ffi::MR_std_vector_MR_Image

optional screen shots of each mesh one by one Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshImages.

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

◆ mesh_names()

auto meshlib::nesting::Nesting3mfParams::mesh_names ( ) const -> *const *const meshlib::ffi::MR_std_vector_std_string

optional names of each mesh one by one Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshNames.

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

◆ mesh_names_mut()

auto meshlib::nesting::Nesting3mfParams::mesh_names_mut ( ) -> *mut *const meshlib::ffi::MR_std_vector_std_string

optional names of each mesh one by one Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshNames.

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

◆ meshes()

auto meshlib::nesting::Nesting3mfParams::meshes ( ) const -> &meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId

nested meshes with their transforms into nest Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshes.

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

◆ meshes_mut()

auto meshlib::nesting::Nesting3mfParams::meshes_mut ( ) -> &mut meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId

nested meshes with their transforms into nest Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named meshes.

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

◆ new()

auto meshlib::nesting::Nesting3mfParams::new ( ) -> meshlib::Owned< meshlib::nesting::Nesting3mfParams >
static

Constructs an empty (default-constructed) instance.

Calls MR_Nesting_Nesting3mfParams_DefaultConstruct().

◆ set_cb()

void meshlib::nesting::Nesting3mfParams::set_cb ( value:&meshlib::std_function_bool_from_float )

Modifies a member variable of class MR::Nesting::Nesting3mfParams named cb.

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

◆ set_decimate_max_error()

void meshlib::nesting::Nesting3mfParams::set_decimate_max_error ( value:f32 )

max error for slice decimation: 0 - no decimation, >0 - used directly as the slice decimation max error Modifies a member variable of class MR::Nesting::Nesting3mfParams named decimateMaxError.

Calls MR_Nesting_Nesting3mfParams_Set_decimateMaxError().

◆ set_image()

void meshlib::nesting::Nesting3mfParams::set_image ( value:Option<&meshlib::Image > )

optional image of all meshes in nest Modifies a member variable of class MR::Nesting::Nesting3mfParams named image.

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

◆ set_mesh_images()

void meshlib::nesting::Nesting3mfParams::set_mesh_images ( value:Option<&meshlib::std_vector_MR_Image > )

optional screen shots of each mesh one by one Modifies a member variable of class MR::Nesting::Nesting3mfParams named meshImages.

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

◆ set_mesh_names()

void meshlib::nesting::Nesting3mfParams::set_mesh_names ( value:Option<&meshlib::std_vector_std_string > )

optional names of each mesh one by one Modifies a member variable of class MR::Nesting::Nesting3mfParams named meshNames.

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

◆ set_meshes()

void meshlib::nesting::Nesting3mfParams::set_meshes ( value:&meshlib::Vector_MR_Nesting_MeshXf_MR_ObjId )

nested meshes with their transforms into nest Modifies a member variable of class MR::Nesting::Nesting3mfParams named meshes.

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

◆ set_z_step()

void meshlib::nesting::Nesting3mfParams::set_z_step ( value:f32 )

slicing step Modifies a member variable of class MR::Nesting::Nesting3mfParams named zStep.

Calls MR_Nesting_Nesting3mfParams_Set_zStep().

◆ z_step()

auto meshlib::nesting::Nesting3mfParams::z_step ( ) const -> &f32

slicing step Returns a pointer to a member variable of class MR::Nesting::Nesting3mfParams named zStep.

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

◆ z_step_mut()

auto meshlib::nesting::Nesting3mfParams::z_step_mut ( ) -> &mut f32

slicing step Returns a mutable pointer to a member variable of class MR::Nesting::Nesting3mfParams named zStep.

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


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