30template <
typename elemT>
32template <
typename elemT>
49template <
typename elemT>
52#ifdef STIR_COMPILING_SWIG_WRAPPER
56 typedef Segment<elemT> self_type;
65 virtual StorageOrder get_storage_order()
const = 0;
72 int get_min_axial_pos_num()
const;
73 int get_max_axial_pos_num()
const;
74 int get_num_axial_poss()
const;
119 inline Segment(
const shared_ptr<const ProjDataInfo>& proj_data_info_sptr_v,
const SegmentIndices&);
declaration of stir::DataWithProjDataInfo
Definition of class stir::SegmentIndices.
implementation of inline functions of class stir::Segment
Definition of class stir::SinogramIndices.
Definition of class stir::ViewgramIndices.
DataWithProjDataInfo()
Default constructor sets internal member to 0.
Definition DataWithProjDataInfo.cxx:20
A very simple class to store segment numbers and any other indices that define a segment.
Definition SegmentIndices.h:34
virtual void set_viewgram(const Viewgram< elemT > &v)=0
set data in segment according to viewgram v
virtual Viewgram< elemT > get_viewgram(int view_num) const =0
return a new viewgram, with data set as in the segment
bool operator!=(const self_type &) const
negation of operator==
Definition Segment.cxx:72
int get_segment_num() const
Get the segment number.
Definition Segment.inl:42
Viewgram< elemT > get_viewgram(const ViewgramIndices &) const
return a new viewgram, with data set as in the segment
Definition Segment.inl:84
bool has_same_characteristics(self_type const &) const
Checks if the 2 objects have the proj_data_info, segment_num etc.
Definition Segment.cxx:64
virtual Sinogram< elemT > get_sinogram(int axial_pos_num) const =0
return a new sinogram, with data set as in the segment
virtual bool operator==(const self_type &) const =0
check equality (data has to be identical)
bool has_same_characteristics(self_type const &, std::string &explanation) const
Checks if the 2 objects have the proj_data_info, segment_num etc.
Definition Segment.cxx:35
Sinogram< elemT > get_sinogram(const SinogramIndices &s) const
return a new sinogram, with data set as in the segment
Definition Segment.inl:77
int get_timing_pos_num() const
Get the timing position index.
Definition Segment.inl:49
virtual void set_sinogram(const Sinogram< elemT > &s)=0
set data in segment according to sinogram s
virtual void set_sinogram(const Sinogram< elemT > &s, int axial_pos_num)=0
set sinogram at a different axial_pos_num
A very simple class to store all dincies to get a (2D) Sinogram.
Definition SinogramIndices.h:34
A class for 2d projection data.
Definition Sinogram.h:47
A very simple class to store all dincies to get a (2D) Viewgram.
Definition ViewgramIndices.h:33
A class for 2d projection data.
Definition Viewgram.h:49
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...