From: apo Date: Mon, 19 Dec 2005 16:15:03 +0000 (+0000) Subject: To remove unused field (VISU_PickingSettings) X-Git-Tag: TG-D5-38-2003_D2005-20-12~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7bdcef8eb77decc2f6e5155dbf74a3a3cd9c4bf8;p=modules%2Fvisu.git To remove unused field (VISU_PickingSettings) --- diff --git a/src/VVTK/VVTK_InteractorStyle.cxx b/src/VVTK/VVTK_InteractorStyle.cxx index 87552d7b..dd365c39 100644 --- a/src/VVTK/VVTK_InteractorStyle.cxx +++ b/src/VVTK/VVTK_InteractorStyle.cxx @@ -49,8 +49,7 @@ VVTK_InteractorStyle myIsMidButtonDown( false ), myIsLeftButtonDown( false ), mySMDecreaseMagnificationBtn(10), - mySMIncreaseMagnificationBtn(11), - myPickingSettings(NULL) + mySMIncreaseMagnificationBtn(11) { } @@ -183,15 +182,6 @@ VVTK_InteractorStyle } -//---------------------------------------------------------------------------- -void -VVTK_InteractorStyle -::SetPickingSettings(VISU_PickingSettings* thePickingSettings) -{ - myPickingSettings = thePickingSettings; -} - - //---------------------------------------------------------------------------- void VVTK_InteractorStyle diff --git a/src/VVTK/VVTK_InteractorStyle.h b/src/VVTK/VVTK_InteractorStyle.h index 2d6ec122..9e33bfa7 100644 --- a/src/VVTK/VVTK_InteractorStyle.h +++ b/src/VVTK/VVTK_InteractorStyle.h @@ -84,7 +84,6 @@ class VVTK_ControllerOnKeyDown : public SVTK_ControllerOnKeyDown{ void operator=(const VVTK_ControllerOnKeyDown&); //Not implemented }; -class VISU_PickingSettings; //! Introduce new style of interaction (keyboard free) class VVTK_EXPORT VVTK_InteractorStyle : public SVTK_InteractorStyle @@ -97,11 +96,6 @@ class VVTK_EXPORT VVTK_InteractorStyle : public SVTK_InteractorStyle virtual void SetInteractor( vtkRenderWindowInteractor* ); - - //! To share the VISU_PickingSettings - void - SetPickingSettings(VISU_PickingSettings* thePickingSettings); - protected: VVTK_InteractorStyle(); @@ -148,8 +142,6 @@ class VVTK_EXPORT VVTK_InteractorStyle : public SVTK_InteractorStyle int mySMDecreaseMagnificationBtn; int mySMIncreaseMagnificationBtn; - VISU_PickingSettings* myPickingSettings; - bool myIsMidButtonDown; bool myIsLeftButtonDown; };