//########################################################################## //# # //# CLOUDCOMPARE # //# # //# This program is free software; you can redistribute it and/or modify # //# it under the terms of the GNU General Public License as published by # //# the Free Software Foundation; version 2 or later of the License. # //# # //# This program is distributed in the hope that it will be useful, # //# but WITHOUT ANY WARRANTY; without even the implied warranty of # //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # //# GNU General Public License for more details. # //# # //# COPYRIGHT: EDF R&D / TELECOM ParisTech (ENST-TSI) # //# # //########################################################################## #ifndef CC_CLIPPING_BOX_REPEAT_DIALOG_HEADER #define CC_CLIPPING_BOX_REPEAT_DIALOG_HEADER #include //Qt #include //! Dialog for managing clipping box based repeated processes class ccClippingBoxRepeatDlg : public QDialog, public Ui::ClippingBoxRepeatDlg { Q_OBJECT public: //! Default constructor ccClippingBoxRepeatDlg(bool singleSliceMode = false, QWidget* parent = nullptr); //! Sets flat dimension (single slice mode only!) void setFlatDim(unsigned char dim); //! Sets repeat dimension (multiple slices mode only!) void setRepeatDim(unsigned char dim); protected: //multi-slices mode void onDimChecked(bool); //single-slice mode void onDimXChecked(bool); void onDimYChecked(bool); void onDimZChecked(bool); }; #endif //CC_CLIPPING_BOX_REPEAT_DIALOG_HEADER