MeshLib Documentation
Loading...
Searching...
No Matches
MRFeatureRefine.h
Go to the documentation of this file.
1#pragma once
2
3#include "MRFeatureObject.h"
4
5namespace MR
6{
7
10{
12 float distanceLimit{ 0.1f };
14 float normalTolerance{ 30.f };
16 const FaceBitSet* faceRegion;
18 const VertBitSet* vertRegion;
20 int maxIterations{ 10 };
23};
24
27 const RefineParameters& params = {} );
28
31 const RefineParameters& params = {} );
32
33} // namespace MR
#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 &params={})
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