vvImageReader.cxx
vvImageWriter.cxx
)
+IF(CLITK_PRIVATE_FEATURES)
+ SET(clitkCommon_SRC ${clitkCommon_SRC}
+ ${PROJECT_SOURCE_DIR}/private_features/clitkUsfImageIO.cxx
+ ${PROJECT_SOURCE_DIR}/private_features/clitkUsfImageIOFactory.cxx
+ )
+ENDIF(CLITK_PRIVATE_FEATURES)
### Declare clitkCommon library
ADD_LIBRARY(clitkCommon STATIC ${clitkCommon_SRC})
#cmakedefine01 CLITK_EXPERIMENTAL
#cmakedefine01 CLITK_MEMORY_INFO
+#cmakedefine01 CLITK_PRIVATE_FEATURES
// Global environment variables
#define OS_NAME "@CMAKE_SYSTEM@"
#include "clitkXdrImageIOFactory.h"
#include "clitkHndImageIOFactory.h"
#include "clitkGateAsciiImageIOFactory.h"
+#include "clitkConfiguration.h"
+#if CLITK_PRIVATE_FEATURES
+ #include "clitkUsfImageIOFactory.h"
+#endif
//--------------------------------------------------------------------
// Register factories
void clitk::RegisterClitkFactories()
{
+#if CLITK_PRIVATE_FEATURES
+ clitk::UsfImageIOFactory::RegisterOneFactory();
+#endif
clitk::GateAsciiImageIOFactory::RegisterOneFactory();
clitk::DicomRTDoseIOFactory::RegisterOneFactory();
#if ITK_VERSION_MAJOR <= 3
#define COLUMN_RELOAD_IMAGE 6
#define COLUMN_IMAGE_NAME 7
-#define EXTENSIONS "Images ( *.bmp *.png *.jpeg *.jpg *.tif *.mhd *.mha *.hdr *.vox *.his *.xdr *.SCAN *.nii *.nrrd *.nhdr)"
+#if CLITK_PRIVATE_FEATURES
+ #define EXTENSIONS "Images ( *.bmp *.png *.jpeg *.jpg *.tif *.mhd *.mha *.hdr *.vox *.his *.xdr *.SCAN *.nii *.nrrd *.nhdr *.usf)"
+#else
+ #define EXTENSIONS "Images ( *.bmp *.png *.jpeg *.jpg *.tif *.mhd *.mha *.hdr *.vox *.his *.xdr *.SCAN *.nii *.nrrd *.nhdr)"
+#endif
/*Data Tree values
0,Qt::UserRole full filename