Salome HOME
Copyright update 2021
[modules/shaper.git] / src / XGUI / XGUI_ViewerProxy.h
index b1cbec119a6dfcfd7fd6e40ae16f0c77842b3175..38aa7de21ee62155c903259b1c8228f053d09dda 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2021  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -171,14 +171,12 @@ Q_OBJECT
 
 #ifdef HAVE_SALOME
   virtual void setFitter(OCCViewer_Fitter* theFitter);
-  virtual OCCViewer_Fitter* currentFitter() const;
+  virtual OCCViewer_Fitter* fitter() const;
 #else
   virtual void setFitter(AppElements_Fitter* theFitter);
-  virtual AppElements_Fitter* currentFitter() const;
+  virtual AppElements_Fitter* fitter() const;
 #endif
 
-  virtual void unsetFitter();
-
 signals:
   /// Emits by mouse entering the view port
   void enterViewPort();
@@ -218,7 +216,8 @@ private slots:
 
  private:
    void displayHighlight(FeaturePtr theFeature, const TopoDS_Shape& theIgnoreShape);
-   void eraseHighlight();
+   bool eraseHighlight();
+   void createPresentations(const ResultPtr& theRes, const TopoDS_Shape& theIgnoreShape);
 
 
   XGUI_Workshop* myWorkshop;