ccInterpolationDlg.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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: Daniel Girardeau-Montaut #
  15. //# #
  16. //##########################################################################
  17. #ifndef CC_INTERPOLATION_DLG_HEADER
  18. #define CC_INTERPOLATION_DLG_HEADER
  19. #include <ui_interpolationDlg.h>
  20. //qCC_db
  21. #include <ccPointCloudInterpolator.h>
  22. //! Dialog for generic interpolation algorithms
  23. class ccInterpolationDlg : public QDialog, public Ui::InterpolationDlg
  24. {
  25. Q_OBJECT
  26. public:
  27. //! Default constructor
  28. explicit ccInterpolationDlg(QWidget* parent = nullptr);
  29. ccPointCloudInterpolator::Parameters::Method getInterpolationMethod() const;
  30. void setInterpolationMethod(ccPointCloudInterpolator::Parameters::Method method);
  31. ccPointCloudInterpolator::Parameters::Algo getInterpolationAlgorithm() const;
  32. void setInterpolationAlgorithm(ccPointCloudInterpolator::Parameters::Algo algo);
  33. protected:
  34. void onRadiusUpdated(double);
  35. };
  36. #endif //CC_INTERPOLATION_DLG_HEADER