X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPartSet%2FPartSet_SketcherMgr.h;h=1507f92e98926f64a60d7ca38feb4210ca6e74f7;hb=6f84fd29d85b783864cdbb3ac9fdd6a3ad3cbb7c;hp=0b79b084e0b18dd31deab0e8e67835c622e0b9a4;hpb=1c2db2a9ea5f192e2bde3c81e19a9915e2f89d53;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_SketcherMgr.h b/src/PartSet/PartSet_SketcherMgr.h index 0b79b084e..1507f92e9 100644 --- a/src/PartSet/PartSet_SketcherMgr.h +++ b/src/PartSet/PartSet_SketcherMgr.h @@ -31,7 +31,11 @@ class ModuleBase_Operation; class QMouseEvent; /** +* \ingroup Modules * A class for management of sketch operations + At the time of the sketcher operation active, only the sketch sub-feature results are + displayed in the viewer. After the sketch create/edit operation is finished, the sub-feature + are hidden, the sketch feature result is displayed */ class PARTSET_EXPORT PartSet_SketcherMgr : public QObject { @@ -67,25 +71,29 @@ class PARTSET_EXPORT PartSet_SketcherMgr : public QObject double myCurX, myCurY; /// the point coordinates }; public: + /// Constructor + /// \param theModule a pointer to PartSet module PartSet_SketcherMgr(PartSet_Module* theModule); virtual ~PartSet_SketcherMgr(); + /// Returns list of strings which contains id's of sketch operations static QStringList sketchOperationIdList(); /// Launches the operation from current highlighting void launchEditing(); - // Returns current Sketch feature/ Returns NULL if there is no launched sketch operation + /// Returns current Sketch feature/ Returns NULL if there is no launched sketch operation CompositeFeaturePtr activeSketch() const { return myCurrentSketch; } /// Starts sketch operation - void startSketch(ModuleBase_Operation* theOperation); + void startSketch(ModuleBase_Operation* ); /// Stops sketch operation - void stopSketch(ModuleBase_Operation* theOperation); + void stopSketch(ModuleBase_Operation* ); public slots: + /// Process sketch plane selected event void onPlaneSelected(const std::shared_ptr& thePln);