compiles on openSUSE 15.4 part 2
[engrid-github.git] / src / libengrid / vtkEgExtractVolumeCells.h
blob60b82d31cbe228e954da8be9ed65cd154d3a0ff9
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 __vtkEgExtractVolumeCells_h
22 #define __vtkEgExtractVolumeCells_h
24 class vtkEgExtractVolumeCells;
26 #include "vtkEgGridFilter.h"
28 class vtkEgExtractVolumeCells : public vtkEgGridFilter
31 protected: // attributes
33 bool m_Clip;
34 bool m_ExtrTetras;
35 bool m_ExtrHexes;
36 bool m_ExtrWedges;
37 bool m_ExtrPyramids;
38 bool m_ExtrPolys;
39 vec3_t m_X;
40 vec3_t m_N;
42 public: // methods
44 static vtkEgExtractVolumeCells* New();
45 void SetX(vec3_t x);
46 void Setx(double x);
47 void Sety(double y);
48 void Setz(double z);
49 void SetN(vec3_t n);
50 void Setnx(double nx);
51 void Setny(double ny);
52 void Setnz(double nz);
53 void SetClippingOn();
54 void SetClippingOff();
55 void SetAllOn();
56 void SetAllOff();
57 void SetTetrasOn();
58 void SetTetrasOff();
59 void SetPyramidsOn();
60 void SetPyramidsOff();
61 void SetWedgesOn();
62 void SetWedgesOff();
63 void SetHexesOn();
64 void SetHexesOff();
65 void SetPolysOn();
66 void SetPolysOff();
68 protected: // methods
70 vtkEgExtractVolumeCells();
71 ~vtkEgExtractVolumeCells() {}
72 virtual void ExecuteEg();
74 private: // methods
76 vtkEgExtractVolumeCells (const vtkEgExtractVolumeCells&);
77 void operator= (const vtkEgExtractVolumeCells&);
81 #endif