From: BenoƮt Presles Date: Tue, 30 Oct 2012 10:57:16 +0000 (+0100) Subject: Added svl file format (Clarity) X-Git-Tag: v1.4.0~281^2 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=1c402506d8f184899673b73f5def6bd98d73f116;p=clitk.git Added svl file format (Clarity) --- diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index 91f53e5..76c19e6 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -39,6 +39,8 @@ IF(CLITK_PRIVATE_FEATURES) ${PROJECT_SOURCE_DIR}/private_features/clitkUsfImageIOFactory.cxx ${PROJECT_SOURCE_DIR}/private_features/clitkUSVoxImageIO.cxx ${PROJECT_SOURCE_DIR}/private_features/clitkUSVoxImageIOFactory.cxx + ${PROJECT_SOURCE_DIR}/private_features/clitkSvlImageIO.cxx + ${PROJECT_SOURCE_DIR}/private_features/clitkSvlImageIOFactory.cxx ) ENDIF(CLITK_PRIVATE_FEATURES) diff --git a/common/clitkIO.cxx b/common/clitkIO.cxx index cfa8e86..79aa958 100644 --- a/common/clitkIO.cxx +++ b/common/clitkIO.cxx @@ -37,6 +37,7 @@ #if CLITK_PRIVATE_FEATURES #include "clitkUsfImageIOFactory.h" #include "clitkUSVoxImageIOFactory.h" + #include "clitkSvlImageIOFactory.h" #endif //-------------------------------------------------------------------- @@ -46,6 +47,7 @@ void clitk::RegisterClitkFactories() #if CLITK_PRIVATE_FEATURES clitk::UsfImageIOFactory::RegisterOneFactory(); clitk::USVoxImageIOFactory::RegisterOneFactory(); + clitk::SvlImageIOFactory::RegisterOneFactory(); #endif clitk::GateAsciiImageIOFactory::RegisterOneFactory(); clitk::DicomRTDoseIOFactory::RegisterOneFactory(); diff --git a/vv/vvMainWindow.cxx b/vv/vvMainWindow.cxx index 11b4b3d..5cf7c98 100644 --- a/vv/vvMainWindow.cxx +++ b/vv/vvMainWindow.cxx @@ -101,7 +101,7 @@ #define COLUMN_IMAGE_NAME 7 #if CLITK_PRIVATE_FEATURES - #define EXTENSIONS "Images ( *.bmp *.png *.jpeg *.jpg *.tif *.mhd *.mha *.hdr *.vox *.his *.xdr *.SCAN *.nii *.nrrd *.nhdr *.refscan *.usf)" + #define EXTENSIONS "Images ( *.bmp *.png *.jpeg *.jpg *.tif *.mhd *.mha *.hdr *.vox *.his *.xdr *.SCAN *.nii *.nrrd *.nhdr *.refscan *.usf *.svl)" #else #define EXTENSIONS "Images ( *.bmp *.png *.jpeg *.jpg *.tif *.mhd *.mha *.hdr *.vox *.his *.xdr *.SCAN *.nii *.nrrd *.nhdr *.refscan)" #endif