20 #ifndef MIRTK_ClosestCell_H 21 #define MIRTK_ClosestCell_H 23 #include "mirtk/PointCorrespondence.h" 25 #include "mirtk/Array.h" 26 #include "mirtk/PointSet.h" 102 virtual bool Set(
const char *,
const char *);
136 #endif // MIRTK_ClosestCell_H TypeId
Enumeration of available point correspondence maps.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
virtual bool Set(const char *, const char *)
Set parameter value from string.
virtual void Initialize()
Initialize correspondence map.
virtual bool Upgrade()
Update correspondence map after convergence.
virtual ParameterList Parameter() const
Get parameter key/value as string map.
Array< Pair< string, string > > ParameterList
Ordered list of parameter name/value pairs.
mirtkPublicAttributeMacro(enum LocatorType, LocatorType)
Type of point locator.
virtual bool GetSourcePoint(int, Point &) const
Get (transformed) source point corresponding to i-th target (sample) point.
virtual PointCorrespondence * NewInstance() const
Copy construct a new instance.
virtual ~ClosestCell()
Destructor.
LocatorType
Enumeration value of supported cell locators.
virtual TypeId Type() const
Type enumeration value.
ClosestCell()
Constructor.
virtual bool GetTargetPoint(int, Point &) const
Get (transformed) target point corresponding to i-th source (sample) point.
virtual bool GetInputSourcePoint(int, Point &) const
Get untransformed source point corresponding to i-th target (sample) point.
mirtkAttributeMacro(PointSet, TargetPoints)
Target points corresponding to source points.
virtual bool GetInputTargetPoint(int, Point &) const
Get untransformed target point corresponding to i-th source (sample) point.
virtual void Update()
Update correspondence map.