various improvements to speed up surface meshing of BRL-CAD geometries
[engrid.git] / src / libengrid / guiedgelengthsourcecone.h
blob896ec64d6599dbd8a18ff84292c35f0054d9bc81
1 //
2 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 // + +
4 // + This file is part of enGrid. +
5 // + +
6 // + Copyright 2008-2013 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 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
22 //
24 #ifndef GUIEDGELENGTHSOURCECONE_H
25 #define GUIEDGELENGTHSOURCECONE_H
27 #include "edgelengthsource.h"
28 #include "ui_guiedgelengthsourcecone.h"
31 class GuiEdgeLengthSourceCone : public GuiEdgeLengthSource<Ui::GuiEdgeLengthSourceCone>
33 protected: // attributes
35 vec3_t m_X1;
36 vec3_t m_X2;
37 double m_R1;
38 double m_R2;
39 double m_Length1;
40 double m_Length2;
43 public: // methods
45 GuiEdgeLengthSourceCone();
47 virtual bool read(QString txt);
48 virtual QString write();
49 virtual void setDlgFields();
50 virtual void readDlgFields();
51 virtual double edgeLength(vec3_t x);
55 #endif // GUIEDGELENGTHSOURCECONE_H