implemented mirror mesh, still not working for vol. cells
[engrid.git] / src / guiedgelengthsourcesphere.h
blob18225097ba7f5eae39a75c717f2ff0cd8a045ed1
1 //
2 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 // + +
4 // + This file is part of enGrid. +
5 // + +
6 // + Copyright 2008,2009 Oliver Gloth +
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 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
24 #ifndef GUIEDGELENGTHSOURCESPHERE_H
25 #define GUIEDGELENGTHSOURCESPHERE_H
27 #include "edgelengthsource.h"
28 #include "ui_guiedgelengthsourcesphere.h"
30 class GuiEdgeLengthSourceSphere : public GuiEdgeLengthSource<Ui::GuiEdgeLengthSourceSphere>
33 protected: // attributes
35 vec3_t m_Centre;
36 double m_Radius;
37 double m_Length1;
38 double m_Length2;
41 public: // methods
43 GuiEdgeLengthSourceSphere();
45 virtual bool read(QString txt);
46 virtual QString write();
47 virtual void setDlgFields();
48 virtual void readDlgFields();
49 virtual double edgeLength(vec3_t x);
55 #endif // GUIEDGELENGTHSOURCESPHERE_H