27 const FaceBitSet* region =
nullptr );
38 const FaceBitSet* region =
nullptr );
#define MRMESH_API
Definition MRMeshFwd.h:80
Definition MRMeshTopology.h:23
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:753
std::vector< EdgeId > EdgeLoop
Definition MRMeshFwd.h:148
tl::expected< T, E > Expected
Definition MRExpected.h:31
std::function< float(EdgeId)> EdgeMetric
Definition MRMeshFwd.h:584
Expected< EdgeLoop > findSmallestMetricCoLoop(const MeshTopology &topology, const EdgeLoop &loop, const EdgeMetric &metric, const FaceBitSet *region=nullptr)
Expected< EdgeLoop > findShortestCoLoop(const MeshPart &mp, const EdgeLoop &loop)
same as findMinimalCoLoop with euclidean edge length metric
std::vector< EdgeLoop > findShortestEquivalentLoops(const MeshPart &mp, const EdgeLoop &loop)
same as findSmallestMetricEquivalentLoops with euclidean edge length metric
Expected< void > eliminateTunnels(Mesh &mesh, const FaceBitSet *region={}, const DetectTunnelSettings &settings={})
Expected< FaceBitSet > detectTunnelFaces(const MeshPart &mp, const DetectTunnelSettings &settings={})
std::vector< EdgeLoop > findSmallestMetricEquivalentLoops(const MeshTopology &topology, const EdgeLoop &loop, const EdgeMetric &metric, const FaceBitSet *region=nullptr)
Expected< std::vector< EdgeLoop > > detectBasisTunnels(const MeshPart &mp, EdgeMetric metric={}, ProgressCallback progressCallback={})
only for bindings generation
Definition MRCameraOrientationPlugin.h:8
Definition MRTunnelDetector.h:44
bool buildCoLoops
Definition MRTunnelDetector.h:60
EdgeMetric metric
Definition MRTunnelDetector.h:56
int maxIters
Definition MRTunnelDetector.h:50
bool filterEquivalentCoLoops
Definition MRTunnelDetector.h:64
float maxTunnelLength
maximal euclidean length of tunnel loops to detect
Definition MRTunnelDetector.h:46
ProgressCallback progress
to report algorithm progress and cancel from outside
Definition MRTunnelDetector.h:67
Parameters structure for MR::fillHole Structure has some options to control MR::fillHole.
Definition MRMeshFillHole.h:26