CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/dynamic/iLinearModelTemplate.hh
Go to the documentation of this file.
1 
8 #ifndef IDYNAMICMODELTEMPLATE_HH
9 #define IDYNAMICMODELTEMPLATE_HH 1
10 
11 // Mother class of dynamic model
12 #include "vDynamicModel.hh"
13 // Required to automatically add the class in the CASToR code
14 #include "sAddonManager.hh"
15 
16 // Inherit from Generic Linear Model
17 #include "iLinearModel.hh"
18 
19 // This class inherits from iLinearModel,
20 // which itself inherits from the virtual vDynamicModel
21 // vDynamicModel
22 // |
23 // |-->> iLinearModel
24 // |
25 // |-->> iLinearModelTemplate
26 
34 {
35  // -----------------------------------------------------------------------------------------
36  // Constructor & Destructor
37  public:
48 
49 
50  // -----------------------------------------------------------------------------------------
51  // Public member functions related to the initialization of the model
52  public:
53  // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
74  int ReadAndCheckOptionsList(string a_listOptions);
81  int InitializeSpecific();
86  void ShowHelpModelSpecific();
87 
88 
89  // -----------------------------------------------------------------------------------------
90  // Public member functions called by the main iterative algorithm class
91 
92 
93  // -----------------------------------------------------------------------------------------
94  // Data members
95  protected:
96 
97 };
98 
99 // Class for automatic insertion (set here the visible dynamic model's name, put the class name as the parameters and do not add semi-colon at the end of the line)
101 
102 #endif
iLinearModelTemplate()
Constructor of iLinearModelTemplate. Simply set all data members to default values.
This class implements a general linear dynamic model applied between the images of a dynamic acquisit...
~iLinearModelTemplate()
Destructor of iLinearModelTemplate.
int CheckSpecificParameters()
This function is used to check whether all member variables have been correctly initialized or not...
int InitializeSpecific()
This function is used to initialize the model parametric images and basis functions.
#define FUNCTION_DYNAMICMODEL(CLASS)
void ShowHelpModelSpecific()
This function is used to print out specific help about the dynamic model and its options. It is pure virtual so must be implemented by children.
#define CLASS_DYNAMICMODEL(NAME, CLASS)
This class is a child of the vDynamicModel class implementing a template squeleton.
int ReadAndCheckConfigurationFileSpecific()
This function is used to read options from a configuration file, specific to this model...
Declaration of class iLinearModel.
Declaration of class vDynamicModel.
int ReadAndCheckOptionsList(string a_listOptions)