From ea52e143349965685da5d30c06a295168a1b754d Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 17 Aug 2005 10:48:35 +0000 Subject: [PATCH] To remove unused methods --- src/SVTK/SVTK_RenderWindowInteractor.cxx | 19 +------------------ src/SVTK/SVTK_RenderWindowInteractor.h | 6 ------ 2 files changed, 1 insertion(+), 24 deletions(-) diff --git a/src/SVTK/SVTK_RenderWindowInteractor.cxx b/src/SVTK/SVTK_RenderWindowInteractor.cxx index 608265077..966b209f6 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.cxx +++ b/src/SVTK/SVTK_RenderWindowInteractor.cxx @@ -146,28 +146,11 @@ SVTK_RenderWindowInteractor } // ================================== -void -SVTK_RenderWindowInteractor -::Start() -{ - // - // We do not allow this interactor to control the - // event loop. Only the QtApplication objects are - // allowed to do that. - // - //vtkErrorMacro(<<"SVTK_RenderWindowInteractor::Start() not allowed to start event loop.") ; - return ; -} - void SVTK_RenderWindowInteractor ::UpdateSize(int w, int h) { - // if the size changed send this on to the RenderWindow - if ((w != myInteractor->GetSize()[0])||(h != myInteractor->GetSize()[1])) { - myInteractor->SetSize( w, h ); - getRenderWindow()->SetSize( w, h ); - } + myInteractor->UpdateSize(w,h); } int diff --git a/src/SVTK/SVTK_RenderWindowInteractor.h b/src/SVTK/SVTK_RenderWindowInteractor.h index eea4a8a72..e580626a5 100644 --- a/src/SVTK/SVTK_RenderWindowInteractor.h +++ b/src/SVTK/SVTK_RenderWindowInteractor.h @@ -69,12 +69,6 @@ public: // want to have mouse interaction. virtual void Initialize(); - // Description: - // This will start up the X event loop and never return. If you - // call this method it will loop processing X events until the - // application is exited. - virtual void Start(); - // Description: // Event loop notification member for Window size change virtual void UpdateSize(int x,int y); -- 2.39.2