28 shared_ptr<ExamInfo> sptr(this->
clone());
35 low_energy_thres = new_val;
41 up_energy_thres = new_val;
47 calibration_factor = cal_val;
59 return low_energy_thres;
65 return up_energy_thres;
71 return this->calibration_factor;
83 this->up_energy_thres = other.up_energy_thres;
84 this->low_energy_thres = other.low_energy_thres;
float get_low_energy_thres() const
Get the low energy boundary.
Definition ExamInfo.inl:57
float get_calibration_factor() const
Get the calibration factor.
Definition ExamInfo.inl:69
void set_energy_information_from(const ExamInfo &)
Copy energy information from another ExamInfo.
Definition ExamInfo.inl:81
ExamInfo(const ImagingModality modality=ImagingModality::Unknown)
Default constructor.
Definition ExamInfo.h:51
float get_high_energy_thres() const
Get the high energy boundary.
Definition ExamInfo.inl:63
shared_ptr< ExamInfo > create_shared_clone() const
Like clone() but return a shared_ptr.
Definition ExamInfo.inl:26
Radionuclide get_radionuclide() const
Get the radionuclide name.
Definition ExamInfo.inl:75
ExamInfo * clone() const
Standard trick for a 'virtual copy-constructor'.
Definition ExamInfo.inl:20
void set_radionuclide(const Radionuclide &arg)
Set the radionuclide.
Definition ExamInfo.inl:51
void set_high_energy_thres(float new_val)
Set the high energy boundary.
Definition ExamInfo.inl:39
void set_low_energy_thres(float new_val)
Set the low energy boundary.
Definition ExamInfo.inl:33
void set_calibration_factor(const float cal_val)
Set the Calibration factor.
Definition ExamInfo.inl:45
A class for storing radionuclide information.
Definition Radionuclide.h:34