21 #ifndef mia_core_regmodel_hh 22 #define mia_core_regmodel_hh 38 struct RegistrationTraits {
39 typedef void need_to_declare_RegistrationTraits_for_DIM;
40 typedef need_to_declare_RegistrationTraits_for_DIM Data;
41 typedef need_to_declare_RegistrationTraits_for_DIM Force;
58 typedef typename RegistrationTraits<Dim>::Data
Data;
61 typedef typename RegistrationTraits<Dim>::Force
Force;
82 void solve (
const Force& b, Transformation& x)
const;
88 float get_force_scale()
const;
90 virtual void do_solve(
const Force& b, Transformation& x)
const = 0;
91 virtual float do_get_force_scale()
const;
117 return do_get_force_scale();
RegistrationTraits< Dim >::Data Data
Imaga data type for the registration model.
static const char * type_descr
#define NS_MIA_BEGIN
conveniance define to start the mia namespace
Base class for PDE model based registrations.
void solve(const Force &b, Transformation &x) const
Data plugin_data
plug-in helper type for search path evaluation
RegistrationTraits< Dim >::Transformation Transformation
transformation type for the registrationmodel
regmodel_type plugin_type
plug-in helper type for search path evaluation
#define EXPORT_CORE
Macro to manage Visual C++ style dllimport/dllexport.
The base class for all plug-in created object.
float get_force_scale() const
RegistrationTraits< Dim >::Force Force
gradient force data type for the registration model
#define NS_MIA_END
conveniance define to end the mia namespace