I have a problem getting RayCastInterpolateImageFunction to work with ImageRegistrationMethodv4.
It works fine if I just attach it to a resampler and use it that way.
I see someone had an issue here and Matt McCormick mentions he fixed up the code example here:
I can find the parent commit in the nightly master, but not the actual commit. I guess it was unmerged, but I wonder if it lives somewhere accessible?