STIR
6.2.0
|
A class for encoding average motion in the frames. More...
#include "stir_experimental/motion/TimeFrameMotion.h"
Public Member Functions | |
virtual Succeeded | process_data ()=0 |
void | move_to_reference (const bool) |
void | set_frame_num_to_process (const int) |
int | get_frame_num_to_process () const |
const RigidObject3DTransformation & | get_current_rigid_object_transformation () const |
get transformation from (or to) reference for current frame More... | |
const RigidObject3DTransformation & | get_rigid_object_transformation_to_reference () const |
Get the transformation to the reference as returned by the RigidObject3DMotion object. | |
const TimeFrameDefinitions & | get_time_frame_defs () const |
double | get_frame_start_time (unsigned frame_num) const |
double | get_frame_end_time (unsigned frame_num) const |
const RigidObject3DMotion & | get_motion () const |
Public Member Functions inherited from stir::ParsingObject | |
ParsingObject (const ParsingObject &) | |
ParsingObject & | operator= (const ParsingObject &) |
void | ask_parameters () |
virtual std::string | parameter_info () |
bool | parse (std::istream &f) |
bool | parse (const char *const filename) |
Protected Member Functions | |
void | set_defaults () override |
parsing functions | |
void | initialise_keymap () override |
Initialise all keywords. | |
bool | post_processing () override |
This will be called at the end of the parsing. More... | |
Protected Member Functions inherited from stir::ParsingObject | |
virtual void | set_key_values () |
This will be called before parsing or parameter_info is called. More... | |
Additional Inherited Members | |
Protected Attributes inherited from stir::ParsingObject | |
KeyParser | parser |
A class for encoding average motion in the frames.
; see stir::TimeFrameDefinitions time frame_definition filename := frame_definition_filename ; next parameter is optional (and not normally necessary) ; it can be used if the frame definitions are relative to another scan as what ; is used to for the rigid object motion (i.e. currently the list mode data used ; for the Polaris synchronisation) ; scan_start_time_secs_since_1970_UTC ; next parameter defines transformation 'direction', defaults to 1 ;move_to_reference := 1 ; next can be set to do only 1 frame, defaults means all frames ;frame_num_to_process := -1 ; specify motion, see stir::RigidObject3DMotion Rigid Object 3D Motion Type := type ; specify reference position, see stir::AbsTimeInterval time interval for reference position type:= type END :=
const RigidObject3DTransformation & stir::TimeFrameMotion::get_current_rigid_object_transformation | ( | ) | const |
get transformation from (or to) reference for current frame
This is computed using RigidObject3DTransformation::compute_average_motion_in_scanner_coords for the current frame.
|
overrideprotectedvirtual |
This will be called at the end of the parsing.
Reimplemented from stir::ParsingObject.
References stir::warning().