MeshLib Python Docs
Loading...
Searching...
No Matches
meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor Class Reference

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
 

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

None meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.__init__ ( self,
TeethMaskToDirectionVolumeConvertor arg0 )
Implicit copy constructor.

Member Function Documentation

◆ convertAll()

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

◆ convertObject()

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

◆ create()

TeethMaskToDirectionVolumeConvertor meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.create ( VdbVolume volume,
std_vector_int additionalIds = 'std::vector<int>{}' )
static
Initialize class
@param volume Voxel mask
@param additionalIds List of additional ids (besides teeth) to convert

◆ getObjectBounds()

phmap_flat_hash_map_int_Box_Vector3_int meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.getObjectBounds ( self)
Returns all the objects present in volume and corresponding bounding boxes

Member Data Documentation

◆ DirectionVolume

meshlib.mrmeshpy.TeethMaskToDirectionVolumeConvertor.DirectionVolume
static

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