#define MRMESH_API
Definition MRMeshFwd.h:80
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:742
MRMESH_API std::optional< Mesh > triangulatePointCloud(const PointCloud &pointCloud, const TriangulationParameters ¶ms={}, const ProgressCallback &progressCb={})
Creates mesh from given point cloud according params Returns empty optional if was interrupted by pro...
Definition MRCameraOrientationPlugin.h:8
MRMESH_API bool fillHolesWithExtraPoints(Mesh &mesh, PointCloud &extraPoints, const FillHolesWithExtraPointsParams ¶ms={}, const ProgressCallback &progressCb={})
Definition MRMesh/MRMesh.h:23
Definition MRMesh/MRPointCloud.h:17
Parameters of point cloud triangulation.
Definition MRPointCloudTriangulation.h:22
const PointCloud * searchNeighbors
optional: if provided this cloud will be used for searching of neighbors (so it must have same validP...
Definition MRPointCloudTriangulation.h:71
float critHoleLength
Critical length of hole (all holes with length less then this value will be filled)
Definition MRPointCloudTriangulation.h:65
float boundaryAngle
the vertex is considered as boundary if its neighbor ring has angle more than this value
Definition MRPointCloudTriangulation.h:59
float radius
Definition MRPointCloudTriangulation.h:43
bool automaticRadiusIncrease
automatic increase of the radius if points outside can make triangles from original radius not-Delone
Definition MRPointCloudTriangulation.h:68
float critAngle
Critical angle of triangles in local triangulation (angle between triangles in fan should be less the...
Definition MRPointCloudTriangulation.h:56
int numNeighbours
The number of nearest neighbor points to use for building of local triangulation.
Definition MRPointCloudTriangulation.h:36