Public Member Functions | |
| IFastWindingNumberByParts (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| void | calcFromGridByParts (meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int resFunc, meshlib.Vector3i dims, meshlib.AffineXf3f gridToMeshXf, float beta, int layerOverlap, meshlib.std_function_bool_from_float cb) |
| void | calcFromGridWithDistancesByParts (meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int resFunc, meshlib.Vector3i dims, meshlib.AffineXf3f gridToMeshXf, meshlib.DistanceToMeshOptions options, int layerOverlap, meshlib.std_function_bool_from_float cb) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
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
Instances created here own their C++ objects, see CppObject.
| meshlib.IFastWindingNumberByParts.IFastWindingNumberByParts | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| void meshlib.IFastWindingNumberByParts.calcFromGridByParts | ( | meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int | resFunc, |
| meshlib.Vector3i | dims, | ||
| meshlib.AffineXf3f | gridToMeshXf, | ||
| float | beta, | ||
| int | layerOverlap, | ||
| meshlib.std_function_bool_from_float | cb ) |
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(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.
| void meshlib.IFastWindingNumberByParts.calcFromGridWithDistancesByParts | ( | meshlib.std_function_expected_void_std_string_from_MR_VoxelScalars_rvalue_ref_const_MR_Vector3i_ref_int | resFunc, |
| meshlib.Vector3i | dims, | ||
| meshlib.AffineXf3f | gridToMeshXf, | ||
| meshlib.DistanceToMeshOptions | options, | ||
| int | layerOverlap, | ||
| meshlib.std_function_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
| 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(). The C++ function returns expected<void, std::string>: the value is returned and an error is thrown as UnexpectedResultException.