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

#include <MRMesh/MRShrinkwrap.h>

Inheritance diagram for MR::ShrinkwrapParameters:

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
IPointsToMeshProjectorprojector = 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

Member Data Documentation

◆ offset

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

◆ projector

IPointsToMeshProjector* MR::ShrinkwrapParameters::projector = nullptr

if provided then the projections are computed by it, otherwise CPU's computations are used

◆ region

const VertBitSet* MR::ShrinkwrapParameters::region = nullptr

if provided then only the vertices from this region are moved, and the others remain in place


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