16 #ifndef __stir_motion_NonRigidObjectTransformationUsingBSplines_H__ 17 #define __stir_motion_NonRigidObjectTransformationUsingBSplines_H__ 30 template <
int num_dimensions,
class elemT>
31 class DeformationFieldOnCartesianGrid :
public BasicCoordinate<num_dimensions, Array<num_dimensions, elemT>>
35 DeformationFieldOnCartesianGrid() {}
42 template <
int num_dimensions,
class elemT>
45 ObjectTransformation<num_dimensions, elemT>,
46 ObjectTransformation<num_dimensions, elemT>>
49 static const char*
const registered_name;
57 const std::string& filename_y,
58 const std::string& filename_z,
59 const int bspline_order);
69 virtual void set_defaults();
70 virtual void initialise_keymap();
71 virtual bool post_processing();
72 virtual void set_key_values();
83 shared_ptr<DeformationFieldOnCartesianGrid<num_dimensions, elemT>> deformation_field_sptr;
86 std::string _deformation_field_from_NCAT_file;
89 std::string _deformation_field_from_file_x;
90 std::string _deformation_field_from_file_y;
91 std::string _deformation_field_from_file_z;
93 std::string _deformation_field_multicomponent_filename;
100 operator<<(std::ostream& out,
106 operator>>(std::istream& ,
BSplineType
enum providing constants to define the type of B-Spline used for interpolation
Definition: BSplines.h:37
Implementation of the n-dimensional B-Splines Interpolation.
Import of std::shared_ptr, std::dynamic_pointer_cast and std::static_pointer_cast (or corresponding b...
Parent class for all leaves in a RegisteredObject hierarchy that do parsing of parameter files...
Definition: RegisteredParsingObject.h:77
Implementation of the basic components and declarations for B-Splines Interpolation.
defines the stir::CartesianCoordinate3D<coordT> class
Declaration of class stir::RegisteredParsingObject.