21 #ifndef __stir_gpu_BackProjectorByBinParallelproj_h__ 22 #define __stir_gpu_BackProjectorByBinParallelproj_h__ 30 class DataSymmetriesForViewSegmentNumbers;
31 class ProjDataInMemory;
34 class ParallelprojHelper;
53 void initialise_keymap()
override;
59 void set_up(
const shared_ptr<const ProjDataInfo>& proj_data_info_ptr,
67 void back_project(
const ProjData&,
int subset_num = 0,
int num_subsets = 1);
75 void start_accumulating_in_new_target()
override;
78 void set_defaults()
override;
83 _cuda_verbosity = verbosity;
87 void set_num_gpu_chunks(
int num_gpu_chunks)
89 _num_gpu_chunks = num_gpu_chunks;
91 int get_num_gpu_chunks()
93 return _num_gpu_chunks;
100 const int min_axial_pos_num,
101 const int max_axial_pos_num,
102 const int min_tangential_pos_num,
103 const int max_tangential_pos_num)
override;
106 shared_ptr<DataSymmetriesForViewSegmentNumbers> _symmetries_sptr;
107 shared_ptr<ProjDataInMemory> _proj_data_to_backproject_sptr;
108 shared_ptr<detail::ParallelprojHelper> _helper;
109 bool _do_not_setup_helper;
111 void set_helper(shared_ptr<detail::ParallelprojHelper>);
112 bool _cuda_verbosity;
118 #endif // __stir_gpu_BackProjectorByBinParallelproj_h__
Class for Parallelproj's back projector.
Definition: BackProjectorByBinParallelproj.h:41
A class for encoding/finding symmetries. Works only on ViewSegmentNumbers (instead of Bin)...
Definition: DataSymmetriesForViewSegmentNumbers.h:49
static const char *const registered_name
Name which will be used when parsing a BackProjectorByBin object.
Definition: BackProjectorByBinParallelproj.h:45
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
A projector pair based on Parallelproj projectors.
Definition: ProjectorByBinPairUsingParallelproj.h:38
Declares class stir::BackProjectorByBin.
Declaration of class stir::RegisteredParsingObject.
void set_verbosity(const bool verbosity)
Set verbosity.
Definition: BackProjectorByBinParallelproj.h:81
The (abstract) base class for the projection data.
Definition: ProjData.h:103