ccScalarFieldFromColorDlg.cpp 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. #include "ccScalarFieldFromColorDlg.h"
  18. //Qt
  19. #include <QPushButton>
  20. //qCC_db
  21. #include <ccPointCloud.h>
  22. #include <assert.h>
  23. #ifdef _MSC_VER
  24. #include <windows.h>
  25. #endif
  26. ccScalarFieldFromColorDlg::ccScalarFieldFromColorDlg(QWidget* parent/*=nullptr*/)
  27. : QDialog(parent, Qt::Tool)
  28. , Ui::scalarFieldFromColorDlg()
  29. {
  30. setupUi(this);
  31. }
  32. bool ccScalarFieldFromColorDlg::getRStatus() const
  33. {
  34. return this->checkBoxR->isChecked();
  35. }
  36. bool ccScalarFieldFromColorDlg::getGStatus() const
  37. {
  38. return this->checkBoxG->isChecked();
  39. }
  40. bool ccScalarFieldFromColorDlg::getBStatus() const
  41. {
  42. return this->checkBoxB->isChecked();
  43. }
  44. bool ccScalarFieldFromColorDlg::getAlphaStatus() const
  45. {
  46. return this->checkBoxA->isChecked();
  47. }
  48. bool ccScalarFieldFromColorDlg::getCompositeStatus() const
  49. {
  50. return this->checkBoxComposite->isChecked();
  51. }