Salome HOME
updated copyright message
[modules/shaper.git] / src / PartSet / PartSet_SketcherMgr.h
index 033c123af6f6ecb278892017cfb558b7b23fc87f..14d88a1688e56f4ea9194efdd9f4dcba0e17f280 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2023  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -83,6 +83,8 @@ public:
   PartSet_Fitter(PartSet_SketcherMgr* theSketchMgr):
     mySketchMgr(theSketchMgr) {}
 
+  virtual ~PartSet_Fitter() {}
+
   /// A method which has top be reimplemented to provide alterantive implementation FitAll command
   /// \param theView - a view which has to be fit
   virtual void fitAll(Handle(V3d_View) theView);
@@ -382,6 +384,9 @@ public:
   */
   virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
 
+  /// Returns true if current mode of objects creation is by drag mouse
+  bool isDragModeCreation() const;
+
 
 public slots:
   /// Process sketch plane selected event
@@ -469,9 +474,6 @@ private:
   void visualizeFeature(const FeaturePtr& theFeature, const bool isEditOperation,
                         const bool isToDisplay, const bool isFlushRedisplay = true);
 
-  /// Returns true if current mode of objects creation is by drag mouse
-  bool isDragModeCreation() const;
-
 private:
   /// Updates selection priority of the presentation
   /// \param theObject object to find a presentation which will be corrected