Skip to content

Commit 37d2827

Browse files
committed
STYLE: CoordRepType -> CoordinateType code readability
For the sake of code readability, a new alias is added for each nested alias. The old aliases will still be available with ITK 6.0, but it is recommended to use instead. The aliases will be removed when is enabled. Similarly, , , and replace , , and , respectively.
1 parent 536c066 commit 37d2827

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/itkBSplineGradientImageFilter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ class ITK_TEMPLATE_EXPORT BSplineGradientImageFilter
8282
#endif
8383

8484
/** Typedefs for the interpolator. */
85-
using CoordRepType = TCoordRep;
85+
using CoordinateType = TCoordRep;
8686
using CoefficientType = TCoefficientType;
87-
using InterpolatorType = itk::BSplineInterpolateImageFunction<InputImageType, CoordRepType, CoefficientType>;
87+
using InterpolatorType = itk::BSplineInterpolateImageFunction<InputImageType, CoordinateType, CoefficientType>;
8888
using InterpolatorPointerType = typename InterpolatorType::Pointer;
8989

9090
protected:

include/itkBSplineGradientImageFilter.hxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ BSplineGradientImageFilter<TInputImage, TOutputValueType, TCoordRep, TCoefficien
9191
index = it.GetIndex();
9292
for (i = 0; i < ImageDimension; ++i)
9393
{
94-
contIndex[i] = static_cast<CoordRepType>(index[i]);
94+
contIndex[i] = static_cast<CoordinateType>(index[i]);
9595
}
9696
it.Set(interpolator->EvaluateDerivativeAtContinuousIndex(contIndex));
9797
}

0 commit comments

Comments
 (0)