CASToR  3.2
Tomographic Reconstruction (PET/SPECT/CT)
include/projector/iProjectorClassicSiddon.hh
Go to the documentation of this file.
1 
8 #ifndef IPROJECTORCLASSICSIDDON_HH
9 #define IPROJECTORCLASSICSIDDON_HH 1
10 
11 #include "gVariables.hh"
12 #include "sAddonManager.hh"
13 #include "vProjector.hh"
14 
23 {
24  // -------------------------------------------------------------------
25  // Constructor & Destructor
26  public:
41 
42 
43  // -------------------------------------------------------------------
44  // Public member functions
45  public:
46  // Function for automatic insertion (put the class name as the parameter and do not add semi-column at the end of the line)
58  int ReadConfigurationFile(const string& a_configurationFile);
69  int ReadOptionsList(const string& a_optionsList);
79 
80 
81  // -------------------------------------------------------------------
82  // Private member functions
83  private:
92  void ShowHelpSpecific();
109  int InitializeSpecific();
119  int ProjectWithoutTOF( int a_direction, oProjectionLine* ap_ProjectionLine );
130  int ProjectTOFListmode( int a_direction, oProjectionLine* ap_ProjectionLine );
141  int ProjectTOFHistogram( int a_direction, oProjectionLine* ap_ProjectionLine );
142 };
143 
144 
145 // Class for automatic insertion (set here the visible projector's name as the first parameter,
146 // put the class name as the second parameter and do NOT add semi-colon at the end of the line)
148 
149 #endif
150 
void ShowHelpSpecific()
A function used to show help about the child projector.
#define CLASS_PROJECTOR(NAME, CLASS)
int ProjectTOFHistogram(int a_direction, oProjectionLine *ap_ProjectionLine)
This class is designed to generically described any on-the-fly projector.
int ReadOptionsList(const string &a_optionsList)
This class is a child of the vProjector class implementing the classic Siddon ray tracer...
iProjectorClassicSiddon()
The constructor of iProjectorClassicSiddon.
Declaration of class vProjector.
~iProjectorClassicSiddon()
The destructor of iProjectorClassicSiddon.
int CheckSpecificParameters()
A private function used to check the parameters settings specific to the child projector.
int ProjectTOFListmode(int a_direction, oProjectionLine *ap_ProjectionLine)
This class is designed to manage and store system matrix elements associated to a vEvent...
INTNB EstimateMaxNumberOfVoxelsPerLine()
This function is used to compute and provide an estimate of the maximum number of voxels that could c...
int ReadConfigurationFile(const string &a_configurationFile)
#define FUNCTION_PROJECTOR(CLASS)
int ProjectWithoutTOF(int a_direction, oProjectionLine *ap_ProjectionLine)
int InitializeSpecific()
This function is used to initialize specific stuff to the child projector.