-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtcpdialog.h
61 lines (49 loc) · 1.37 KB
/
tcpdialog.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**************************************************************************
(c)Jothybasu Selvaraj
This program comes with no gaurantee of its accuracy.
Clinical decisions should not be made using this program
**************************************************************************/
#ifndef TCPDIALOG_H
#define TCPDIALOG_H
#include <QDialog>
#include<QList>
#include<QString>
#include<vtkImageData.h>
#include<vtkPolyData.h>
#include<vtkSmartPointer.h>
#include<vector>
namespace Ui {
class TCPDialog;
}
class TCPDialog : public QDialog
{
Q_OBJECT
public:
explicit TCPDialog(QWidget *parent = 0);
~TCPDialog();
void setStructureNames(QList<QString>structNames);
int selectedStructureNum;
std::vector<vtkSmartPointer<vtkPolyData> >meshes;
vtkSmartPointer<vtkPolyData>structure;
vtkSmartPointer<vtkImageData>doseGrid;
vtkSmartPointer<vtkImageData>clonogenGrid;
double alphaByBeta;
double alpha;
double alphaMean;
double alphaStd;
double clonogenDensity;
double fractions;
double temporalCF;
std::vector<double>doseBins;
std::vector<double>volBins;
std::vector<float>clonogenVector;
double voxelVol;
bool calcType;
void calcTCP();
void calcTCPVaryingClonogens();
private:
Ui::TCPDialog *ui;
private slots:
void on_pushButton_clicked();
};
#endif // TCPDIALOG_H