20 #ifndef MIRTK_TransformationApproximationError_H 21 #define MIRTK_TransformationApproximationError_H 23 #include "mirtk/ObjectiveFunction.h" 25 #include "mirtk/Array.h" 26 #include "mirtk/Vector3D.h" 27 #include "mirtk/Transformation.h" 51 mirtkReadOnlyAttributeMacro(
int, NumberOfTimePoints);
57 mirtkReadOnlyAttributeMacro(
Point, TargetCenter);
60 mirtkReadOnlyAttributeMacro(
Point, SourceCenter);
64 Array<PointSet> _Target;
65 Array<double> _TargetTime;
66 Array<PointSet> _Current;
67 Array<PointSet> _Source;
77 const double *,
const double *,
const double *,
const double *,
78 const double *,
const double *,
const double *,
int);
102 virtual void Put(
const double *x);
109 virtual double Get(
int i)
const;
119 virtual void Get(
double *x)
const;
131 virtual double Step(
double *dx);
137 virtual void Update(
bool gradient =
true);
143 virtual double Value();
151 virtual void Gradient(
double *dx,
double step = .0,
bool *sgn_chg = NULL);
169 #endif // MIRTK_TransformationApproximationError_H
int NumberOfPoints(vtkDataSet *)
Number of points.