From 1c402506d8f184899673b73f5def6bd98d73f116 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Presles?= Date: Tue, 30 Oct 2012 11:57:16 +0100 Subject: [PATCH] Added svl file format (Clarity) --- common/CMakeLists.txt | 2 ++ common/clitkIO.cxx | 2 ++ vv/vvMainWindow.cxx | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) 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 -- 2.47.1