MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor Class Reference
Inheritance diagram for mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor:

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

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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

Member Function Documentation

◆ convertAll()

TeethMaskToDirectionVolumeConvertor.ProcessResult mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.convertAll ( self)
Converts all the objects into direction volume

◆ convertObject()

TeethMaskToDirectionVolumeConvertor.ProcessResult mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.convertObject ( self,
int id )
Converts single object into direction volume

◆ create()

TeethMaskToDirectionVolumeConvertor mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.create ( ConstVdbVolume volume,
Const_std_vector_int additionalIds = ... )
static
Initialize class
@param volume Voxel mask
@param additionalIds List of additional ids (besides teeth) to convert

◆ getObjectBounds()

Returns all the objects present in volume and corresponding bounding boxes

Member Data Documentation

◆ ConstDirectionVolume

mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.ConstDirectionVolume = Const_std_array_VoxelsVolumeMinMax_Vector_float_Id_VoxelTag_3
static

◆ DirectionVolume

mrmeshpy.ConstTeethMaskToDirectionVolumeConvertor.DirectionVolume = std_array_VoxelsVolumeMinMax_Vector_float_Id_VoxelTag_3
static

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