CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
iDeformationTemplate.hh
Go to the documentation of this file.
1 
8 #ifndef IDEFORMATIONTEMPLATE_HH
9 #define IDEFORMATIONTEMPLATE_HH 1
10 
11 // (Optional) may be required if one want access to the image matrices
12 #include "oImageSpace.hh"
13 // Required to automatically add the class in the CASToR code
14 #include "sAddonManager.hh"
15 // Mother class of deformation model
16 #include "vDeformation.hh"
17 
18 
25 {
26  // -----------------------------------------------------------------------------------------
27  // Constructor & Destructor
28  public:
39 
40 
41  // -----------------------------------------------------------------------------------------
42  // Public member functions
43  public:
44  // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
52  int ReadAndCheckConfigurationFile(const string& a_fileOptions);
59  int ReadAndCheckOptionsList(const string& a_listOptions);
73  int Initialize();
78  void ShowHelp();
88  int ApplyDeformations(FLTNB* ap_inputImage, FLTNB* ap_outputImage, int a_direction, int a_defIdx);
89 
90 
91  // -----------------------------------------------------------------------------------------
92  // Private member functions
93  private:
94 
95 
96  // -----------------------------------------------------------------------------------------
97  // Data members
98  private:
99 
100 };
101 
102 // Class for automatic insertion (set here the visible image deformation's name, put the class name as the parameters and do not add semi-colon at the end of the line)
104 
105 #endif
#define FLTNB
Definition: gVariables.hh:55
int CheckSpecificParameters()
This function is an implementation of the pure virtual mother function. It is used to check parameter...
#define CLASS_DEFORMATION(NAME, CLASS)
~iDeformationTemplate()
Destructor of iDeformationTemplate. Free memory from all allocated tabs.
int Initialize()
This function is an implementation of the pure virtual mother function. It is used to initialize spec...
#define FUNCTION_DEFORMATION(CLASS)
This is the mother class of image-based transformation class.
Definition: vDeformation.hh:44
int ReadAndCheckConfigurationFile(const string &a_fileOptions)
This function is an implementation of the pure virtual mother function. It is used to read options fr...
Declaration of class vDeformation.
void ShowHelp()
This function is used to print out specific help about the deformation model and its options...
Declaration of class oImageSpace.
int ReadAndCheckOptionsList(const string &a_listOptions)
This function is an implementation of the pure virtual mother function. It is used to read options fr...
This class is a child of the vDeformation class implementing a template squeleton.
iDeformationTemplate()
Constructor of iDeformationTemplate. Simply set all data members to default values.
int ApplyDeformations(FLTNB *ap_inputImage, FLTNB *ap_outputImage, int a_direction, int a_defIdx)
This function is an implementation of the pure virtual mother function. The actual deformation should...
Declaration of class sAddonManager.