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) |
Generated from: MR::IFastWindingNumberByParts Abstract class that complements \\ref IFastWindingNumber with chunked processing variants of its methods
| 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
| 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