4 #ifndef __stir_gpu_ForwardProjectorByBinParallelproj_h__ 5 #define __stir_gpu_ForwardProjectorByBinParallelproj_h__ 30 class ProjDataInMemory;
31 class DataSymmetriesForViewSegmentNumbers;
34 class ParallelprojHelper;
55 void initialise_keymap()
override;
67 void set_up(
const shared_ptr<const ProjDataInfo>& proj_data_info_ptr,
78 void set_defaults()
override;
81 void set_verbosity(
const bool verbosity) { _cuda_verbosity = verbosity; }
88 void set_num_gpu_chunks(
int num_gpu_chunks) { _num_gpu_chunks = num_gpu_chunks; }
89 int get_num_gpu_chunks() {
return _num_gpu_chunks; }
93 const int min_axial_pos_num,
94 const int max_axial_pos_num,
95 const int min_tangential_pos_num,
96 const int max_tangential_pos_num)
override;
99 shared_ptr<DataSymmetriesForViewSegmentNumbers> _symmetries_sptr;
100 shared_ptr<ProjDataInMemory> _projected_data_sptr;
101 shared_ptr<detail::ParallelprojHelper> _helper;
102 bool _do_not_setup_helper;
104 void set_helper(shared_ptr<detail::ParallelprojHelper>);
105 bool _cuda_verbosity;
106 bool _use_truncation;
112 #endif // __stir_gpu_ForwardProjectorByBinParallelproj_h__
void set_use_truncation(const bool use_truncation)
Set use truncation - truncate before forward projection and after back projection.
Definition: ForwardProjectorByBinParallelproj.h:85
void set_verbosity(const bool verbosity)
Set verbosity.
Definition: ForwardProjectorByBinParallelproj.h:81
static const char *const registered_name
Name which will be used when parsing a ForwardProjectorByBin object.
Definition: ForwardProjectorByBinParallelproj.h:45
A class for encoding/finding symmetries. Works only on ViewSegmentNumbers (instead of Bin)...
Definition: DataSymmetriesForViewSegmentNumbers.h:49
Class for Parallelproj's forward projector.
Definition: ForwardProjectorByBinParallelproj.h:41
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
Base class for forward projectors which work on 'large' collections of bins: given the whole image...
A projector pair based on Parallelproj projectors.
Definition: ProjectorByBinPairUsingParallelproj.h:38
Declaration of class stir::RegisteredParsingObject.