Commit 59c57de1 authored by Emmanuel Christophe's avatar Emmanuel Christophe

ENH: cleanup headers

parent 8b78bb31
......@@ -21,7 +21,7 @@
#ifndef __otbEuclideanDistanceWithMissingValuePow2_h
#define __otbEuclideanDistanceWithMissingValuePow2_h
#include <itkEuclideanDistance.h>
#include "itkEuclideanDistance.h"
namespace otb {
......
......@@ -21,8 +21,6 @@
#ifndef __otbFlexibleDistanceWithMissingValue_txx
#define __otbFlexibleDistanceWithMissingValue_txx
#include <cmath>
#include "itkNumericTraits.h"
namespace otb {
......
......@@ -29,7 +29,6 @@
#include "itkZeroFluxNeumannBoundaryCondition.h"
#include "itkOffset.h"
#include "itkProgressReporter.h"
#include <math.h>
namespace otb
{
......
......@@ -21,7 +21,6 @@
#ifndef __otbListSampleToHistogramListGenerator_txx
#define __otbListSampleToHistogramListGenerator_txx
#include <exception>
#include "otbMacro.h"
#include "itkArray.h"
......
......@@ -21,7 +21,6 @@
#ifndef __otbListSampleToVariableDimensionHistogramGenerator_txx
#define __otbListSampleToVariableDimensionHistogramGenerator_txx
#include <exception>
#include "otbMacro.h"
namespace otb
......
......@@ -19,8 +19,6 @@
#define __otbCBAMI_h
#include <vector>
#include <stdlib.h>
#include <math.h>
namespace otb
{
......
......@@ -21,7 +21,7 @@
#ifndef __otbKullbackLeiblerSupervizedDistanceImageFilter_h
#define __otbKullbackLeiblerSupervizedDistanceImageFilter_h
#include <itkVariableLengthVector.h>
#include "itkVariableLengthVector.h"
#include "otbKullbackLeiblerDistanceImageFilter.h"
#include "otbROIdataConversion.h"
......
......@@ -20,8 +20,6 @@
#define __otbLHMI_h
#include <vector>
#include <stdlib.h>
#include <math.h>
#include "itkHistogram.h"
namespace otb
......
......@@ -26,8 +26,6 @@
#include "itkImageIteratorWithIndex.h"
#include "itkImageConstIteratorWithIndex.h"
#include <math.h>
namespace otb
{
......
......@@ -25,8 +25,6 @@
#include "itkImageRegionIterator.h"
#include "itkImageRegionConstIterator.h"
#include <math.h>
namespace otb
{
......
......@@ -21,7 +21,6 @@
#ifndef __otbImageRegionNonUniformMultidimensionalSplitter_txx
#define __otbImageRegionNonUniformMultidimensionalSplitter_txx
#include "otbImageRegionNonUniformMultidimensionalSplitter.h"
#include <math.h>
namespace otb
{
......
......@@ -19,8 +19,8 @@
#ifndef __otbShiftScaleImageAdaptor_h
#define __otbShiftScaleImageAdaptor_h
#include <itkImageAdaptor.h>
#include "vnl/vnl_math.h"
#include "itkImageAdaptor.h"
namespace otb
{
......
......@@ -19,11 +19,11 @@
#define __otbHoughTransform2DLinesImageFilter_txx
#include "otbHoughTransform2DLinesImageFilter.h"
#include <itkImageRegionConstIteratorWithIndex.h>
#include <itkImageRegionIteratorWithIndex.h>
#include <itkDiscreteGaussianImageFilter.h>
#include <itkMinimumMaximumImageCalculator.h>
#include <itkCastImageFilter.h>
#include "itkImageRegionConstIteratorWithIndex.h"
#include "itkImageRegionIteratorWithIndex.h"
#include "itkDiscreteGaussianImageFilter.h"
#include "itkMinimumMaximumImageCalculator.h"
#include "itkCastImageFilter.h"
namespace otb
{
......
......@@ -24,8 +24,8 @@
#include "itkConstNeighborhoodIterator.h"
#include "otbImageToHessianDeterminantImageFilter.h"
#include "itkPointSet.h"
#include <itkRescaleIntensityImageFilter.h>
#include <otbImageList.h>
#include "itkRescaleIntensityImageFilter.h"
#include "otbImageList.h"
#include "itkResampleImageFilter.h"
#include "otbImageToPointSetFilter.h"
......
......@@ -17,9 +17,9 @@
=========================================================================*/
#include "otbPostGISCreateTableTransactor.h"
#include <sstream>
#include "otbMacro.h"
#include <cassert>
#include <assert.h>
#include "otbMacro.h"
namespace otb
{
......
......@@ -17,10 +17,7 @@
=========================================================================*/
#include <iostream>
#include <fstream>
#include <string.h>
#include <list>
#include <vector>
#include <math.h>
#include "otbGDALImageIO.h"
#include "otbMacro.h"
......
......@@ -18,8 +18,6 @@
#ifndef __otbImage_h
#define __otbImage_h
#include <string.h>
#include "itkImage.h"
#include "otbImageMetadataInterfaceBase.h"
......
......@@ -20,6 +20,8 @@
#include "otbImageFileReader.h"
#include <fstream>
#include "itkMetaDataObject.h"
#include "otbMacro.h"
......@@ -31,8 +33,7 @@
#include "otbGDALImageIO.h" //FIXME find a better way
#include "otbTileMapImageIO.h"
#include <itksys/SystemTools.hxx>
#include <fstream>
#include "itksys/SystemTools.hxx"
#include "otbCurlHelper.h"
......
......@@ -16,10 +16,9 @@
=========================================================================*/
#include "otbLUMImageIO.h"
#include "itkByteSwapper.h"
#include <itksys/SystemTools.hxx>
#include <string.h> // for strncpy
#include "itkByteSwapper.h"
#include "itksys/SystemTools.hxx"
#include "itkExceptionObject.h"
#include "otbMacro.h"
#include "itkMacro.h"
......
......@@ -38,7 +38,7 @@
#include <iostream>
#include <list>
#include <string>
#include <math.h>
#include <cstring>
#include "otbMacro.h"
......
......@@ -18,12 +18,7 @@
#ifndef __otbMSTARImageIO_h
#define __otbMSTARImageIO_h
#include <string>
#include <cstring>
#include <fstream>
#include "itkImageIOBase.h"
#include <stdio.h>
namespace otb
{
......
......@@ -17,8 +17,7 @@
=========================================================================*/
#include "otbMWImageIO.h"
#include "itkByteSwapper.h"
#include <itksys/SystemTools.hxx>
#include <string.h> // for strncpy
#include "itksys/SystemTools.hxx"
#include "itkExceptionObject.h"
#include "otbMacro.h"
......
......@@ -17,13 +17,11 @@
=========================================================================*/
#include "otbONERAImageIO.h"
#include "itkByteSwapper.h"
#include <itksys/SystemTools.hxx>
#include <string.h> // for strncpy
#include "itksys/SystemTools.hxx"
#include "itkExceptionObject.h"
#include "otbMacro.h"
#include "itkMacro.h"
#include <stdio.h>
#include "otbSystem.h"
......
......@@ -16,9 +16,12 @@
=========================================================================*/
#include "otbRADImageIO.h"
#include <fstream>
#include <iostream>
#include "itkByteSwapper.h"
#include <itksys/SystemTools.hxx>
#include <string.h> // for strncpy
#include "itksys/SystemTools.hxx"
#include "itkExceptionObject.h"
#include "otbMacro.h"
......@@ -26,9 +29,6 @@
#include "otbSystem.h"
#include <fstream>
#include <iostream>
namespace otb
{
......
......@@ -18,12 +18,9 @@
#ifndef __otbVectorImage_h
#define __otbVectorImage_h
#include "itkVectorImage.h"
#include "otbImageMetadataInterfaceBase.h"
#include <string.h>
namespace otb
{
/** \class VectorImage
......
......@@ -21,8 +21,8 @@
#ifndef __otbPeriodicSOM_txx
#define __otbPeriodicSOM_txx
#include <itkNumericTraits.h>
#include <itkNeighborhoodIterator.h>
#include "itkNumericTraits.h"
#include "itkNeighborhoodIterator.h"
#include "otbPeriodicSOM.h"
......
......@@ -21,8 +21,8 @@
#ifndef __otbROIdataConversion_txx
#define __otbROIdataConversion_txx
#include <otbImage.h>
#include <itkVector.h>
#include "otbImage.h"
#include "itkVector.h"
#include "otbROIdataConversion.h"
#include "itkImageRegionConstIterator.h"
......
#ifndef __otbSEMClassifier_txx
#define __otbSEMClassifier_txx
#include <stdlib.h>
#include <cstdlib>
#include <iostream>
#include "itkNumericTraits.h"
......
......@@ -20,7 +20,7 @@
#include <vector>
#include <algorithm> // for std::find
#include <string.h> // for strpbrk
#include <cstring> // for strpbrk
#include "itkNumericTraits.h"
#include "otbMath.h"
......
......@@ -18,8 +18,6 @@
#ifndef __otbGeodesicMorphologyIterativeDecompositionImageFilter_txx
#define __otbGeodesicMorphologyIterativeDecompositionImageFilter_txx
#include <math.h>
#include "otbGeodesicMorphologyIterativeDecompositionImageFilter.h"
#include "itkProgressAccumulator.h"
......
......@@ -18,13 +18,11 @@
#ifndef __otbMorphologicalPyramidAnalysisFilter_txx
#define __otbMorphologicalPyramidAnalysisFilter_txx
#include <math.h>
#include "otbMorphologicalPyramidAnalysisFilter.h"
#include "itkSubtractImageFilter.h"
#include "itkMaximumImageFilter.h"
#include "itkImageDuplicator.h"
#include "itkImageDuplicator.h"
#include "otbMorphologicalPyramidResampler.h"
#include "itkProgressAccumulator.h"
#include "otbMacro.h"
......
......@@ -23,7 +23,7 @@
#include "otbMorphologicalPyramidResampler.h"
#include "itkSubtractImageFilter.h"
#include "itkAddImageFilter.h"
#include "itkImageDuplicator.h"
#include "itkImageDuplicator.h"
#include "otbMacro.h"
namespace otb
......
......@@ -20,7 +20,6 @@
#include <iostream>
#include <sstream>
#include <stdio.h>
#include "itkTransform.h"
#include "itkExceptionObject.h"
......
......@@ -19,7 +19,7 @@
#define __otbDEMHandler_h
#include <iostream>
#include <stdio.h>
#include <cstdio>
#include "itkIndent.h"
#include "itkObject.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment