ccPrimitiveDistanceDlg.h 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. //##########################################################################
  3. //# #
  4. //# CLOUDCOMPARE #
  5. //# #
  6. //# This program is free software; you can redistribute it and/or modify #
  7. //# it under the terms of the GNU General Public License as published by #
  8. //# the Free Software Foundation; version 2 or later of the License. #
  9. //# #
  10. //# This program is distributed in the hope that it will be useful, #
  11. //# but WITHOUT ANY WARRANTY; without even the implied warranty of #
  12. //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
  13. //# GNU General Public License for more details. #
  14. //# #
  15. //# COPYRIGHT: Chris Brown #
  16. //# #
  17. //##########################################################################
  18. //Qt
  19. #include <QDialog>
  20. #include <ui_primitiveDistanceDlg.h>
  21. //! Dialog for cloud-to-primitive distances setting
  22. class ccPrimitiveDistanceDlg: public QDialog, public Ui::primitiveDistanceDlg
  23. {
  24. Q_OBJECT
  25. public:
  26. //! Default constructor
  27. ccPrimitiveDistanceDlg(QWidget* parent = nullptr);
  28. inline bool signedDistances() const { return signedDistCheckBox->isChecked(); }
  29. inline bool flipNormals() const { return flipNormalsCheckBox->isChecked(); }
  30. inline bool treatPlanesAsBounded() const { return treatPlanesAsBoundedCheckBox->isChecked(); }
  31. };