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

Classes

class  ProcessResult
 

Public Member Functions

TeethMaskToDirectionVolumeConvertor.ProcessResult convertAll (self)
 
TeethMaskToDirectionVolumeConvertor.ProcessResult convertObject (self, int id)
 
phmap_flat_hash_map_int_Box_Vector3_int getObjectBounds (self)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
TeethMaskToDirectionVolumeConvertor create (VdbVolume volume, std_vector_int additionalIds='{}')
 
TeethMaskToDirectionVolumeConvertor operator (*args, **kwargs)
 
TeethMaskToDirectionVolumeConvertor operator (*args, **kwargs)
 

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 mrmeshpy.TeethMaskToDirectionVolumeConvertor.__init__ ( * args,
** kwargs )
static

Member Function Documentation

◆ convertAll()

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

◆ convertObject()

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

◆ create()

TeethMaskToDirectionVolumeConvertor mrmeshpy.TeethMaskToDirectionVolumeConvertor.create ( VdbVolume volume,
std_vector_int additionalIds = '{}' )
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 mrmeshpy.TeethMaskToDirectionVolumeConvertor.getObjectBounds ( self)
Returns all the objects present in volume and corresponding bounding boxes

◆ operator() [1/2]

TeethMaskToDirectionVolumeConvertor mrmeshpy.TeethMaskToDirectionVolumeConvertor.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

TeethMaskToDirectionVolumeConvertor mrmeshpy.TeethMaskToDirectionVolumeConvertor.operator ( * args,
** kwargs )
static

Member Data Documentation

◆ DirectionVolume

mrmeshpy.TeethMaskToDirectionVolumeConvertor.DirectionVolume
static

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