Skip to content

Commit

Permalink
Merge branch 'release-5.4' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
blowekamp committed Dec 5, 2024
2 parents b1b9bfd + be27beb commit 5b5df9b
Show file tree
Hide file tree
Showing 51 changed files with 124 additions and 62 deletions.
3 changes: 2 additions & 1 deletion Modules/Core/Common/include/itkBoundingBox.h
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ class ITK_TEMPLATE_EXPORT BoundingBox : public Object

/** Hold on to the type information specified by the template parameters. */
using PointIdentifier = TPointIdentifier;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using PointsContainer = TPointsContainer;
using PointsContainerPointer = typename PointsContainer::Pointer;
using PointsContainerConstPointer = typename PointsContainer::ConstPointer;
Expand Down
6 changes: 4 additions & 2 deletions Modules/Core/Common/include/itkCellInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ class ITK_TEMPLATE_EXPORT CellInterface
using CellTraits = TCellTraits;

/** Save type information for this cell. */
using CoordRepType = typename CellTraits::CoordRepType;
using CoordinateType = typename CellTraits::CoordRepType;
using CoordRepType = CoordinateType;
using InterpolationWeightType = typename CellTraits::InterpolationWeightType;
using PointIdentifier = typename CellTraits::PointIdentifier;
using PointIdIterator = typename CellTraits::PointIdIterator;
Expand Down Expand Up @@ -524,7 +525,8 @@ class ITK_TEMPLATE_EXPORT CellTraitsInfo
{
public:
static constexpr unsigned int PointDimension = VPointDimension;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using InterpolationWeightType = TInterpolationWeight;
using PointIdentifier = TPointIdentifier;
using CellIdentifier = TCellIdentifier;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Common/include/itkContinuousIndex.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class ITK_TEMPLATE_EXPORT ContinuousIndex : public Point<TCoordRep, VIndexDimens
/** ValueType can be used to declare a variable that is the same type
* as a data element held in an Point. */
using ValueType = TCoordRep;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;

/** Dimension of the Space */
static constexpr unsigned int IndexDimension = VIndexDimension;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Common/include/itkDefaultDynamicMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class DefaultDynamicMeshTraits
/** Just save all the template parameters. */
using PixelType = TPixelType;
using CellPixelType = TCellPixelType;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using InterpolationWeightType = TInterpolationWeight;

/** Just save all the template parameters. */
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Common/include/itkDefaultStaticMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ class ITK_TEMPLATE_EXPORT DefaultStaticMeshTraits
/** Just save all the template parameters. */
using PixelType = TPixelType;
using CellPixelType = TCellPixelType;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using InterpolationWeightType = TInterpolationWeight;

/** Just save all the template parameters. */
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Common/include/itkPoint.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ class ITK_TEMPLATE_EXPORT Point : public FixedArray<TCoordRep, VPointDimension>
/** ValueType can be used to declare a variable that is the same type
* as a data element held in an Point. */
using ValueType = TCoordRep;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;

using RealType = typename NumericTraits<ValueType>::RealType;

Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Common/include/itkPointSet.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ class ITK_TEMPLATE_EXPORT PointSet : public DataObject
using PixelType = typename MeshTraits::PixelType;

/** Convenient type alias obtained from TMeshTraits template parameter. */
using CoordRepType = typename MeshTraits::CoordRepType;
using CoordinateType = typename MeshTraits::CoordRepType;
using CoordRepType = CoordinateType;
using PointIdentifier = typename MeshTraits::PointIdentifier;
using PointType = typename MeshTraits::PointType;
using PointsContainer = typename MeshTraits::PointsContainer;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Common/include/itkTriangleHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ class ITK_TEMPLATE_EXPORT TriangleHelper
public:
using Self = TriangleHelper;
using PointType = TPoint;
using CoordRepType = typename PointType::CoordRepType;
using CoordinateType = typename PointType::CoordRepType;
using CoordRepType = CoordinateType;
using VectorType = typename PointType::VectorType;
using CrossVectorType = CrossHelper<VectorType>;

Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/ImageFunction/include/itkImageFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ class ITK_TEMPLATE_EXPORT ImageFunction : public FunctionBase<Point<TCoordRep, T
using OutputType = TOutput;

/** CoordRepType type alias support */
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;

/** Index Type. */
using IndexType = typename InputImageType::IndexType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ class ITK_TEMPLATE_EXPORT VectorInterpolateImageFunction
using typename Superclass::OutputType;

/** CoordRep type alias support */
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;

/** Returns the interpolated image intensity at a
* specified point position. No bounds checking is done.
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Mesh/include/itkInteriorExteriorMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ class ITK_TEMPLATE_EXPORT InteriorExteriorMeshFilter : public MeshToMeshFilter<T
using OutputMeshPointer = typename OutputMeshType::Pointer;

/** Type for representing coordinates. */
using CoordRepType = typename TInputMesh::CoordRepType;
using CoordinateType = typename TInputMesh::CoordRepType;
using CoordRepType = CoordinateType;

/** Type of the transform. */
using SpatialFunctionType = TSpatialFunction;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Mesh/include/itkMesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,8 @@ class ITK_TEMPLATE_EXPORT Mesh : public PointSet<TPixelType, VDimension, TMeshTr
#endif

/** Convenient type alias obtained from TMeshTraits template parameter. */
using CoordRepType = typename MeshTraits::CoordRepType;
using CoordinateType = typename MeshTraits::CoordRepType;
using CoordRepType = CoordinateType;
using InterpolationWeightType = typename MeshTraits::InterpolationWeightType;
using PointIdentifier = typename MeshTraits::PointIdentifier;
using CellIdentifier = typename MeshTraits::CellIdentifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class ITK_TEMPLATE_EXPORT ParametricSpaceToImageSpaceMeshFilter : public MeshToM
using ConstPointer = SmartPointer<const Self>;

/** Type for representing coordinates. */
using CoordRepType = typename TInputMesh::CoordRepType;
using CoordinateType = typename TInputMesh::CoordRepType;
using CoordRepType = CoordinateType;

using InputMeshType = TInputMesh;
using OutputMeshType = TOutputMesh;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Mesh/include/itkTransformMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ class ITK_TEMPLATE_EXPORT TransformMeshFilter : public MeshToMeshFilter<TInputMe
using OutputMeshPointer = typename OutputMeshType::Pointer;

/** Type for representing coordinates. */
using CoordRepType = typename TInputMesh::CoordRepType;
using CoordinateType = typename TInputMesh::CoordRepType;
using CoordRepType = CoordinateType;

/** Type of the transform. */
using TransformType = TTransform;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/Mesh/include/itkWarpMeshFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class ITK_TEMPLATE_EXPORT WarpMeshFilter : public MeshToMeshFilter<TInputMesh, T
using OutputMeshPointer = typename OutputMeshType::Pointer;

/** Type for representing coordinates. */
using CoordRepType = typename TInputMesh::CoordRepType;
using CoordinateType = typename TInputMesh::CoordRepType;
using CoordRepType = CoordinateType;

/** Deformation field type alias support */
using DisplacementFieldType = TDisplacementField;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ class QuadEdgeMeshCellTraitsInfo
{
public:
static constexpr unsigned int PointDimension = VPointDimension;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using InterpolationWeightType = TInterpolationWeight;
using PointIdentifier = TPointIdentifier;
using CellIdentifier = TCellIdentifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshEulerOperatorCreateCenterVertexFunction

using PointIdentifier = typename MeshType::PointIdentifier;
using PointType = typename MeshType::PointType;
using CoordRepType = typename MeshType::CoordRepType;
using CoordinateType = typename MeshType::CoordRepType;
using CoordRepType = CoordinateType;
using VectorType = typename MeshType::VectorType;

/** Evaluate at the specified input position */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ class QuadEdgeMeshExtendedTraits
public:
using Self = QuadEdgeMeshExtendedTraits;
/** Save the template parameters. */
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using PixelType = TPixelType;
using PrimalDataType = TPData;
using DualDataType = TDData;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshFrontBaseIterator

protected:
// Mesh types
using CoordRepType = typename MeshType::CoordRepType;
using CoordinateType = typename MeshType::CoordRepType;
using CoordRepType = CoordinateType;
// QE types
using QEOriginType = typename QEType::OriginRefType;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshToQuadEdgeMeshFilter : public MeshToMeshFi
using InputMeshType = TInputMesh;
using InputMeshPointer = typename InputMeshType::Pointer;
using InputMeshConstPointer = typename InputMeshType::ConstPointer;
using InputCoordRepType = typename InputMeshType::CoordRepType;
using InputCoordinateType = typename InputMeshType::CoordRepType;
using InputCoordRepType = InputCoordinateType;
using InputPointType = typename InputMeshType::PointType;
using InputPointIdentifier = typename InputMeshType::PointIdentifier;
using InputQEPrimal = typename InputMeshType::QEPrimal;
Expand All @@ -76,7 +77,8 @@ class ITK_TEMPLATE_EXPORT QuadEdgeMeshToQuadEdgeMeshFilter : public MeshToMeshFi
using OutputMeshType = TOutputMesh;
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputMeshConstPointer = typename OutputMeshType::ConstPointer;
using OutputCoordRepType = typename OutputMeshType::CoordRepType;
using OutputCoordinateType = typename OutputMeshType::CoordRepType;
using OutputCoordRepType = OutputCoordinateType;
using OutputPointType = typename OutputMeshType::PointType;
using OutputPointIdentifier = typename OutputMeshType::PointIdentifier;
using OutputQEPrimal = typename OutputMeshType::QEPrimal;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Core/QuadEdgeMesh/include/itkQuadEdgeMeshTraits.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class QuadEdgeMeshTraits
using Self = QuadEdgeMeshTraits;
using PixelType = TPixel;
using CellPixelType = TPixel;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using InterpolationWeightType = TInterpolationWeight;

static constexpr unsigned int PointDimension = VPointDimension;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class ITK_TEMPLATE_EXPORT BSplineTransformInitializer : public Object
using ImagePointer = typename ImageType::ConstPointer;
using IndexType = typename ImageType::IndexType;
using ImagePointType = typename ImageType::PointType;
using ImagePointCoordRepType = typename ImagePointType::CoordRepType;
using ImagePointCoordinateType = typename ImagePointType::CoordRepType;
using ImagePointCoordRepType = ImagePointCoordinateType;

/** Types defined from transform traits. */
using TransformPointer = typename TransformType::Pointer;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ class ITK_TEMPLATE_EXPORT BSplineControlPointImageFunction
/** Image type alias support */
using ControlPointLatticeType = TInputImage;
using InputImageType = TInputImage;
using CoordRepType = TCoordRep;
using CoordinateType = TCoordRep;
using CoordRepType = CoordinateType;
using PixelType = typename InputImageType::PixelType;
using RegionType = typename InputImageType::RegionType;
using IndexType = typename InputImageType::IndexType;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Filtering/ImageGrid/include/itkExpandImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ class ITK_TEMPLATE_EXPORT ExpandImageFilter : public ImageToImageFilter<TInputIm
using OutputImagePointer = typename OutputImageType::Pointer;

/** Typedef support for the interpolation function. */
using CoordRepType = double;
using CoordinateType = double;
using CoordRepType = CoordinateType;
using InterpolatorType = InterpolateImageFunction<InputImageType, CoordRepType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
using DefaultInterpolatorType = LinearInterpolateImageFunction<InputImageType, CoordRepType>;
Expand Down
3 changes: 2 additions & 1 deletion Modules/Filtering/ImageGrid/include/itkWarpImageFilter.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ class ITK_TEMPLATE_EXPORT WarpImageFilter : public ImageToImageFilter<TInputImag
using DisplacementType = typename DisplacementFieldType::PixelType;

/** Interpolator type alias support */
using CoordRepType = double;
using CoordinateType = double;
using CoordRepType = CoordinateType;
using InterpolatorType = InterpolateImageFunction<InputImageType, CoordRepType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
using DefaultInterpolatorType = LinearInterpolateImageFunction<InputImageType, CoordRepType>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,8 @@ class ITK_TEMPLATE_EXPORT WarpVectorImageFilter : public ImageToImageFilter<TInp
using DisplacementType = typename DisplacementFieldType::PixelType;

/** Interpolator type alias support */
using CoordRepType = double;
using CoordinateType = double;
using CoordRepType = CoordinateType;
using InterpolatorType = VectorInterpolateImageFunction<InputImageType, CoordRepType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
using DefaultInterpolatorType = VectorLinearInterpolateImageFunction<InputImageType, CoordRepType>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ class ITK_TEMPLATE_EXPORT VectorExpandImageFilter : public ImageToImageFilter<TI
using ExpandFactorsArrayType = FixedArray<ExpandFactorsType, ImageDimension>;

/** Typedef support for the interpolation function */
using CoordRepType = double;
using CoordinateType = double;
using CoordRepType = CoordinateType;
using InterpolatorType = VectorInterpolateImageFunction<InputImageType, CoordRepType>;
using InterpolatorPointer = typename InterpolatorType::Pointer;
using DefaultInterpolatorType = VectorLinearInterpolateImageFunction<InputImageType, CoordRepType>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ class ITK_TEMPLATE_EXPORT BorderQuadEdgeMeshFilter : public QuadEdgeMeshToQuadEd

using InputMeshType = TInputMesh;
using InputMeshConstPointer = typename InputMeshType::ConstPointer;
using InputCoordRepType = typename InputMeshType::CoordRepType;
using InputCoordinateType = typename InputMeshType::CoordRepType;
using InputCoordRepType = InputCoordinateType;
using InputPointType = typename InputMeshType::PointType;
using InputTraits = typename InputMeshType::Traits;
using InputPointIdentifier = typename InputMeshType::PointIdentifier;
Expand All @@ -111,7 +112,8 @@ class ITK_TEMPLATE_EXPORT BorderQuadEdgeMeshFilter : public QuadEdgeMeshToQuadEd

using OutputMeshType = TOutputMesh;
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputCoordRepType = typename OutputMeshType::CoordRepType;
using OutputCoordinateType = typename OutputMeshType::CoordRepType;
using OutputCoordRepType = OutputCoordinateType;
using OutputPointType = typename OutputMeshType::PointType;
using OutputTraits = typename OutputMeshType::Traits;
using OutputPointIdentifier = typename OutputMeshType::PointIdentifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class ITK_TEMPLATE_EXPORT DelaunayConformingQuadEdgeMeshFilter
/** Input types. */
using InputMeshType = TInputMesh;
using InputMeshPointer = typename InputMeshType::Pointer;
using InputCoordRepType = typename InputMeshType::CoordRepType;
using InputCoordinateType = typename InputMeshType::CoordRepType;
using InputCoordRepType = InputCoordinateType;
using InputPointType = typename InputMeshType::PointType;
using InputPointVectorType = typename InputPointType::VectorType;
using InputPointIdentifier = typename InputMeshType::PointIdentifier;
Expand All @@ -73,7 +74,8 @@ class ITK_TEMPLATE_EXPORT DelaunayConformingQuadEdgeMeshFilter
/** Output types. */
using OutputMeshType = TOutputMesh;
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputCoordRepType = typename OutputMeshType::CoordRepType;
using OutputCoordinateType = typename OutputMeshType::CoordRepType;
using OutputCoordRepType = OutputCoordinateType;
using OutputPointType = typename OutputMeshType::PointType;
using OutputPointIdentifier = typename OutputMeshType::PointIdentifier;
using OutputCellType = typename OutputMeshType::CellType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class ITK_TEMPLATE_EXPORT ParameterizationQuadEdgeMeshFilter
using InputMeshType = TInputMesh;
using InputMeshPointer = typename InputMeshType::Pointer;
using InputMeshConstPointer = typename InputMeshType::ConstPointer;
using InputCoordRepType = typename InputMeshType::CoordRepType;
using InputCoordinateType = typename InputMeshType::CoordRepType;
using InputCoordRepType = InputCoordinateType;
using InputPointType = typename InputMeshType::PointType;
using InputPointVectorType = typename InputPointType::VectorType;
using InputPointIdentifier = typename InputMeshType::PointIdentifier;
Expand Down Expand Up @@ -98,7 +99,8 @@ class ITK_TEMPLATE_EXPORT ParameterizationQuadEdgeMeshFilter
using OutputMeshType = TOutputMesh;
using OutputMeshPointer = typename OutputMeshType::Pointer;
using OutputMeshConstPointer = typename OutputMeshType::ConstPointer;
using OutputCoordRepType = typename OutputMeshType::CoordRepType;
using OutputCoordinateType = typename OutputMeshType::CoordRepType;
using OutputCoordRepType = OutputCoordinateType;
using OutputPointType = typename OutputMeshType::PointType;
using OutputPointIdentifier = typename OutputMeshType::PointIdentifier;
using OutputQEType = typename OutputMeshType::QEType;
Expand Down
Loading

0 comments on commit 5b5df9b

Please sign in to comment.