From a720182dc8d62e201c83da23b70f1ca985678484 Mon Sep 17 00:00:00 2001 From: Niels Dekker Date: Fri, 28 Aug 2020 21:16:07 +0200 Subject: [PATCH] STYLE: Remove Superclass::TransformCategoryType (ITK legacy) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ITK's `TransformBaseTemplate::TransformCategoryType` was removed with commit https://github.com/InsightSoftwareConsortium/ITK/commit/33daf9494eb93940c4646f9e9a83e8e24a9bf376 "ENH: Consistent use of typed enums, naming", by Matt McCormick, Dec 6, 2019. It was then defined "legacy" with commit https://github.com/InsightSoftwareConsortium/ITK/commit/0775d4a616a56f024ca40f849076c513981dc27e "COMP: expose TransformCategoryType under LEGACY", by Dženan Zukić, Jan 7, 2020. This commit aims to pave the way for `ITK_LEGACY_REMOVE`, as in pull request https://github.com/SuperElastix/elastix/pull/245 by Matt McCormick. --- Common/Transforms/itkAdvancedBSplineDeformableTransformBase.h | 1 - Common/Transforms/itkAdvancedCombinationTransform.h | 1 - Common/Transforms/itkAdvancedIdentityTransform.h | 1 - Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h | 1 - Common/Transforms/itkAdvancedTranslationTransform.h | 1 - 5 files changed, 5 deletions(-) diff --git a/Common/Transforms/itkAdvancedBSplineDeformableTransformBase.h b/Common/Transforms/itkAdvancedBSplineDeformableTransformBase.h index 2e7cd54db..95753cb76 100644 --- a/Common/Transforms/itkAdvancedBSplineDeformableTransformBase.h +++ b/Common/Transforms/itkAdvancedBSplineDeformableTransformBase.h @@ -75,7 +75,6 @@ class AdvancedBSplineDeformableTransformBase : InputCovariantVectorType; typedef typename Superclass::OutputCovariantVectorType OutputCovariantVectorType; - typedef typename Superclass::TransformCategoryType TransformCategoryType; typedef typename Superclass ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType; diff --git a/Common/Transforms/itkAdvancedCombinationTransform.h b/Common/Transforms/itkAdvancedCombinationTransform.h index 6d903d5c1..18e415da1 100644 --- a/Common/Transforms/itkAdvancedCombinationTransform.h +++ b/Common/Transforms/itkAdvancedCombinationTransform.h @@ -98,7 +98,6 @@ class AdvancedCombinationTransform : typedef typename Superclass::InternalMatrixType InternalMatrixType; typedef typename Superclass::InverseTransformBaseType InverseTransformBaseType; typedef typename Superclass::InverseTransformBasePointer InverseTransformBasePointer; - typedef typename Superclass::TransformCategoryType TransformCategoryType; typedef typename Superclass::MovingImageGradientType MovingImageGradientType; typedef typename Superclass::MovingImageGradientValueType MovingImageGradientValueType; diff --git a/Common/Transforms/itkAdvancedIdentityTransform.h b/Common/Transforms/itkAdvancedIdentityTransform.h index f4f5cbb03..4a7da7b5c 100644 --- a/Common/Transforms/itkAdvancedIdentityTransform.h +++ b/Common/Transforms/itkAdvancedIdentityTransform.h @@ -98,7 +98,6 @@ class AdvancedIdentityTransform : /** Type of the input parameters. */ typedef typename Superclass::ParametersType ParametersType; typedef typename Superclass::NumberOfParametersType NumberOfParametersType; - typedef typename Superclass::TransformCategoryType TransformCategoryType; /** Type of the Jacobian matrix. */ typedef typename Superclass::JacobianType JacobianType; diff --git a/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h b/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h index db30b3da4..95239e03a 100644 --- a/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h +++ b/Common/Transforms/itkAdvancedMatrixOffsetTransformBase.h @@ -135,7 +135,6 @@ class AdvancedMatrixOffsetTransformBase : typedef typename Superclass::OutputVnlVectorType OutputVnlVectorType; typedef typename Superclass::InputPointType InputPointType; typedef typename Superclass::OutputPointType OutputPointType; - typedef typename Superclass::TransformCategoryType TransformCategoryType; typedef typename Superclass ::NonZeroJacobianIndicesType NonZeroJacobianIndicesType; diff --git a/Common/Transforms/itkAdvancedTranslationTransform.h b/Common/Transforms/itkAdvancedTranslationTransform.h index ab67b22b9..8332fb0c5 100644 --- a/Common/Transforms/itkAdvancedTranslationTransform.h +++ b/Common/Transforms/itkAdvancedTranslationTransform.h @@ -81,7 +81,6 @@ class ITK_EXPORT AdvancedTranslationTransform : typedef typename Superclass::ParametersType ParametersType; typedef typename Superclass::FixedParametersType FixedParametersType; typedef typename Superclass::NumberOfParametersType NumberOfParametersType; - typedef typename Superclass::TransformCategoryType TransformCategoryType; /** Standard Jacobian container. */ typedef typename Superclass::JacobianType JacobianType;