CASToR  1.0
Tomographic Reconstruction (PET/SPECT)
oDynamicModelManager.hh
Go to the documentation of this file.
00001 
00011 #ifndef ODYNAMICMODELMANAGER_HH
00012 #define ODYNAMICMODELMANAGER_HH 1
00013 
00014 #include "gVariables.hh"
00015 #include "vDynamicModel.hh"
00016 #include "vDataFile.hh"
00017 
00018 
00019 
00028 class oDynamicModelManager
00029 {
00030   // -----------------------------------------------------------------------------------------
00031   // Constructor & Destructor
00032   public:
00037     oDynamicModelManager();
00042     ~oDynamicModelManager();
00043 
00044   // -----------------------------------------------------------------------------------------
00045   // Public member functions
00046   public:
00053     int CheckParameters();
00060     int Initialize();
00070     int ApplyDynamicModel(oImageSpace* ap_ImageS, int a_ite, int a_sset);
00078     int SaveParametricImages(int a_ite);
00079 
00080 
00081   // -----------------------------------------------------------------------------------------
00082   // Public Get & Set functions
00083   public:
00089     inline void SetVerbose(int a_verboseLevel)
00090            {m_verbose = a_verboseLevel;}
00096     inline void SetImageDimensionsAndQuantification(oImageDimensionsAndQuantification* ap_ImageDimensionsAndQuantification) 
00097                                                    {mp_ID = ap_ImageDimensionsAndQuantification;}
00103     inline void SetOptions(const string& a_options)
00104            {m_options = a_options;}
00110     inline bool UseModel()
00111            {return m_UseModel;}
00112 
00113 
00114   // -----------------------------------------------------------------------------------------
00115   // Private member functions
00116   private:
00128     int ParseOptionsAndInitializeModel();
00129 
00130 
00131   // -----------------------------------------------------------------------------------------
00132   // Data members
00133   private:
00134 
00135     oImageDimensionsAndQuantification* mp_ID; 
00136     string m_options;                         
00137     vDynamicModel* mp_DynamicModel;           
00138     bool m_UseModel;                          
00139     int m_verbose;                            
00140     bool m_checked;                           
00141     bool m_initialized;                       
00142 };
00143 
00144 
00145 #endif
 All Classes Files Functions Variables Typedefs Defines