MeshLib Documentation
Loading...
Searching...
No Matches
MRPointCloudRelax.h
Go to the documentation of this file.
1#pragma once
2#include "MRMeshFwd.h"
4#include "MRRelaxParams.h"
5
6namespace MR
7{
8
11
18
21MRMESH_API bool relax( PointCloud& pointCloud, const PointCloudRelaxParams& params = {}, ProgressCallback cb = {} );
22
26MRMESH_API bool relaxKeepVolume( PointCloud& pointCloud, const PointCloudRelaxParams& params = {}, ProgressCallback cb = {} );
27
32
36MRMESH_API bool relaxApprox( PointCloud& pointCloud, const PointCloudApproxRelaxParams& params = {}, ProgressCallback cb = {} );
37
39
40}
#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
MRMESH_API bool relaxKeepVolume(Mesh &mesh, const MeshRelaxParams &params={}, ProgressCallback cb={})
MRMESH_API bool relax(Mesh &mesh, const MeshRelaxParams &params={}, ProgressCallback cb={})
MRMESH_API bool relaxApprox(Mesh &mesh, const MeshApproxRelaxParams &params={}, ProgressCallback cb={})
Definition MRCameraOrientationPlugin.h:8
RelaxApproxType
Definition MRRelaxParams.h:36
Definition MRPointCloudRelax.h:29
RelaxApproxType type
Definition MRPointCloudRelax.h:30
Definition MRPointCloudRelax.h:13
float neighborhoodRadius
Definition MRPointCloudRelax.h:16
Definition MRMesh/MRPointCloud.h:16
Definition MRRelaxParams.h:12