]> Creatis software - clitk.git/commitdiff
Debug nrrd and hdr IO with static compilation
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Mon, 22 Aug 2016 11:21:56 +0000 (13:21 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Mon, 22 Aug 2016 15:07:49 +0000 (17:07 +0200)
Conflicts:
vv/vv.pro
It Exists in static-Qt5 branhc but not in master branch

common/clitkIO.cxx

index 9481d3a2ef404055ffeccc620d6fddf30f1e62dc..284afa949ea0fe0ba4eec5b717f48602d922fcf1 100644 (file)
@@ -52,7 +52,9 @@
 #include <itkStimulateImageIOFactory.h>
 #include <itkTIFFImageIOFactory.h>
 #include <itkVTKImageIOFactory.h>
-#include <itkNiftiImageIO.h>
+#include <itkNiftiImageIOFactory.h>
+#include <itkNrrdImageIOFactory.h>
+#include <itkImageIOFactory.h>
 
 //--------------------------------------------------------------------
 // Register factories
@@ -98,5 +100,7 @@ void clitk::RegisterClitkFactories()
   itk::StimulateImageIOFactory::RegisterOneFactory();
   itk::TIFFImageIOFactory::RegisterOneFactory();
   itk::VTKImageIOFactory::RegisterOneFactory();
+  itk::NiftiImageIOFactory::RegisterOneFactory();
+  itk::NrrdImageIOFactory::RegisterOneFactory();
 } ////