preliminary tool to import from BRL-CAD
[engrid.git] / src / libengrid / guibrlcadimportdialogue.h
blob5cdbcc9c1bce0b7c4c906faf73ae73a4c22cc136
1 //
2 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 // + +
4 // + This file is part of enGrid. +
5 // + +
6 // + Copyright 2008-2012 enGits GmbH +
7 // + +
8 // + enGrid is free software: you can redistribute it and/or modify +
9 // + it under the terms of the GNU General Public License as published by +
10 // + the Free Software Foundation, either version 3 of the License, or +
11 // + (at your option) any later version. +
12 // + +
13 // + enGrid is distributed in the hope that it will be useful, +
14 // + but WITHOUT ANY WARRANTY; without even the implied warranty of +
15 // + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +
16 // + GNU General Public License for more details. +
17 // + +
18 // + You should have received a copy of the GNU General Public License +
19 // + along with enGrid. If not, see <http://www.gnu.org/licenses/>. +
20 // + +
21 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23 #ifndef GUIBRLCADIMPORTDIALOGUE_H
24 #define GUIBRLCADIMPORTDIALOGUE_H
26 #include <QDialog>
28 #include "engrid.h"
30 namespace Ui {
31 class GuiBrlCadImportDialogue;
34 class GuiBrlCadImportDialogue : public QDialog
36 Q_OBJECT
38 public:
40 explicit GuiBrlCadImportDialogue(QWidget *parent = 0);
41 ~GuiBrlCadImportDialogue();
43 void prepare(QString file_name);
44 bool hasSelectedObject();
45 QString selectedObject();
46 double scanMemory();
47 double smallestFeatureSize();
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