CASToR  1.0
Tomographic Reconstruction (PET/SPECT)
iDeformationTemplate.hh
Go to the documentation of this file.
00001 
00008 #ifndef IDEFORMATIONTEMPLATE_HH
00009 #define IDEFORMATIONTEMPLATE_HH 1
00010 
00011 // (Optional) may be required if one want access to the image matrices
00012 #include "oImageSpace.hh"
00013 // Required to automatically add the class in the CASToR code
00014 #include "sAddonManager.hh"
00015 // Mother class of deformation model
00016 #include "vDeformation.hh"
00017 
00018 
00024 class iDeformationTemplate : public vDeformation
00025 {
00026   // -----------------------------------------------------------------------------------------
00027   // Constructor & Destructor
00028   public:
00033     iDeformationTemplate();
00038     ~iDeformationTemplate();
00039 
00040 
00041   // -----------------------------------------------------------------------------------------
00042   // Public member functions
00043   public:
00044     // Function for automatic insertion (put the class name as the parameters and do not add semi-colon at the end of the line)
00045     FUNCTION_DEFORMATION(iDeformationTemplate)
00052     int ReadAndCheckConfigurationFile(const string& a_fileOptions);
00059     int ReadAndCheckOptionsList(const string& a_listOptions);
00066     int CheckSpecificParameters();
00073     int Initialize();
00078     void ShowHelp();
00088     int ApplyDeformations(FLTNB* ap_inputImage, FLTNB* ap_outputImage, int a_direction, int a_defIdx);
00089 
00090 
00091   // -----------------------------------------------------------------------------------------
00092   // Private member functions
00093   private:
00094 
00095 
00096   // -----------------------------------------------------------------------------------------
00097   // Data members
00098   private:
00099   
00100 };
00101 
00102 // 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)
00103 CLASS_DEFORMATION(template,iDeformationTemplate)
00104 
00105 #endif
 All Classes Files Functions Variables Typedefs Defines