converter of meshes in or from signed distance volumetric representation More...
#include <MRBoolean.h>
Public Member Functions | |
| FloatGrid | operator() (const MeshPart &mp, const AffineXf3f &xf={}) const |
| MRVOXELS_API FloatGrid | operator() (const ObjectMesh &obj) const |
| MRVOXELS_API Mesh | operator() (const FloatGrid &grid) const |
| [0, 1] ratio of combining small triangles into bigger ones | |
Public Attributes | |
| float | voxelSize = 0.001f |
| both in and from | |
| float | surfaceOffset = 3 |
| to voxels: | |
| ProgressCallback | callBack |
| number voxels around surface to calculate distance in (should be positive) | |
| float | offsetVoxels = 0 |
| from voxels: | |
| float | adaptivity = 0 |
| the value is in voxels (not in meters!), 0 for no-offset | |
converter of meshes in or from signed distance volumetric representation