8 #include "iProjectorTemplate.hh" 9 #include "sOutputManager.hh" 78 cout <<
"This projector is only a squeleton template to explain how to add a projector into CASToR. If you" << endl;
79 cout <<
"want to implement your own projector, start from here and look at the specific documentation." << endl;
124 return max_nb_voxels_in_dimension;
137 Cerr(
"***** iProjectorTemplate::ProjectWithoutTOF() -> Called while not initialized !" << endl);
142 #ifdef CASTOR_VERBOSE 145 string direction =
"";
146 if (a_direction==
FORWARD) direction =
"forward";
147 else direction =
"backward";
148 Cout(
"iProjectorTemplate::Project without TOF -> Project line '" << ap_ProjectionLine <<
"' in " << direction <<
" direction" << endl);
188 Cerr(
"***** iProjectorTemplate::ProjectWithoutTOF() -> Not yet implemented !" << endl);
207 Cerr(
"***** iProjectorTemplate::ProjectTOFListmode() -> Not yet implemented !" << endl);
229 Cerr(
"***** iProjectorTemplate::ProjectTOFHistogram() -> Not yet implemented !" << endl);
bool m_compatibleWithSPECTAttenuationCorrection
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.
oImageDimensionsAndQuantification * mp_ImageDimensionsAndQuantification
~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)
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...
INTNB GetNbVoxXYZ()
Get the total number of voxels.
int ProjectTOFListmode(int a_direction, oProjectionLine *ap_ProjectionLine)
bool m_compatibleWithCompression