Salome HOME
Merge multi-study removal branch.
[plugins/blsurfplugin.git] / src / BLSURFPlugin / BLSURFPlugin_BLSURF.hxx
index e87d33e948395b7daeac601ab9e7e7eea754e1cc..14ff95fb913d5a945f314f86b4293ed9750e7953 100644 (file)
@@ -75,7 +75,7 @@ class TopoDS_Shape;
 
 class BLSURFPlugin_BLSURF: public SMESH_2D_Algo {
   public:
-    BLSURFPlugin_BLSURF(int hypId, SMESH_Gen* gen);
+    BLSURFPlugin_BLSURF(int hypId, SMESH_Gen* gen, bool theHasGEOM);
 
     virtual ~BLSURFPlugin_BLSURF();
 
@@ -86,6 +86,7 @@ class BLSURFPlugin_BLSURF: public SMESH_2D_Algo {
     void SetParameters(const BLSURFPlugin_Hypothesis* hyp, cadsurf_session_t *css, const TopoDS_Shape& shape);
 
     virtual bool Compute(SMESH_Mesh& aMesh, const TopoDS_Shape& aShape);
+    virtual bool Compute(SMESH_Mesh & aMesh, SMESH_MesherHelper* aHelper);
 
     virtual void CancelCompute();
     bool computeCanceled() { return _compute_canceled; }
@@ -157,7 +158,7 @@ class BLSURFPlugin_BLSURF: public SMESH_2D_Algo {
   private:
       PyObject *          main_mod;
       PyObject *          main_dict;
-      SMESH_Mesh*         myMesh;
+      SMESH_MesherHelper* myHelper;
 
       volatile bool _compute_canceled;
 };