]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageToLstPoints.h
#3479 LaplacianFilter box and ImageToPoints box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageToLstPoints.h
1 //===== 
2 // 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)
3 //===== 
4 #ifndef __bbcreaVtkImageToLstPoints_h_INCLUDED__
5 #define __bbcreaVtkImageToLstPoints_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10 #include "vtkImageData.h"
11
12 namespace bbcreaVtk
13 {
14
15 class bbcreaVtk_EXPORT ImageToLstPoints
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(ImageToLstPoints,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23     BBTK_DECLARE_INPUT(In,vtkImageData*);
24     BBTK_DECLARE_INPUT(Extent,std::vector<int>);
25     BBTK_DECLARE_INPUT(Range,std::vector<double>);
26     BBTK_DECLARE_INPUT(Background,double);
27     BBTK_DECLARE_INPUT(Type,int);
28     BBTK_DECLARE_OUTPUT(LstPointsX,std::vector<int>);
29     BBTK_DECLARE_OUTPUT(LstPointsY,std::vector<int>);
30     BBTK_DECLARE_OUTPUT(LstPointsZ,std::vector<int>);
31     BBTK_DECLARE_OUTPUT(LstValues,std::vector<double>);
32     BBTK_PROCESS(Process);
33     void Process();
34 //===== 
35 // 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)
36 //===== 
37 };
38
39 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageToLstPoints,bbtk::AtomicBlackBox);
40     BBTK_NAME("ImageToLstPoints");
41     BBTK_AUTHOR("InfoDev");
42     BBTK_DESCRIPTION("No Description.");
43     BBTK_CATEGORY("empty");
44     BBTK_INPUT(ImageToLstPoints,In,"Input",vtkImageData*,"");
45     BBTK_INPUT(ImageToLstPoints,Extent,"(default extent image) [minX maxX minY maxY minZ maxZ]",std::vector<int>,"");
46     BBTK_INPUT(ImageToLstPoints,Range,"(default range image) [min max] ",std::vector<double>,"");
47     BBTK_INPUT(ImageToLstPoints,Type,"(default 0) 0:Just the Range values  1:All point, put 0 in value for the outrange points",int,"");
48     BBTK_INPUT(ImageToLstPoints,Background,"'(default 0) for Type 1",double,"");
49     BBTK_OUTPUT(ImageToLstPoints,LstPointsX,"List of X",std::vector<int>,"");
50     BBTK_OUTPUT(ImageToLstPoints,LstPointsY,"List of Y",std::vector<int>,"");
51     BBTK_OUTPUT(ImageToLstPoints,LstPointsZ,"List of Z",std::vector<int>,"");
52     BBTK_OUTPUT(ImageToLstPoints,LstValues,"List of Z",std::vector<double>,"");
53 BBTK_END_DESCRIBE_BLACK_BOX(ImageToLstPoints);
54 //===== 
55 // 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)
56 //===== 
57 }
58 // EO namespace bbcreaVtk
59
60 #endif // __bbcreaVtkImageToLstPoints_h_INCLUDED__
61