]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Corrections according to remarks
authorvsv <vsv@opencascade.com>
Thu, 12 Sep 2019 07:17:38 +0000 (10:17 +0300)
committervsv <vsv@opencascade.com>
Thu, 12 Sep 2019 07:17:38 +0000 (10:17 +0300)
src/SHAPERGUI/SHAPERGUI_SalomeViewer.cpp
src/SHAPERGUI/SHAPERGUI_SalomeViewer.h

index 92113150bb02d245513679bcefcc0fee1a2b103b..1f0d054f491c861650d04b4d833b68c8a6739529 100644 (file)
@@ -582,19 +582,13 @@ void SHAPERGUI_SalomeViewer::setFitter(OCCViewer_Fitter* theFitter)
     mySelector->viewer()->setFitter(theFitter);
 }
 
-OCCViewer_Fitter* SHAPERGUI_SalomeViewer::currentFitter() const
+OCCViewer_Fitter* SHAPERGUI_SalomeViewer::fitter() const
 {
   if (mySelector)
-    return mySelector->viewer()->currentFitter();
+    return mySelector->viewer()->fitter();
   return 0;
 }
 
-void SHAPERGUI_SalomeViewer::unsetFitter()
-{
-  if (mySelector)
-    mySelector->viewer()->unsetFitter();
-}
-
 
 //void SHAPERGUI_SalomeViewer::Zfitall()
 //{
index ba778d1dfd3f77f251ebef82c65ebefdd8d25f74..97df56cdc392016221cfcc1c3599cab622aab4d5 100644 (file)
@@ -209,8 +209,7 @@ Q_OBJECT
   virtual void setColorScaleTitle(const QString& theText);
 
   virtual void setFitter(OCCViewer_Fitter* theFitter);
-  virtual OCCViewer_Fitter* currentFitter() const;
-  virtual void unsetFitter();
+  virtual OCCViewer_Fitter* fitter() const;
 
   // Fit all along Z (perpendicular to display)
   //virtual void Zfitall();