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()
//{
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();