X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkIO.cxx;h=cfa8e86ff994fa59492f9d95064a2cf7cc9c4a98;hb=bc4b7eaef671605cb3e8077ce8a70eb7386890e5;hp=2126a5a4d79110eb1abf96422480ef5587c1f8f8;hpb=14678a46d28327b25957a1efc59f0c29d2a83564;p=clitk.git diff --git a/common/clitkIO.cxx b/common/clitkIO.cxx index 2126a5a..cfa8e86 100644 --- a/common/clitkIO.cxx +++ b/common/clitkIO.cxx @@ -33,14 +33,21 @@ #include "clitkXdrImageIOFactory.h" #include "clitkHndImageIOFactory.h" #include "clitkGateAsciiImageIOFactory.h" +#include "clitkConfiguration.h" +#if CLITK_PRIVATE_FEATURES + #include "clitkUsfImageIOFactory.h" + #include "clitkUSVoxImageIOFactory.h" +#endif //-------------------------------------------------------------------- // Register factories void clitk::RegisterClitkFactories() { -#ifdef unix - clitk::GateAsciiImageIOFactory::RegisterOneFactory(); +#if CLITK_PRIVATE_FEATURES + clitk::UsfImageIOFactory::RegisterOneFactory(); + clitk::USVoxImageIOFactory::RegisterOneFactory(); #endif + clitk::GateAsciiImageIOFactory::RegisterOneFactory(); clitk::DicomRTDoseIOFactory::RegisterOneFactory(); #if ITK_VERSION_MAJOR <= 3 itk::ImageIOFactory::RegisterBuiltInFactories();