SMILX  1.01
milxQtRegistrationParams.h
1 // This file contains all the structures and constants shared between most files of the plugin
2 #ifndef MILXQTRegistrationParams_H
3 #define MILXQTRegistrationParams_H
4 #include <QString>
5 
6 // Type of the registration F3DNifti or AladinNifti
7 typedef enum
8 {
9  AffineItk,
10  DemonItk,
11  F3DNifti,
12  AladinNifti,
13  ElastixAffine,
14  ElastixBSpline,
15  None
16 } RegType;
17 
19 {
20 
21 public:
24  void reset();
25 
26 
27  RegType type;
28  QString referenceName;
29  QString floatingName;
30  QString outputName;
31 
32  // Parameters for nifti F3D
33  QString defOutputName;
34  QString cppOutputName;
35  int maxit;
36  float spacing[3];
37  unsigned int ln;
38  unsigned int lp;
39  bool nopy;
40  bool useSym;
41  bool cpp2Def;
42 
43  // Aladin
44  bool rigOnly;
45  bool affineDirect;
46  float percentBlock;
47 
48  // Elastix
49  QString outputFolder;
50  QString parametersTxt;
51  QString parameterFile;
52  bool customParameterFile;
53 };
54 
55 #endif // MILXQTRegistrationParams_H