X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=common%2FclitkIO.cxx;h=79aa9584cd8489de6645040901c41ddedf9d2d7e;hb=7b4f9338e243e8c76e831736993135f6fdbd46b7;hp=d2f775853a9433c7cd77663822ace3915e68aa79;hpb=01efc03d2d7e88c82197f8f500239573c8b67c39;p=clitk.git diff --git a/common/clitkIO.cxx b/common/clitkIO.cxx index d2f7758..79aa958 100644 --- a/common/clitkIO.cxx +++ b/common/clitkIO.cxx @@ -32,11 +32,24 @@ #include "clitkVfImageIOFactory.h" #include "clitkXdrImageIOFactory.h" #include "clitkHndImageIOFactory.h" +#include "clitkGateAsciiImageIOFactory.h" +#include "clitkConfiguration.h" +#if CLITK_PRIVATE_FEATURES + #include "clitkUsfImageIOFactory.h" + #include "clitkUSVoxImageIOFactory.h" + #include "clitkSvlImageIOFactory.h" +#endif //-------------------------------------------------------------------- // Register factories void clitk::RegisterClitkFactories() { +#if CLITK_PRIVATE_FEATURES + clitk::UsfImageIOFactory::RegisterOneFactory(); + clitk::USVoxImageIOFactory::RegisterOneFactory(); + clitk::SvlImageIOFactory::RegisterOneFactory(); +#endif + clitk::GateAsciiImageIOFactory::RegisterOneFactory(); clitk::DicomRTDoseIOFactory::RegisterOneFactory(); #if ITK_VERSION_MAJOR <= 3 itk::ImageIOFactory::RegisterBuiltInFactories();