Public Member Functions | |
| TeethMaskToDirectionVolumeConvertor (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| TeethMaskToDirectionVolumeConvertor (meshlib.TeethMaskToDirectionVolumeConvertor _other) | |
| meshlib.TeethMaskToDirectionVolumeConvertor | assignFromAnother (meshlib.TeethMaskToDirectionVolumeConvertor _other) |
| meshlib.phmap.phmap_flat_hash_map_int_MR_Box3i_phmap_Hash_int32_t_phmap_EqualTo_int_MR_Allocator_std_pair_const_in__fd2843cc | getObjectBounds () |
| meshlib.TeethMaskToDirectionVolumeConvertor_ProcessResult | convertObject (int id) |
| meshlib.TeethMaskToDirectionVolumeConvertor_ProcessResult | convertAll () |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Static Public Member Functions | |
| static meshlib.TeethMaskToDirectionVolumeConvertor | create (meshlib.VdbVolume volume, meshlib.std_vector_int additionalIds) |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
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.
Instances created here own their C++ objects, see CppObject.
| meshlib.TeethMaskToDirectionVolumeConvertor.TeethMaskToDirectionVolumeConvertor | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.TeethMaskToDirectionVolumeConvertor.TeethMaskToDirectionVolumeConvertor | ( | meshlib.TeethMaskToDirectionVolumeConvertor | _other | ) |
Generated from constructor MR::TeethMaskToDirectionVolumeConvertor::TeethMaskToDirectionVolumeConvertor. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_TeethMaskToDirectionVolumeConvertor_ConstructFromAnother().
| meshlib.TeethMaskToDirectionVolumeConvertor meshlib.TeethMaskToDirectionVolumeConvertor.assignFromAnother | ( | meshlib.TeethMaskToDirectionVolumeConvertor | _other | ) |
Generated from method MR::TeethMaskToDirectionVolumeConvertor::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_TeethMaskToDirectionVolumeConvertor_AssignFromAnother().
| meshlib.TeethMaskToDirectionVolumeConvertor_ProcessResult meshlib.TeethMaskToDirectionVolumeConvertor.convertAll | ( | ) |
Converts all the objects into direction volume Generated from method MR::TeethMaskToDirectionVolumeConvertor::convertAll.
Calls MR_TeethMaskToDirectionVolumeConvertor_convertAll(). The C++ function returns expected<MR::TeethMaskToDirectionVolumeConvertor::ProcessResult, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| meshlib.TeethMaskToDirectionVolumeConvertor_ProcessResult meshlib.TeethMaskToDirectionVolumeConvertor.convertObject | ( | int | id | ) |
Converts single object into direction volume Generated from method MR::TeethMaskToDirectionVolumeConvertor::convertObject.
Calls MR_TeethMaskToDirectionVolumeConvertor_convertObject(). The C++ function returns expected<MR::TeethMaskToDirectionVolumeConvertor::ProcessResult, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
|
static |
Initialize class
| volume | Voxel mask |
| additionalIds | List of additional ids (besides teeth) to convert Generated from method MR::TeethMaskToDirectionVolumeConvertor::create. |
Calls MR_TeethMaskToDirectionVolumeConvertor_create(). The C++ function returns expected<MR::TeethMaskToDirectionVolumeConvertor, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| meshlib.phmap.phmap_flat_hash_map_int_MR_Box3i_phmap_Hash_int32_t_phmap_EqualTo_int_MR_Allocator_std_pair_const_in__fd2843cc meshlib.TeethMaskToDirectionVolumeConvertor.getObjectBounds | ( | ) |
Returns all the objects present in volume and corresponding bounding boxes Generated from method MR::TeethMaskToDirectionVolumeConvertor::getObjectBounds.
Calls MR_TeethMaskToDirectionVolumeConvertor_getObjectBounds().