fixed edge display for volume cells
[engrid-github.git] / src / libengrid / guicreatehexcore.h
blob6424a7c79e741c8804c0ab1b8ada4db70b29ceae
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 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22 #ifndef GUICREATEHEXCORE_H
23 #define GUICREATEHEXCORE_H
25 #include "dialogoperation.h"
26 #include "ui_guicreatehexcore.h"
27 #include "createhexcore.h"
29 class GuiCreateHexCore : public DialogOperation<Ui::GuiCreateHexCore, Operation>
32 Q_OBJECT
34 protected: // attributes
36 vec3_t m_X1;
37 vec3_t m_X2;
38 vec3_t m_X10;
39 vec3_t m_X20;
40 vec3_t m_Xi;
41 vec3_t m_Xi0;
43 protected: // methods
45 virtual void before();
46 virtual void operate();
48 public:
50 GuiCreateHexCore();
52 public slots:
54 void toggleExternalMesh(bool external_mesh);
58 #endif // GUICREATEHEXCORE_H