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

Public Member Functions

auto assign_from_another (_other:&meshlib::TeethMaskToDirectionVolumeConvertor) -> &mut meshlib::TeethMaskToDirectionVolumeConvertor
auto get_object_bounds () const -> &meshlib::phmap::phmap_flat_hash_map_int_MR_Box3i_phmap_Hash_int32_t_phmap_EqualTo_int_MR_Allocator_std_pair_const_int_MR_Box3i
auto convert_object (id:core::ffi::c_int) const -> meshlib::Owned< meshlib::expected_MR_TeethMaskToDirectionVolumeConvertor_ProcessResult_std_string >
auto convert_all () const -> meshlib::Owned< meshlib::expected_MR_TeethMaskToDirectionVolumeConvertor_ProcessResult_std_string >

Static Public Member Functions

static auto construct_from_another (_other:&meshlib::TeethMaskToDirectionVolumeConvertor) -> meshlib::Owned< meshlib::TeethMaskToDirectionVolumeConvertor >
static auto create (volume:&meshlib::VdbVolume, additionalIds:Option<&meshlib::std_vector_int >) -> meshlib::Owned< meshlib::expected_MR_TeethMaskToDirectionVolumeConvertor_std_string >
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 class is an alternative to directly invoking meshToDirectionVolume for the mesh retrieved from the teeth mask. It is better because when a single mesh is created from mask, some neighboring teeth might fuse together, creating incorrect mask. This class invokes meshing for each teeth separately, thus eliminating this problem. Generated from class MR::TeethMaskToDirectionVolumeConvertor.

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

Member Function Documentation

◆ assign_from_another()

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

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

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

◆ construct_from_another()

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

Generated from constructor MR::TeethMaskToDirectionVolumeConvertor::TeethMaskToDirectionVolumeConvertor.

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

◆ convert_all()

auto meshlib::TeethMaskToDirectionVolumeConvertor::convert_all ( ) const -> meshlib::Owned< meshlib::expected_MR_TeethMaskToDirectionVolumeConvertor_ProcessResult_std_string >

Converts all the objects into direction volume Generated from method MR::TeethMaskToDirectionVolumeConvertor::convertAll.

Calls MR_TeethMaskToDirectionVolumeConvertor_convertAll().

◆ convert_object()

auto meshlib::TeethMaskToDirectionVolumeConvertor::convert_object ( id:core::ffi::c_int ) const -> meshlib::Owned< meshlib::expected_MR_TeethMaskToDirectionVolumeConvertor_ProcessResult_std_string >

Converts single object into direction volume Generated from method MR::TeethMaskToDirectionVolumeConvertor::convertObject.

Calls MR_TeethMaskToDirectionVolumeConvertor_convertObject().

◆ create()

auto meshlib::TeethMaskToDirectionVolumeConvertor::create ( volume:&meshlib::VdbVolume ,
additionalIds:Option<&meshlib::std_vector_int >  ) -> meshlib::Owned< meshlib::expected_MR_TeethMaskToDirectionVolumeConvertor_std_string >
static

Initialize class

Parameters
volumeVoxel mask
additionalIdsList of additional ids (besides teeth) to convert Generated from method MR::TeethMaskToDirectionVolumeConvertor::create.

Calls MR_TeethMaskToDirectionVolumeConvertor_create().

◆ get_object_bounds()

auto meshlib::TeethMaskToDirectionVolumeConvertor::get_object_bounds ( ) const -> &meshlib::phmap::phmap_flat_hash_map_int_MR_Box3i_phmap_Hash_int32_t_phmap_EqualTo_int_MR_Allocator_std_pair_const_int_MR_Box3i

Returns all the objects present in volume and corresponding bounding boxes Generated from method MR::TeethMaskToDirectionVolumeConvertor::getObjectBounds.

Calls MR_TeethMaskToDirectionVolumeConvertor_getObjectBounds().


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