MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstMeshVoxelsConverter Class Reference
Inheritance diagram for mrmeshpy.ConstMeshVoxelsConverter:

Public Member Functions

FloatGrid __call__ (self, ConstMeshPart mp, ConstAffineXf3f xf=...)
FloatGrid __call__ (self, ConstObjectMesh obj)
Mesh __call__ (self, ConstFloatGrid grid)
 __init__ (self, *args, **kwargs)
float adaptivity (self)
Const_func_bool_from_float callBack (self)
float offsetVoxels (self)
float surfaceOffset (self)
float voxelSize (self)

Static Protected Attributes

typing _offsetof_adaptivity = 44
typing _offsetof_callBack = 8
typing _offsetof_offsetVoxels = 40
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__()

mrmeshpy.ConstMeshVoxelsConverter.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstMeshVoxelsConverter) -> None

2. __init__(self: meshlib.mrmeshpy.ConstMeshVoxelsConverter, arg0: meshlib.mrmeshpy.ConstMeshVoxelsConverter) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstMeshVoxelsConverter, voxelSize: float, surfaceOffset: float, callBack: meshlib.mrmeshpy.Const_func_bool_from_float, offsetVoxels: float, adaptivity: float) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstMeshVoxelsConverter, : meshlib.mrmeshpy.ConstMeshVoxelsConverter) -> None

Member Function Documentation

◆ __call__() [1/3]

Mesh mrmeshpy.ConstMeshVoxelsConverter.__call__ ( self,
ConstFloatGrid grid )

◆ __call__() [2/3]

FloatGrid mrmeshpy.ConstMeshVoxelsConverter.__call__ ( self,
ConstMeshPart mp,
ConstAffineXf3f xf = ... )

◆ __call__() [3/3]

FloatGrid mrmeshpy.ConstMeshVoxelsConverter.__call__ ( self,
ConstObjectMesh obj )

◆ adaptivity()

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

Reimplemented in mrmeshpy.MeshVoxelsConverter, and mrmeshpy.MeshVoxelsConverter.

◆ callBack()

Const_func_bool_from_float mrmeshpy.ConstMeshVoxelsConverter.callBack ( self)

◆ offsetVoxels()

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

Reimplemented in mrmeshpy.MeshVoxelsConverter, and mrmeshpy.MeshVoxelsConverter.

◆ surfaceOffset()

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

Reimplemented in mrmeshpy.MeshVoxelsConverter, and mrmeshpy.MeshVoxelsConverter.

◆ voxelSize()

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

Reimplemented in mrmeshpy.MeshVoxelsConverter, and mrmeshpy.MeshVoxelsConverter.

Member Data Documentation

◆ _offsetof_adaptivity

typing mrmeshpy.ConstMeshVoxelsConverter._offsetof_adaptivity = 44
staticprotected

◆ _offsetof_callBack

typing mrmeshpy.ConstMeshVoxelsConverter._offsetof_callBack = 8
staticprotected

◆ _offsetof_offsetVoxels

typing mrmeshpy.ConstMeshVoxelsConverter._offsetof_offsetVoxels = 40
staticprotected

◆ _offsetof_surfaceOffset

typing mrmeshpy.ConstMeshVoxelsConverter._offsetof_surfaceOffset = 4
staticprotected

◆ _offsetof_voxelSize

typing mrmeshpy.ConstMeshVoxelsConverter._offsetof_voxelSize = 0
staticprotected

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