Abstract class that complements IFastWindingNumber with chunked processing variants of its methods Generated from class MR.IFastWindingNumberByParts. This is the non-const half of the class.
More...
|
| unsafe void | calcFromGridByParts (MR.Std._ByValue_Function_ExpectedVoidStdStringFuncFromStdVectorFloatRvalueRefConstMRVector3iRefInt resFunc, in MR.Vector3i dims, in MR.AffineXf3f gridToMeshXf, float beta, int layerOverlap, MR.Std.Const_Function_BoolFuncFromFloat cb) |
| | calculates winding numbers in each point from a three-dimensional grid
|
| |
| unsafe void | calcFromGridWithDistancesByParts (MR.Std._ByValue_Function_ExpectedVoidStdStringFuncFromStdVectorFloatRvalueRefConstMRVector3iRefInt resFunc, in MR.Vector3i dims, in MR.AffineXf3f gridToMeshXf, MR.Const_DistanceToMeshOptions options, int layerOverlap, MR.Std.Const_Function_BoolFuncFromFloat 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
|
| |
Abstract class that complements IFastWindingNumber with chunked processing variants of its methods Generated from class MR.IFastWindingNumberByParts. This is the non-const half of the class.
◆ calcFromGridByParts()
| unsafe void MR.IFastWindingNumberByParts.calcFromGridByParts |
( |
MR.Std._ByValue_Function_ExpectedVoidStdStringFuncFromStdVectorFloatRvalueRefConstMRVector3iRefInt | resFunc, |
|
|
in MR.Vector3i | dims, |
|
|
in MR.AffineXf3f | gridToMeshXf, |
|
|
float | beta, |
|
|
int | layerOverlap, |
|
|
MR.Std.Const_Function_BoolFuncFromFloat | cb ) |
|
inline |
calculates winding numbers in each point from a three-dimensional grid
- Parameters
-
| 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.
◆ calcFromGridWithDistancesByParts()
| unsafe void MR.IFastWindingNumberByParts.calcFromGridWithDistancesByParts |
( |
MR.Std._ByValue_Function_ExpectedVoidStdStringFuncFromStdVectorFloatRvalueRefConstMRVector3iRefInt | resFunc, |
|
|
in MR.Vector3i | dims, |
|
|
in MR.AffineXf3f | gridToMeshXf, |
|
|
MR.Const_DistanceToMeshOptions | options, |
|
|
int | layerOverlap, |
|
|
MR.Std.Const_Function_BoolFuncFromFloat | 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
-
| 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.
The documentation for this class was generated from the following file: