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

Public Member Functions

None calcFromGridByParts (self, func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int resFunc, Vector3i dims, AffineXf3f gridToMeshXf, float beta, int layerOverlap, func_bool_from_float cb)
 
None calcFromGridWithDistancesByParts (self, func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int resFunc, Vector3i dims, AffineXf3f gridToMeshXf, DistanceToMeshOptions options, int layerOverlap, 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,
func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int resFunc,
Vector3i dims,
AffineXf3f gridToMeshXf,
float beta,
int layerOverlap,
func_bool_from_float cb )
<summary>
calculates winding numbers in each point from a three-dimensional grid
</summary>
<param name="resFunc">callback that gets a block of resulting winding numbers</param>
<param name="dims">dimensions of the grid</param>
<param name="gridToMeshXf">transform from integer grid locations to voxel's centers in mesh reference frame</param>
<param name="beta">determines the precision of the approximation: the more the better, recommended value 2 or more</param>
<param name="layerOverlap">overlap between two blocks of the grid, set as XY layer count</param>

◆ calcFromGridWithDistancesByParts()

None mrmeshpy.IFastWindingNumberByParts.calcFromGridWithDistancesByParts ( self,
func_tl_expected_void_std_string_from_std_vector_float_Vector3_int_int resFunc,
Vector3i dims,
AffineXf3f gridToMeshXf,
DistanceToMeshOptions options,
int layerOverlap,
func_bool_from_float cb )
<summary>
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
</summary>
<param name="resFunc">callback that gets a block of resulting winding numbers</param>
<param name="dims">dimensions of the grid</param>
<param name="gridToMeshXf">transform from integer grid locations to voxel's centers in mesh reference frame</param>
<param name="layerOverlap">overlap between two blocks of the grid, set as XY layer count</param>

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