Salome HOME
Update copyright information
[modules/visu.git] / src / CONVERTOR / VISU_CommonCellsFilter.hxx
1 // Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 // This library is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU Lesser General Public
5 // License as published by the Free Software Foundation; either
6 // version 2.1 of the License.
7 //
8 // This library is distributed in the hope that it will be useful,
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 // Lesser General Public License for more details.
12 //
13 // You should have received a copy of the GNU Lesser General Public
14 // License along with this library; if not, write to the Free Software
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 //
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 //
19
20 // File      : VISU_CommonCellsFilter.hxx
21 // Created   : Tue Apr  3 16:16:53 2007
22 // Author    : Eugeny NIKOLAEV (enk)
23 //
24 #ifndef VISU_CommonCellsFilter_HeaderFile
25 #define VISU_CommonCellsFilter_HeaderFile
26
27 #include <vtkUnstructuredGridToUnstructuredGridFilter.h>
28
29 class VISU_CommonCellsFilter: public vtkUnstructuredGridToUnstructuredGridFilter
30 {
31 public:
32   static VISU_CommonCellsFilter *New();
33   vtkTypeMacro(VISU_CommonCellsFilter,vtkUnstructuredGridToUnstructuredGridFilter);
34
35   // Description:
36   // Specify the Unstructured Grid which overview
37   // nodal profile.
38   void SetProfileUG(vtkUnstructuredGrid *input);
39   vtkUnstructuredGrid* GetProfileUG();
40
41   // Description:
42   // Specify the Unstructured Grid which overview
43   // cells data on CELL_ENTITY.
44   void SetCellsUG(vtkUnstructuredGrid *input);
45   vtkUnstructuredGrid* GetCellsUG();
46
47 protected:
48   VISU_CommonCellsFilter();
49   ~VISU_CommonCellsFilter();
50
51   void Execute(); //generate output data
52
53 private:
54   VISU_CommonCellsFilter(const VISU_CommonCellsFilter&); // Lock copy
55   void operator=(const VISU_CommonCellsFilter&); // Lock copy
56 };
57
58 #endif