Salome HOME
[CEA] Improve ShaperResults
[modules/shaper.git] / src / InitializationPlugin / InitializationPlugin_Plugin.h
index 7c05c29daee5f205312dc0c637ae05025e42e854..cd02984ba674163084a6cb6fd5e3788ff8f5c9af 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -70,8 +70,13 @@ class InitializationPlugin_Plugin : public Events_Listener
   FeaturePtr createAxis(DocumentPtr theDoc, FeaturePtr theOrigin,
                         double theX, double theY, double theZ);
 
+  /// Creates and activates a new part in PartSet document.
+  void createPart(DocumentPtr thePartSet);
+
  private:
   std::shared_ptr<InitializationPlugin_EvalListener> myEvalListener;
+  bool myInitDataModel;
+  bool myCreatePartOnStart;
 };
 
 #endif