X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPartSet%2FPartSet_OperationSketch.h;h=d40a55331a198a5fdccbb4fdb9cbc8a22872ffda;hb=004fa7f94b343a782405d3fe21973521150729b4;hp=8f3a8fd4e856a4b898641137c8497159a50129de;hpb=d855bcb1e5035b3ca512b221e704f886d2bdba4a;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationSketch.h b/src/PartSet/PartSet_OperationSketch.h index 8f3a8fd4e..d40a55331 100644 --- a/src/PartSet/PartSet_OperationSketch.h +++ b/src/PartSet/PartSet_OperationSketch.h @@ -35,10 +35,11 @@ public: virtual std::list getSelectionModes(boost::shared_ptr theFeature) const; /// Initializes some fields accorging to the feature - /// \param theFeature the feature - /// \param thePresentations the list of additional presentations + /// \param theSelected the list of selected presentations + /// \param theHighlighted the list of highlighted presentations virtual void init(boost::shared_ptr theFeature, - const std::list& thePresentations); + const std::list& theSelected, + const std::list& theHighlighted); /// Returns the operation sketch feature /// \returns the sketch instance @@ -80,6 +81,10 @@ signals: void planeSelected(double theX, double theY, double theZ); protected: + /// Virtual method called when operation started (see start() method for more description) + /// Default impl calls corresponding slot and commits immediately. + virtual void startOperation(); + /// Returns whether the sketch plane is set /// \return the boolean value whether the sketch is set bool hasSketchPlane() const;