7 #ifndef __stir_motion_RigidObject3DMotionFromPolaris__H__ 8 #define __stir_motion_RigidObject3DMotionFromPolaris__H__ 66 const double end_time)
const override;
70 std::vector<double> get_rel_time_of_samples(
const double start_time,
const double end_time)
const override;
73 void set_mask_for_tags(
const unsigned int mask_for_tags);
77 double secs_since_1970_to_rel_time(std::time_t)
const override;
82 Succeeded set_mt_file(
const std::string& mt_filename);
83 Succeeded set_list_mode_data_file(
const std::string& lm_filename);
85 void set_defaults()
override;
86 void initialise_keymap()
override;
87 bool post_processing()
override;
102 bool is_synchronised()
const override;
104 double rel_time_to_polaris_time(
const double time)
const;
105 double polaris_time_to_rel_time(
const double time)
const;
109 shared_ptr<Polaris_MT_File> mt_file_ptr;
110 std::string mt_filename;
111 std::string list_mode_filename;
115 unsigned int _mask_for_tags;
118 std::string transformation_from_scanner_coordinates_filename;
127 double max_time_offset_deviation;
130 double max_time_drift_deviation;
132 std::time_t listmode_data_start_time_in_secs;
The base class for reading PET (i.e. coincidence) list mode data.The only difference w...
Definition: CListModeData.h:50
double get_max_time_offset_deviation() const
Gets boundaries to determine when the time offset is out of bounds.
Definition: RigidObject3DMotionFromPolaris.h:91
Declaration of class stir::CListModeData.
void set_max_time_drift_deviation(const double v)
Sets boundaries to determine when the time drift is too large.
Definition: RigidObject3DMotionFromPolaris.h:98
static const char *const registered_name
Name which will be used when parsing a MotionTracking object.
Definition: RigidObject3DMotionFromPolaris.h:56
Declaration of class stir::Polaris_MT_File.
double get_max_time_drift_deviation() const
Gets boundaries to determine when the time drift is too large.
Definition: RigidObject3DMotionFromPolaris.h:96
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
Declaration of class stir::RigidObject3DMotion.
void set_max_time_offset_deviation(const double v)
Sets boundaries to determine when the time offset is out of bounds.
Definition: RigidObject3DMotionFromPolaris.h:93
a class containing an enumeration type that can be used by functions to signal successful operation o...
Definition: Succeeded.h:43
Declaration of class stir::RegisteredParsingObject.
A class for handling motion information from the Polaris tracker.
Definition: RigidObject3DMotionFromPolaris.h:50