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

Public Member Functions

auto assign_from_another (_other:&meshlib::nesting::TetrisDensifyOptions) -> &mut meshlib::nesting::TetrisDensifyOptions
auto voxel_size () const -> &f32
auto voxel_size_mut () -> &mut f32
void set_voxel_size (value:f32)
auto densification_sequence () const -> &meshlib::std_vector_MR_OutEdge
auto densification_sequence_mut () -> &mut meshlib::std_vector_MR_OutEdge
void set_densification_sequence (value:&meshlib::std_vector_MR_OutEdge)
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)
auto nest_voxels_cache () const -> *const *mut meshlib::ffi::MR_Vector_MR_ObjId_MR_VoxelId
auto nest_voxels_cache_mut () -> *mut *mut meshlib::ffi::MR_Vector_MR_ObjId_MR_VoxelId
void set_nest_voxels_cache (value:Option<&mut meshlib::Vector_MR_ObjId_MR_VoxelId >)
auto nest_dimensions_cache () const -> *const *mut meshlib::Vector3i
auto nest_dimensions_cache_mut () -> *mut *mut meshlib::Vector3i
void set_nest_dimensions_cache (value:Option<&mut meshlib::Vector3i >)
auto occupied_voxels_cache () const -> *const *mut meshlib::ffi::MR_VoxelBitSet
auto occupied_voxels_cache_mut () -> *mut *mut meshlib::ffi::MR_VoxelBitSet
void set_occupied_voxels_cache (value:Option<&mut meshlib::VoxelBitSet >)

Static Public Member Functions

static auto new () -> meshlib::Owned< meshlib::nesting::TetrisDensifyOptions >
static auto construct_from (voxelSize:f32, densificationSequence:&meshlib::std_vector_MR_OutEdge, cb:&meshlib::std_function_bool_from_float, nestVoxelsCache:Option<&mut meshlib::Vector_MR_ObjId_MR_VoxelId >, nestDimensionsCache:Option<&mut meshlib::Vector3i >, occupiedVoxelsCache:Option<&mut meshlib::VoxelBitSet >) -> meshlib::Owned< meshlib::nesting::TetrisDensifyOptions >
static auto construct_from_another (_other:&meshlib::nesting::TetrisDensifyOptions) -> meshlib::Owned< meshlib::nesting::TetrisDensifyOptions >
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::TetrisDensifyOptions.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ cb()

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

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

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

◆ cb_mut()

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

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

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

◆ construct_from()

auto meshlib::nesting::TetrisDensifyOptions::construct_from ( voxelSize:f32 ,
densificationSequence:&meshlib::std_vector_MR_OutEdge ,
cb:&meshlib::std_function_bool_from_float ,
nestVoxelsCache:Option<&mut meshlib::Vector_MR_ObjId_MR_VoxelId > ,
nestDimensionsCache:Option<&mut meshlib::Vector3i > ,
occupiedVoxelsCache:Option<&mut meshlib::VoxelBitSet >  ) -> meshlib::Owned< meshlib::nesting::TetrisDensifyOptions >
static

Constructs MR::Nesting::TetrisDensifyOptions elementwise.

Calls MR_Nesting_TetrisDensifyOptions_ConstructFrom(). The reference to the parameter densificationSequence might be preserved in the constructed object. The reference to the parameter cb might be preserved in the constructed object. The reference to the parameter nestVoxelsCache might be preserved in the constructed object. The reference to the parameter nestDimensionsCache might be preserved in the constructed object. The reference to the parameter occupiedVoxelsCache might be preserved in the constructed object.

◆ construct_from_another()

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

Generated from constructor MR::Nesting::TetrisDensifyOptions::TetrisDensifyOptions.

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

◆ densification_sequence()

auto meshlib::nesting::TetrisDensifyOptions::densification_sequence ( ) const -> &meshlib::std_vector_MR_OutEdge

tetris box will be densify in these directions one by one Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence.

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

◆ densification_sequence_mut()

auto meshlib::nesting::TetrisDensifyOptions::densification_sequence_mut ( ) -> &mut meshlib::std_vector_MR_OutEdge

tetris box will be densify in these directions one by one Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence.

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

◆ nest_dimensions_cache()

auto meshlib::nesting::TetrisDensifyOptions::nest_dimensions_cache ( ) const -> *const *mut meshlib::Vector3i

< [in/out] dimensions of the nest (complimentary to voxels data) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache.

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

◆ nest_dimensions_cache_mut()

auto meshlib::nesting::TetrisDensifyOptions::nest_dimensions_cache_mut ( ) -> *mut *mut meshlib::Vector3i

< [in/out] dimensions of the nest (complimentary to voxels data) Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache.

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

◆ nest_voxels_cache()

auto meshlib::nesting::TetrisDensifyOptions::nest_voxels_cache ( ) const -> *const *mut meshlib::ffi::MR_Vector_MR_ObjId_MR_VoxelId

< [in/out] pre-allocated voxels vector (to speedup allocation) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache.

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

◆ nest_voxels_cache_mut()

auto meshlib::nesting::TetrisDensifyOptions::nest_voxels_cache_mut ( ) -> *mut *mut meshlib::ffi::MR_Vector_MR_ObjId_MR_VoxelId

< [in/out] pre-allocated voxels vector (to speedup allocation) Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache.

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

◆ new()

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

Constructs an empty (default-constructed) instance.

Calls MR_Nesting_TetrisDensifyOptions_DefaultConstruct().

◆ occupied_voxels_cache()

auto meshlib::nesting::TetrisDensifyOptions::occupied_voxels_cache ( ) const -> *const *mut meshlib::ffi::MR_VoxelBitSet

< [in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache.

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

◆ occupied_voxels_cache_mut()

auto meshlib::nesting::TetrisDensifyOptions::occupied_voxels_cache_mut ( ) -> *mut *mut meshlib::ffi::MR_VoxelBitSet

< [in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache.

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

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

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

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

◆ set_densification_sequence()

void meshlib::nesting::TetrisDensifyOptions::set_densification_sequence ( value:&meshlib::std_vector_MR_OutEdge )

tetris box will be densify in these directions one by one Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named densificationSequence.

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

◆ set_nest_dimensions_cache()

void meshlib::nesting::TetrisDensifyOptions::set_nest_dimensions_cache ( value:Option<&mut meshlib::Vector3i > )

< [in/out] dimensions of the nest (complimentary to voxels data) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named nestDimensionsCache.

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

◆ set_nest_voxels_cache()

void meshlib::nesting::TetrisDensifyOptions::set_nest_voxels_cache ( value:Option<&mut meshlib::Vector_MR_ObjId_MR_VoxelId > )

< [in/out] pre-allocated voxels vector (to speedup allocation) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named nestVoxelsCache.

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

◆ set_occupied_voxels_cache()

void meshlib::nesting::TetrisDensifyOptions::set_occupied_voxels_cache ( value:Option<&mut meshlib::VoxelBitSet > )

< [in/out] voxels that blocks movement of floating (input) meshes (to provide input and output occupancy status) Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named occupiedVoxelsCache.

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

◆ set_voxel_size()

void meshlib::nesting::TetrisDensifyOptions::set_voxel_size ( value:f32 )

size of block for tetris box Modifies a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize.

Calls MR_Nesting_TetrisDensifyOptions_Set_voxelSize().

◆ voxel_size()

auto meshlib::nesting::TetrisDensifyOptions::voxel_size ( ) const -> &f32

size of block for tetris box Returns a pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize.

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

◆ voxel_size_mut()

auto meshlib::nesting::TetrisDensifyOptions::voxel_size_mut ( ) -> &mut f32

size of block for tetris box Returns a mutable pointer to a member variable of class MR::Nesting::TetrisDensifyOptions named voxelSize.

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


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