[Insight-developers] itkBSplineInterpolationImageFunction
Miller, James V (Research)
millerjv@crd.ge.com
Tue, 17 Sep 2002 12:37:22 -0400
I would put both files in the same directory. In this case,
I would say they both should go in "BasicFilters".
This is unique case that a Function depends on a Filter. Usually
it is the other way around. While it would be nice to have all the
functions in Common and filters in BasicFilters, your current design
doesn't support that. The safest thing is to move the Function into
BasicFilters so it is in the same directory as the filter.
Jim
> -----Original Message-----
> From: Bradley Wyman [mailto:bwyman@insightful.com]
> Sent: Tuesday, September 17, 2002 12:24 PM
> To: Miller, James V (Research)
> Cc: insight-developers@public.kitware.com
> Subject: [Insight-developers] itkBSplineInterpolationImageFunction
>
>
>
> Jim,
>
> I am the offending party. I am open for suggestions.
> Originally the functionality of
> itkBSplineDecompositionImageFilter (this creates the B-Spline
> coefficients) was self contained in the
> itkBSplineInterpolationImageFunction. However, this
> functionality is required for a deformable registration
> method currently under development and it requires a filter
> implementation.
>
> So that there is only one code base to maintain I
> pulled the coefficient generation out and placed it into a
> filter. What should I do to address the rule of not
> permitting Common to depend on BasicFilters? We can roll
> back to the original version but then any changes made to
> itkBSplineDecompositionImageFilter will also have to be made
> to itkBSplineInterpolationImageFunction. Having this
> dependency is an elegant though rule-breaking solution.
> _____________________________________________
> Brad Wyman, Ph.D. Insightful Corp.
> 1700 Westlake Ave. N (206)802-2256
> Seattle, WA 98109 Fax: (206)283-6310
> bwyman@insightful.com
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>