X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2FPartSet%2FPartSet_OperationFeatureEdit.h;h=67223fce62fa0b756da56fae9c00c33cda84ca0c;hb=e30796dab1aa68c01201b2b89d4292d3fcbbc4d4;hp=7bdb6aee29cb67eba2e24a1cc91c729a724d84bc;hpb=b2a34ee4bab2fe2d97f900cbdafcaf122344c46c;p=modules%2Fshaper.git diff --git a/src/PartSet/PartSet_OperationFeatureEdit.h b/src/PartSet/PartSet_OperationFeatureEdit.h index 7bdb6aee2..67223fce6 100644 --- a/src/PartSet/PartSet_OperationFeatureEdit.h +++ b/src/PartSet/PartSet_OperationFeatureEdit.h @@ -7,7 +7,7 @@ #include "PartSet.h" -#include +#include #include class QMouseEvent; @@ -16,7 +16,7 @@ class QMouseEvent; \class PartSet_OperationFeatureEdit * \brief The operation for the sketch feature creation */ -class PARTSET_EXPORT PartSet_OperationFeatureEdit : public PartSet_OperationSketchBase +class PARTSET_EXPORT PartSet_OperationFeatureEdit : public PartSet_OperationFeatureBase { Q_OBJECT /// Struct to define gp point, with the state is the point is initialized @@ -25,6 +25,7 @@ Q_OBJECT /// Constructor Point() { + myIsInitialized = false; } /// Constructor /// \param thePoint the point @@ -69,18 +70,6 @@ Q_OBJECT /// Destructor virtual ~PartSet_OperationFeatureEdit(); - /// Returns the operation local selection mode - /// \param theFeature the feature object to get the selection mode - /// \return the selection mode - virtual std::list getSelectionModes(ObjectPtr theFeature) const; - - /// Initializes the operation with previously created feature. It is used in sequental operations - virtual void initFeature(FeaturePtr theFeature); - - /// Returns the operation sketch feature - /// \returns the sketch instance - virtual FeaturePtr sketch() const; - /// Processes the mouse pressed in the point /// \param theEvent the mouse event /// \param theView a viewer to have the viewer the eye position @@ -139,7 +128,6 @@ Q_OBJECT void sendFeatures(); private: - FeaturePtr mySketch; ///< the sketch feature Point myCurPoint; ///< the current 3D point clicked or moved bool myIsBlockedSelection; ///< the state of the last state of selection blocked signal };