#define MRMESH_API
Definition MRMeshFwd.h:80
#define MRMESH_CLASS
Definition MRMeshFwd.h:87
An interface class which allows feature objects to share setters and getters on their main properties...
Definition MRFeatureObject.h:96
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:753
float normalTolerance
Maximum angle between the source model's normal and the feature's normal.
Definition MRFeatureRefine.h:17
ProgressCallback callback
Progress callback.
Definition MRFeatureRefine.h:25
float distanceLimit
Maximum distance from the source model to the feature.
Definition MRFeatureRefine.h:15
const VertBitSet * vertRegion
(for meshes only) Reference vertices used for filtering intermediate results that are too far from it
Definition MRFeatureRefine.h:21
tl::expected< T, E > Expected
Definition MRExpected.h:31
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.
int maxIterations
Maximum amount of iterations performed until a stable set of points is found.
Definition MRFeatureRefine.h:23
const FaceBitSet * faceRegion
(for meshes only) Reference faces used for filtering intermediate results that are too far from it
Definition MRFeatureRefine.h:19
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRPointCloud.h:17
Optional parameters for refineFeatureObject.
Definition MRFeatureRefine.h:13