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)

Static Public Member Functions

IFastWindingNumberByParts operator (*args, **kwargs)

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

◆ operator()

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

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