]> SALOME platform Git repositories - plugins/netgenplugin.git/blobdiff - src/NETGENPlugin/NETGENPlugin_NETGEN_2D_i.cxx
Salome HOME
GPUSPHGUI: create a 2D remesher algo and add Chordal Error parameter
[plugins/netgenplugin.git] / src / NETGENPlugin / NETGENPlugin_NETGEN_2D_i.cxx
index 96d1f0789d4359818bbd3d04522ee56d21fca137..be39bd864f2f27f4fb7299fe7969de80c4809f08 100644 (file)
 //  $Header$
 //
 #include "NETGENPlugin_NETGEN_2D_i.hxx"
+#include "NETGENPlugin_Remesher_2D.hxx"
 #include "SMESH_Gen.hxx"
 
-#include "Utils_CorbaException.hxx"
-#include "utilities.h"
-
-using namespace std;
-
 //=============================================================================
 /*!
  *  NETGENPlugin_NETGEN_2D_i::NETGENPlugin_NETGEN_2D_i
@@ -79,3 +75,38 @@ NETGENPlugin_NETGEN_2D_i::~NETGENPlugin_NETGEN_2D_i()
 {
   return ( ::NETGENPlugin_NETGEN_2D* )myBaseImpl;
 }
+
+
+
+//=============================================================================
+/*!
+ *  NETGENPlugin_Remesher_2D_i::NETGENPlugin_Remesher_2D_i
+ *
+ *  Constructor
+ */
+//=============================================================================
+
+NETGENPlugin_Remesher_2D_i::NETGENPlugin_Remesher_2D_i( PortableServer::POA_ptr thePOA,
+                                                        int                     theStudyId,
+                                                        ::SMESH_Gen*            theGenImpl )
+  : SALOME::GenericObj_i( thePOA ),
+    SMESH_Hypothesis_i( thePOA ),
+    SMESH_Algo_i( thePOA ),
+    SMESH_2D_Algo_i( thePOA )
+{
+  myBaseImpl = new ::NETGENPlugin_Remesher_2D( theGenImpl->GetANewId(),
+                                               theStudyId,
+                                               theGenImpl );
+}
+
+//=============================================================================
+/*!
+ *  NETGENPlugin_Remesher_2D_i::~NETGENPlugin_Remesher_2D_i
+ *
+ *  Destructor
+ */
+//=============================================================================
+
+NETGENPlugin_Remesher_2D_i::~NETGENPlugin_Remesher_2D_i()
+{
+}