slider for smoothing
[engrid-github.git] / src / libengrid / guibrlcadimportdialogue.h
blobb42b94c7cb842aa59cad40dfb79e7b7a530357a6
1 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 // + +
3 // + This file is part of enGrid. +
4 // + +
5 // + Copyright 2008-2014 enGits GmbH +
6 // + +
7 // + enGrid is free software: you can redistribute it and/or modify +
8 // + it under the terms of the GNU General Public License as published by +
9 // + the Free Software Foundation, either version 3 of the License, or +
10 // + (at your option) any later version. +
11 // + +
12 // + enGrid is distributed in the hope that it will be useful, +
13 // + but WITHOUT ANY WARRANTY; without even the implied warranty of +
14 // + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +
15 // + GNU General Public License for more details. +
16 // + +
17 // + You should have received a copy of the GNU General Public License +
18 // + along with enGrid. If not, see <http://www.gnu.org/licenses/>. +
19 // + +
20 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21 #ifndef GUIBRLCADIMPORTDIALOGUE_H
22 #define GUIBRLCADIMPORTDIALOGUE_H
24 #include <QDialog>
26 #include "engrid.h"
28 namespace Ui {
29 class GuiBrlCadImportDialogue;
32 class GuiBrlCadImportDialogue : public QDialog
34 Q_OBJECT
36 public:
38 explicit GuiBrlCadImportDialogue(QWidget *parent = 0);
39 ~GuiBrlCadImportDialogue();
41 void prepare(QString file_name);
42 bool hasSelectedObject();
43 QString selectedObject();
44 double scanMemory();
45 double smallestFeatureSize();
46 double smallestResolution();
47 double reduction();
48 int smoothingIterations();
49 int preservationType();
50 QString stlFileName();
51 bool useStlFile();
53 private:
55 Ui::GuiBrlCadImportDialogue *ui;
57 QString m_StlFileName;
61 #endif // GUIBRLCADIMPORTDIALOGUE_H