]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_WidgetSketchLabel.h
Salome HOME
Issue #1343 Improvement of Extrusion and Revolution operations: sketch is filled...
[modules/shaper.git] / src / PartSet / PartSet_WidgetSketchLabel.h
index 90c291bcdcf56086d4b717ebdb019469f62b85b3..ff6689d1cb74bc333cb99596c50cdf544cb3581f 100644 (file)
@@ -79,6 +79,9 @@ public:
   virtual void setHighlighted(bool) { /*do nothing*/ };
   virtual void enableFocusProcessing();
 
+  static bool fillSketchPlaneBySelection(const FeaturePtr& theFeature,
+                                         const ModuleBase_ViewerPrs& thePrs);
+
 signals:
   /// Signal on plane selection
   void planeSelected(const std::shared_ptr<GeomAPI_Pln>& thePln);
@@ -163,7 +166,8 @@ protected:
 
   /// Set sketch plane by shape
   /// \param theShape a planar face
-  std::shared_ptr<GeomAPI_Dir> setSketchPlane(const TopoDS_Shape& theShape);
+  static std::shared_ptr<GeomAPI_Dir> setSketchPlane(const FeaturePtr& theFeature,
+                                                     const TopoDS_Shape& theShape);
 
   /// Erase preview planes
   void erasePreviewPlanes();