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

Public Member Functions

None calcFromGridByParts (self, Const_func_tl_expected_void_std_string_from_Vector_float_Id_VoxelTag_Vector3_int_int resFunc, ConstVector3i dims, ConstAffineXf3f gridToMeshXf, float beta, int layerOverlap, Const_func_bool_from_float cb)
None calcFromGridWithDistancesByParts (self, Const_func_tl_expected_void_std_string_from_Vector_float_Id_VoxelTag_Vector3_int_int resFunc, ConstVector3i dims, ConstAffineXf3f gridToMeshXf, ConstDistanceToMeshOptions options, int layerOverlap, Const_func_bool_from_float cb)

Detailed Description

Generated from:  MR::IFastWindingNumberByParts

Abstract class that complements \\ref IFastWindingNumber with chunked processing variants of its methods

Member Function Documentation

◆ calcFromGridByParts()

None mrmeshpy.IFastWindingNumberByParts.calcFromGridByParts ( self,
Const_func_tl_expected_void_std_string_from_Vector_float_Id_VoxelTag_Vector3_int_int resFunc,
ConstVector3i dims,
ConstAffineXf3f gridToMeshXf,
float beta,
int layerOverlap,
Const_func_bool_from_float cb )
calculates winding numbers in each point from a three-dimensional grid
\\param resFunc callback that gets a block of resulting winding numbers
\\param dims dimensions of the grid
\\param gridToMeshXf transform from integer grid locations to voxel's centers in mesh reference frame
\\param beta determines the precision of the approximation: the more the better, recommended value 2 or more
\\param layerOverlap overlap between two blocks of the grid, set as XY layer count

◆ calcFromGridWithDistancesByParts()

None mrmeshpy.IFastWindingNumberByParts.calcFromGridWithDistancesByParts ( self,
Const_func_tl_expected_void_std_string_from_Vector_float_Id_VoxelTag_Vector3_int_int resFunc,
ConstVector3i dims,
ConstAffineXf3f gridToMeshXf,
ConstDistanceToMeshOptions options,
int layerOverlap,
Const_func_bool_from_float cb )
calculates distances with the sign obtained from generalized winding number in each point from a three-dimensional grid;
if sqr(res) < minDistSq or sqr(res) >= maxDistSq, then NaN is returned for such point
\\param resFunc callback that gets a block of resulting winding numbers
\\param dims dimensions of the grid
\\param gridToMeshXf transform from integer grid locations to voxel's centers in mesh reference frame
\\param layerOverlap overlap between two blocks of the grid, set as XY layer count

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