#include <MRMesh/MRShrinkwrap.h>
Public Attributes | |
| float | offset = 0 |
| const VertBitSet * | region = nullptr |
| if provided then only the vertices from this region are moved, and the others remain in place | |
| IPointsToMeshProjector * | projector = nullptr |
| if provided then the projections are computed by it, otherwise CPU's computations are used | |
| Public Attributes inherited from MR::MeshProjectionParameters | |
| float | loDistLimitSq = 0 |
| float | upDistLimitSq = FLT_MAX |
| const AffineXf3f * | refXf = nullptr |
| optional reference mesh to world transformation | |
| const AffineXf3f * | xf = nullptr |
| optional test points to world transformation | |
| float MR::ShrinkwrapParameters::offset = 0 |
each vertex is displaced by this distance from the closest point found, along the pseudonormal of refMesh there: positive - outside refMesh, negative - inside; measured in refMesh coordinates
| IPointsToMeshProjector* MR::ShrinkwrapParameters::projector = nullptr |
if provided then the projections are computed by it, otherwise CPU's computations are used
| const VertBitSet* MR::ShrinkwrapParameters::region = nullptr |
if provided then only the vertices from this region are moved, and the others remain in place