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, 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 Public Member Functions

None __init__ (*args, **kwargs)
 
MeshVoxelsConverter operator (*args, **kwargs)
 
MeshVoxelsConverter operator (*args, **kwargs)
 

Static Protected Attributes

typing _offsetof_adaptivity = 76
 
typing _offsetof_callBack = 8
 
typing _offsetof_offsetVoxels = 72
 
typing _offsetof_surfaceOffset = 4
 
typing _offsetof_voxelSize = 0
 

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__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.MeshVoxelsConverter.__init__ ( self)

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

◆ 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 )

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ 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 )

Member Data Documentation

◆ _offsetof_adaptivity

typing mrmeshpy.MeshVoxelsConverter._offsetof_adaptivity = 76
staticprotected

◆ _offsetof_callBack

typing mrmeshpy.MeshVoxelsConverter._offsetof_callBack = 8
staticprotected

◆ _offsetof_offsetVoxels

typing mrmeshpy.MeshVoxelsConverter._offsetof_offsetVoxels = 72
staticprotected

◆ _offsetof_surfaceOffset

typing mrmeshpy.MeshVoxelsConverter._offsetof_surfaceOffset = 4
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.MeshVoxelsConverter._offsetof_voxelSize = 0
staticprotected

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