34RelatedBins::RelatedBins(
const std::vector<Bin>& related_bins_v,
const shared_ptr<DataSymmetriesForBins>& symmetries_used)
35 : related_bins(related_bins_v),
36 symmetries(symmetries_used)
42 return static_cast<int>(related_bins.size());
48 assert(related_bins.size() != 0);
49 return related_bins[0];
54RelatedBins:: get_proj_data_info_sptr()
const
57 return related_bins[0].get_proj_data_info_sptr();
61const DataSymmetriesForBins*
64 return symmetries.get();
70 return related_bins.
begin();
76 return related_bins.
end();
79RelatedBins::const_iterator
82 return related_bins.
begin();
85RelatedBins::const_iterator
88 return related_bins.
end();
Declaration of class stir::Bin.
Declaration of class stir::DataSymmetriesForBins.
A class for storing coordinates and value of a single projection bin.
Definition Bin.h:49
An (abstract base) class that contains information on the projection data.
Definition ProjDataInfo.h:70
iterator begin()
use to initialise an iterator to the first element of the vector
Definition VectorWithOffset.inl:190
iterator end()
iterator 'past' the last element of the vector
Definition VectorWithOffset.inl:206