]> Creatis software - bbtk.git/blobdiff - packages/itk/src/bbitkImageToString.h
*** empty log message ***
[bbtk.git] / packages / itk / src / bbitkImageToString.h
diff --git a/packages/itk/src/bbitkImageToString.h b/packages/itk/src/bbitkImageToString.h
new file mode 100644 (file)
index 0000000..65b4f31
--- /dev/null
@@ -0,0 +1,17 @@
+/*
+#include "ScalarToString.h"
+#include "ITKImage.h"
+#include "bbPackageITKBase.h"
+
+//====================================================================
+template <> void ScalarToString<itkImage*> ::DoIt()
+{
+  bbSetOutputOut( bbGetInputIn()->GetInfoString() );
+}
+//====================================================================
+
+//====================================================================
+// Add the specialized adaptors to the package
+typedef itkImage* itkImagePointer;
+BBTK_ADD_TEMPLATE_ADAPTOR_TO_PACKAGE(ITKBase,ScalarToString,itkImagePointer);
+*/