Skip to content

Commit 0f901b8

Browse files
committed
COMP: Remove inclusion of .hxx files as headers
The ability to include either .h or .hxx files as header files required recursively reading the .h files twice. The added complexity is unnecessary, costly, and can confuse static analysis tools that monitor header guardes (due to reaching the maximum depth of recursion limits for nested #ifdefs in checking).
1 parent 7e663c3 commit 0f901b8

27 files changed

+0
-28
lines changed

include/itkExpandWithZerosImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkExpandWithZerosImageFilter_hxx
1919
#define itkExpandWithZerosImageFilter_hxx
2020

21-
#include "itkExpandWithZerosImageFilter.h"
2221
#include "itkImageScanlineIterator.h"
2322
#include "itkImageRegionConstIteratorWithIndex.h"
2423
#include "itkObjectFactory.h"

include/itkFrequencyExpandImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkFrequencyExpandImageFilter_hxx
1919
#define itkFrequencyExpandImageFilter_hxx
2020

21-
#include <itkFrequencyExpandImageFilter.h>
2221
#include <itkProgressReporter.h>
2322
#include "itkInd2Sub.h"
2423
#include <itkPasteImageFilter.h>

include/itkFrequencyExpandViaInverseFFTImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkFrequencyExpandViaInverseFFTImageFilter_hxx
1919
#define itkFrequencyExpandViaInverseFFTImageFilter_hxx
2020

21-
#include "itkFrequencyExpandViaInverseFFTImageFilter.h"
2221

2322
namespace itk
2423
{

include/itkFrequencyShrinkImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkFrequencyShrinkImageFilter_hxx
1919
#define itkFrequencyShrinkImageFilter_hxx
2020

21-
#include <itkFrequencyShrinkImageFilter.h>
2221
#include <itkProgressReporter.h>
2322
#include <numeric>
2423
#include <functional>

include/itkFrequencyShrinkViaInverseFFTImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkFrequencyShrinkViaInverseFFTImageFilter_hxx
1919
#define itkFrequencyShrinkViaInverseFFTImageFilter_hxx
2020

21-
#include <itkFrequencyShrinkViaInverseFFTImageFilter.h>
2221

2322
namespace itk
2423
{

include/itkHeldIsotropicWavelet.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121
#include <cmath>
2222
#include <itkMath.h>
23-
#include <itkHeldIsotropicWavelet.h>
2423

2524
namespace itk
2625
{

include/itkIsotropicWaveletFrequencyFunction.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#ifndef itkIsotropicWaveletFrequencyFunction_hxx
1919
#define itkIsotropicWaveletFrequencyFunction_hxx
2020

21-
#include "itkIsotropicWaveletFrequencyFunction.h"
2221
#include <cmath>
2322
#include <itkMath.h>
2423

include/itkMonogenicSignalFrequencyImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*=========================================================================*/
1818
#ifndef itkMonogenicSignalFrequencyImageFilter_hxx
1919
#define itkMonogenicSignalFrequencyImageFilter_hxx
20-
#include "itkMonogenicSignalFrequencyImageFilter.h"
2120
#include "itkImageRegionIterator.h"
2221
namespace itk
2322
{

include/itkPhaseAnalysisImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*=========================================================================*/
1818
#ifndef itkPhaseAnalysisImageFilter_hxx
1919
#define itkPhaseAnalysisImageFilter_hxx
20-
#include "itkPhaseAnalysisImageFilter.h"
2120

2221
namespace itk
2322
{

include/itkPhaseAnalysisSoftThresholdImageFilter.hxx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*=========================================================================*/
1818
#ifndef itkPhaseAnalysisSoftThresholdImageFilter_hxx
1919
#define itkPhaseAnalysisSoftThresholdImageFilter_hxx
20-
#include "itkPhaseAnalysisSoftThresholdImageFilter.h"
2120
#include "itkImageScanlineConstIterator.h"
2221
#include "itkImageScanlineIterator.h"
2322

0 commit comments

Comments
 (0)