Salome HOME
Issue #2027 Sketcher Trim Feature: preselection in reentrant operation
[modules/shaper.git] / src / PartSet / PartSet_SketcherReentrantMgr.h
index 17006c1e482cf8115a09624e0a4b1422e43f9c53..96ff877538642fcf6c77b8c30da2969b8a20412f 100644 (file)
@@ -22,6 +22,7 @@ class QMouseEvent;
 
 class XGUI_Workshop;
 class PartSet_Module;
+class ModuleBase_ViewerPrs;
 
 /// \ingroup PartSet_SketcherReentrantMgr
 /// It provides reentrant create operations in sketch, that is when all inputs are valid,
@@ -174,6 +175,10 @@ private:
   bool isTangentArc(ModuleBase_Operation* theOperation,
                     const std::shared_ptr<ModelAPI_CompositeFeature>& /*theSketch*/) const;
 
+  /// Creates selection instance by the current feature and created by restart objects
+  /// \returns viewer selection presentation
+  std::shared_ptr<ModuleBase_ViewerPrs> generatePreSelection();
+
   /// Accept All action is enabled if an internal edit is started.
   /// It updates the state of the button
   void updateAcceptAllAction();