CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/projector/iProjectorTemplate.hh
Go to the documentation of this file.
1 
8 #ifndef IPROJECTORTEMPLATE_HH
9 #define IPROJECTORTEMPLATE_HH 1
10 
11 #include "gVariables.hh"
12 #include "sAddonManager.hh"
13 #include "vProjector.hh"
14 
20 class iProjectorTemplate : public vProjector
21 {
22  // -------------------------------------------------------------------
23  // Constructor & Destructor
24  public:
39 
40 
41  // -------------------------------------------------------------------
42  // Public member functions
43  public:
44  // Function for automatic insertion (put the class name as the parameter and do not add semi-column at the end of the line)
56  int ReadConfigurationFile(const string& a_configurationFile);
67  int ReadOptionsList(const string& a_optionsList);
77 
78 
79  // -------------------------------------------------------------------
80  // Private member functions
81  private:
90  void ShowHelpSpecific();
107  int InitializeSpecific();
117  int ProjectWithoutTOF( int a_direction, oProjectionLine* ap_ProjectionLine );
128  int ProjectTOFListmode( int a_direction, oProjectionLine* ap_ProjectionLine );
139  int ProjectTOFHistogram( int a_direction, oProjectionLine* ap_ProjectionLine );
140 
141 
142  // -------------------------------------------------------------------
143  // Data members
144  private:
145 
146 };
147 
148 
149 // Class for automatic insertion (set here the visible projector's name as the first parameter,
150 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
152 
153 #endif
154 
#define CLASS_PROJECTOR(NAME, CLASS)
iProjectorTemplate()
The constructor of iProjectorTemplate.
int ProjectWithoutTOF(int a_direction, oProjectionLine *ap_ProjectionLine)
int ReadOptionsList(const string &a_optionsList)
INTNB EstimateMaxNumberOfVoxelsPerLine()
This function is used to compute and provide an estimate of the maximum number of voxels that could c...
This class is designed to generically described any on-the-fly projector.
void ShowHelpSpecific()
A function used to show help about the child module.
~iProjectorTemplate()
The destructor of iProjectorTemplate.
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child projector.
int ProjectTOFHistogram(int a_direction, oProjectionLine *ap_ProjectionLine)
Declaration of class vProjector.
int InitializeSpecific()
This function is used to initialize specific stuff to the child projector.
int ReadConfigurationFile(const string &a_configurationFile)
This class is designed to manage and store system matrix elements associated to a vEvent...
#define FUNCTION_PROJECTOR(CLASS)
This class is a child of the vProjector class implementing a template squeleton.
int ProjectTOFListmode(int a_direction, oProjectionLine *ap_ProjectionLine)