MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::MeshVoxelsConverter Struct Reference

converter of meshes in or from signed distance volumetric representation More...

#include <MRVoxels/MRBoolean.h>

Public Member Functions

FloatGrid operator() (const MeshPart &mp, const AffineXf3f &xf={}) const
FloatGrid operator() (const ObjectMesh &obj) const
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

Detailed Description

converter of meshes in or from signed distance volumetric representation


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