]> Creatis software - clitk.git/commitdiff
Allow to open mhd/jpeg/... images with a static compilation with a .pro file
authortbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 9 Jun 2016 08:28:47 +0000 (10:28 +0200)
committertbaudier <thomas.baudier@creatis.insa-lyon.fr>
Thu, 9 Jun 2016 08:28:47 +0000 (10:28 +0200)
common/clitkIO.cxx

index 63e3be119f9bc7851f9711a68cdd9e25c4484bcd..9f3fa11a34b6f02934ea0dc89c3d9ef32650ca0b 100644 (file)
   #include "clitkUSVoxImageIOFactory.h"
   #include "clitkSvlImageIOFactory.h"
 #endif
-#include "itkGDCMImageIOFactory.h"
-#include "itkPNGImageIOFactory.h"
+#include <itkBMPImageIOFactory.h>
+#include <itkGDCMImageIOFactory.h>
+#include <itkGiplImageIOFactory.h>
+#include <itkJPEGImageIOFactory.h>
+#include <itkMetaImageIOFactory.h>
+#include <itkPNGImageIOFactory.h>
+#include <itkStimulateImageIOFactory.h>
+#include <itkTIFFImageIOFactory.h>
+#include <itkVTKImageIOFactory.h>
 
 //--------------------------------------------------------------------
 // Register factories
@@ -81,7 +88,14 @@ void clitk::RegisterClitkFactories()
   rtk::ImagXImageIOFactory::RegisterOneFactory();
   rtk::XRadImageIOFactory::RegisterOneFactory();
   clitk::EsrfHstImageIOFactory::RegisterOneFactory();
+  itk::BMPImageIOFactory::RegisterOneFactory();
   itk::GDCMImageIOFactory::RegisterOneFactory();
+  itk::GiplImageIOFactory::RegisterOneFactory();
+  itk::JPEGImageIOFactory::RegisterOneFactory();
+  itk::MetaImageIOFactory::RegisterOneFactory();
   itk::PNGImageIOFactory::RegisterOneFactory();
+  itk::StimulateImageIOFactory::RegisterOneFactory();
+  itk::TIFFImageIOFactory::RegisterOneFactory();
+  itk::VTKImageIOFactory::RegisterOneFactory();
 } ////