Salome HOME
[EDF] (2023-T1) Sketch middle point constrain should create point if missing
[modules/shaper.git] / src / InitializationPlugin / InitializationPlugin_Plugin.h
index 7aa2c9885062c3b9b996817443bb1390e8c44b86..94a1419cb360451ef885b8eaae11426ecadf0b8c 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2020  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  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,9 +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