1 /*=========================================================================
2 Program: vv http://www.creatis.insa-lyon.fr/rio/vv
5 - University of LYON http://www.universite-lyon.fr/
6 - Léon Bérard cancer center http://www.centreleonberard.fr
7 - CREATIS CNRS laboratory http://www.creatis.insa-lyon.fr
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the copyright notices for more information.
13 It is distributed under dual licence
15 - BSD See included LICENSE.txt file
16 - CeCILL-B http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html
17 ===========================================================================**/
19 #ifndef VVTHREADEDFILTER_H
20 #define VVTHREADEDFILTER_H
23 #include "clitkImageToImageGenericFilterBase.h"
28 //------------------------------------------------------------------------------
29 class vvThreadedFilter: public QThread
36 // Called from the main thread, runs the reader and displays the progress bar
37 void SetFilter(clitk::ImageToImageGenericFilterBase * f);
44 void ThreadInterrupted();
48 clitk::ImageToImageGenericFilterBase * m_Filter;
49 clitk::FilterBase * m_FilterBase;
51 }; // end class vvThreadedFilter
52 //------------------------------------------------------------------------------