]> SALOME platform Git repositories - plugins/netgenplugin.git/blob - src/NETGENPlugin/NETGENPlugin_SimpleHypothesis_3D_i.hxx
Salome HOME
[SALOME platform 0013410]: SubMesh not taken into account with Netgen 1D-2D et 1D...
[plugins/netgenplugin.git] / src / NETGENPlugin / NETGENPlugin_SimpleHypothesis_3D_i.hxx
1 //  NETGENPlugin : C++ implementation
2 //
3 //  Copyright (C) 2006  OPEN CASCADE, CEA/DEN, EDF R&D
4 // 
5 //  This library is free software; you can redistribute it and/or 
6 //  modify it under the terms of the GNU Lesser General Public 
7 //  License as published by the Free Software Foundation; either 
8 //  version 2.1 of the License. 
9 // 
10 //  This library is distributed in the hope that it will be useful, 
11 //  but WITHOUT ANY WARRANTY; without even the implied warranty of 
12 //  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
13 //  Lesser General Public License for more details. 
14 // 
15 //  You should have received a copy of the GNU Lesser General Public 
16 //  License along with this library; if not, write to the Free Software 
17 //  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
18 // 
19 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 //
21 //
22 // File      : NETGENPlugin_SimpleHypothesis_3D_i.hxx
23 // Author    : Edward AGAPOV
24 // Project   : SALOME
25 //=============================================================================
26
27 #ifndef _NETGENPlugin_SimpleHypothesis_3D_i_HXX_
28 #define _NETGENPlugin_SimpleHypothesis_3D_i_HXX_
29
30 #include "NETGENPlugin_Defs.hxx"
31 #include "NETGENPlugin_SimpleHypothesis_2D_i.hxx"
32
33 #include <SALOMEconfig.h>
34 #include CORBA_SERVER_HEADER(NETGENPlugin_Algorithm)
35
36 class SMESH_Gen;
37 class NETGENPlugin_SimpleHypothesis_3D;
38
39 // Simplified NETGEN parameters (3D case)
40
41 class NETGENPLUGIN_EXPORT  NETGENPlugin_SimpleHypothesis_3D_i:
42   public virtual POA_NETGENPlugin::NETGENPlugin_SimpleHypothesis_3D,
43   public virtual NETGENPlugin_SimpleHypothesis_2D_i
44 {
45  public:
46   // Constructor
47   NETGENPlugin_SimpleHypothesis_3D_i (PortableServer::POA_ptr thePOA,
48                                       int                     theStudyId,
49                                       ::SMESH_Gen*            theGenImpl);
50   // Destructor
51   virtual ~NETGENPlugin_SimpleHypothesis_3D_i();
52
53   void LengthFromFaces();
54
55   void SetMaxElementVolume(CORBA::Double value);
56   CORBA::Double GetMaxElementVolume();
57
58   // Get implementation
59   ::NETGENPlugin_SimpleHypothesis_3D* GetImpl();
60   
61   // Verify whether hypothesis supports given entity type 
62   CORBA::Boolean IsDimSupported( SMESH::Dimension type );
63 };
64
65 #endif