Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STYLE: CoordRepType -> CoordinateType code readability #437

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

hjmjohnson
Copy link
Member

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.

@github-actions github-actions bot added area:Core Issues affecting the Core module type:Style Style changes: no logic impact (indentation, comments, naming) language:C++ Changes to C++ examples labels Jan 26, 2025
Made it clearer that `QuadEdgeMeshBoundaryEdgesMeshFunction` just use a _raw_
pointer (not a smart pointer) to the edge list.
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.
@github-actions github-actions bot added area:Filtering Issues affecting the Filtering module area:Numerics Issues affecting the Numerics module labels Jan 27, 2025
@github-actions github-actions bot added the type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots label Jan 28, 2025
@hjmjohnson hjmjohnson force-pushed the use-CoordinateType branch 2 times, most recently from a1c5e7f to 5faa768 Compare January 28, 2025 03:03
@github-actions github-actions bot removed the type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots label Jan 28, 2025
@github-actions github-actions bot added the type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots label Jan 30, 2025
@hjmjohnson hjmjohnson force-pushed the use-CoordinateType branch 6 times, most recently from 7ec5f85 to e7bdbf0 Compare January 30, 2025 20:26
clang-format version 8.0.0 binaries are no longer necessary.
There are several ways (including pip install) to get the
clang-format version 19 that are consistent with recent
ITK style.
@github-actions github-actions bot removed the area:Core Issues affecting the Core module label Jan 31, 2025
@github-actions github-actions bot removed area:Filtering Issues affecting the Filtering module area:Numerics Issues affecting the Numerics module type:Infrastructure Infrastructure/ecosystem related changes, such as CMake or buildbots language:C++ Changes to C++ examples labels Jan 31, 2025
@hjmjohnson
Copy link
Member Author

@dzenanz @thewtex I need to stop working on making these CI environments working. It is sooooo complicated. It depends on

files from many different repos and branch are needed

ITK/dashboard branch
ITK/v5.4.0 (now the master) branch
SphinxExamples/dashboard branch
SphinxExamples/master

cmake files that write temporary files that get files from other repos branches.

I can't track the trail of complex dependancies, and I can not get the failures replicated on my local computers.

@dzenanz
Copy link
Member

dzenanz commented Jan 31, 2025

I might get around to taking a look at this today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Style Style changes: no logic impact (indentation, comments, naming)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants