ccPtsSamplingDlg.h 1.9 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: EDF R&D / TELECOM ParisTech (ENST-TSI) #
  15. //# #
  16. //##########################################################################
  17. #ifndef CC_POINTS_SAMPLING_DLG_HEADER
  18. #define CC_POINTS_SAMPLING_DLG_HEADER
  19. #include <ui_ptsSamplingDlg.h>
  20. //! Dialog: points sampling on a mesh
  21. class ccPtsSamplingDlg : public QDialog, public Ui::PointsSamplingDialog
  22. {
  23. Q_OBJECT
  24. public:
  25. //! Default constructor
  26. explicit ccPtsSamplingDlg(QWidget* parent = nullptr);
  27. bool generateNormals() const;
  28. bool interpolateRGB() const;
  29. bool interpolateTexture() const;
  30. bool useDensity() const;
  31. double getDensityValue() const;
  32. unsigned getPointsNumber() const;
  33. void setPointsNumber(int count);
  34. void setDensityValue(double density);
  35. void setGenerateNormals(bool state);
  36. void setUseDensity(bool state);
  37. };
  38. #endif //CC_POINTS_SAMPLING_DLG_HEADER