20 #ifndef MIRTK_ClosestPoint_H 21 #define MIRTK_ClosestPoint_H 23 #include "mirtk/PointCorrespondence.h" 25 #include "mirtk/Array.h" 91 virtual bool Set(
const char *,
const char *);
137 #endif // MIRTK_ClosestPoint_H virtual TypeId Type() const
Type enumeration value.
TypeId
Enumeration of available point correspondence maps.
virtual ~ClosestPoint()
Destructor.
virtual bool GetInputSourcePoint(int, Point &) const
Get untransformed source point corresponding to i-th target (sample) point.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
virtual PointCorrespondence * NewInstance() const
Copy construct a new instance.
Array< Pair< string, string > > ParameterList
Ordered list of parameter name/value pairs.
virtual int GetTargetIndex(int) const
ClosestPoint()
Constructor.
virtual bool GetInputTargetPoint(int, Point &) const
Get untransformed target point corresponding to i-th source (sample) point.
mirtkPublicAttributeMacro(double, Sigma)
virtual void Initialize()
Initialize correspondence map.
virtual bool GetSourcePoint(int, Point &) const
Get (transformed) source point corresponding to i-th target (sample) point.
virtual bool Upgrade()
Update correspondence map after convergence.
virtual void Update()
Update correspondence map.
virtual bool Set(const char *, const char *)
Set parameter value from string.
virtual int GetSourceIndex(int) const
mirtkAttributeMacro(double, MaxSquaredDistance)
Maximum squared distance.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
virtual bool GetTargetPoint(int, Point &) const
Get (transformed) target point corresponding to i-th source (sample) point.