CASToR  1.1
Tomographic Reconstruction (PET/SPECT)
 All Classes Files Functions Variables Typedefs Macros Groups Pages
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 
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 ProjectWithTOFPos( int a_direction, oProjectionLine* ap_ProjectionLine );
139  int ProjectWithTOFBin( 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 
This header file is mainly used to declare some macro definitions and all includes needed from the st...
int ProjectWithTOFBin(int a_direction, oProjectionLine *ap_ProjectionLine)
A function to project with TOF binned information.
iProjectorTemplate()
The constructor of iProjectorTemplate.
int ProjectWithoutTOF(int a_direction, oProjectionLine *ap_ProjectionLine)
A function to project without TOF.
int ReadOptionsList(const string &a_optionsList)
A function used to read options from a list of options.
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.
Definition: vProjector.hh:54
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.
Declaration of class vProjector.
int InitializeSpecific()
This function is used to initialize specific stuff to the child projector.
#define FUNCTION_PROJECTOR(CLASS)
Definition: vProjector.hh:331
int ReadConfigurationFile(const string &a_configurationFile)
A function used to read options from a configuration file.
#define INTNB
Definition: gVariables.hh:64
This class is designed to manage and store system matrix elements associated to a vEvent...
int ProjectWithTOFPos(int a_direction, oProjectionLine *ap_ProjectionLine)
A function to project with TOF continuous information.
This class is a child of the vProjector class implementing a template squeleton.
#define CLASS_PROJECTOR(NAME, CLASS)
Definition: vProjector.hh:335
Declaration of class sAddonManager.