#define MRMESH_API
Definition MRMesh/MRMeshFwd.h:46
std::vector<V>-like container that is 1) resized without initialization of its elements,...
Definition MRBuffer.h:54
std::function< bool(float)> ProgressCallback
Definition MRMesh/MRMeshFwd.h:576
MRMESH_API std::optional< VertNormals > makeOrientedNormals(const PointCloud &pointCloud, float radius, const ProgressCallback &progress={})
Makes normals for valid points of given point cloud; directions of close points are selected to be co...
MRMESH_API VertNormals makeNormals(const PointCloud &pointCloud, int avgNeighborhoodSize=48)
Makes consistent normals for valid points of given point cloud.
MRMESH_API bool orientNormals(const PointCloud &pointCloud, VertNormals &normals, float radius, const ProgressCallback &progress={})
Select orientation of given normals to make directions of close points consistent;.
MRMESH_API std::optional< VertNormals > makeUnorientedNormals(const PointCloud &pointCloud, float radius, const ProgressCallback &progress={}, OrientNormals orient=OrientNormals::Smart)
Makes normals for valid points of given point cloud by directing them along the normal of best plane ...
Definition MRCameraOrientationPlugin.h:8
OrientNormals
the method how to choose between two opposite normal orientations
Definition MREnums.h:31
triangulations for all points, with easy access by VertId
Definition MRLocalTriangulations.h:48
Definition MRMesh/MRPointCloud.h:16