ccMinimumSpanningTreeForNormsDirection.h 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. //##########################################################################
  2. //# #
  3. //# CLOUDCOMPARE #
  4. //# #
  5. //# This program is free software; you can redistribute it and/or modify #
  6. //# it under the terms of the GNU General Public License as published by #
  7. //# the Free Software Foundation; version 2 or later of the License. #
  8. //# #
  9. //# This program is distributed in the hope that it will be useful, #
  10. //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
  11. //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
  12. //# GNU General Public License for more details. #
  13. //# #
  14. //# COPYRIGHT: EDF R&D / TELECOM ParisTech (ENST-TSI) #
  15. //# #
  16. //##########################################################################
  17. #ifndef CC_MST_FOR_NORMS_DIRECTION_HEADER
  18. #define CC_MST_FOR_NORMS_DIRECTION_HEADER
  19. class ccPointCloud;
  20. class ccProgressDialog;
  21. //! Minimum Spanning Tree for normals direction resolution
  22. /** See http://people.maths.ox.ac.uk/wendland/research/old/reconhtml/node3.html
  23. **/
  24. class ccMinimumSpanningTreeForNormsDirection
  25. {
  26. public:
  27. //! Main entry point
  28. static bool OrientNormals( ccPointCloud* cloud,
  29. unsigned kNN = 6,
  30. ccProgressDialog* progressDlg = nullptr);
  31. };
  32. #endif //CC_MST_FOR_NORMS_DIRECTION_HEADER