MeshLib C# Docs
Loading...
Searching...
No Matches
MR.IFastWindingNumberByParts Class Reference

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 This is the non-const half of the class. More...

Inheritance diagram for MR.IFastWindingNumberByParts:

Public Member Functions

unsafe void calcFromGridByParts (MR.Std._ByValue_Function_ExpectedVoidStdString_From_StdVectorFloatRvalueRef_ConstMRVector3iRef_Int resFunc, in MR.Vector3i dims, in MR.AffineXf3f gridToMeshXf, float beta, int layerOverlap, MR.Std.Const_Function_Bool_From_Float cb)
 calculates winding numbers in each point from a three-dimensional grid
unsafe void calcFromGridWithDistancesByParts (MR.Std._ByValue_Function_ExpectedVoidStdString_From_StdVectorFloatRvalueRef_ConstMRVector3iRef_Int resFunc, in MR.Vector3i dims, in MR.AffineXf3f gridToMeshXf, MR.Const_DistanceToMeshOptions options, int layerOverlap, MR.Std.Const_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
Public Member Functions inherited from MR.Const_IFastWindingNumberByParts
virtual void Dispose ()

Additional Inherited Members

Protected Member Functions inherited from MR.Const_IFastWindingNumberByParts
virtual unsafe void Dispose (bool disposing)

Detailed Description

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 This is the non-const half of the class.

Member Function Documentation

◆ calcFromGridByParts()

unsafe void MR.IFastWindingNumberByParts.calcFromGridByParts ( MR.Std._ByValue_Function_ExpectedVoidStdString_From_StdVectorFloatRvalueRef_ConstMRVector3iRef_Int resFunc,
in MR.Vector3i dims,
in MR.AffineXf3f gridToMeshXf,
float beta,
int layerOverlap,
MR.Std.Const_Function_Bool_From_Float cb )
inline

calculates winding numbers in each point from a three-dimensional grid

Parameters
resFunccallback that gets a block of resulting winding numbers
dimsdimensions of the grid
gridToMeshXftransform from integer grid locations to voxel's centers in mesh reference frame
betadetermines the precision of the approximation: the more the better, recommended value 2 or more
layerOverlapoverlap between two blocks of the grid, set as XY layer count Generated from method MR.IFastWindingNumberByParts.calcFromGridByParts.

◆ calcFromGridWithDistancesByParts()

unsafe void MR.IFastWindingNumberByParts.calcFromGridWithDistancesByParts ( MR.Std._ByValue_Function_ExpectedVoidStdString_From_StdVectorFloatRvalueRef_ConstMRVector3iRef_Int resFunc,
in MR.Vector3i dims,
in MR.AffineXf3f gridToMeshXf,
MR.Const_DistanceToMeshOptions options,
int layerOverlap,
MR.Std.Const_Function_Bool_From_Float cb )
inline

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

Parameters
resFunccallback that gets a block of resulting winding numbers
dimsdimensions of the grid
gridToMeshXftransform from integer grid locations to voxel's centers in mesh reference frame
layerOverlapoverlap between two blocks of the grid, set as XY layer count Generated from method MR.IFastWindingNumberByParts.calcFromGridWithDistancesByParts.

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