Public Member Functions | |
| auto | calc_from_grid_by_parts (resFunc:&meshlib::std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int, dims:&meshlib::Vector3i, gridToMeshXf:&meshlib::AffineXf3f, beta:f32, layerOverlap:core::ffi::c_int, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::expected_void_std_string > |
| auto | calc_from_grid_with_distances_by_parts (resFunc:&meshlib::std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int, dims:&meshlib::Vector3i, gridToMeshXf:&meshlib::AffineXf3f, options:&meshlib::DistanceToMeshOptions, layerOverlap:core::ffi::c_int, cb:&meshlib::std_function_bool_from_float) -> meshlib::Owned< meshlib::expected_void_std_string > |
Additional Inherited Members | |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
Abstract class that complements IFastWindingNumber with chunked processing variants of its methods Generated from class MR::IFastWindingNumberByParts. Derived classes: Direct: (non-virtual) MR::Cuda::FastWindingNumber
Generated from class MR::IFastWindingNumberByParts. Heap-allocated instances are held in Owned<IFastWindingNumberByParts>.
| auto meshlib::IFastWindingNumberByParts::calc_from_grid_by_parts | ( | resFunc:&meshlib::std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int | , |
| dims:&meshlib::Vector3i | , | ||
| gridToMeshXf:&meshlib::AffineXf3f | , | ||
| beta:f32 | , | ||
| layerOverlap:core::ffi::c_int | , | ||
| cb:&meshlib::std_function_bool_from_float | ) -> meshlib::Owned< meshlib::expected_void_std_string > |
calculates winding numbers in each point from a three-dimensional grid
| resFunc | callback that gets a block of resulting winding numbers |
| dims | dimensions of the grid |
| gridToMeshXf | transform from integer grid locations to voxel's centers in mesh reference frame |
| beta | determines the precision of the approximation: the more the better, recommended value 2 or more |
| layerOverlap | overlap between two blocks of the grid, set as XY layer count Generated from method MR::IFastWindingNumberByParts::calcFromGridByParts. |
Calls MR_IFastWindingNumberByParts_calcFromGridByParts().
| auto meshlib::IFastWindingNumberByParts::calc_from_grid_with_distances_by_parts | ( | resFunc:&meshlib::std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int | , |
| dims:&meshlib::Vector3i | , | ||
| gridToMeshXf:&meshlib::AffineXf3f | , | ||
| options:&meshlib::DistanceToMeshOptions | , | ||
| layerOverlap:core::ffi::c_int | , | ||
| cb:&meshlib::std_function_bool_from_float | ) -> meshlib::Owned< meshlib::expected_void_std_string > |
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
| resFunc | callback that gets a block of resulting winding numbers |
| dims | dimensions of the grid |
| gridToMeshXf | transform from integer grid locations to voxel's centers in mesh reference frame |
| layerOverlap | overlap between two blocks of the grid, set as XY layer count Generated from method MR::IFastWindingNumberByParts::calcFromGridWithDistancesByParts. |
Calls MR_IFastWindingNumberByParts_calcFromGridWithDistancesByParts().