ccScalarFieldFromColorDlg.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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_SF_FROM_COLOR_DLG_HEADER
  18. #define CC_SF_FROM_COLOR_DLG_HEADER
  19. #include <ui_scalarFieldFromColorDlg.h>
  20. class ccPointCloud;
  21. //! Dialog to choose 2 scalar fields (SF) and one operation for arithmetics processing
  22. class ccScalarFieldFromColorDlg : public QDialog, public Ui::scalarFieldFromColorDlg
  23. {
  24. Q_OBJECT
  25. public:
  26. //! Default constructor
  27. explicit ccScalarFieldFromColorDlg(QWidget* parent = nullptr);
  28. //! Returns if to export R channel as SF
  29. bool getRStatus() const;
  30. //! Returns if to export G channel as SF
  31. bool getGStatus() const;
  32. //! Returns if to export B channel as SF
  33. bool getBStatus() const;
  34. //! Returns if to export Alpha channel as SF
  35. bool getAlphaStatus() const;
  36. //! Returns if to export Composite channel as SF
  37. bool getCompositeStatus() const;
  38. };
  39. #endif //CC_SF_FROM_COLOR_DLG_HEADER