27#ifndef __SegmentBySinogram_H__
28#define __SegmentBySinogram_H__
37template <
typename elemT>
49template <
typename elemT>
61 const shared_ptr<const ProjDataInfo>& proj_data_info_ptr_v,
72 const shared_ptr<const ProjDataInfo>& proj_data_info_ptr_v,
73 const int segment_num,
74 const int timing_pos_num = 0);
81 const int segment_num,
82 const int timing_pos_num = 0);
105 bool operator==(
const Segment<elemT>&)
const override;
112 void check_state()
const;
defines the stir::Array class for multi-dimensional (numeric) arrays
Implementations of inline functions of class stir::SegmentBySinogram.
Declaration of class stir::Segment.
Declaration of class stir::Sinogram.
This class defines ranges which can be 'irregular'.
Definition IndexRange.h:69
StorageOrder get_storage_order() const override
Get storage order.
Definition SegmentBySinogram.inl:32
Sinogram< elemT > get_sinogram(int axial_pos_num) const override
Get sinogram.
Definition SegmentBySinogram.inl:39
Viewgram< elemT > get_viewgram(int view_num) const override
Get viewgram.
Definition SegmentBySinogram.cxx:105
SegmentBySinogram(const Array< 3, elemT > &v, const shared_ptr< const ProjDataInfo > &proj_data_info_ptr_v, const SegmentIndices &ind)
Constructor that sets the data to a given 3d Array.
Definition SegmentBySinogram.cxx:34
void resize(const IndexRange< 3 > &range) override
Overloading Array::resize.
Definition SegmentBySinogram.cxx:133
void grow(const IndexRange< 3 > &range) override
Overloading Array::grow.
Definition SegmentBySinogram.cxx:163
Segment< elemT >::StorageOrder StorageOrder
typedef such that we do not need to have typename wherever we StorageOrder
Definition SegmentBySinogram.h:57
void set_viewgram(const Viewgram< elemT > &) override
Set viewgram.
Definition SegmentBySinogram.cxx:121
void set_sinogram(Sinogram< elemT > const &s, int axial_pos_num) override
Set sinogram.
Definition SegmentBySinogram.inl:50
A class for storing (3d) projection data with fixed SegmentIndices.
Definition SegmentByView.h:52
A very simple class to store segment numbers and any other indices that define a segment.
Definition SegmentIndices.h:34
A class for 2d projection data.
Definition Sinogram.h:47
A class for 2d projection data.
Definition Viewgram.h:49