19 #ifndef __stir_ProjDataInfoSubsetByView__H__ 20 #define __stir_ProjDataInfoSubsetByView__H__ 48 ProjDataInfoSubsetByView(
const shared_ptr<const ProjDataInfo> org_proj_data_info_sptr,
const std::vector<int>& views);
54 bool contains_full_data()
const;
57 std::vector<int> get_original_view_nums()
const override;
60 Bin get_original_bin(
const Bin& bin)
const;
63 Bin get_bin_from_original(
const Bin& org_bin)
const;
67 void reduce_segment_range(
const int min_segment_num,
const int max_segment_num)
override;
70 void set_num_views(
const int new_num_views)
override;
75 void set_num_tangential_poss(
const int num_tang_poss)
override;
80 void set_num_axial_poss_per_segment(
const VectorWithOffset<int>& num_axial_poss_per_segment)
override;
85 void set_min_axial_pos_num(
const int min_ax_pos_num,
const int segment_num)
override;
90 void set_max_axial_pos_num(
const int max_ax_pos_num,
const int segment_num)
override;
95 void set_min_tangential_pos_num(
const int min_tang_poss)
override;
100 void set_max_tangential_pos_num(
const int max_tang_poss)
override;
108 float get_tantheta(
const Bin&)
const override;
114 float get_phi(
const Bin&)
const override;
119 float get_t(
const Bin&)
const override;
124 float get_m(
const Bin&)
const override;
129 float get_s(
const Bin&)
const override;
145 float get_sampling_in_t(
const Bin&)
const override;
150 float get_sampling_in_m(
const Bin&)
const override;
155 float get_sampling_in_s(
const Bin&)
const override;
162 Bin get_bin(
const LOR<float>&,
const double delta_time = 0.0)
const override;
170 bool operator>=(
const ProjDataInfo& proj)
const override;
172 std::string parameter_info()
const override;
175 shared_ptr<const ProjDataInfo> get_original_proj_data_info_sptr()
const;
178 bool blindly_equals(
const root_type*
const)
const override;
181 shared_ptr<ProjDataInfo> org_proj_data_info_sptr;
183 std::vector<int> view_to_org_view_num;
185 std::vector<int> org_view_to_view_num;
Declaration of class stir::ProjDataInfo.
A class for storing coordinates and value of a single projection bin.
Definition: Bin.h:48
Projection data info for data corresponding to a subset sampling by views.
Definition: ProjDataInfoSubsetByView.h:37
A class for LORs.
Definition: LORCoordinates.h:40
An (abstract base) class that contains information on the projection data.
Definition: ProjDataInfo.h:69