ccClippingBoxRepeatDlg.h 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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_CLIPPING_BOX_REPEAT_DIALOG_HEADER
  18. #define CC_CLIPPING_BOX_REPEAT_DIALOG_HEADER
  19. #include <ui_clippingBoxRepeatDlg.h>
  20. //Qt
  21. #include <QDialog>
  22. //! Dialog for managing clipping box based repeated processes
  23. class ccClippingBoxRepeatDlg : public QDialog, public Ui::ClippingBoxRepeatDlg
  24. {
  25. Q_OBJECT
  26. public:
  27. //! Default constructor
  28. ccClippingBoxRepeatDlg(bool singleSliceMode = false, QWidget* parent = nullptr);
  29. //! Sets flat dimension (single slice mode only!)
  30. void setFlatDim(unsigned char dim);
  31. //! Sets repeat dimension (multiple slices mode only!)
  32. void setRepeatDim(unsigned char dim);
  33. protected:
  34. //multi-slices mode
  35. void onDimChecked(bool);
  36. //single-slice mode
  37. void onDimXChecked(bool);
  38. void onDimYChecked(bool);
  39. void onDimZChecked(bool);
  40. };
  41. #endif //CC_CLIPPING_BOX_REPEAT_DIALOG_HEADER