8#ifndef __stir_motion_MatchTrackerAndScanner_H__
9#define __stir_motion_MatchTrackerAndScanner_H__
89class MatchTrackerAndScanner :
public ParsingObject
92 MatchTrackerAndScanner(
const char*
const par_filename);
101 double get_frame_start_time(
unsigned frame_num)
const {
return frame_defs.get_start_time(frame_num) + scan_start_time; }
103 double get_frame_end_time(
unsigned frame_num)
const {
return frame_defs.get_end_time(frame_num) + scan_start_time; }
105 const std::string& get_image_filename_prefix()
const {
return _image_filename_prefix; }
111 return _transformation_from_scanner_coords;
117 int scan_start_time_secs_since_1970_UTC;
118 double _current_frame_end_time;
119 double _current_frame_start_time;
129 double scan_start_time;
131 std::string _image_filename_prefix;
133 float relative_threshold;
136 shared_ptr<RigidObject3DMotion> _ro3d_sptr;
Declaration of class stir::ParsingObject.
Declaration of class stir::RigidObject3DMotion.
Declaration of class stir::Succeeded.
Declaration of class stir::TimeFrameDefinitions.
void initialise_keymap() override
Initialise all keywords.
Definition MatchTrackerAndScanner.cxx:50
std::string frame_definition_filename
parsing variables
Definition MatchTrackerAndScanner.h:127
bool post_processing() override
This will be called at the end of the parsing.
Definition MatchTrackerAndScanner.cxx:76
Succeeded run()
finds the match when all parameters have been set
Definition MatchTrackerAndScanner.cxx:138
void set_defaults() override
parsing functions
Definition MatchTrackerAndScanner.cxx:42
Base class for 3D rigid motion.
Definition RigidObject3DMotion.h:47
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition Succeeded.h:44
Class used for storing time frame durations.
Definition TimeFrameDefinitions.h:39
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast into the stir names...