| 1 |
//########################################################################## |
| 2 |
//# # |
| 3 |
//# CLOUDCOMPARE PLUGIN: qRDBIO # |
| 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 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: RIEGL Laser Measurement Systems GmbH # |
| 15 |
//# # |
| 16 |
//########################################################################## |
| 17 |
|
| 18 |
#ifndef RDB_OPEN_DIALOG_HEADER |
| 19 |
#define RDB_OPEN_DIALOG_HEADER |
| 20 |
|
| 21 |
//Qt |
| 22 |
#include <QDialog> |
| 23 |
|
| 24 |
//GUI |
| 25 |
#include "ui_openRDBDlg.h" |
| 26 |
|
| 27 |
enum CC_RDB_OPEN_DLG_TYPES { RDB_OPEN_DLG_None = 0, |
| 28 |
RDB_OPEN_DLG_XYZ = 1, |
| 29 |
RDB_OPEN_DLG_NORM = 2, |
| 30 |
RDB_OPEN_DLG_RGB = 3, |
| 31 |
RDB_OPEN_DLG_Grey = 4, |
| 32 |
RDB_OPEN_DLG_Scalar = 5, |
| 33 |
}; |
| 34 |
const unsigned RDB_OPEN_DLG_TYPES_NUMBER = 6; |
| 35 |
const char RDB_OPEN_DLG_TYPES_NAMES[RDB_OPEN_DLG_TYPES_NUMBER][24] = { "Ignore", |
| 36 |
"XYZ", |
| 37 |
"Normals", |
| 38 |
"RGB", |
| 39 |
"Grey", |
| 40 |
"Scalar", |
| 41 |
}; |
| 42 |
//! RDB Open dialog |
| 43 |
class RDBOpenDialog : public QDialog, public Ui::RDBOpenDlg |
| 44 |
{ |
| 45 |
Q_OBJECT |
| 46 |
|
| 47 |
public: |
| 48 |
|
| 49 |
//! Default constructor |
| 50 |
explicit RDBOpenDialog(QWidget* parent = nullptr); |
| 51 |
}; |
| 52 |
|
| 53 |
#endif |