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_ */
BaseMesh.hpp
lvr2::naiveFillSmallHoles
size_t naiveFillSmallHoles(BaseMesh< BaseVecT > &mesh, size_t maxSize, bool collapseOnly)
Fills holes consisting of less than or equal to maxSize edges.
lvr2
Definition: BaseBufferManipulators.hpp:39
mesh
HalfEdgeMesh< Vec > mesh
Definition: src/tools/lvr2_gs_reconstruction/Main.cpp:26
lvr2::cleanContours
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 Wed Mar 2 2022 00:37:23