MeshLib Java Docs
Loading...
Searching...
No Matches
meshlib.TeethMaskToDirectionVolumeConvertor Class Reference
Inheritance diagram for meshlib.TeethMaskToDirectionVolumeConvertor:

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)

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.

Instances created here own their C++ objects, see CppObject.

Constructor & Destructor Documentation

◆ TeethMaskToDirectionVolumeConvertor() [1/2]

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.

◆ TeethMaskToDirectionVolumeConvertor() [2/2]

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

Member Function Documentation

◆ assignFromAnother()

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

◆ convertAll()

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.

◆ convertObject()

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.

◆ create()

meshlib.TeethMaskToDirectionVolumeConvertor meshlib.TeethMaskToDirectionVolumeConvertor.create ( meshlib.VdbVolume volume,
meshlib.std_vector_int additionalIds )
static

Initialize class

Parameters
volumeVoxel mask
additionalIdsList 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.

◆ getObjectBounds()

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 class was generated from the following file: