#define MRMESH_API
Definition MRMeshFwd.h:85
Abstract class, computes the closest point on mesh to each of given points. Pure virtual functions mu...
Definition MRPointsToMeshProjector.h:16
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:759
std::optional< VertCoords > findShrinkwrapPositions(const Mesh &mesh, const Mesh &refMesh, const ShrinkwrapParameters ¶ms={}, const ProgressCallback &cb={})
bool shrinkwrap(Mesh &mesh, const Mesh &refMesh, const ShrinkwrapParameters ¶ms={}, const ProgressCallback &cb={})
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRPointsToMeshProjector.h:36
Definition MRShrinkwrap.h:14
float offset
Definition MRShrinkwrap.h:17
const VertBitSet * region
if provided then only the vertices from this region are moved, and the others remain in place
Definition MRShrinkwrap.h:20
IPointsToMeshProjector * projector
if provided then the projections are computed by it, otherwise CPU's computations are used
Definition MRShrinkwrap.h:23