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