Salome HOME
import SalomePro v1.2c
[modules/kernel.git] / src / VTKFilter / SALOME_GeometryFilter.h
1 //  SALOME OBJECT : kernel of SALOME component
2 //
3 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
4 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
5 // 
6 //  This library is free software; you can redistribute it and/or 
7 //  modify it under the terms of the GNU Lesser General Public 
8 //  License as published by the Free Software Foundation; either 
9 //  version 2.1 of the License. 
10 // 
11 //  This library is distributed in the hope that it will be useful, 
12 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
13 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
14 //  Lesser General Public License for more details. 
15 // 
16 //  You should have received a copy of the GNU Lesser General Public 
17 //  License along with this library; if not, write to the Free Software 
18 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
19 // 
20 //  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
21 //
22 //
23 //
24 //  File   : SALOME_GeometryFilter.h
25 //  Author : Michael ZORIN
26 //  Module : SALOME
27 //  $Header: /dn05/salome/CVS/SALOME_ROOT/SALOME/src/OBJECT/SALOME_GeometryFilter.h
28
29
30 #ifndef __SALOME_GeometryFilter_h
31 #define __SALOME_GeometryFilter_h
32
33 #include <vtkGeometryFilter.h>
34
35 class SALOME_GeometryFilter : public vtkGeometryFilter 
36 {
37 public:
38   static SALOME_GeometryFilter *New();
39   vtkTypeRevisionMacro(SALOME_GeometryFilter, vtkGeometryFilter);
40   void SetInside(int theShowInside);
41   int GetInside();
42
43 protected:
44   SALOME_GeometryFilter();
45   ~SALOME_GeometryFilter();
46   
47   void Execute();
48   void UnstructuredGridExecute();
49     
50 private:
51   int myShowInside;      
52 };
53
54 #endif