MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Const_TeethMaskToDirectionVolumeConvertor Class Reference

This class is an alternative to directly invoking 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. Generated from class MR.TeethMaskToDirectionVolumeConvertor. This is the const half of the class. More...

+ Inheritance diagram for MR.Const_TeethMaskToDirectionVolumeConvertor:

Classes

class  _ByValue_ProcessResult
 This is used as a function parameter when the underlying function receives ProcessResult by value. Usage: More...
 
class  _InOptConst_ProcessResult
 This is used for optional parameters of class ProcessResult with default arguments. This is only used const parameters. For non-const ones we have _InOptMut_ProcessResult. Usage: More...
 
class  _InOptMut_ProcessResult
 This is used for optional parameters of class ProcessResult with default arguments. This is only used mutable parameters. For const ones we have _InOptConst_ProcessResult. Usage: More...
 
struct  _Underlying
 
class  Const_ProcessResult
 Generated from class MR.TeethMaskToDirectionVolumeConvertor.ProcessResult. This is the const half of the class. More...
 
class  ProcessResult
 Generated from class MR.TeethMaskToDirectionVolumeConvertor.ProcessResult. This is the non-const half of the class. More...
 

Public Member Functions

virtual void Dispose ()
 
unsafe Const_TeethMaskToDirectionVolumeConvertor (MR._ByValue_TeethMaskToDirectionVolumeConvertor _other)
 Generated from constructor MR.TeethMaskToDirectionVolumeConvertor.TeethMaskToDirectionVolumeConvertor.
 
unsafe MR.Phmap.Const_FlatHashMap_Int_MRBox3i_PhmapHashInt32T getObjectBounds ()
 Returns all the objects present in volume and corresponding bounding boxes Generated from method MR.TeethMaskToDirectionVolumeConvertor.getObjectBounds.
 
unsafe MR.TeethMaskToDirectionVolumeConvertor.ProcessResult convertObject (int id)
 Converts single object into direction volume Generated from method MR.TeethMaskToDirectionVolumeConvertor.convertObject.
 
unsafe MR.TeethMaskToDirectionVolumeConvertor.ProcessResult convertAll ()
 Converts all the objects into direction volume Generated from method MR.TeethMaskToDirectionVolumeConvertor.convertAll.
 

Static Public Member Functions

static unsafe MR.TeethMaskToDirectionVolumeConvertor create (MR.Const_VdbVolume volume, MR.Std.Const_Vector_Int? additionalIds=null)
 Initialize class.
 

Protected Member Functions

virtual unsafe void Dispose (bool disposing)
 

Additional Inherited Members

- Protected Attributes inherited from MR.Misc.Object< Const_TeethMaskToDirectionVolumeConvertor >
bool _IsOwningVal
 
- Properties inherited from MR.Misc.Object< Const_TeethMaskToDirectionVolumeConvertor >
virtual bool _IsOwning [get]
 Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough.
 

Detailed Description

This class is an alternative to directly invoking 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. Generated from class MR.TeethMaskToDirectionVolumeConvertor. This is the const half of the class.

Member Function Documentation

◆ create()

static unsafe MR.TeethMaskToDirectionVolumeConvertor MR.Const_TeethMaskToDirectionVolumeConvertor.create ( MR.Const_VdbVolume volume,
MR.Std.Const_Vector_Int? additionalIds = null )
inlinestatic

Initialize class.

Parameters
volumeVoxel mask
additionalIdsList of additional ids (besides teeth) to convert Generated from method MR.TeethMaskToDirectionVolumeConvertor.create. Parameter additionalIds defaults to {}.

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