Skip to content

Commit

Permalink
ENH: ITK_FUTURE_DEPRECATED for CoordRepType aliases
Browse files Browse the repository at this point in the history
The `CoordRepType` aliases are only intended to be removed in the future
(`ITK_FUTURE_LEGACY_REMOVE`), so these specific "deprecated" warnings should
not appear when legacy support is still enabled.
  • Loading branch information
N-Dekker authored and hjmjohnson committed Dec 2, 2024
1 parent c202e65 commit 93b1e4f
Show file tree
Hide file tree
Showing 43 changed files with 88 additions and 88 deletions.
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkBoundingBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ class ITK_TEMPLATE_EXPORT BoundingBox : public Object
using PointIdentifier = TPointIdentifier;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using PointsContainer = TPointsContainer;
using PointsContainerPointer = typename PointsContainer::Pointer;
Expand Down
8 changes: 4 additions & 4 deletions Modules/Core/Common/include/itkCellInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ class ITK_TEMPLATE_EXPORT CellInterface
/** Save type information for this cell. */
using CoordinateType = typename CellTraits::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolationWeightType = typename CellTraits::InterpolationWeightType;
using PointIdentifier = typename CellTraits::PointIdentifier;
Expand Down Expand Up @@ -531,8 +531,8 @@ class ITK_TEMPLATE_EXPORT CellTraitsInfo
static constexpr unsigned int PointDimension = VPointDimension;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolationWeightType = TInterpolationWeight;
using PointIdentifier = TPointIdentifier;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkContinuousIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class ITK_TEMPLATE_EXPORT ContinuousIndex : public Point<TCoordinate, VIndexDime
using ValueType = TCoordinate;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Dimension of the Space */
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkDefaultDynamicMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ class DefaultDynamicMeshTraits
using CellPixelType = TCellPixelType;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolationWeightType = TInterpolationWeight;

Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkDefaultStaticMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class ITK_TEMPLATE_EXPORT DefaultStaticMeshTraits
using CellPixelType = TCellPixelType;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolationWeightType = TInterpolationWeight;

Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ class ITK_TEMPLATE_EXPORT Point : public FixedArray<TCoordinate, VPointDimension
using ValueType = TCoordinate;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

using RealType = typename NumericTraits<ValueType>::RealType;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkPointSetBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class ITK_TEMPLATE_EXPORT PointSetBase : public DataObject
using PointType = typename TPointsContainer::Element;
using CoordinateType = typename PointType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using PointIdentifier = typename TPointsContainer::ElementIdentifier;
using PointsContainer = TPointsContainer;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkTriangleHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ class ITK_TEMPLATE_EXPORT TriangleHelper
using PointType = TPoint;
using CoordinateType = typename PointType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using VectorType = typename PointType::VectorType;
using CrossVectorType = CrossHelper<VectorType>;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/ImageFunction/include/itkImageFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class ITK_TEMPLATE_EXPORT ImageFunction : public FunctionBase<Point<TCoordinate,
/** CoordinateType type alias support */
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Index Type. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ class ITK_TEMPLATE_EXPORT VectorInterpolateImageFunction
/** CoordRep type alias support */
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Returns the interpolated image intensity at a
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Mesh/include/itkInteriorExteriorMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ class ITK_TEMPLATE_EXPORT InteriorExteriorMeshFilter : public MeshToMeshFilter<T
/** Type for representing coordinates. */
using CoordinateType = typename TInputMesh::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Type of the transform. */
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Mesh/include/itkMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,8 @@ class ITK_TEMPLATE_EXPORT Mesh : public PointSet<TPixelType, VDimension, TMeshTr
/** Convenient type alias obtained from TMeshTraits template parameter. */
using CoordinateType = typename MeshTraits::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolationWeightType = typename MeshTraits::InterpolationWeightType;
using PointIdentifier = typename MeshTraits::PointIdentifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class ITK_TEMPLATE_EXPORT ParametricSpaceToImageSpaceMeshFilter : public MeshToM
/** Type for representing coordinates. */
using CoordinateType = typename TInputMesh::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

using InputMeshType = TInputMesh;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Mesh/include/itkTransformMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class ITK_TEMPLATE_EXPORT TransformMeshFilter : public MeshToMeshFilter<TInputMe
/** Type for representing coordinates. */
using CoordinateType = typename TInputMesh::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Type of the transform. */
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Mesh/include/itkWarpMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class ITK_TEMPLATE_EXPORT WarpMeshFilter : public MeshToMeshFilter<TInputMesh, T
/** Type for representing coordinates. */
using CoordinateType = typename TInputMesh::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Deformation field type alias support */
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/QuadEdgeMesh/include/itkQuadEdgeCellTraitsInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class QuadEdgeMeshCellTraitsInfo
static constexpr unsigned int PointDimension = VPointDimension;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolationWeightType = TInterpolationWeight;
using PointIdentifier = TPointIdentifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshEulerOperatorCreateCenterVertexFunction
using PointType = typename MeshType::PointType;
using CoordinateType = typename MeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using VectorType = typename MeshType::VectorType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ class QuadEdgeMeshExtendedTraits
/** Save the template parameters. */
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using PixelType = TPixelType;
using PrimalDataType = TPData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshFrontBaseIterator
// Mesh types
using CoordinateType = typename MeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
// QE types
using QEOriginType = typename QEType::OriginRefType;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/QuadEdgeMesh/include/itkQuadEdgeMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ class QuadEdgeMeshTraits
using CellPixelType = TPixel;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolationWeightType = TInterpolationWeight;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ class ITK_TEMPLATE_EXPORT BSplineControlPointImageFunction
using InputImageType = TInputImage;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using PixelType = typename InputImageType::PixelType;
using RegionType = typename InputImageType::RegionType;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Filtering/ImageGrid/include/itkExpandImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ class ITK_TEMPLATE_EXPORT ExpandImageFilter : public ImageToImageFilter<TInputIm
/** Typedef support for the interpolation function. */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = InterpolateImageFunction<InputImageType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Filtering/ImageGrid/include/itkWarpImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ class ITK_TEMPLATE_EXPORT WarpImageFilter : public ImageToImageFilter<TInputImag
/** Interpolator type alias support */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = InterpolateImageFunction<InputImageType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ class ITK_TEMPLATE_EXPORT WarpVectorImageFilter : public ImageToImageFilter<TInp
/** Interpolator type alias support */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = VectorInterpolateImageFunction<InputImageType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ class ITK_TEMPLATE_EXPORT VectorExpandImageFilter : public ImageToImageFilter<TI
/** Typedef support for the interpolation function */
using CoordinateType = double;
# ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
# endif
using InterpolatorType = VectorInterpolateImageFunction<InputImageType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class ITK_TEMPLATE_EXPORT ConformalFlatteningMeshFilter : public MeshToMeshFilte
// using CoordinateType = typename TInputMesh::CoordinateType;
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Method for creation through the object factory. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ class ITK_TEMPLATE_EXPORT MeanSquareRegistrationFunction
/** Interpolator type. */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = InterpolateImageFunction<MovingImageType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Registration/FEM/include/itkFEMRegistrationFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ class ITK_TEMPLATE_EXPORT FEMRegistrationFilter : public ImageToImageFilter<TMov
/** Typedef support for the interpolation function */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = VectorInterpolateImageFunction<FieldType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Registration/FEM/include/itkMIRegistrationFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ class ITK_TEMPLATE_EXPORT MIRegistrationFunction
/** Interpolator type. */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = InterpolateImageFunction<MovingImageType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
4 changes: 2 additions & 2 deletions Modules/Registration/FEM/include/itkNCCRegistrationFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ class ITK_TEMPLATE_EXPORT NCCRegistrationFunction
/** Interpolator type. */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = InterpolateImageFunction<MovingImageType, CoordinateType>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ class ITK_TEMPLATE_EXPORT GPUDemonsRegistrationFunction
/** Interpolator type. */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
using InterpolatorType = InterpolateImageFunction<MovingImageType, CoordinateType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ class ITK_TEMPLATE_EXPORT ManifoldParzenWindowsPointSetFunction
using OutputType = TOutput;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Typedef for points locator class to speed up finding neighboring points */
Expand Down
4 changes: 2 additions & 2 deletions Modules/Registration/Metricsv4/include/itkPointSetFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,8 @@ class ITK_TEMPLATE_EXPORT PointSetFunction : public FunctionBase<typename TInput
/** CoordinateType type alias support */
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
using CoordRepType [[deprecated("ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!")]] =
CoordinateType;
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif

/** Set the input point set.
Expand Down
Loading

0 comments on commit 93b1e4f

Please sign in to comment.