Classes | |
class | ProcessResult |
Public Member Functions | |
None | __init__ (self, TeethMaskToDirectionVolumeConvertor arg0) |
TeethMaskToDirectionVolumeConvertor.ProcessResult | convertAll (self) |
TeethMaskToDirectionVolumeConvertor.ProcessResult | convertObject (self, int id) |
phmap_flat_hash_map_int_Box_Vector3_int | getObjectBounds (self) |
Static Public Member Functions | |
TeethMaskToDirectionVolumeConvertor | create (VdbVolume volume, std_vector_int additionalIds='std::vector< int >{}') |
Static Public Attributes | |
DirectionVolume | |
Generated from: MR::TeethMaskToDirectionVolumeConvertor This class is an alternative to directly invoking \\ref 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.
None meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.__init__ | ( | self, | |
TeethMaskToDirectionVolumeConvertor | arg0 ) |
Implicit copy constructor.
TeethMaskToDirectionVolumeConvertor.ProcessResult meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.convertAll | ( | self | ) |
Converts all the objects into direction volume
TeethMaskToDirectionVolumeConvertor.ProcessResult meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.convertObject | ( | self, | |
int | id ) |
Converts single object into direction volume
|
static |
Initialize class @param volume Voxel mask @param additionalIds List of additional ids (besides teeth) to convert
phmap_flat_hash_map_int_Box_Vector3_int meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.getObjectBounds | ( | self | ) |
Returns all the objects present in volume and corresponding bounding boxes
|
static |