2 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 // + This file is part of enGrid. +
6 // + Copyright 2008,2009 Oliver Gloth +
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. +
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. +
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/>. +
21 // ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
23 #ifndef __vtkEgExtractVolumeCells_h
24 #define __vtkEgExtractVolumeCells_h
26 class vtkEgExtractVolumeCells
;
28 #include "vtkEgGridFilter.h"
30 class vtkEgExtractVolumeCells
: public vtkEgGridFilter
33 protected: // attributes
45 static vtkEgExtractVolumeCells
* New();
46 void SetX(vec3_t x
) { X
= x
; Modified(); };
47 void SetN(vec3_t n
) { N
= n
; Modified(); };
48 void SetClippingOn() { Clip
= true; Modified(); };
49 void SetClippingOff() { Clip
= false; Modified(); };
50 void SetAllOn() { tetra
= true; hexa
= true; wedge
= true; pyramid
= true; };
51 void SetAllOff() { tetra
= false; hexa
= false; wedge
= false; pyramid
= false; };
52 void SetTetrasOn() { tetra
= true; };
53 void SetTetrasOff() { tetra
= false; };
54 void SetPyramidsOn() { pyramid
= true; };
55 void SetPyramidsOff() { pyramid
= false; };
56 void SetWedgesOn() { wedge
= true; };
57 void SetWedgesOff() { wedge
= false; };
58 void SetHexasOn() { hexa
= true; };
59 void SetHexasOff() { hexa
= false; };
63 vtkEgExtractVolumeCells();
64 ~vtkEgExtractVolumeCells() {};
65 virtual void ExecuteEg();
69 vtkEgExtractVolumeCells (const vtkEgExtractVolumeCells
&);
70 void operator= (const vtkEgExtractVolumeCells
&);