28 #ifndef __stir_Bin_H__ 29 #define __stir_Bin_H__ 57 inline Bin(
int segment_num,
int view_num,
int axial_pos_num,
int tangential_pos_num,
float bin_value);
60 inline Bin(
int segment_num,
int view_num,
int axial_pos_num,
int tangential_pos_num);
62 inline Bin(
int segment_num,
int view_num,
int axial_pos_num,
int tangential_pos_num,
int timing_pos_num,
float bin_value);
65 inline Bin(
int segment_num,
int view_num,
int axial_pos_num,
int tangential_pos_num,
int timing_pos_num);
68 inline int axial_pos_num()
const;
70 inline int tangential_pos_num()
const;
72 inline int time_frame_num()
const;
74 inline int& axial_pos_num();
75 inline int& tangential_pos_num();
76 inline int& time_frame_num();
79 inline Bin get_empty_copy()
const;
82 inline float get_bin_value()
const;
84 inline void set_bin_value(
float v);
87 inline Bin& operator+=(
const float dx);
89 inline Bin& operator*=(
const float dx);
93 inline Bin& operator/=(
const float dx);
96 inline bool operator==(
const Bin&)
const;
97 inline bool operator!=(
const Bin&)
const;
A small bundle of a Bin and its additive correction value.
Definition: Bin.h:110
Implementations of inline functions of class stir::Bin.
Definition of class stir::ViewgramIndices.
A class for storing coordinates and value of a single projection bin.
Definition: Bin.h:48
A very simple class to store all dincies to get a (2D) Viewgram.
Definition: ViewgramIndices.h:32