#define MRMESH_API
Definition MRMeshFwd.h:85
std::vector<V>-like container that is 1) resized without initialization of its elements,...
Definition MRBuffer.h:60
std::function< bool(float)> ProgressCallback
Definition MRMeshFwd.h:790
OrientNormals
the method how to choose between two opposite normal orientations
Definition MREnums.h:78
@ Smart
Definition MREnums.h:81
VertNormals makeNormals(const PointCloud &pointCloud, int avgNeighborhoodSize=48)
Makes consistent normals for valid points of given point cloud.
bool orientNormals(const PointCloud &pointCloud, VertNormals &normals, float radius, const ProgressCallback &progress={})
Select orientation of given normals to make directions of close points consistent;.
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 ...
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...
Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type).
Definition MRCameraOrientationPlugin.h:8
triangulations for all points, with easy access by VertId
Definition MRLocalTriangulations.h:51
Definition MRPointCloud.h:17