]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkXMLImageDataWriter.h
#3148 creaVtkFeature New Normal - VtkXMLImageDataWriter box to white vti files
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkXMLImageDataWriter.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkXMLImageDataWriter.h b/bbtk_creaVtk_PKG/src/bbcreaVtkXMLImageDataWriter.h
new file mode 100644 (file)
index 0000000..7cabdb4
--- /dev/null
@@ -0,0 +1,50 @@
+//===== 
+// 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 __bbcreaVtkXMLImageDataWriter_h_INCLUDED__
+#define __bbcreaVtkXMLImageDataWriter_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkImageData.h"
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT XMLImageDataWriter
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(XMLImageDataWriter,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(In,vtkImageData*);
+  BBTK_DECLARE_INPUT(FileName,std::string);
+//  BBTK_DECLARE_OUTPUT(FileName,std::string);
+  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(XMLImageDataWriter,bbtk::AtomicBlackBox);
+  BBTK_NAME("XMLImageDataWriter");
+  BBTK_AUTHOR("Info-Dev");
+  BBTK_DESCRIPTION("No Description.");
+  BBTK_CATEGORY("empty");
+  BBTK_INPUT(XMLImageDataWriter,In,"Input image",vtkImageData*,"");
+  BBTK_INPUT(XMLImageDataWriter,FileName,"File name",std::string,"");
+//  BBTK_OUTPUT(XMLImageDataWriter,Out,"First output",double,"");
+BBTK_END_DESCRIBE_BLACK_BOX(XMLImageDataWriter);
+//===== 
+// 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 // __bbcreaVtkXMLImageDataWriter_h_INCLUDED__
+