ccSensorComputeScatteringAnglesDlg.cpp 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. #include "ccSensorComputeScatteringAnglesDlg.h"
  18. #include "ui_sensorComputeScatteringAnglesDlg.h"
  19. ccSensorComputeScatteringAnglesDlg::ccSensorComputeScatteringAnglesDlg(QWidget* parent/*=nullptr*/)
  20. : QDialog(parent, Qt::Tool)
  21. , m_ui( new Ui::sensorComputeScatteringAnglesDlg )
  22. {
  23. m_ui->setupUi(this);
  24. }
  25. ccSensorComputeScatteringAnglesDlg::~ccSensorComputeScatteringAnglesDlg()
  26. {
  27. delete m_ui;
  28. }
  29. bool ccSensorComputeScatteringAnglesDlg::anglesInDegrees() const
  30. {
  31. return m_ui->anglesToDegCheckbox->checkState() == Qt::Checked;
  32. }