From 21be2c50d2c1fc6f2f02beabe18831f505bdee14 Mon Sep 17 00:00:00 2001 From: tbaudier Date: Thu, 27 Apr 2017 10:01:58 +0200 Subject: [PATCH] Add clitkCommon to include ITK_OVERVIEW for older ITK versions --- common/clitkEsrfHstImageIO.h | 2 ++ common/clitkEsrfHstImageIOFactory.h | 2 ++ common/clitkEsrfHstXMLFileReader.h | 2 ++ common/clitkGateAsciiImageIO.h | 2 ++ common/clitkXdrImageIO.h | 2 ++ common/rtkEdfImageIO.h | 2 ++ common/rtkHisImageIO.h | 2 ++ common/rtkHndImageIO.h | 2 ++ common/rtkImagXImageIO.h | 2 ++ common/rtkImagXXMLFileReader.h | 2 ++ common/rtkXRadImageIO.h | 2 ++ itk/clitkResampleImageWithOptionsFilter.h | 2 ++ itk/clitkSetBackgroundImageFilter.h | 2 ++ itk/itkBSplineInterpolateImageFunctionWithLUT.h | 2 ++ itk/itkFlexibleBinaryFunctorImageFilter.h | 2 ++ registration/clitkLBFGSBOptimizer.h | 2 ++ vv/vvQProgressDialogITKCommand.h | 2 ++ 17 files changed, 34 insertions(+) diff --git a/common/clitkEsrfHstImageIO.h b/common/clitkEsrfHstImageIO.h index 716243b..c35f98f 100644 --- a/common/clitkEsrfHstImageIO.h +++ b/common/clitkEsrfHstImageIO.h @@ -23,6 +23,8 @@ #include #include +#include "clitkCommon.h" + namespace clitk { diff --git a/common/clitkEsrfHstImageIOFactory.h b/common/clitkEsrfHstImageIOFactory.h index a76b9f9..b63d4ad 100644 --- a/common/clitkEsrfHstImageIOFactory.h +++ b/common/clitkEsrfHstImageIOFactory.h @@ -24,6 +24,8 @@ #include #include +#include "clitkCommon.h" + namespace clitk { diff --git a/common/clitkEsrfHstXMLFileReader.h b/common/clitkEsrfHstXMLFileReader.h index 440cc04..bd2f0a2 100644 --- a/common/clitkEsrfHstXMLFileReader.h +++ b/common/clitkEsrfHstXMLFileReader.h @@ -28,6 +28,8 @@ #include +#include "clitkCommon.h" + namespace clitk { diff --git a/common/clitkGateAsciiImageIO.h b/common/clitkGateAsciiImageIO.h index 98c56ee..d5eefc1 100644 --- a/common/clitkGateAsciiImageIO.h +++ b/common/clitkGateAsciiImageIO.h @@ -30,6 +30,8 @@ typedef unsigned int uint32_t; #include #endif +#include "clitkCommon.h" + namespace clitk { diff --git a/common/clitkXdrImageIO.h b/common/clitkXdrImageIO.h index e916c9c..3458898 100644 --- a/common/clitkXdrImageIO.h +++ b/common/clitkXdrImageIO.h @@ -34,6 +34,8 @@ #define AVSerror(v) itkGenericExceptionMacro(<< "Error in clitk::XdrImageIO. Message:" << v); #define AVSwarning(v) itkWarningMacro(<< "Error in clitk::XdrImageIO. Message:" << v); +#include "clitkCommon.h" + namespace clitk { //==================================================================== diff --git a/common/rtkEdfImageIO.h b/common/rtkEdfImageIO.h index 7600367..f88b2b7 100644 --- a/common/rtkEdfImageIO.h +++ b/common/rtkEdfImageIO.h @@ -23,6 +23,8 @@ #include #include +#include "clitkCommon.h" + namespace rtk { /** \class EdfImageIO diff --git a/common/rtkHisImageIO.h b/common/rtkHisImageIO.h index f8fa054..9a0e354 100644 --- a/common/rtkHisImageIO.h +++ b/common/rtkHisImageIO.h @@ -22,6 +22,8 @@ // itk include #include +#include "clitkCommon.h" + namespace rtk { diff --git a/common/rtkHndImageIO.h b/common/rtkHndImageIO.h index 86678ac..f88e11e 100644 --- a/common/rtkHndImageIO.h +++ b/common/rtkHndImageIO.h @@ -29,6 +29,8 @@ #include #endif +#include "clitkCommon.h" + namespace rtk { /** \class HndImageIO diff --git a/common/rtkImagXImageIO.h b/common/rtkImagXImageIO.h index 1bb893e..387dd68 100644 --- a/common/rtkImagXImageIO.h +++ b/common/rtkImagXImageIO.h @@ -23,6 +23,8 @@ #include #include +#include "clitkCommon.h" + namespace rtk { diff --git a/common/rtkImagXXMLFileReader.h b/common/rtkImagXXMLFileReader.h index 8e30aaa..e3493c1 100644 --- a/common/rtkImagXXMLFileReader.h +++ b/common/rtkImagXXMLFileReader.h @@ -28,6 +28,8 @@ #include +#include "clitkCommon.h" + namespace rtk { diff --git a/common/rtkXRadImageIO.h b/common/rtkXRadImageIO.h index b08fcb5..65d2d11 100644 --- a/common/rtkXRadImageIO.h +++ b/common/rtkXRadImageIO.h @@ -23,6 +23,8 @@ #include #include +#include "clitkCommon.h" + namespace rtk { /** \class XRadImageIO diff --git a/itk/clitkResampleImageWithOptionsFilter.h b/itk/clitkResampleImageWithOptionsFilter.h index 972075a..f3de134 100644 --- a/itk/clitkResampleImageWithOptionsFilter.h +++ b/itk/clitkResampleImageWithOptionsFilter.h @@ -22,6 +22,8 @@ #include "itkImageToImageFilter.h" #include "itkAffineTransform.h" +#include "clitkCommon.h" + namespace clitk { //-------------------------------------------------------------------- diff --git a/itk/clitkSetBackgroundImageFilter.h b/itk/clitkSetBackgroundImageFilter.h index 37e856c..500ecc4 100644 --- a/itk/clitkSetBackgroundImageFilter.h +++ b/itk/clitkSetBackgroundImageFilter.h @@ -20,6 +20,8 @@ #include "itkFlexibleBinaryFunctorImageFilter.h" #include "itkNumericTraits.h" +#include "clitkCommon.h" + namespace clitk { diff --git a/itk/itkBSplineInterpolateImageFunctionWithLUT.h b/itk/itkBSplineInterpolateImageFunctionWithLUT.h index e92ee7e..5ca614d 100644 --- a/itk/itkBSplineInterpolateImageFunctionWithLUT.h +++ b/itk/itkBSplineInterpolateImageFunctionWithLUT.h @@ -21,6 +21,8 @@ #include "itkBSplineWeightsCalculator.h" #include +#include "clitkCommon.h" + namespace itk { template < diff --git a/itk/itkFlexibleBinaryFunctorImageFilter.h b/itk/itkFlexibleBinaryFunctorImageFilter.h index dbf405b..f8736d7 100644 --- a/itk/itkFlexibleBinaryFunctorImageFilter.h +++ b/itk/itkFlexibleBinaryFunctorImageFilter.h @@ -20,6 +20,8 @@ #include "itkInPlaceImageFilter.h" #include "itkImageRegionIteratorWithIndex.h" +#include "clitkCommon.h" + namespace itk { diff --git a/registration/clitkLBFGSBOptimizer.h b/registration/clitkLBFGSBOptimizer.h index c5d8966..4ea8924 100644 --- a/registration/clitkLBFGSBOptimizer.h +++ b/registration/clitkLBFGSBOptimizer.h @@ -19,6 +19,8 @@ #define __clitkLBFGSBOptimizer_h #include "itkSingleValuedNonLinearVnlOptimizer.h" +#include "clitkCommon.h" + namespace clitk { diff --git a/vv/vvQProgressDialogITKCommand.h b/vv/vvQProgressDialogITKCommand.h index 39e0f0f..72821b7 100644 --- a/vv/vvQProgressDialogITKCommand.h +++ b/vv/vvQProgressDialogITKCommand.h @@ -22,6 +22,8 @@ // qt include #include +#include "clitkCommon.h" + class vvQProgressDialogITKCommand : public itk::Command { public: -- 2.47.1