Salome HOME
Merge from V6_main (04/10/2012)
[modules/paravis.git] / src / Plugins / MedReader / IO / vtkGenerateStructElement.h
1 // Copyright (C) 2010-2012  CEA/DEN, EDF R&D
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 #ifndef __vtkGenerateStructElement_h__
21 #define __vtkGenerateStructElement_h__
22
23 #include "vtkUnstructuredGridAlgorithm.h"
24
25 class vtkMedStructElement;
26 class vtkGenerateStructElementCache;
27
28 class VTK_EXPORT vtkGenerateStructElement : public vtkUnstructuredGridAlgorithm
29 {
30 public:
31   static vtkGenerateStructElement* New();
32   vtkTypeRevisionMacro(vtkGenerateStructElement, vtkObject)
33   void PrintSelf(ostream& os, vtkIndent indent);
34
35 protected :
36   vtkGenerateStructElement();
37   virtual ~vtkGenerateStructElement();
38
39   // Description:
40   // This is called by the superclass.
41   // This is the method you should override.
42   virtual int RequestData(vtkInformation* request,
43                           vtkInformationVector** inputVector,
44                           vtkInformationVector* outputVector);
45
46   //BTX
47   virtual double  GetParameter1(const char*,
48                            vtkIdType,
49                            vtkGenerateStructElementCache&);
50   //ETX
51
52 private :
53   vtkGenerateStructElement(const vtkGenerateStructElement&);// Not implemented.
54   void operator=(const vtkGenerateStructElement&); // Not implemented.
55
56 };
57
58 #endif //__vtkGenerateStructElement_h__