From 7bdcef8eb77decc2f6e5155dbf74a3a3cd9c4bf8 Mon Sep 17 00:00:00 2001 From: apo Date: Mon, 19 Dec 2005 16:15:03 +0000 Subject: [PATCH] To remove unused field (VISU_PickingSettings) --- src/VVTK/VVTK_InteractorStyle.cxx | 12 +----------- src/VVTK/VVTK_InteractorStyle.h | 8 -------- 2 files changed, 1 insertion(+), 19 deletions(-) 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; }; -- 2.39.2