Salome HOME
74a497f48a7f30b1597fece454bc077d1a7e69df
[modules/visu.git] / src / PIPELINE / VISU_MeshPL.hxx
1 // Copyright (C) 2007-2011  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
23 //  VISU OBJECT : interactive object for VISU entities implementation
24 // File:    VISU_MeshPL.hxx
25 // Author:  Alexey PETROV
26 // Module : VISU
27 //
28 #ifndef VISU_MeshPL_HeaderFile
29 #define VISU_MeshPL_HeaderFile
30
31 #include "VISUPipeline.hxx"
32 #include "VISU_PipeLine.hxx"
33 #include "VISU_UnstructuredGridPL.hxx"
34
35
36 //----------------------------------------------------------------------------
37 class VISU_PIPELINE_EXPORT VISU_MeshPL : public VISU_PipeLine,
38                                          public VISU_UnstructuredGridPL
39 {
40 public:
41   vtkTypeMacro(VISU_MeshPL, VISU_PipeLine);
42
43   //----------------------------------------------------------------------------
44   static 
45   VISU_MeshPL* 
46   New();
47   
48 protected:
49   //----------------------------------------------------------------------------
50   VISU_MeshPL();
51   VISU_MeshPL(const VISU_MeshPL&);
52
53   virtual
54   void
55   OnCreateMapperHolder();
56
57   virtual
58   void
59   Build();
60 };
61
62 #endif