]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkNIFTIImageReader.h
#3349 creaVtkFeature New Normal - box NIFFImageReader
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkNIFTIImageReader.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkNIFTIImageReader.h b/bbtk_creaVtk_PKG/src/bbcreaVtkNIFTIImageReader.h
new file mode 100644 (file)
index 0000000..f32a71d
--- /dev/null
@@ -0,0 +1,52 @@
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+#ifndef __bbcreaVtkNIFTIImageReader_h_INCLUDED__
+#define __bbcreaVtkNIFTIImageReader_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkImageData.h"
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT NIFTIImageReader
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(NIFTIImageReader,bbtk::AtomicBlackBox);
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+  BBTK_DECLARE_INPUT(Type,int);
+  BBTK_DECLARE_INPUT(FileNames,std::vector < std::string >);
+  BBTK_DECLARE_OUTPUT(Out, vtkImageData*);
+  BBTK_DECLARE_OUTPUT(OutVector, std::vector< vtkImageData* >);
+  BBTK_PROCESS(Process);
+  void Process();
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(NIFTIImageReader,bbtk::AtomicBlackBox);
+  BBTK_NAME("NIFTIImageReader");
+  BBTK_AUTHOR("Info-Dev");
+  BBTK_DESCRIPTION("No Description.");
+  BBTK_CATEGORY("empty");
+  BBTK_INPUT(NIFTIImageReader,Type,"(default 0)   0:Use FileNames by slice  1:Use FileNames by volumes",int,"");
+  BBTK_INPUT(NIFTIImageReader,FileNames,"List of file names",std::vector<std::string>,"");
+  BBTK_OUTPUT(NIFTIImageReader,Out,"Output image",vtkImageData*,"");
+  BBTK_OUTPUT(NIFTIImageReader,OutVector,"Vector of image",std::vector<vtkImageData*>,"");
+BBTK_END_DESCRIBE_BLACK_BOX(NIFTIImageReader);
+//===== 
+// Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
+//===== 
+}
+// EO namespace bbcreaVtk
+
+#endif // __bbcreaVtkNIFTIImageReader_h_INCLUDED__
+