Salome HOME
Merge branch V7_3_1_BR
[modules/smesh.git] / src / StdMeshers_I / StdMeshers_Projection_1D_2D_3D_i.hxx
1 // Copyright (C) 2007-2014  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, or (at your option) any later version.
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 //  File   : StdMeshers_Projection_1D_2D_3D_i.hxx
23 //  Module : SMESH
24 //
25 #ifndef _SMESH_Projection_1D2D3D_I_HXX_
26 #define _SMESH_Projection_1D2D3D_I_HXX_
27
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(SMESH_BasicHypothesis)
30
31 #include "SMESH_1D_Algo_i.hxx"
32 #include "SMESH_2D_Algo_i.hxx"
33 #include "SMESH_3D_Algo_i.hxx"
34 #include "StdMeshers_Projection_1D.hxx"
35 #include "StdMeshers_Projection_1D2D.hxx"
36 #include "StdMeshers_Projection_2D.hxx"
37 #include "StdMeshers_Projection_3D.hxx"
38
39 class SMESH_Gen;
40
41 // ======================================================
42 // Projection 3D algorithm
43 // ======================================================
44
45 class StdMeshers_Projection_3D_i:
46   public virtual POA_StdMeshers::StdMeshers_Projection_3D,
47   public virtual SMESH_3D_Algo_i
48 {
49 public:
50   // Constructor
51   StdMeshers_Projection_3D_i( PortableServer::POA_ptr thePOA,
52                               int                     theStudyId,
53                               ::SMESH_Gen*            theGenImpl );
54
55   // Destructor
56   virtual ~StdMeshers_Projection_3D_i();
57
58   // Get implementation
59   ::StdMeshers_Projection_3D* GetImpl();
60 };
61
62 // ======================================================
63 // Projection 2D algorithm
64 // ======================================================
65
66 class StdMeshers_Projection_2D_i:
67   public virtual POA_StdMeshers::StdMeshers_Projection_2D,
68   public virtual SMESH_2D_Algo_i
69 {
70 public:
71   // Constructor
72   StdMeshers_Projection_2D_i( PortableServer::POA_ptr thePOA,
73                               int                     theStudyId,
74                               ::SMESH_Gen*            theGenImpl );
75
76   // Destructor
77   virtual ~StdMeshers_Projection_2D_i();
78
79   // Get implementation
80   ::StdMeshers_Projection_2D* GetImpl();
81 };
82
83 // ======================================================
84 // Projection 1D-2D algorithm
85 // ======================================================
86
87 class StdMeshers_Projection_1D2D_i:
88   public virtual POA_StdMeshers::StdMeshers_Projection_1D2D,
89   public virtual SMESH_2D_Algo_i
90 {
91 public:
92   // Constructor
93   StdMeshers_Projection_1D2D_i( PortableServer::POA_ptr thePOA,
94                                 int                     theStudyId,
95                                 ::SMESH_Gen*            theGenImpl );
96
97   // Destructor
98   virtual ~StdMeshers_Projection_1D2D_i();
99
100   // Get implementation
101   ::StdMeshers_Projection_1D2D* GetImpl();
102 };
103
104 // ======================================================
105 // Projection 1D algorithm
106 // ======================================================
107
108 class StdMeshers_Projection_1D_i:
109   public virtual POA_StdMeshers::StdMeshers_Projection_1D,
110   public virtual SMESH_1D_Algo_i
111 {
112 public:
113   // Constructor
114   StdMeshers_Projection_1D_i( PortableServer::POA_ptr thePOA,
115                               int                     theStudyId,
116                               ::SMESH_Gen*            theGenImpl );
117
118   // Destructor
119   virtual ~StdMeshers_Projection_1D_i();
120
121   // Get implementation
122   ::StdMeshers_Projection_1D* GetImpl();
123 };
124
125
126 #endif