From 4293d830fc8c680cb72a6cd98e3e80b41239cd44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jon=20Haitz=20Legarreta=20Gorro=C3=B1o?= Date: Sun, 18 Dec 2022 18:55:46 -0500 Subject: [PATCH] DOC: Fix unbalanced grouping commands Doxygen warnings Fix unbalanced grouping commands Doxygen warnings. Fixes: ``` Modules/Core/Common/include/itkAutoPointer.h:261: warning: unbalanced grouping commands ``` warnings across classes. The warning is raised when the Utilities/Doxygen/itkdoxygen.pl Doxygen Perl script processes the files at issue and starts a `/**@{` block that gets interrupted by an unexpected symbol (e.g. a brace) without being previously closed with the corresponding `/**@}*/` ending token. Raised for example in: https://open.cdash.org/viewBuildError.php?type=1&buildid=8344134 --- Modules/Core/Common/include/itkAutoPointer.h | 1 + .../include/itkBSplineDerivativeKernelFunction.h | 1 + .../include/itkBSplineInterpolationWeightFunction.h | 1 + .../Core/Common/include/itkBSplineKernelFunction.h | 1 + .../Common/include/itkBackwardDifferenceOperator.h | 1 + .../itkBufferedImageNeighborhoodPixelAccessPolicy.h | 1 + Modules/Core/Common/include/itkCommonEnums.h | 1 + .../include/itkConnectedImageNeighborhoodShape.h | 3 ++- ...nstantBoundaryImageNeighborhoodPixelAccessPolicy.h | 2 +- Modules/Core/Common/include/itkContinuousIndex.h | 1 + Modules/Core/Common/include/itkCovariantVector.h | 1 + .../Common/include/itkDefaultConvertPixelTraits.h | 1 + .../include/itkExtractImageFilterRegionCopier.h | 1 + Modules/Core/Common/include/itkFixedArray.h | 1 + .../Common/include/itkForwardDifferenceOperator.h | 1 + Modules/Core/Common/include/itkImageIterator.h | 1 + .../Core/Common/include/itkImageIteratorWithIndex.h | 1 + .../Common/include/itkImageLinearIteratorWithIndex.h | 1 + .../Common/include/itkImageRandomIteratorWithIndex.h | 1 + .../itkImageRandomNonRepeatingIteratorWithIndex.h | 1 + .../include/itkImageRegionConstIteratorWithIndex.h | 1 + .../itkImageRegionConstIteratorWithOnlyIndex.h | 1 + .../itkImageRegionExclusionIteratorWithIndex.h | 1 + Modules/Core/Common/include/itkImageRegionIterator.h | 1 + .../Common/include/itkImageRegionIteratorWithIndex.h | 1 + .../Common/include/itkImageRegionReverseIterator.h | 1 + Modules/Core/Common/include/itkImageReverseIterator.h | 1 + .../Core/Common/include/itkImageScanlineIterator.h | 1 + Modules/Core/Common/include/itkImageSink.h | 1 + .../Common/include/itkImageSliceIteratorWithIndex.h | 1 + Modules/Core/Common/include/itkMemoryUsageObserver.h | 11 +++++++++++ Modules/Core/Common/include/itkMultiThreaderBase.h | 1 + Modules/Core/Common/include/itkNeighborhoodIterator.h | 1 + .../Core/Common/include/itkOrientationAdapterBase.h | 1 + .../Common/include/itkPeriodicBoundaryCondition.h | 1 + Modules/Core/Common/include/itkPoint.h | 1 + ...hapedFloodFilledFunctionConditionalConstIterator.h | 1 + .../Common/include/itkShapedImageNeighborhoodRange.h | 1 + .../Core/Common/include/itkSymmetricEigenAnalysis.h | 1 + ...eroFluxNeumannImageNeighborhoodPixelAccessPolicy.h | 1 + .../Core/GPUCommon/include/itkGPUInPlaceImageFilter.h | 1 + Modules/Core/Mesh/include/itkMesh.h | 1 + .../include/itkQuadEdgeMeshFrontIterator.h | 6 ++++++ Modules/Core/SpatialObjects/include/itkMetaEvent.h | 1 + .../Core/SpatialObjects/include/itkSpatialObject.h | 1 + .../include/itkElasticBodySplineKernelTransform.h | 1 + .../include/itkNormalizedCorrelationImageFilter.h | 1 + .../include/itkReflectiveImageRegionIterator.h | 2 ++ .../ImageCompose/include/itkJoinImageFilter.h | 2 ++ .../ImageFeature/include/itkZeroCrossingImageFilter.h | 1 + .../ImageFilterBase/include/itkNoiseImageFilter.h | 1 + .../itkAdaptiveHistogramEqualizationImageFilter.h | 1 + Modules/Filtering/Path/include/itkParametricPath.h | 1 + .../Path/include/itkPathAndImageToPathFilter.h | 1 + Modules/Filtering/Path/include/itkPathToPathFilter.h | 1 + .../include/itkNormalQuadEdgeMeshFilter.h | 1 + .../Smoothing/include/itkMedianImageFilter.h | 1 + Modules/IO/GDCM/include/itkGDCMImageIO.h | 1 + Modules/IO/ImageBase/include/itkImageFileWriter.h | 1 + Modules/IO/ImageBase/include/itkImageSeriesWriter.h | 1 + Modules/IO/JPEG2000/include/itkJPEG2000ImageIO.h | 2 ++ .../IO/MeshBase/include/itkMeshConvertPixelTraits.h | 1 + .../IO/TransformBase/include/itkTransformFileReader.h | 2 ++ .../Optimizersv4/include/itkLBFGS2Optimizerv4.h | 1 + .../include/itkObjectToObjectOptimizerBase.h | 2 ++ .../Statistics/include/itkSampleToSubsampleFilter.h | 1 + .../include/itkMatchCardinalityImageToImageMetric.h | 1 + .../include/itkDefaultImageToImageMetricTraitsv4.h | 1 + .../Metricsv4/include/itkImageToImageMetricv4.h | 3 +++ ...mageToImageMetricv4GetValueAndDerivativeThreader.h | 2 ++ ...ToImageMetricv4GetValueAndDerivativeThreaderBase.h | 2 ++ .../include/itkCannySegmentationLevelSetFunction.h | 1 + .../itkIsotropicFourthOrderLevelSetImageFilter.h | 1 + .../include/itkUnsharpMaskLevelSetImageFilter.h | 1 + .../include/itkBinaryImageToLevelSetImageAdaptor.h | 1 + .../include/itkLevelSetEquationLaplacianTerm.h | 1 + .../include/itkLevelSetEquationPropagationTerm.h | 1 + .../Watersheds/include/itkWatershedSegmentTable.h | 2 ++ 78 files changed, 104 insertions(+), 2 deletions(-) diff --git a/Modules/Core/Common/include/itkAutoPointer.h b/Modules/Core/Common/include/itkAutoPointer.h index aa3abf945ee0..ebba56c2fcfd 100644 --- a/Modules/Core/Common/include/itkAutoPointer.h +++ b/Modules/Core/Common/include/itkAutoPointer.h @@ -250,6 +250,7 @@ TransferAutoPointer(TAutoPointerBase & pa, TAutoPointerDerived & pb) pb.ReleaseOwnership(); // pb Release Ownership and clears } } + } // end namespace itk #endif diff --git a/Modules/Core/Common/include/itkBSplineDerivativeKernelFunction.h b/Modules/Core/Common/include/itkBSplineDerivativeKernelFunction.h index ec8ccea5ceed..0e5e3861c46e 100644 --- a/Modules/Core/Common/include/itkBSplineDerivativeKernelFunction.h +++ b/Modules/Core/Common/include/itkBSplineDerivativeKernelFunction.h @@ -186,6 +186,7 @@ class ITK_TEMPLATE_EXPORT BSplineDerivativeKernelFunction : public KernelFunctio itkGenericExceptionMacro("Evaluate not implemented for spline order " << SplineOrder); } }; + } // end namespace itk #endif diff --git a/Modules/Core/Common/include/itkBSplineInterpolationWeightFunction.h b/Modules/Core/Common/include/itkBSplineInterpolationWeightFunction.h index 4e1907cb9955..3486e64f8402 100644 --- a/Modules/Core/Common/include/itkBSplineInterpolationWeightFunction.h +++ b/Modules/Core/Common/include/itkBSplineInterpolationWeightFunction.h @@ -132,6 +132,7 @@ class ITK_TEMPLATE_EXPORT BSplineInterpolationWeightFunction return table; }() }; }; + } // end namespace itk #ifndef ITK_MANUAL_INSTANTIATION diff --git a/Modules/Core/Common/include/itkBSplineKernelFunction.h b/Modules/Core/Common/include/itkBSplineKernelFunction.h index 7b07e3b4ac57..f0ce00fb8cd6 100644 --- a/Modules/Core/Common/include/itkBSplineKernelFunction.h +++ b/Modules/Core/Common/include/itkBSplineKernelFunction.h @@ -181,6 +181,7 @@ class ITK_TEMPLATE_EXPORT BSplineKernelFunction : public KernelFunctionBaseFillCenteredDirectional(coeff); } }; + } // namespace itk #ifndef ITK_MANUAL_INSTANTIATION diff --git a/Modules/Core/Common/include/itkBufferedImageNeighborhoodPixelAccessPolicy.h b/Modules/Core/Common/include/itkBufferedImageNeighborhoodPixelAccessPolicy.h index 55d7cdab0070..94be5a1fed78 100644 --- a/Modules/Core/Common/include/itkBufferedImageNeighborhoodPixelAccessPolicy.h +++ b/Modules/Core/Common/include/itkBufferedImageNeighborhoodPixelAccessPolicy.h @@ -126,6 +126,7 @@ class BufferedImageNeighborhoodPixelAccessPolicy final { m_NeighborhoodAccessor.Set(imageBufferPointer + m_PixelIndexValue, pixelValue); } + }; } // namespace itk diff --git a/Modules/Core/Common/include/itkCommonEnums.h b/Modules/Core/Common/include/itkCommonEnums.h index 6e481e34cc13..9ebb274212b4 100644 --- a/Modules/Core/Common/include/itkCommonEnums.h +++ b/Modules/Core/Common/include/itkCommonEnums.h @@ -170,6 +170,7 @@ using IOFileModeType = CommonEnums::IOFileMode; using IOByteOrderType = CommonEnums::IOByteOrder; using CellGeometryType = CommonEnums::CellGeometry; #endif + // Define how to print enumeration extern ITKCommon_EXPORT std::ostream & operator<<(std::ostream & out, IOPixelEnum value); diff --git a/Modules/Core/Common/include/itkConnectedImageNeighborhoodShape.h b/Modules/Core/Common/include/itkConnectedImageNeighborhoodShape.h index f3051a0daf7a..ff415a6d945c 100644 --- a/Modules/Core/Common/include/itkConnectedImageNeighborhoodShape.h +++ b/Modules/Core/Common/include/itkConnectedImageNeighborhoodShape.h @@ -93,6 +93,7 @@ namespace itk * \ingroup ImageIterators * \ingroup ITKCommon */ + template class ConnectedImageNeighborhoodShape { @@ -257,8 +258,8 @@ class ConnectedImageNeighborhoodShape { return (includeCenterPixel ? 1 : 0) + CalculateNumberOfConnectedNeighbors(maximumCityblockDistance); } -}; +}; /** Generates the offsets for a connected image neighborhood shape. */ template diff --git a/Modules/Core/Common/include/itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h b/Modules/Core/Common/include/itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h index e455ecbf35e4..d2aa46b5af79 100644 --- a/Modules/Core/Common/include/itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h +++ b/Modules/Core/Common/include/itkConstantBoundaryImageNeighborhoodPixelAccessPolicy.h @@ -144,8 +144,8 @@ class ConstantBoundaryImageNeighborhoodPixelAccessPolicy final m_NeighborhoodAccessor.Set(imageBufferPointer + m_PixelIndexValue, pixelValue); } } -}; +}; } // namespace itk diff --git a/Modules/Core/Common/include/itkContinuousIndex.h b/Modules/Core/Common/include/itkContinuousIndex.h index b82a0dc41ecb..e211027f944f 100644 --- a/Modules/Core/Common/include/itkContinuousIndex.h +++ b/Modules/Core/Common/include/itkContinuousIndex.h @@ -86,6 +86,7 @@ class ITK_TEMPLATE_EXPORT ContinuousIndex : public Point(index[i]); } } + }; } // namespace itk diff --git a/Modules/Core/Common/include/itkCovariantVector.h b/Modules/Core/Common/include/itkCovariantVector.h index 05885d24ec30..dd615827c414 100644 --- a/Modules/Core/Common/include/itkCovariantVector.h +++ b/Modules/Core/Common/include/itkCovariantVector.h @@ -254,6 +254,7 @@ class ITK_TEMPLATE_EXPORT CovariantVector : public FixedArray(pa[i]); } } + }; /** Premultiply Operator for product of a vector and a scalar. diff --git a/Modules/Core/Common/include/itkDefaultConvertPixelTraits.h b/Modules/Core/Common/include/itkDefaultConvertPixelTraits.h index 76a5fbc262af..b9b3cf842a27 100644 --- a/Modules/Core/Common/include/itkDefaultConvertPixelTraits.h +++ b/Modules/Core/Common/include/itkDefaultConvertPixelTraits.h @@ -77,6 +77,7 @@ class ITK_TEMPLATE_EXPORT DefaultConvertPixelTraits { return pixel.GetScalarValue(); } + }; #define ITK_DEFAULTCONVERTTRAITS_NATIVE_SPECIAL(type) \ diff --git a/Modules/Core/Common/include/itkExtractImageFilterRegionCopier.h b/Modules/Core/Common/include/itkExtractImageFilterRegionCopier.h index 0dcf41b78eb2..c32ad2e25e37 100644 --- a/Modules/Core/Common/include/itkExtractImageFilterRegionCopier.h +++ b/Modules/Core/Common/include/itkExtractImageFilterRegionCopier.h @@ -156,6 +156,7 @@ class ITK_TEMPLATE_EXPORT ExtractImageFilterRegionCopier : public ImageRegionCop { ImageRegionCopier::operator()(destRegion, srcRegion); } + }; } // end namespace ImageToImageFilterDetail } // end namespace itk diff --git a/Modules/Core/Common/include/itkFixedArray.h b/Modules/Core/Common/include/itkFixedArray.h index 347a91355469..23da7adb6e43 100644 --- a/Modules/Core/Common/include/itkFixedArray.h +++ b/Modules/Core/Common/include/itkFixedArray.h @@ -426,6 +426,7 @@ class ITK_TEMPLATE_EXPORT FixedArray { return MakeFilled(value); } + }; template diff --git a/Modules/Core/Common/include/itkForwardDifferenceOperator.h b/Modules/Core/Common/include/itkForwardDifferenceOperator.h index ed9a20366300..70aeddb25e24 100644 --- a/Modules/Core/Common/include/itkForwardDifferenceOperator.h +++ b/Modules/Core/Common/include/itkForwardDifferenceOperator.h @@ -71,6 +71,7 @@ class ITK_TEMPLATE_EXPORT ForwardDifferenceOperator : public NeighborhoodOperato { this->FillCenteredDirectional(coeff); } + }; } // namespace itk diff --git a/Modules/Core/Common/include/itkImageIterator.h b/Modules/Core/Common/include/itkImageIterator.h index bcc3cb145cba..db378b88954c 100644 --- a/Modules/Core/Common/include/itkImageIterator.h +++ b/Modules/Core/Common/include/itkImageIterator.h @@ -144,6 +144,7 @@ class ITK_TEMPLATE_EXPORT ImageIterator : public ImageConstIterator ImageIterator(const ImageConstIterator & it); Self & operator=(const ImageConstIterator & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageIteratorWithIndex.h b/Modules/Core/Common/include/itkImageIteratorWithIndex.h index 94ace5e96eea..0ca6f0c38766 100644 --- a/Modules/Core/Common/include/itkImageIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageIteratorWithIndex.h @@ -134,6 +134,7 @@ class ITK_TEMPLATE_EXPORT ImageIteratorWithIndex : public ImageConstIteratorWith ImageIteratorWithIndex(const ImageConstIteratorWithIndex & it); Self & operator=(const ImageConstIteratorWithIndex & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageLinearIteratorWithIndex.h b/Modules/Core/Common/include/itkImageLinearIteratorWithIndex.h index 3eb85da1121c..9b55aba88706 100644 --- a/Modules/Core/Common/include/itkImageLinearIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageLinearIteratorWithIndex.h @@ -120,6 +120,7 @@ class ITK_TEMPLATE_EXPORT ImageLinearIteratorWithIndex : public ImageLinearConst ImageLinearIteratorWithIndex(const ImageLinearConstIteratorWithIndex & it); Self & operator=(const ImageLinearConstIteratorWithIndex & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRandomIteratorWithIndex.h b/Modules/Core/Common/include/itkImageRandomIteratorWithIndex.h index 6aaf414628ef..d81ee052a909 100644 --- a/Modules/Core/Common/include/itkImageRandomIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageRandomIteratorWithIndex.h @@ -120,6 +120,7 @@ class ITK_TEMPLATE_EXPORT ImageRandomIteratorWithIndex : public ImageRandomConst ImageRandomIteratorWithIndex(const ImageRandomConstIteratorWithIndex & it); Self & operator=(const ImageRandomConstIteratorWithIndex & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRandomNonRepeatingIteratorWithIndex.h b/Modules/Core/Common/include/itkImageRandomNonRepeatingIteratorWithIndex.h index e867a17a6961..3c0d26e339cf 100644 --- a/Modules/Core/Common/include/itkImageRandomNonRepeatingIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageRandomNonRepeatingIteratorWithIndex.h @@ -132,6 +132,7 @@ class ITK_TEMPLATE_EXPORT ImageRandomNonRepeatingIteratorWithIndex ImageRandomNonRepeatingIteratorWithIndex(const ImageRandomNonRepeatingConstIteratorWithIndex & it); Self & operator=(const ImageRandomNonRepeatingConstIteratorWithIndex & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRegionConstIteratorWithIndex.h b/Modules/Core/Common/include/itkImageRegionConstIteratorWithIndex.h index 620e03c7a701..d3acce1bcf64 100644 --- a/Modules/Core/Common/include/itkImageRegionConstIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageRegionConstIteratorWithIndex.h @@ -191,6 +191,7 @@ class ITK_TEMPLATE_EXPORT ImageRegionConstIteratorWithIndex : public ImageConstI * \sa operator++ */ Self & operator--(); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRegionConstIteratorWithOnlyIndex.h b/Modules/Core/Common/include/itkImageRegionConstIteratorWithOnlyIndex.h index 17fe35a22dc4..59cc1e332c24 100644 --- a/Modules/Core/Common/include/itkImageRegionConstIteratorWithOnlyIndex.h +++ b/Modules/Core/Common/include/itkImageRegionConstIteratorWithOnlyIndex.h @@ -187,6 +187,7 @@ class ITK_TEMPLATE_EXPORT ImageRegionConstIteratorWithOnlyIndex : public ImageCo * \sa operator++ */ Self & operator--(); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRegionExclusionIteratorWithIndex.h b/Modules/Core/Common/include/itkImageRegionExclusionIteratorWithIndex.h index 37bc0db072c3..f0d341ac82d1 100644 --- a/Modules/Core/Common/include/itkImageRegionExclusionIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageRegionExclusionIteratorWithIndex.h @@ -121,6 +121,7 @@ class ITK_TEMPLATE_EXPORT ImageRegionExclusionIteratorWithIndex ImageRegionExclusionIteratorWithIndex(const ImageRegionExclusionConstIteratorWithIndex & it); Self & operator=(const ImageRegionExclusionConstIteratorWithIndex & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRegionIterator.h b/Modules/Core/Common/include/itkImageRegionIterator.h index 72a420ab0905..c94ab7d507d2 100644 --- a/Modules/Core/Common/include/itkImageRegionIterator.h +++ b/Modules/Core/Common/include/itkImageRegionIterator.h @@ -133,6 +133,7 @@ class ITK_TEMPLATE_EXPORT ImageRegionIterator : public ImageRegionConstIterator< ImageRegionIterator(const ImageRegionConstIterator & it); Self & operator=(const ImageRegionConstIterator & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRegionIteratorWithIndex.h b/Modules/Core/Common/include/itkImageRegionIteratorWithIndex.h index dddf36a837ed..c81e1e3e7a94 100644 --- a/Modules/Core/Common/include/itkImageRegionIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageRegionIteratorWithIndex.h @@ -126,6 +126,7 @@ class ITK_TEMPLATE_EXPORT ImageRegionIteratorWithIndex : public ImageRegionConst ImageRegionIteratorWithIndex(const ImageRegionConstIteratorWithIndex & it); Self & operator=(const ImageRegionConstIteratorWithIndex & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageRegionReverseIterator.h b/Modules/Core/Common/include/itkImageRegionReverseIterator.h index c3da858580f0..1853e35444f0 100644 --- a/Modules/Core/Common/include/itkImageRegionReverseIterator.h +++ b/Modules/Core/Common/include/itkImageRegionReverseIterator.h @@ -122,6 +122,7 @@ class ITK_TEMPLATE_EXPORT ImageRegionReverseIterator : public ImageRegionReverse ImageRegionReverseIterator(const ImageRegionReverseConstIterator & it); Self & operator=(const ImageRegionReverseConstIterator & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageReverseIterator.h b/Modules/Core/Common/include/itkImageReverseIterator.h index 8b732558d6b3..9363c1639672 100644 --- a/Modules/Core/Common/include/itkImageReverseIterator.h +++ b/Modules/Core/Common/include/itkImageReverseIterator.h @@ -118,6 +118,7 @@ class ITK_TEMPLATE_EXPORT ImageReverseIterator : public ImageRegionReverseConstI ImageReverseIterator(const ImageRegionReverseConstIterator & it); Self & operator=(const ImageRegionReverseConstIterator & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageScanlineIterator.h b/Modules/Core/Common/include/itkImageScanlineIterator.h index d2e3da68c3ab..9d74edfc9f47 100644 --- a/Modules/Core/Common/include/itkImageScanlineIterator.h +++ b/Modules/Core/Common/include/itkImageScanlineIterator.h @@ -95,6 +95,7 @@ class ITK_TEMPLATE_EXPORT ImageScanlineIterator : public ImageScanlineConstItera ImageScanlineIterator(const ImageScanlineConstIterator & it); Self & operator=(const ImageScanlineConstIterator & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkImageSink.h b/Modules/Core/Common/include/itkImageSink.h index 8189796b7ee6..3ca0d0dc6f3f 100644 --- a/Modules/Core/Common/include/itkImageSink.h +++ b/Modules/Core/Common/include/itkImageSink.h @@ -198,6 +198,7 @@ class ImageSink */ double m_CoordinateTolerance{ Self::GetGlobalDefaultCoordinateTolerance() }; double m_DirectionTolerance{ Self::GetGlobalDefaultDirectionTolerance() }; + }; } // namespace itk diff --git a/Modules/Core/Common/include/itkImageSliceIteratorWithIndex.h b/Modules/Core/Common/include/itkImageSliceIteratorWithIndex.h index 56041825b9fd..d29123da39fd 100644 --- a/Modules/Core/Common/include/itkImageSliceIteratorWithIndex.h +++ b/Modules/Core/Common/include/itkImageSliceIteratorWithIndex.h @@ -122,6 +122,7 @@ class ITK_TEMPLATE_EXPORT ImageSliceIteratorWithIndex : public ImageSliceConstIt ImageSliceIteratorWithIndex(const ImageSliceConstIteratorWithIndex & it); Self & operator=(const ImageSliceConstIteratorWithIndex & it); + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkMemoryUsageObserver.h b/Modules/Core/Common/include/itkMemoryUsageObserver.h index 28efcfe0ffc3..6e1aeeb0e87a 100644 --- a/Modules/Core/Common/include/itkMemoryUsageObserver.h +++ b/Modules/Core/Common/include/itkMemoryUsageObserver.h @@ -87,8 +87,10 @@ class ITKCommon_EXPORT LinuxMemoryUsageObserver : public MemoryUsageObserverBase public: /** destructor */ ~LinuxMemoryUsageObserver() override; + MemoryLoadType GetMemoryUsage() override; + }; #endif // __linux__ @@ -98,8 +100,10 @@ class ITKCommon_EXPORT MacOSXMemoryUsageObserver : public MemoryUsageObserverBas public: /** destructor */ ~MacOSXMemoryUsageObserver() override; + MemoryLoadType GetMemoryUsage() override; + }; #endif // Mac OS X @@ -109,8 +113,10 @@ class ITKCommon_EXPORT SunSolarisMemoryUsageObserver : public MemoryUsageObserve public: /** destructor */ virtual ~SunSolarisMemoryUsageObserver(); + virtual MemoryLoadType GetMemoryUsage(); + }; #endif // Sun Solaris @@ -120,8 +126,10 @@ class ITKCommon_EXPORT SysResourceMemoryUsageObserver : public MemoryUsageObserv public: /** destructor */ ~SysResourceMemoryUsageObserver() override; + MemoryLoadType GetMemoryUsage() override; + }; # if defined(ITK_HAS_MALLINFO) || defined(ITK_HAS_MALLINFO2) @@ -134,9 +142,12 @@ class ITKCommon_EXPORT MallinfoMemoryUsageObserver : public MemoryUsageObserverB public: /** destructor */ ~MallinfoMemoryUsageObserver() override; + MemoryLoadType GetMemoryUsage() override; + }; + # endif // Mallinfo #endif // !defined(WIN32) && !defined(_WIN32) diff --git a/Modules/Core/Common/include/itkMultiThreaderBase.h b/Modules/Core/Common/include/itkMultiThreaderBase.h index 9b99f10d9253..690bc5f17664 100644 --- a/Modules/Core/Common/include/itkMultiThreaderBase.h +++ b/Modules/Core/Common/include/itkMultiThreaderBase.h @@ -267,6 +267,7 @@ INTEL_PRAGMA_WARN_POP STD_EXCEPTION, UNKNOWN } ThreadExitCode; + }; // clang-format off ITK_GCC_PRAGMA_DIAG_POP() diff --git a/Modules/Core/Common/include/itkNeighborhoodIterator.h b/Modules/Core/Common/include/itkNeighborhoodIterator.h index 89915009efde..ac06fc8482c2 100644 --- a/Modules/Core/Common/include/itkNeighborhoodIterator.h +++ b/Modules/Core/Common/include/itkNeighborhoodIterator.h @@ -332,6 +332,7 @@ class ITK_TEMPLATE_EXPORT NeighborhoodIterator : public ConstNeighborhoodIterato { this->SetPixel(this->GetCenterNeighborhoodIndex() - this->GetStride(axis), v); } + }; } // namespace itk diff --git a/Modules/Core/Common/include/itkOrientationAdapterBase.h b/Modules/Core/Common/include/itkOrientationAdapterBase.h index 30f47b3b0b82..294dd33c75bf 100644 --- a/Modules/Core/Common/include/itkOrientationAdapterBase.h +++ b/Modules/Core/Common/include/itkOrientationAdapterBase.h @@ -62,6 +62,7 @@ class ITK_TEMPLATE_EXPORT [[deprecated("Since ITK 5.3 use SpatialOrientationAdap /** destructor, to silence "virtual class has non-virtual destructor()" warnings */ virtual ~OrientationAdapterBase() = default; + }; } // namespace itk #else // ITK_LEGACY_REMOVE diff --git a/Modules/Core/Common/include/itkPeriodicBoundaryCondition.h b/Modules/Core/Common/include/itkPeriodicBoundaryCondition.h index 4a50abadbbd1..0286eae236ac 100644 --- a/Modules/Core/Common/include/itkPeriodicBoundaryCondition.h +++ b/Modules/Core/Common/include/itkPeriodicBoundaryCondition.h @@ -109,6 +109,7 @@ class ITK_TEMPLATE_EXPORT PeriodicBoundaryCondition : public ImageBoundaryCondit */ OutputPixelType GetPixel(const IndexType & index, const TInputImage * image) const override; + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkPoint.h b/Modules/Core/Common/include/itkPoint.h index ac2a7dfa9a2b..ba27a7b3e3a9 100644 --- a/Modules/Core/Common/include/itkPoint.h +++ b/Modules/Core/Common/include/itkPoint.h @@ -119,6 +119,7 @@ class ITK_TEMPLATE_EXPORT Point : public FixedArray Point(const TPointValueType & v) : BaseArray(v) {} + Point(const ValueType & v) : BaseArray(v) {} diff --git a/Modules/Core/Common/include/itkShapedFloodFilledFunctionConditionalConstIterator.h b/Modules/Core/Common/include/itkShapedFloodFilledFunctionConditionalConstIterator.h index deb6168ae048..0b209d7a0ed0 100644 --- a/Modules/Core/Common/include/itkShapedFloodFilledFunctionConditionalConstIterator.h +++ b/Modules/Core/Common/include/itkShapedFloodFilledFunctionConditionalConstIterator.h @@ -294,6 +294,7 @@ class ITK_TEMPLATE_EXPORT ShapedFloodFilledFunctionConditionalConstIterator : pu * 8 (26 in 3D). */ bool m_FullyConnected; + }; } // end namespace itk diff --git a/Modules/Core/Common/include/itkShapedImageNeighborhoodRange.h b/Modules/Core/Common/include/itkShapedImageNeighborhoodRange.h index 4cf537319f4e..c3d65737e825 100644 --- a/Modules/Core/Common/include/itkShapedImageNeighborhoodRange.h +++ b/Modules/Core/Common/include/itkShapedImageNeighborhoodRange.h @@ -802,6 +802,7 @@ class ShapedImageNeighborhoodRange final m_RelativeLocation = location; SubtractIndex(m_RelativeLocation, m_BufferedRegionData.m_Index); } + }; } // namespace itk diff --git a/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h b/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h index d4e24d11745e..7e3a96d3e084 100644 --- a/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h +++ b/Modules/Core/Common/include/itkSymmetricEigenAnalysis.h @@ -110,6 +110,7 @@ permuteColumnsWithSortIndices(QMatrix & eigenVectors, const std::vector & i // Apply it eigenVectors = eigenVectors * perm; } + } // end namespace detail /** \class SymmetricEigenAnalysisEnums diff --git a/Modules/Core/Common/include/itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h b/Modules/Core/Common/include/itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h index 4f1edf0ae9db..2b785bc4db30 100644 --- a/Modules/Core/Common/include/itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h +++ b/Modules/Core/Common/include/itkZeroFluxNeumannImageNeighborhoodPixelAccessPolicy.h @@ -124,6 +124,7 @@ class ZeroFluxNeumannImageNeighborhoodPixelAccessPolicy final { m_NeighborhoodAccessor.Set(imageBufferPointer + m_PixelIndexValue, pixelValue); } + }; } // namespace itk diff --git a/Modules/Core/GPUCommon/include/itkGPUInPlaceImageFilter.h b/Modules/Core/GPUCommon/include/itkGPUInPlaceImageFilter.h index 5c6f7e584835..6affda45159e 100644 --- a/Modules/Core/GPUCommon/include/itkGPUInPlaceImageFilter.h +++ b/Modules/Core/GPUCommon/include/itkGPUInPlaceImageFilter.h @@ -102,6 +102,7 @@ class ITK_TEMPLATE_EXPORT GPUInPlaceImageFilter * \sa ProcessObject::ReleaseInputs() */ void ReleaseInputs() override; + }; } // end namespace itk diff --git a/Modules/Core/Mesh/include/itkMesh.h b/Modules/Core/Mesh/include/itkMesh.h index 2e510be80e70..08ba6302df2b 100644 --- a/Modules/Core/Mesh/include/itkMesh.h +++ b/Modules/Core/Mesh/include/itkMesh.h @@ -276,6 +276,7 @@ class ITK_TEMPLATE_EXPORT Mesh : public PointSetm_CurrentEdge); } + }; /** diff --git a/Modules/Core/SpatialObjects/include/itkMetaEvent.h b/Modules/Core/SpatialObjects/include/itkMetaEvent.h index a901d8ff7164..b3e0284073a7 100644 --- a/Modules/Core/SpatialObjects/include/itkMetaEvent.h +++ b/Modules/Core/SpatialObjects/include/itkMetaEvent.h @@ -44,6 +44,7 @@ class ITKSpatialObjects_EXPORT MetaEvent : public ::MetaEvent MetaEvent(); ~MetaEvent() override; }; + } // end namespace itk #endif diff --git a/Modules/Core/SpatialObjects/include/itkSpatialObject.h b/Modules/Core/SpatialObjects/include/itkSpatialObject.h index fab491629078..4dc160d41653 100644 --- a/Modules/Core/SpatialObjects/include/itkSpatialObject.h +++ b/Modules/Core/SpatialObjects/include/itkSpatialObject.h @@ -602,6 +602,7 @@ class ITK_TEMPLATE_EXPORT SpatialObject : public DataObject { return IsInsideInObjectSpace(point, depth, name); }; + #endif protected: diff --git a/Modules/Core/Transform/include/itkElasticBodySplineKernelTransform.h b/Modules/Core/Transform/include/itkElasticBodySplineKernelTransform.h index eb45751d3054..f9dc341af54e 100644 --- a/Modules/Core/Transform/include/itkElasticBodySplineKernelTransform.h +++ b/Modules/Core/Transform/include/itkElasticBodySplineKernelTransform.h @@ -110,6 +110,7 @@ class ITK_TEMPLATE_EXPORT ElasticBodySplineKernelTransform : public KernelTransf * \f$ \alpha = 12 ( 1 - \nu ) - 1\f$ */ TParametersValueType m_Alpha; + }; } // namespace itk diff --git a/Modules/Filtering/Convolution/include/itkNormalizedCorrelationImageFilter.h b/Modules/Filtering/Convolution/include/itkNormalizedCorrelationImageFilter.h index 8489e2b192a1..d5705db22f7f 100644 --- a/Modules/Filtering/Convolution/include/itkNormalizedCorrelationImageFilter.h +++ b/Modules/Filtering/Convolution/include/itkNormalizedCorrelationImageFilter.h @@ -167,6 +167,7 @@ class ITK_TEMPLATE_EXPORT NormalizedCorrelationImageFilter { Superclass::PrintSelf(os, indent); } + }; } // end namespace itk diff --git a/Modules/Filtering/DistanceMap/include/itkReflectiveImageRegionIterator.h b/Modules/Filtering/DistanceMap/include/itkReflectiveImageRegionIterator.h index acc969fce9f6..9cbba9fbc9f3 100644 --- a/Modules/Filtering/DistanceMap/include/itkReflectiveImageRegionIterator.h +++ b/Modules/Filtering/DistanceMap/include/itkReflectiveImageRegionIterator.h @@ -99,8 +99,10 @@ class ITK_TEMPLATE_EXPORT ReflectiveImageRegionIterator : public ReflectiveImage /** the construction from a const iterator is declared protected in order to enforce const correctness. */ ReflectiveImageRegionIterator(const ReflectiveImageRegionConstIterator & it); + Self & operator=(const ReflectiveImageRegionConstIterator & it); + }; } // end namespace itk diff --git a/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h b/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h index f24db489beac..16084a2ab326 100644 --- a/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h +++ b/Modules/Filtering/ImageCompose/include/itkJoinImageFilter.h @@ -48,6 +48,7 @@ template class JoinFunctor { public: + JoinFunctor() = default; ~JoinFunctor() = default; @@ -161,6 +162,7 @@ class JoinFunctor { out[idx] = static_cast(B); } + }; // class JoinFunction template diff --git a/Modules/Filtering/ImageFeature/include/itkZeroCrossingImageFilter.h b/Modules/Filtering/ImageFeature/include/itkZeroCrossingImageFilter.h index ace147b02e56..0473c64ad23f 100644 --- a/Modules/Filtering/ImageFeature/include/itkZeroCrossingImageFilter.h +++ b/Modules/Filtering/ImageFeature/include/itkZeroCrossingImageFilter.h @@ -145,6 +145,7 @@ class ITK_TEMPLATE_EXPORT ZeroCrossingImageFilter : public ImageToImageFilterModified(); } } + itkGetConstMacro(UseLookupTable, bool); itkBooleanMacro(UseLookupTable); #endif diff --git a/Modules/Filtering/Path/include/itkParametricPath.h b/Modules/Filtering/Path/include/itkParametricPath.h index beec1f497386..317f6fce011d 100644 --- a/Modules/Filtering/Path/include/itkParametricPath.h +++ b/Modules/Filtering/Path/include/itkParametricPath.h @@ -139,6 +139,7 @@ class ITK_TEMPLATE_EXPORT ParametricPath * constructor of all instantiable children. Values set in child constructors * overwrite values set in parent constructors. */ InputType m_DefaultInputStepSize; + }; } // namespace itk diff --git a/Modules/Filtering/Path/include/itkPathAndImageToPathFilter.h b/Modules/Filtering/Path/include/itkPathAndImageToPathFilter.h index 57db44563646..9f5a5433266b 100644 --- a/Modules/Filtering/Path/include/itkPathAndImageToPathFilter.h +++ b/Modules/Filtering/Path/include/itkPathAndImageToPathFilter.h @@ -105,6 +105,7 @@ class ITK_TEMPLATE_EXPORT PathAndImageToPathFilter : public PathToPathFilter * \sa ProcessObject::GenerateInputRequestedRegion() */ void GenerateInputRequestedRegion() override; + }; } // end namespace itk diff --git a/Modules/Filtering/QuadEdgeMeshFiltering/include/itkNormalQuadEdgeMeshFilter.h b/Modules/Filtering/QuadEdgeMeshFiltering/include/itkNormalQuadEdgeMeshFilter.h index 2bcf66f8ba4e..d3e279caa8c5 100644 --- a/Modules/Filtering/QuadEdgeMeshFiltering/include/itkNormalQuadEdgeMeshFilter.h +++ b/Modules/Filtering/QuadEdgeMeshFiltering/include/itkNormalQuadEdgeMeshFilter.h @@ -203,6 +203,7 @@ class ITK_TEMPLATE_EXPORT NormalQuadEdgeMeshFilter : public QuadEdgeMeshToQuadEd */ void GenerateData() override; + }; } // namespace itk diff --git a/Modules/Filtering/Smoothing/include/itkMedianImageFilter.h b/Modules/Filtering/Smoothing/include/itkMedianImageFilter.h index b55f5e945325..7bfe33bf7cc8 100644 --- a/Modules/Filtering/Smoothing/include/itkMedianImageFilter.h +++ b/Modules/Filtering/Smoothing/include/itkMedianImageFilter.h @@ -108,6 +108,7 @@ class ITK_TEMPLATE_EXPORT MedianImageFilter : public BoxImageFilterSetNumberOfWorkUnits(number); } itkLegacyMacro(virtual const ThreadIdType & GetNumberOfThreads() const) { return this->m_NumberOfWorkUnits; } + #endif // !ITK_LEGACY_REMOVE /** Get the number of work units set to be used. */ @@ -274,6 +275,7 @@ class ITK_TEMPLATE_EXPORT ObjectToObjectOptimizerBaseTemplate : public Object protected: /** Default constructor */ ObjectToObjectOptimizerBaseTemplate(); + ~ObjectToObjectOptimizerBaseTemplate() override; MetricTypePointer m_Metric; diff --git a/Modules/Numerics/Statistics/include/itkSampleToSubsampleFilter.h b/Modules/Numerics/Statistics/include/itkSampleToSubsampleFilter.h index 48fee69d226e..731f3e63bf9a 100644 --- a/Modules/Numerics/Statistics/include/itkSampleToSubsampleFilter.h +++ b/Modules/Numerics/Statistics/include/itkSampleToSubsampleFilter.h @@ -96,6 +96,7 @@ class ITK_TEMPLATE_EXPORT SampleToSubsampleFilter : public ProcessObject using Superclass::MakeOutput; DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override; + }; // end of class } // end of namespace Statistics } // end of namespace itk diff --git a/Modules/Registration/Common/include/itkMatchCardinalityImageToImageMetric.h b/Modules/Registration/Common/include/itkMatchCardinalityImageToImageMetric.h index f4c8625cc76f..65f52f9107ae 100644 --- a/Modules/Registration/Common/include/itkMatchCardinalityImageToImageMetric.h +++ b/Modules/Registration/Common/include/itkMatchCardinalityImageToImageMetric.h @@ -182,6 +182,7 @@ class ITK_TEMPLATE_EXPORT MatchCardinalityImageToImageMetric : public ImageToIma /** Support processing data in multiple threads. Used by subclasses * (e.g., ImageSource). */ MultiThreaderBase::Pointer m_Threader{ MultiThreaderBase::New() }; + }; } // end namespace itk diff --git a/Modules/Registration/Metricsv4/include/itkDefaultImageToImageMetricTraitsv4.h b/Modules/Registration/Metricsv4/include/itkDefaultImageToImageMetricTraitsv4.h index f06dc0a99c19..da2c0199ff90 100644 --- a/Modules/Registration/Metricsv4/include/itkDefaultImageToImageMetricTraitsv4.h +++ b/Modules/Registration/Metricsv4/include/itkDefaultImageToImageMetricTraitsv4.h @@ -110,6 +110,7 @@ class DefaultImageToImageMetricTraitsv4 itkConceptMacro(OnlyDefinedForFloatingPointTypes0, (itk::Concept::IsFloatingPoint)); itkConceptMacro(OnlyDefinedForFloatingPointTypes1, (itk::Concept::IsFloatingPoint)); #endif // ITK_USE_CONCEPT_CHECKING + }; } // end namespace itk diff --git a/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4.h b/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4.h index 766c09fdb06b..440837bff87e 100644 --- a/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4.h +++ b/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4.h @@ -445,6 +445,7 @@ class ITK_TEMPLATE_EXPORT ImageToImageMetricv4 itkLegacyMacro(virtual bool GetUseFixedSampledPointSet() const) { return this->GetUseSampledPointSet(); } itkLegacyMacro(virtual void UseFixedSampledPointSetOn()) { return this->UseSampledPointSetOn(); } itkLegacyMacro(virtual void UseFixedSampledPointSetOff()) { return this->UseSampledPointSetOff(); } + #endif @@ -504,6 +505,7 @@ class ITK_TEMPLATE_EXPORT ImageToImageMetricv4 this->SetMaximumNumberOfWorkUnits(count); } itkLegacyMacro(virtual ThreadIdType GetMaximumNumberOfThreads() const) { return this->GetMaximumNumberOfWorkUnits(); } + #endif // !ITK_LEGACY_REMOVE @@ -831,6 +833,7 @@ class ITK_TEMPLATE_EXPORT ImageToImageMetricv4 itkConceptMacro(OnlyDefinedForFloatingPointTypes0, (itk::Concept::IsFloatingPoint)); itkConceptMacro(OnlyDefinedForFloatingPointTypes1, (itk::Concept::IsFloatingPoint)); #endif // ITK_USE_CONCEPT_CHECKING + }; } // namespace itk diff --git a/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreader.h b/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreader.h index f624135e0088..dbc77d9e6282 100644 --- a/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreader.h +++ b/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreader.h @@ -122,6 +122,7 @@ class ITK_TEMPLATE_EXPORT ImageToImageMetricv4GetValueAndDerivativeThreader< { return this->m_CachedNumberOfLocalParameters; } + }; /** \class ImageToImageMetricv4GetValueAndDerivativeThreader @@ -198,6 +199,7 @@ class ITK_TEMPLATE_EXPORT { return this->m_CachedNumberOfLocalParameters; } + }; } // end namespace itk diff --git a/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h b/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h index 4121b3402a14..bd293bb3353a 100644 --- a/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h +++ b/Modules/Registration/Metricsv4/include/itkImageToImageMetricv4GetValueAndDerivativeThreaderBase.h @@ -186,7 +186,9 @@ class ITK_TEMPLATE_EXPORT ImageToImageMetricv4GetValueAndDerivativeThreaderBase * classes for efficiency. */ JacobianType MovingTransformJacobian; JacobianType MovingTransformJacobianPositional; + }; + itkPadStruct(ITK_CACHE_LINE_ALIGNMENT, GetValueAndDerivativePerThreadStruct, PaddedGetValueAndDerivativePerThreadStruct); diff --git a/Modules/Segmentation/LevelSets/include/itkCannySegmentationLevelSetFunction.h b/Modules/Segmentation/LevelSets/include/itkCannySegmentationLevelSetFunction.h index 3e0b2a9e1d58..8c21336f1cf4 100644 --- a/Modules/Segmentation/LevelSets/include/itkCannySegmentationLevelSetFunction.h +++ b/Modules/Segmentation/LevelSets/include/itkCannySegmentationLevelSetFunction.h @@ -156,6 +156,7 @@ class ITK_TEMPLATE_EXPORT CannySegmentationLevelSetFunction { m_Canny->SetInput(feature); } + }; } // end namespace itk diff --git a/Modules/Segmentation/LevelSets/include/itkIsotropicFourthOrderLevelSetImageFilter.h b/Modules/Segmentation/LevelSets/include/itkIsotropicFourthOrderLevelSetImageFilter.h index 5599339106bb..086996afca64 100644 --- a/Modules/Segmentation/LevelSets/include/itkIsotropicFourthOrderLevelSetImageFilter.h +++ b/Modules/Segmentation/LevelSets/include/itkIsotropicFourthOrderLevelSetImageFilter.h @@ -127,6 +127,7 @@ class ITK_TEMPLATE_EXPORT IsotropicFourthOrderLevelSetImageFilter return false; } } + }; } // end namespace itk diff --git a/Modules/Segmentation/LevelSets/include/itkUnsharpMaskLevelSetImageFilter.h b/Modules/Segmentation/LevelSets/include/itkUnsharpMaskLevelSetImageFilter.h index cdc43733e89e..d471d447abfb 100644 --- a/Modules/Segmentation/LevelSets/include/itkUnsharpMaskLevelSetImageFilter.h +++ b/Modules/Segmentation/LevelSets/include/itkUnsharpMaskLevelSetImageFilter.h @@ -120,6 +120,7 @@ class ITK_TEMPLATE_EXPORT UnsharpMaskLevelSetImageFilter return false; } } + }; } // end namespace itk diff --git a/Modules/Segmentation/LevelSetsv4/include/itkBinaryImageToLevelSetImageAdaptor.h b/Modules/Segmentation/LevelSetsv4/include/itkBinaryImageToLevelSetImageAdaptor.h index 97fb527a7604..9f4229239845 100644 --- a/Modules/Segmentation/LevelSetsv4/include/itkBinaryImageToLevelSetImageAdaptor.h +++ b/Modules/Segmentation/LevelSetsv4/include/itkBinaryImageToLevelSetImageAdaptor.h @@ -268,6 +268,7 @@ class ITK_TEMPLATE_EXPORT /** Fill layers adjacent to the zero level set (i.e. layer -1 and +1 )*/ void FindPlusOneMinusOneLayer(); + }; //////////////////////////////////////////////////////////////////////////////// diff --git a/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationLaplacianTerm.h b/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationLaplacianTerm.h index 087372234f18..13164b4f19ae 100644 --- a/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationLaplacianTerm.h +++ b/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationLaplacianTerm.h @@ -127,6 +127,7 @@ class ITK_TEMPLATE_EXPORT LevelSetEquationLaplacianTerm : public LevelSetEquatio * \f$ \omega_i( p ) \f$. */ LevelSetOutputRealType Value(const LevelSetInputIndexType & iP, const LevelSetDataType & iData) override; + }; } // namespace itk diff --git a/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationPropagationTerm.h b/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationPropagationTerm.h index 1de6e4529de0..209f73f0b285 100644 --- a/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationPropagationTerm.h +++ b/Modules/Segmentation/LevelSetsv4/include/itkLevelSetEquationPropagationTerm.h @@ -136,6 +136,7 @@ class ITK_TEMPLATE_EXPORT LevelSetEquationPropagationTerm : public LevelSetEquat Value(const LevelSetInputIndexType & iP) override; LevelSetOutputRealType Value(const LevelSetInputIndexType & iP, const LevelSetDataType & iData) override; + }; } // namespace itk diff --git a/Modules/Segmentation/Watersheds/include/itkWatershedSegmentTable.h b/Modules/Segmentation/Watersheds/include/itkWatershedSegmentTable.h index a7b2d6f2fb07..beae105f306e 100644 --- a/Modules/Segmentation/Watersheds/include/itkWatershedSegmentTable.h +++ b/Modules/Segmentation/Watersheds/include/itkWatershedSegmentTable.h @@ -67,6 +67,7 @@ class ITK_TEMPLATE_EXPORT SegmentTable : public DataObject : label(l) , height(s) {} + IdentifierType label; ScalarType height; @@ -83,6 +84,7 @@ class ITK_TEMPLATE_EXPORT SegmentTable : public DataObject return false; } } + }; /** Structure for storing lists of adjacencies (edges) and their