Template Function lvr2::iterativePlanarClusterGrowing
Defined in File ClusterAlgorithms.hpp
Function Documentation
-
template<typename BaseVecT>
ClusterBiMap<FaceHandle> lvr2::iterativePlanarClusterGrowing(BaseMesh<BaseVecT> &mesh, FaceMap<Normal<typename BaseVecT::CoordType>> &normals, float minSinAngle, int numIterations, int minClusterSize) Algorithm which generates planar clusters from the given mesh, drags points in clusters into regression planes and improves clusters iteratively.
- Parameters:
mesh –
minSinAngle –
1 - minSinAngleis the allowed difference between the sin of the angle of the starting face and all other faces in one cluster.numIterations – for cluster improvement
minClusterSize – minimum size for clusters (number of faces) for which a regression plane should be generated