CleanupAlgorithms.hpp
Go to the documentation of this file.
1 
28 /*
29  * CleanupAlgorithms.hpp
30  */
31 
32 #ifndef LVR2_ALGORITHM_CLEANUPALGORITHMS_H_
33 #define LVR2_ALGORITHM_CLEANUPALGORITHMS_H_
34 
36 
37 namespace lvr2
38 {
39 
47 template<typename BaseVecT>
48 void cleanContours(BaseMesh<BaseVecT>& mesh, int iterations, float areaThreshold);
49 
50 
66 template<typename BaseVecT>
67 size_t naiveFillSmallHoles(BaseMesh<BaseVecT>& mesh, size_t maxSize, bool collapseOnly);
68 
69 } // namespace lvr2
70 
71 #include "lvr2/algorithm/CleanupAlgorithms.tcc"
72 
73 #endif /* LVR2_ALGORITHM_CLEANUPALGORITHMS_H_ */
HalfEdgeMesh< Vec > mesh
size_t naiveFillSmallHoles(BaseMesh< BaseVecT > &mesh, size_t maxSize, bool collapseOnly)
Fills holes consisting of less than or equal to maxSize edges.
void cleanContours(BaseMesh< BaseVecT > &mesh, int iterations, float areaThreshold)
Removes faces with a high number of boundary edges.


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Mon Feb 28 2022 22:46:06