]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkGetVtkImageVectorSize.h
#3120 BBTK Bug New Normal - merge branch changestoITK3and4 FROM master
[bbtk.git] / packages / vtk / src / bbvtkGetVtkImageVectorSize.h
diff --git a/packages/vtk/src/bbvtkGetVtkImageVectorSize.h b/packages/vtk/src/bbvtkGetVtkImageVectorSize.h
new file mode 100644 (file)
index 0000000..a48df64
--- /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 __bbvtkGetVtkImageVectorSize_h_INCLUDED__
+#define __bbvtkGetVtkImageVectorSize_h_INCLUDED__
+#include "bbvtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkImageData.h"
+
+namespace bbvtk
+{
+
+class bbvtk_EXPORT GetVtkImageVectorSize
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(GetVtkImageVectorSize,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,std::vector<vtkImageData*>);
+  BBTK_DECLARE_OUTPUT(VectorSize,int);
+  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(GetVtkImageVectorSize,bbtk::AtomicBlackBox);
+BBTK_NAME("GetVtkImageVectorSize");
+BBTK_AUTHOR("Eduardo DAVILA");
+BBTK_DESCRIPTION("eduardo.davila@creatis.insa-lyon.fr -");
+BBTK_CATEGORY("std");
+
+  BBTK_INPUT(GetVtkImageVectorSize,In,"vtkImageData std::vector",std::vector<vtkImageData*>,"");
+
+  BBTK_OUTPUT(GetVtkImageVectorSize,VectorSize,"Size of the vtkImageData vector",int,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(GetVtkImageVectorSize);
+//===== 
+// 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 bbvtk
+
+#endif // __bbvtkGetVtkImageVectorSize_h_INCLUDED__
+