[Insight-developers] ImageFunctions has new TCoordRep template parameter

Lydia Ng lng@insightful.com
Thu, 21 Feb 2002 12:32:52 -0800


Why:
=3D=3D=3D=3D

As discussed at UNC meeting, the toolkit shall support both
Point<float,N> and Point<double,N>. The decision of which one
to use depends on the user via setting a template parameter.

Previously, ImageFunctions were hard-coded to only handle
Point<double,N> and ContinuousIndex<double,N>.

What was done:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

All ImageFunctions now has a additional template parameter TCoordRep
which defines the coordinate representation type for Point and
ContinuousIndex. The default for TCoordRep is float.

I have updated all xxxxImageFunctions to have this new template
parameter.
If you have an ImageFunction that is not checked in please
update your code accordingly.


----
Lydia