]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkImageToLstPoints.h
#3479 LaplacianFilter box and ImageToPoints box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageToLstPoints.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkImageToLstPoints.h b/bbtk_creaVtk_PKG/src/bbcreaVtkImageToLstPoints.h
new file mode 100644 (file)
index 0000000..39caa1a
--- /dev/null
@@ -0,0 +1,61 @@
+//===== 
+// 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 __bbcreaVtkImageToLstPoints_h_INCLUDED__
+#define __bbcreaVtkImageToLstPoints_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+#include "vtkImageData.h"
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT ImageToLstPoints
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(ImageToLstPoints,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(Extent,std::vector<int>);
+    BBTK_DECLARE_INPUT(Range,std::vector<double>);
+    BBTK_DECLARE_INPUT(Background,double);
+    BBTK_DECLARE_INPUT(Type,int);
+    BBTK_DECLARE_OUTPUT(LstPointsX,std::vector<int>);
+    BBTK_DECLARE_OUTPUT(LstPointsY,std::vector<int>);
+    BBTK_DECLARE_OUTPUT(LstPointsZ,std::vector<int>);
+    BBTK_DECLARE_OUTPUT(LstValues,std::vector<double>);
+    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(ImageToLstPoints,bbtk::AtomicBlackBox);
+    BBTK_NAME("ImageToLstPoints");
+    BBTK_AUTHOR("InfoDev");
+    BBTK_DESCRIPTION("No Description.");
+    BBTK_CATEGORY("empty");
+    BBTK_INPUT(ImageToLstPoints,In,"Input",vtkImageData*,"");
+    BBTK_INPUT(ImageToLstPoints,Extent,"(default extent image) [minX maxX minY maxY minZ maxZ]",std::vector<int>,"");
+    BBTK_INPUT(ImageToLstPoints,Range,"(default range image) [min max] ",std::vector<double>,"");
+    BBTK_INPUT(ImageToLstPoints,Type,"(default 0) 0:Just the Range values  1:All point, put 0 in value for the outrange points",int,"");
+    BBTK_INPUT(ImageToLstPoints,Background,"'(default 0) for Type 1",double,"");
+    BBTK_OUTPUT(ImageToLstPoints,LstPointsX,"List of X",std::vector<int>,"");
+    BBTK_OUTPUT(ImageToLstPoints,LstPointsY,"List of Y",std::vector<int>,"");
+    BBTK_OUTPUT(ImageToLstPoints,LstPointsZ,"List of Z",std::vector<int>,"");
+    BBTK_OUTPUT(ImageToLstPoints,LstValues,"List of Z",std::vector<double>,"");
+BBTK_END_DESCRIBE_BLACK_BOX(ImageToLstPoints);
+//===== 
+// 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 // __bbcreaVtkImageToLstPoints_h_INCLUDED__
+