limited volume meshing to boundary layer only
[engrid-github.git] / src / libengrid / checksurfaceintegrity.h
blob291700332effa04158299438b12e606592bd6405
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 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
21 #ifndef CHECKSURFACEINTEGRITY_H
22 #define CHECKSURFACEINTEGRITY_H
24 #include <surfaceoperation.h>
26 class CheckSurfaceIntegrity : public SurfaceOperation
29 private:
31 bool m_IsWaterTight;
32 int m_NumMin;
33 int m_NumMax;
34 int m_NumEmptyCells;
35 QSet <vtkIdType> m_BadCells;
36 QVector<int> m_NumCells;
39 public:
41 CheckSurfaceIntegrity();
42 bool isWaterTight();
43 int getNumMin() { return(m_NumMin); }
44 int getNumMax() { return(m_NumMax); }
45 int getNumEmpty() { return m_NumEmptyCells; }
46 QSet <vtkIdType> getBadCells() { return(m_BadCells); }
49 protected: // methods
51 virtual void operate();
55 #endif