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

Public Member Functions

OpenVdbFloatGrid __call__ (self, MeshPart mp, AffineXf3f xf='{}')
 
OpenVdbFloatGrid __call__ (self, ObjectMesh obj)
 
Mesh __call__ (self, OpenVdbFloatGrid grid)
 
None __init__ (self)
 
None __init__ (self, MeshVoxelsConverter arg0)
 
None __init__ (self, float voxelSize, float surfaceOffset, func_bool_from_float callBack, float offsetVoxels, float adaptivity)
 
float adaptivity (self)
 
None adaptivity (self, float arg1)
 
float offsetVoxels (self)
 
None offsetVoxels (self, float arg1)
 
float surfaceOffset (self)
 
None surfaceOffset (self, float arg1)
 
float voxelSize (self)
 
None voxelSize (self, float arg1)
 

Static Protected Member Functions

 _pybind11_conduit_v1_ (*args, **kwargs)
 

Detailed Description

Generated from:  MR::MeshVoxelsConverter

converter of meshes in or from signed distance volumetric representation

Constructor & Destructor Documentation

◆ __init__() [1/3]

None mrmeshpy.MeshVoxelsConverter.__init__ ( self)
Implicit default constructor.

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None mrmeshpy.MeshVoxelsConverter.__init__ ( self,
float voxelSize,
float surfaceOffset,
func_bool_from_float callBack,
float offsetVoxels,
float adaptivity )
Implicit aggregate constructor.

Member Function Documentation

◆ __call__() [1/3]

OpenVdbFloatGrid mrmeshpy.MeshVoxelsConverter.__call__ ( self,
MeshPart mp,
AffineXf3f xf = '{}' )

◆ __call__() [2/3]

OpenVdbFloatGrid mrmeshpy.MeshVoxelsConverter.__call__ ( self,
ObjectMesh obj )

◆ __call__() [3/3]

Mesh mrmeshpy.MeshVoxelsConverter.__call__ ( self,
OpenVdbFloatGrid grid )

◆ _pybind11_conduit_v1_()

mrmeshpy.MeshVoxelsConverter._pybind11_conduit_v1_ ( * args,
** kwargs )
staticprotected

◆ adaptivity() [1/2]

float mrmeshpy.MeshVoxelsConverter.adaptivity ( self)
[0, 1] ratio of combining small triangles into bigger ones

◆ adaptivity() [2/2]

None mrmeshpy.MeshVoxelsConverter.adaptivity ( self,
float arg1 )

◆ offsetVoxels() [1/2]

float mrmeshpy.MeshVoxelsConverter.offsetVoxels ( self)
the value is in voxels (not in meters!), 0 for no-offset

◆ offsetVoxels() [2/2]

None mrmeshpy.MeshVoxelsConverter.offsetVoxels ( self,
float arg1 )

◆ surfaceOffset() [1/2]

float mrmeshpy.MeshVoxelsConverter.surfaceOffset ( self)
number voxels around surface to calculate distance in (should be positive)

◆ surfaceOffset() [2/2]

None mrmeshpy.MeshVoxelsConverter.surfaceOffset ( self,
float arg1 )

◆ voxelSize() [1/2]

float mrmeshpy.MeshVoxelsConverter.voxelSize ( self)
both in and from

◆ voxelSize() [2/2]

None mrmeshpy.MeshVoxelsConverter.voxelSize ( self,
float arg1 )

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