Skip to content

Commit

Permalink
COMP: Slow down removal of the CoordRepType aliases
Browse files Browse the repository at this point in the history
For now, only remove those aliases when explicitly requested by defining
`ITK_REMOVE_COORD_REP_TYPES`. The aim is to put them in
`#ifndef ITK_FUTURE_LEGACY_REMOVE` with ITK 6.1.
  • Loading branch information
N-Dekker committed Dec 4, 2024
1 parent a68b8f6 commit 7a5663e
Show file tree
Hide file tree
Showing 51 changed files with 62 additions and 62 deletions.
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkBoundingBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ class ITK_TEMPLATE_EXPORT BoundingBox : public Object
/** Hold on to the type information specified by the template parameters. */
using PointIdentifier = TPointIdentifier;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
4 changes: 2 additions & 2 deletions Modules/Core/Common/include/itkCellInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class ITK_TEMPLATE_EXPORT CellInterface

/** Save type information for this cell. */
using CoordinateType = typename CellTraits::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down Expand Up @@ -530,7 +530,7 @@ class ITK_TEMPLATE_EXPORT CellTraitsInfo
public:
static constexpr unsigned int PointDimension = VPointDimension;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkContinuousIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ITK_TEMPLATE_EXPORT ContinuousIndex : public Point<TCoordinate, VIndexDime
* as a data element held in an Point. */
using ValueType = TCoordinate;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkDefaultDynamicMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class DefaultDynamicMeshTraits
using PixelType = TPixelType;
using CellPixelType = TCellPixelType;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkDefaultStaticMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ITK_TEMPLATE_EXPORT DefaultStaticMeshTraits
using PixelType = TPixelType;
using CellPixelType = TCellPixelType;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ITK_TEMPLATE_EXPORT Point : public FixedArray<TCoordinate, VPointDimension
* as a data element held in an Point. */
using ValueType = TCoordinate;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkPointSetBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ITK_TEMPLATE_EXPORT PointSetBase : public DataObject
/** Convenient type alias obtained from TPointsContainer template parameter. */
using PointType = typename TPointsContainer::Element;
using CoordinateType = typename PointType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Common/include/itkTriangleHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class ITK_TEMPLATE_EXPORT TriangleHelper
using Self = TriangleHelper;
using PointType = TPoint;
using CoordinateType = typename PointType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/ImageFunction/include/itkImageFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ITK_TEMPLATE_EXPORT ImageFunction : public FunctionBase<Point<TCoordinate,

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

/** CoordRep type alias support */
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Mesh/include/itkInteriorExteriorMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class ITK_TEMPLATE_EXPORT InteriorExteriorMeshFilter : public MeshToMeshFilter<T

/** Type for representing coordinates. */
using CoordinateType = typename TInputMesh::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Mesh/include/itkMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ 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
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ITK_TEMPLATE_EXPORT ParametricSpaceToImageSpaceMeshFilter : public MeshToM

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

/** Type for representing coordinates. */
using CoordinateType = typename TInputMesh::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/Mesh/include/itkWarpMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ITK_TEMPLATE_EXPORT WarpMeshFilter : public MeshToMeshFilter<TInputMesh, T

/** Type for representing coordinates. */
using CoordinateType = typename TInputMesh::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class QuadEdgeMeshCellTraitsInfo
public:
static constexpr unsigned int PointDimension = VPointDimension;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshEulerOperatorCreateCenterVertexFunction
using PointIdentifier = typename MeshType::PointIdentifier;
using PointType = typename MeshType::PointType;
using CoordinateType = typename MeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class QuadEdgeMeshExtendedTraits
using Self = QuadEdgeMeshExtendedTraits;
/** Save the template parameters. */
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshFrontBaseIterator
protected:
// Mesh types
using CoordinateType = typename MeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshToQuadEdgeMeshFilter : public MeshToMeshFi
using InputMeshPointer = typename InputMeshType::Pointer;
using InputMeshConstPointer = typename InputMeshType::ConstPointer;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -81,7 +81,7 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshToQuadEdgeMeshFilter : public MeshToMeshFi
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputMeshConstPointer = typename OutputMeshType::ConstPointer;
using OutputCoordinateType = typename OutputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using OutputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `OutputCoordRepType`. Please use `OutputCoordinateType` instead!") = OutputCoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Core/QuadEdgeMesh/include/itkQuadEdgeMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class QuadEdgeMeshTraits
using PixelType = TPixel;
using CellPixelType = TPixel;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ITK_TEMPLATE_EXPORT BSplineTransformInitializer : public Object
using IndexType = typename ImageType::IndexType;
using ImagePointType = typename ImageType::PointType;
using ImagePointCoordinateType = typename ImagePointType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using ImagePointCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `ImagePointCoordRepType`. Please use `ImagePointCoordinateType` instead!") =
ImagePointCoordinateType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class ITK_TEMPLATE_EXPORT BSplineControlPointImageFunction
using ControlPointLatticeType = TInputImage;
using InputImageType = TInputImage;
using CoordinateType = TCoordinate;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Filtering/ImageGrid/include/itkExpandImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ITK_TEMPLATE_EXPORT ExpandImageFilter : public ImageToImageFilter<TInputIm

/** Typedef support for the interpolation function. */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/Filtering/ImageGrid/include/itkWarpImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class ITK_TEMPLATE_EXPORT WarpImageFilter : public ImageToImageFilter<TInputImag

/** Interpolator type alias support */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class ITK_TEMPLATE_EXPORT WarpVectorImageFilter : public ImageToImageFilter<TInp

/** Interpolator type alias support */
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class ITK_TEMPLATE_EXPORT VectorExpandImageFilter : public ImageToImageFilter<TI

/** Typedef support for the interpolation function */
using CoordinateType = double;
# ifndef ITK_FUTURE_LEGACY_REMOVE
# ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
# endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ITK_TEMPLATE_EXPORT BorderQuadEdgeMeshFilter : public QuadEdgeMeshToQuadEd
using InputMeshType = TInputMesh;
using InputMeshConstPointer = typename InputMeshType::ConstPointer;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand All @@ -116,7 +116,7 @@ class ITK_TEMPLATE_EXPORT BorderQuadEdgeMeshFilter : public QuadEdgeMeshToQuadEd
using OutputMeshType = TOutputMesh;
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputCoordinateType = typename OutputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using OutputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `OutputCoordRepType`. Please use `OutputCoordinateType` instead!") = OutputCoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ITK_TEMPLATE_EXPORT DelaunayConformingQuadEdgeMeshFilter
using InputMeshType = TInputMesh;
using InputMeshPointer = typename InputMeshType::Pointer;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -78,7 +78,7 @@ class ITK_TEMPLATE_EXPORT DelaunayConformingQuadEdgeMeshFilter
using OutputMeshType = TOutputMesh;
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputCoordinateType = typename OutputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using OutputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `OutputCoordRepType`. Please use `OutputCoordinateType` instead!") = OutputCoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ITK_TEMPLATE_EXPORT ParameterizationQuadEdgeMeshFilter
using InputMeshPointer = typename InputMeshType::Pointer;
using InputMeshConstPointer = typename InputMeshType::ConstPointer;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -103,7 +103,7 @@ class ITK_TEMPLATE_EXPORT ParameterizationQuadEdgeMeshFilter
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputMeshConstPointer = typename OutputMeshType::ConstPointer;
using OutputCoordinateType = typename OutputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using OutputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `OutputCoordRepType`. Please use `OutputCoordinateType` instead!") = OutputCoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class MatrixCoefficients
public:
using InputMeshType = TInputMesh;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -63,7 +63,7 @@ class ITK_TEMPLATE_EXPORT OnesMatrixCoefficients : public MatrixCoefficients<TIn

using InputMeshType = TInputMesh;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -96,7 +96,7 @@ class ITK_TEMPLATE_EXPORT InverseEuclideanDistanceMatrixCoefficients : public Ma

using InputMeshType = TInputMesh;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -142,7 +142,7 @@ class ITK_TEMPLATE_EXPORT ConformalMatrixCoefficients : public MatrixCoefficient

using InputMeshType = TInputMesh;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -200,7 +200,7 @@ class ITK_TEMPLATE_EXPORT AuthalicMatrixCoefficients : public MatrixCoefficients

using InputMeshType = TInputMesh;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -260,7 +260,7 @@ class ITK_TEMPLATE_EXPORT IntrinsicMatrixCoefficients : public MatrixCoefficient

using InputMeshType = TInputMesh;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down Expand Up @@ -299,7 +299,7 @@ class ITK_TEMPLATE_EXPORT HarmonicMatrixCoefficients : public MatrixCoefficients

using InputMeshType = TInputMesh;
using InputCoordinateType = typename InputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using InputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `InputCoordRepType`. Please use `InputCoordinateType` instead!") = InputCoordinateType;
#endif
Expand Down
2 changes: 1 addition & 1 deletion Modules/IO/MeshBase/include/itkMeshFileReader.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class ITK_TEMPLATE_EXPORT MeshFileReader : public MeshSource<TOutputMesh>
/** Define output mesh types */
using OutputMeshType = TOutputMesh;
using OutputCoordinateType = typename OutputMeshType::CoordinateType;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using OutputCoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `OutputCoordRepType`. Please use `OutputCoordinateType` instead!") = OutputCoordinateType;
#endif
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class ITK_TEMPLATE_EXPORT ConformalFlatteningMeshFilter : public MeshToMeshFilte
/** Type for representing coordinates. */
// using CoordinateType = typename TInputMesh::CoordinateType;
using CoordinateType = double;
#ifndef ITK_FUTURE_LEGACY_REMOVE
#ifndef ITK_REMOVE_COORD_REP_TYPES
using CoordRepType ITK_FUTURE_DEPRECATED(
"ITK 6 discourages using `CoordRepType`. Please use `CoordinateType` instead!") = CoordinateType;
#endif
Expand Down
Loading

0 comments on commit 7a5663e

Please sign in to comment.