Skip to content

Commit

Permalink
STYLE: CoordRepType -> CoordinateType code readability
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
hjmjohnson committed Jan 27, 2025
1 parent 9c3236b commit 5faa768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Mesh/TranslateOneMesh/Code.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ main(int argc, char * argv[])
auto reader = ReaderType::New();
reader->SetFileName(inputFileName);

using TransformType = itk::TranslationTransform<MeshType::PointType::CoordRepType, Dimension>;
using TransformType = itk::TranslationTransform<MeshType::PointType::CoordinateType, Dimension>;
auto translation = TransformType::New();

TransformType::OutputVectorType displacement;
Expand Down

0 comments on commit 5faa768

Please sign in to comment.