Salome HOME
Merge multi-study removal branch.
[plugins/ghs3dplugin.git] / src / GHS3DPlugin / GHS3DPlugin_GHS3D_i.hxx
1 // Copyright (C) 2004-2016  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, or (at your option) any later version.
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   : GHS3DPlugin_GHS3D_i.hxx
21 //  Author : Edward AGAPOV
22 //  Module : GHS3DPlugin
23 //  $Header$
24 //
25 #ifndef _GHS3DPlugin_GHS3D_I_HXX_
26 #define _GHS3DPlugin_GHS3D_I_HXX_
27
28 #include <SALOMEconfig.h>
29 #include CORBA_SERVER_HEADER(GHS3DPlugin_Algorithm)
30 #include CORBA_SERVER_HEADER(SALOME_Exception)
31
32 #include "SMESH_3D_Algo_i.hxx"
33 #include "GHS3DPlugin_GHS3D.hxx"
34
35 // ======================================================
36 // MG-Tetra 3d algorithm
37 // ======================================================
38 class GHS3DPlugin_GHS3D_i:
39   public virtual POA_GHS3DPlugin::GHS3DPlugin_GHS3D,
40   public virtual SMESH_3D_Algo_i
41 {
42 public:
43   // Constructor
44   GHS3DPlugin_GHS3D_i (PortableServer::POA_ptr thePOA,
45                        ::SMESH_Gen*            theGenImpl );
46   // Destructor
47   virtual ~GHS3DPlugin_GHS3D_i();
48  
49   // Get implementation
50   ::GHS3DPlugin_GHS3D* GetImpl();
51
52   virtual SMESH::SMESH_Mesh_ptr importGMFMesh(const char* theGMFFileName);
53 };
54
55 // ======================================================
56 // MG-Tetra Optimization 3d algorithm
57 // ======================================================
58 class GHS3DPlugin_Optimizer_i:
59   public virtual POA_GHS3DPlugin::GHS3DPlugin_Optimizer,
60   public virtual SMESH_3D_Algo_i
61 {
62 public:
63   // Constructor
64   GHS3DPlugin_Optimizer_i (PortableServer::POA_ptr thePOA,
65                            ::SMESH_Gen*            theGenImpl );
66 };
67
68 #endif