ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
ecvClippingBoxRepeatDlg.h
Go to the documentation of this file.
1 // ----------------------------------------------------------------------------
2 // - CloudViewer: www.cloudViewer.org -
3 // ----------------------------------------------------------------------------
4 // Copyright (c) 2018-2024 www.cloudViewer.org
5 // SPDX-License-Identifier: MIT
6 // ----------------------------------------------------------------------------
7 
8 #pragma once
9 
10 #include <ui_clippingBoxRepeatDlg.h>
11 
12 // Qt
13 #include <QDialog>
14 
16 class ccClippingBoxRepeatDlg : public QDialog, public Ui::ClippingBoxRepeatDlg {
17  Q_OBJECT
18 
19 public:
21  ccClippingBoxRepeatDlg(bool singleContourMode = false, QWidget* parent = 0);
22 
24  void setFlatDim(unsigned char dim);
26  void setRepeatDim(unsigned char dim);
27 
28 protected slots:
29 
30  // multi-contour mode
31  void onDimChecked(bool);
32 
33  // single-contour mode
34  void onDimXChecked(bool);
35  void onDimYChecked(bool);
36  void onDimZChecked(bool);
37 };
#define slots
Dialog for managing clipping box based repeated processes.
void setFlatDim(unsigned char dim)
Sets flat dimension (single contour mode only!)
void setRepeatDim(unsigned char dim)
Sets repeat dimension (multiple contour mode only!)
ccClippingBoxRepeatDlg(bool singleContourMode=false, QWidget *parent=0)
Default constructor.