Skip to content

Commit d90e542

Browse files
committed
STYLE: CoordRepType -> CoordinateType code readability
For the sake of code readability, a new 'CoordinateType' alias is added for each nested 'CoordRepType' alias. The old 'CoordRepType' aliases will still be available with ITK 6.0, but it is recommended to use 'CoordinateType' instead. The 'CoordRepType' aliases will be removed when 'ITK_FUTURE_LEGACY_REMOVE' is enabled. Similarly, 'InputCoordinateType', 'OutputCoordinateType', and 'ImagePointCoordinateType' replace 'InputCoordRepType', 'OutputCoordRepType', and 'ImagePointCoordRepType', respectively.
1 parent 86435bd commit d90e542

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/itkPolyData.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class ITK_TEMPLATE_EXPORT PolyData: public DataObject
5757
using MeshTraits = DefaultStaticMeshTraits< PixelType, PointDimension, PointDimension, float, float, CellPixelType >;
5858

5959
/** Convenient type alias obtained from TMeshTraits template parameter. */
60-
using CoordRepType = typename MeshTraits::CoordRepType;
60+
using CoordinateType = typename MeshTraits::CoordinateType;
6161
using PointIdentifier = typename MeshTraits::PointIdentifier;
6262
using PointType = typename MeshTraits::PointType;
6363
using PointsContainer = typename MeshTraits::PointsContainer;

include/itkPolyDataToMeshFilter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class PolyDataToMeshFilter : public ProcessObject
6060
using OutputMeshType = Mesh<typename InputPolyDataType::PixelType, PointDimension>;
6161
using MeshType = OutputMeshType;
6262

63-
using OutputCoordRepType = typename OutputMeshType::CoordRepType;
63+
using OutputCoordinateType = typename OutputMeshType::CoordinateType;
6464
using OutputPointPixelType = typename OutputMeshType::PixelType;
6565
using OutputCellPixelType = typename OutputMeshType::CellPixelType;
6666
using OutputPointType = typename OutputMeshType::PointType;

0 commit comments

Comments
 (0)