Salome HOME
Issue #205: Rotate view on selection of sketch plane and not rotate on selection...
[modules/shaper.git] / src / PartSet / PartSet_OperationSketch.h
index 47601096f7b1af293facbb3c9fd3e2daf98aeb70..eb3fa84f4a182368c025a3d64b05881d1ea6ecfa 100644 (file)
@@ -86,7 +86,8 @@ Q_OBJECT
 
   /// Set the plane to the current sketch
   /// \param theShape the shape
-  void setSketchPlane(const TopoDS_Shape& theShape);
+  /// \return selected direction
+  boost::shared_ptr<GeomAPI_Dir> setSketchPlane(const TopoDS_Shape& theShape);
   
   /// Called on selection changed when the operation is active
   virtual void selectionChanged(ModuleBase_ISelection* theSelection);
@@ -104,6 +105,9 @@ signals:
   // signal about the viewer fit all perform
   void fitAllView();
 
+  /// Signal to define sketch mode
+  void launchSketch();
+
  protected:
   /// Virtual method called when operation started (see start() method for more description)
   /// Default impl calls corresponding slot and commits immediately.