iRoCS Toolbox  1.1.0
DetectSpheresThread.hh
Go to the documentation of this file.
1 /**************************************************************************
2  *
3  * Copyright (C) 2015 Thorsten Falk
4  *
5  * Image Analysis Lab, University of Freiburg, Germany
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program; if not, write to the Free Software Foundation,
19  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  *
21  **************************************************************************/
22 
23 #ifndef DETECTSPHERESTHREAD_HH
24 #define DETECTSPHERESTHREAD_HH
25 
26 #ifdef HAVE_CONFIG_H
27 #include <config.hh>
28 #endif
29 
30 #include <QtCore/QThread>
31 
35 
37 
39 
40 class DetectSpheresThread : public QThread
41 {
42 
43  Q_OBJECT
44 
45  public:
46 
48  DetectSpheresParametersDialog const &parameters,
49  AnnotationChannelSpecs &markerChannel,
50  iRoCS::ProgressReporter *progress = NULL,
51  LabellingMainWidget *mainWidget = NULL,
52  DataChannelSpecs *responseChannel = NULL,
53  DataChannelSpecs *radiusUmChannel = NULL,
54  QWidget *parent = NULL);
56 
57  void run();
58 
59 private:
60 
61  DetectSpheresParametersDialog const &_parameters;
62  AnnotationChannelSpecs &_markerChannel;
63  iRoCS::ProgressReporter *p_progress;
64  LabellingMainWidget *p_mainWidget;
65  DataChannelSpecs *p_responseChannel, *p_radiusUmChannel;
66 
67 };
68 
69 #endif
DetectSpheresThread(DetectSpheresParametersDialog const &parameters, AnnotationChannelSpecs &markerChannel, iRoCS::ProgressReporter *progress=NULL, LabellingMainWidget *mainWidget=NULL, DataChannelSpecs *responseChannel=NULL, DataChannelSpecs *radiusUmChannel=NULL, QWidget *parent=NULL)