STIR  6.2.0
BloodFrame.h
Go to the documentation of this file.
1 //
2 //
3 /*
4  Copyright (C) 2005 - 2005, Hammersmith Imanet Ltd
5  This file is part of STIR.
6 
7  SPDX-License-Identifier: Apache-2.0
8 
9  See STIR/LICENSE.txt for details
10 */
21 #ifndef __stir_modelling_BloodFrame_H__
22 #define __stir_modelling_BloodFrame_H__
23 
24 #include "stir/common.h"
25 #include <vector>
26 #include <fstream>
27 
28 START_NAMESPACE_STIR
29 
30 class BloodFrame
31 {
32 public:
34  inline BloodFrame();
35 
37  inline BloodFrame(const unsigned int frame_num, const float blood_counts);
38 
40  inline BloodFrame(const unsigned int frame_num,
41  const float frame_start_time_in_s,
42  const float frame_end_time_in_s,
43  const float blood_counts);
44 
46  inline ~BloodFrame();
47 
49  inline void set_frame_start_time_in_s(const float frame_start_time_in_s);
51  inline void set_frame_end_time_in_s(const float frame_end_time_in_s);
53  inline float get_frame_start_time_in_s() const;
55  inline float get_frame_end_time_in_s() const;
57  inline void set_frame_num(const unsigned int frame_num);
59  inline unsigned int get_frame_num() const;
61  inline void set_blood_counts_in_kBq(const float blood_counts);
63  inline float get_blood_counts_in_kBq() const;
64 
65 private:
66  float _blood_counts;
67  float _frame_start_time_in_s;
68  float _frame_end_time_in_s;
69  unsigned int _frame_num;
70 };
71 
72 END_NAMESPACE_STIR
73 
74 #include "stir_experimental/modelling/BloodFrame.inl"
75 
76 #endif //__stir_modelling_BloodFrame_H__
basic configuration include file