Salome HOME
0eaf4e4e8eee945c5974fe5fac06d69f3d251408
[modules/visu.git] / src / CONVERTOR / VISU_AppendPolyData.hxx
1 //  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
2 //
3 //  Copyright (C) 2003-2007  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.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 //
22 #ifndef VISU_APPENDPOLYDATA_H
23 #define VISU_APPENDPOLYDATA_H
24
25 #include <vtkAppendPolyData.h>
26
27 #include "VISU_AppendFilterUtilities.hxx"
28
29 /*! \brief This class used same as vtkAppendFilter. See documentation on VTK for more information.
30  */
31 class VISU_AppendPolyData : public vtkAppendPolyData,
32                             public VISU::TAppendFilterHelper
33 {
34 public:
35   /*! \fn static VTKViewer_AppendFilter *New()
36    */
37   static VISU_AppendPolyData *New();
38   
39   /*! \fn vtkTypeRevisionMacro(VTKViewer_AppendFilter, vtkAppendFilter)
40    *  \brief VTK type revision macros.
41    */
42   vtkTypeRevisionMacro(VISU_AppendPolyData, vtkAppendPolyData);
43
44 protected:
45   /*! \fn VTKViewer_AppendFilter();
46    * \brief Constructor
47    */
48   VISU_AppendPolyData();
49
50   /*! \fn ~VTKViewer_AppendFilter();
51    * \brief Destructor.
52    */
53   ~VISU_AppendPolyData();
54
55   virtual
56   int
57   RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
58 };
59
60 #endif