23ProjMatrixElemsForOneDenselValue::ProjMatrixElemsForOneDenselValue(
const Bin& bin)
27ProjMatrixElemsForOneDenselValue::ProjMatrixElemsForOneDenselValue()
31ProjMatrixElemsForOneDenselValue&
43 static_cast<Bin&
>(*this) += d;
63 const ProjMatrixElemsForOneDenselValue& el2)
71 const ProjMatrixElemsForOneDenselValue& el2)
83operator==(
const ProjMatrixElemsForOneDenselValue& el1,
const ProjMatrixElemsForOneDenselValue& el2)
85 return static_cast<const Bin&
>(el1) ==
static_cast<const Bin&
>(el2);
89operator<(
const ProjMatrixElemsForOneDenselValue& el1,
const ProjMatrixElemsForOneDenselValue& el2)
float get_bin_value() const
get the value after forward projection
Definition Bin.inl:123
int tangential_pos_num() const
get tangential position number
Definition Bin.inl:76
int axial_pos_num() const
get axial position number
Definition Bin.inl:70
Bin()
default constructor (leaves most members uninitialised)
Definition Bin.inl:30
void set_bin_value(float v)
set the value to be back projected
Definition Bin.inl:129
Stores voxel coordinates and the value of the matrix element.
Definition ProjMatrixElemsForOneDenselValue.h:42
friend bool operator==(const ProjMatrixElemsForOneDenselValue &el1, const ProjMatrixElemsForOneDenselValue &el2)
Checks coordinates and value are equal.
Definition ProjMatrixElemsForOneDenselValue.inl:83
static bool coordinates_less(const ProjMatrixElemsForOneDenselValue &el1, const ProjMatrixElemsForOneDenselValue &el2)
Checks lexicographical order of the coordinates.
Definition ProjMatrixElemsForOneDenselValue.inl:70
ProjMatrixElemsForOneDenselValue & operator/=(const float d)
Divides the value of with a float.
Definition ProjMatrixElemsForOneDenselValue.inl:55
friend bool operator<(const ProjMatrixElemsForOneDenselValue &el1, const ProjMatrixElemsForOneDenselValue &el2)
Checks lexicographical order of the coordinates and the value.
Definition ProjMatrixElemsForOneDenselValue.inl:89
ProjMatrixElemsForOneDenselValue & operator*=(const float d)
Multiplies the value of with a float.
Definition ProjMatrixElemsForOneDenselValue.inl:48
ProjMatrixElemsForOneDenselValue & operator+=(const ProjMatrixElemsForOneDenselValue &el2)
Adds el2.get_value() to the value of the current object.
Definition ProjMatrixElemsForOneDenselValue.inl:32
static bool coordinates_equal(const ProjMatrixElemsForOneDenselValue &el1, const ProjMatrixElemsForOneDenselValue &el2)
Checks if the coordinates are equal.
Definition ProjMatrixElemsForOneDenselValue.inl:62
int segment_num() const
get segment number for const objects
Definition SegmentIndices.inl:32
int view_num() const
get view number for const objects
Definition ViewgramIndices.inl:36