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

Public Member Functions

OpenVdbFloatGrid __call__ (self, MeshPart mp, AffineXf3f xf='MR::AffineXf3f{}')
 
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)
 

Detailed Description

Generated from:  MR::MeshVoxelsConverter

converter of meshes in or from signed distance volumetric representation

Constructor & Destructor Documentation

◆ __init__() [1/3]

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

◆ __init__() [2/3]

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

◆ __init__() [3/3]

None meshlib.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 meshlib.mrmeshpy.MeshVoxelsConverter.__call__ ( self,
MeshPart mp,
AffineXf3f xf = 'MR::AffineXf3f{}' )

◆ __call__() [2/3]

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

◆ __call__() [3/3]

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

◆ adaptivity() [1/2]

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

◆ adaptivity() [2/2]

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

◆ offsetVoxels() [1/2]

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

◆ offsetVoxels() [2/2]

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

◆ surfaceOffset() [1/2]

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

◆ surfaceOffset() [2/2]

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

◆ voxelSize() [1/2]

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

◆ voxelSize() [2/2]

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

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