Skip to content

Commit 0525c1d

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 c4f607b commit 0525c1d

File tree

40 files changed

+0
-40
lines changed

40 files changed

+0
-40
lines changed

include/itkBinaryThresholdFeatureGenerator.hxx

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

21-
#include "itkBinaryThresholdFeatureGenerator.h"
2221
#include "itkProgressAccumulator.h"
2322

2423
namespace itk

include/itkCannyEdgeDetectionRecursiveGaussianImageFilter.hxx

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

2221
#include "itkZeroCrossingImageFilter.h"
2322
#include "itkNeighborhoodInnerProduct.h"

include/itkCannyEdgesDistanceAdvectionFieldFeatureGenerator.hxx

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

21-
#include "itkCannyEdgesDistanceAdvectionFieldFeatureGenerator.h"
2221

2322

2423
namespace itk

include/itkCannyEdgesDistanceFeatureGenerator.hxx

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

21-
#include "itkCannyEdgesDistanceFeatureGenerator.h"
2221

2322

2423
namespace itk

include/itkCannyEdgesFeatureGenerator.hxx

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

21-
#include "itkCannyEdgesFeatureGenerator.h"
2221

2322

2423
namespace itk

include/itkConfidenceConnectedSegmentationModule.hxx

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

21-
#include "itkConfidenceConnectedSegmentationModule.h"
2221
#include "itkProgressAccumulator.h"
2322

2423

include/itkConnectedThresholdSegmentationModule.hxx

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

21-
#include "itkConnectedThresholdSegmentationModule.h"
2221
#include "itkProgressAccumulator.h"
2322

2423

include/itkDescoteauxSheetnessFeatureGenerator.hxx

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

21-
#include "itkDescoteauxSheetnessFeatureGenerator.h"
2221

2322

2423
namespace itk

include/itkFastMarchingAndGeodesicActiveContourLevelSetSegmentationModule.hxx

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

21-
#include "itkFastMarchingAndGeodesicActiveContourLevelSetSegmentationModule.h"
2221
#include "itkGeodesicActiveContourLevelSetImageFilter.h"
2322
#include "itkProgressAccumulator.h"
2423

include/itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.hxx

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

21-
#include "itkFastMarchingAndShapeDetectionLevelSetSegmentationModule.h"
2221
#include "itkShapeDetectionLevelSetImageFilter.h"
2322
#include "itkProgressAccumulator.h"
2423

0 commit comments

Comments
 (0)