Note that you do not need to wait for the new SNT to be released as this code is already valid under the existing API. There is no optimization involved: It is effectively same logic currently in use. That being said I noticed you are mitigating some artifacts that I never found, so there's probably some optimization that could be done. But that's probably outside the scope of this PR.
@acardona, @axtimwalde, These are the minimum changes required for compiling trakEM2 under the new SNT API (currently in the scijava branch of SNT: https://github.com/fiji/Simple_Neurite_Tracer/issues/46.
Note that you do not need to wait for the new SNT to be released as this code is already valid under the existing API. There is no optimization involved: It is effectively same logic currently in use. That being said I noticed you are mitigating some artifacts that I never found, so there's probably some optimization that could be done. But that's probably outside the scope of this PR.