gadomski / cpd

C++ implementation of the Coherent Point Drift point set registration algorithm.
http://www.gadom.ski/cpd
GNU General Public License v2.0
385 stars 122 forks source link

Allow virtual dispatch from runners #95

Closed gadomski closed 7 years ago

gadomski commented 7 years ago

Right now a runner can't be given a generic "transform", since all of our dispatch is done at compile-time via the runner template class. While I'd like to keep the compile-time dispatch, we should add virtual dispatch as well, for the case of downstreams that want to reuse the same runner configuration for rigid and nonrigid (e.g.).

As I'm writing this, I'm wondering if #81 might be good enough...so I should probably do #81 first before this one.