deactivated deprecated start_engrid copy
[engrid.git] / src / vtkEgExtractVolumeCells.h
blob92b5748c4d66406f72ac83aa5d9fdf2cdd8cbe4a
1 //
2 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 // + +
4 // + This file is part of enGrid. +
5 // + +
6 // + Copyright 2008,2009 Oliver Gloth +
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 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 vec3_t m_X;
41 vec3_t m_N;
43 public: // methods
45 static vtkEgExtractVolumeCells* New();
46 void SetX(vec3_t x);
47 void Setx(double x);
48 void Sety(double y);
49 void Setz(double z);
50 void SetN(vec3_t n);
51 void Setnx(double nx);
52 void Setny(double ny);
53 void Setnz(double nz);
54 void SetClippingOn();
55 void SetClippingOff();
56 void SetAllOn();
57 void SetAllOff();
58 void SetTetrasOn();
59 void SetTetrasOff();
60 void SetPyramidsOn();
61 void SetPyramidsOff();
62 void SetWedgesOn();
63 void SetWedgesOff();
64 void SetHexesOn();
65 void SetHexesOff();
67 protected: // methods
69 vtkEgExtractVolumeCells();
70 ~vtkEgExtractVolumeCells() {}
71 virtual void ExecuteEg();
73 private: // methods
75 vtkEgExtractVolumeCells (const vtkEgExtractVolumeCells&);
76 void operator= (const vtkEgExtractVolumeCells&);
80 #endif