fixed edge display for volume cells
[engrid-github.git] / src / libengrid / stitchholes.h
blobc081ac393b4b8d6f27f8ec2da899974d2e746b2d
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 STITCHHOLES_H
23 #define STITCHHOLES_H
25 #include "fillplane.h"
26 #include "cadinterface.h"
28 class StitchHoles : public FillPlane
31 private: // attributes
33 int m_Bc;
34 CadInterface *m_Cad;
36 QList<vec3_t> m_X2;
37 QList<vec3_t> m_X3;
39 int m_Counter;
41 protected: // methods
43 QList<vtkIdType> getNextHole();
44 void stitchHole(QList<vtkIdType> loop_nodes);
45 vec3_t transformFromPlane(vec3_t x);
47 virtual void operate();
50 public:
52 StitchHoles(int bc);
56 #endif // STITCHHOLES_H