Salome HOME
NRI : Change lGeometryClient by lGEOMClient.
[modules/smesh.git] / src / SMESH_I / SMESH_Hexa_3D_i.cxx
1 using namespace std;
2 //=============================================================================
3 // File      : SMESH_Hexa_3D_i.cxx
4 // Created   : sam mai 18 23:15:45 CEST 2002
5 // Author    : Paul RASCLE, EDF
6 // Project   : SALOME
7 // Copyright : EDF 2002
8 // $Header$
9 //=============================================================================
10 using namespace std;
11
12 #include "SMESH_Hexa_3D_i.hxx"
13 #include "SMESH_Gen.hxx"
14 #include "SMESH_HypothesisFactory.hxx"
15
16 #include "Utils_CorbaException.hxx"
17 #include "utilities.h"
18
19 //=============================================================================
20 /*!
21  *  
22  */
23 //=============================================================================
24
25 SMESH_Hexa_3D_i::SMESH_Hexa_3D_i(const char* anHyp,
26                                  int studyId,
27                                  ::SMESH_Gen* genImpl)
28 {
29   MESSAGE("SMESH_Hexa_3D_i::SMESH_Hexa_3D_i");
30   _genImpl = genImpl;
31   ::SMESH_Hexa_3D* impl 
32       = new ::SMESH_Hexa_3D(_genImpl->_hypothesisFactory.GetANewId(),
33                             studyId,
34                             genImpl);
35   SetImpl(impl);
36   _baseImpl = _impl;
37 }
38
39 //=============================================================================
40 /*!
41  *  
42  */
43 //=============================================================================
44
45 SMESH_Hexa_3D_i::~SMESH_Hexa_3D_i()
46 {
47   MESSAGE("SMESH_Hexa_3D_i::~SMESH_Hexa_3D_i");
48 }
49
50 //=============================================================================
51 /*!
52  *  
53  */
54 //=============================================================================
55
56 void SMESH_Hexa_3D_i::SetImpl(::SMESH_Hexa_3D* impl)
57 {
58   MESSAGE("SMESH_Hexa_3D_i::SetImpl");
59   SMESH_3D_Algo_i::SetImpl(impl);
60   _impl = impl;
61 }