12 float distanceLimit{ 0.1f };
14 float normalTolerance{ 30.f };
20 int maxIterations{ 10 };
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
#define MRMESH_CLASS
Definition MRMesh/MRMeshFwd.h:50
An interface class which allows feature objects to share setters and getters on their main properties...
Definition MRFeatureObject.h:93
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
Definition MRCameraOrientationPlugin.h:8
MRMESH_API Expected< AffineXf3f > refineFeatureObject(const FeatureObject &featObj, const Mesh &mesh, const RefineParameters ¶ms={})
Recalculate the feature object's position so it would better fit with the given mesh.
tl::expected< T, E > Expected
Definition MRExpected.h:58
Definition MRMesh/MRMesh.h:23
Definition MRMesh/MRPointCloud.h:16
Optional parameters for refineFeatureObject.
Definition MRFeatureRefine.h:10
ProgressCallback callback
Progress callback.
Definition MRFeatureRefine.h:22
const VertBitSet * vertRegion
(for meshes only) Reference vertices used for filtering intermediate results that are too far from it
Definition MRFeatureRefine.h:18
const FaceBitSet * faceRegion
(for meshes only) Reference faces used for filtering intermediate results that are too far from it
Definition MRFeatureRefine.h:16