3D Human Airway Tree
Program generuje ludzkie drzewo oskrzelowe
pinkSeuil.h
Idź do dokumentacji tego pliku.
1 /*=========================================================================
2 
3  Program: 3D Human Airway Tree
4  Module: pinkSeuil.h
5 
6  Copyright (c) ESIEE - Kacper Pluta <kacperp@wsinf.edu.pl> and Pink Team
7  All rights reserved.
8  See Copyright.txt or http://leo.wsinf.edu.pl/~kacperp/3dtree for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
16 #ifndef SEUIL_H
17 #define SEUIL_H
18 #include <mccodimage.h>
19 
20 #include <QThread>
21 #include "boost/tuple/tuple.hpp"
22 
23 class pinkSeuil : public QThread
24 {
25 Q_OBJECT
26 private:
27  double seuil;
28  struct xvimage * image;
29  struct xvimage * imagebin;
30  index_t rs, cs, ds, N, x;
31  uint8_t *F;
32  const boost::tuple<std::string,double,std::string> &argv;
33 protected:
34  void Update();
35  virtual void run();
36 public:
37  pinkSeuil(const boost::tuple<std::string,double,std::string> &);
38  virtual ~pinkSeuil();
39 signals:
40  QThread *endCompute(QThread *);
41 };
42 
43 #endif // SEUIL_H