Skip to content

Updates for ITKv5.2 code cleanups ... ROUND1#15

Merged
hjmjohnson merged 7 commits intomasterfrom
ITKv5_1rc2
Feb 27, 2020
Merged

Updates for ITKv5.2 code cleanups ... ROUND1#15
hjmjohnson merged 7 commits intomasterfrom
ITKv5_1rc2

Conversation

@hjmjohnson
Copy link
Copy Markdown
Member

No description provided.

@hjmjohnson hjmjohnson requested a review from thewtex February 19, 2020 19:46
@hjmjohnson hjmjohnson self-assigned this Feb 19, 2020
@romangrothausmann
Copy link
Copy Markdown
Member

I wonder if CartesianToPolarTransform and PolarToCartesianTransform (basically this module) deserve to be included in main ITK, as they represent the pendant to AzimuthElevationToCartesianTransform (i.e. cylindrical vs. spherical transform).

```
git filter-branch -f \
--tree-filter "~/ITK/Utilities/Maintenance/clang-format.bash --clang-format ~/Dashboard/src/ITK-clang11/clang-format-Linux --tracked" \
    master..
```
This check replaces default bodies of special member functions with
= default;. The explicitly defaulted function declarations enable more
opportunities in optimization, because the compiler might treat
explicitly defaulted functions as trivial.

Additionally, the C++11 use of = default more clearly expreses the
intent for the special member functions.
The mission of NumFOCUS is to promote open
practices in research, data, and scientific
computing.

https://numfocus.org
Copy link
Copy Markdown
Member

@thewtex thewtex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Hans!

EXPRESSION "instance = itk.PolarToCartesianTransform.New()")
itk_python_expression_add_test(NAME itkCartesianToPolarTransformPythonTest
EXPRESSION "instance = itk.CartesianToPolarTransform.New()")
if(ITK_WRAP_PYTHON)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ITK 5 best practice is to put Python tests in wrapping/test/CMakeLists.txt.

@hjmjohnson hjmjohnson merged commit cd22a5d into master Feb 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants