Classes | |
| class | ConstProcessResult |
| class | ProcessResult |
Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| TeethMaskToDirectionVolumeConvertor.ProcessResult | convertAll (self) |
| TeethMaskToDirectionVolumeConvertor.ProcessResult | convertObject (self, int id) |
| Const_phmap_flat_hash_map_int_Box_Vector3_int_phmap_Hash_int_phmap_EqualTo_int_Allocator_std_pair_int_const_Box_Vector3_int | getObjectBounds (self) |
Static Public Member Functions | |
| TeethMaskToDirectionVolumeConvertor | create (ConstVdbVolume volume, Const_std_vector_int additionalIds=...) |
Static Public Attributes | |
| ConstDirectionVolume = Const_std_array_VoxelsVolumeMinMax_Vector_float_Id_VoxelTag_3 | |
| DirectionVolume = std_array_VoxelsVolumeMinMax_Vector_float_Id_VoxelTag_3 | |
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.
| mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor, arg0: meshlib.mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor) -> None Implicit copy constructor. 2. __init__(self: meshlib.mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor, : meshlib.mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor) -> None
| TeethMaskToDirectionVolumeConvertor.ProcessResult mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.convertAll | ( | self | ) |
Converts all the objects into direction volume
| TeethMaskToDirectionVolumeConvertor.ProcessResult mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.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
| Const_phmap_flat_hash_map_int_Box_Vector3_int_phmap_Hash_int_phmap_EqualTo_int_Allocator_std_pair_int_const_Box_Vector3_int mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.getObjectBounds | ( | self | ) |
Returns all the objects present in volume and corresponding bounding boxes
|
static |
|
static |