X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_OperationSketch.h;h=eb3fa84f4a182368c025a3d64b05881d1ea6ecfa;hb=d09c80de35c59f76714c776b456ce436409f9a3c;hp=47601096f7b1af293facbb3c9fd3e2daf98aeb70;hpb=61da4e89d2ec63daa429d304f928482a0e6fa0b7;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationSketch.h b/src/PartSet/PartSet_OperationSketch.h index 47601096f..eb3fa84f4 100644 --- a/src/PartSet/PartSet_OperationSketch.h +++ b/src/PartSet/PartSet_OperationSketch.h @@ -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 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.