]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkLstOfVoxels.h
#3437creaVtkFeatureNewNormalConnectivity Filter (s) box and LstOfVoxels box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkLstOfVoxels.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 __bbcreaVtkLstOfVoxels_h_INCLUDED__
5 #define __bbcreaVtkLstOfVoxels_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vector"
12 #include "vtkImageData.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT LstOfVoxels
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(LstOfVoxels,bbtk::AtomicBlackBox);
22 //===== 
23 // 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)
24 //===== 
25   BBTK_DECLARE_INPUT(In,vtkImageData*);
26   BBTK_DECLARE_INPUT(Range,std::vector<double>);
27   BBTK_DECLARE_OUTPUT(LstX,std::vector<int>);
28   BBTK_DECLARE_OUTPUT(LstY,std::vector<int>);
29   BBTK_DECLARE_OUTPUT(LstZ,std::vector<int>);
30   BBTK_DECLARE_OUTPUT(LstValues,std::vector<double>);
31   BBTK_PROCESS(Process);
32   void Process();
33 //===== 
34 // 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)
35 //===== 
36 };
37
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(LstOfVoxels,bbtk::AtomicBlackBox);
39   BBTK_NAME("LstOfVoxels");
40   BBTK_AUTHOR("InfoDev");
41   BBTK_DESCRIPTION("No Description.");
42   BBTK_CATEGORY("empty");
43   BBTK_INPUT(LstOfVoxels,In,"Input image",vtkImageData*,"");
44   BBTK_INPUT(LstOfVoxels,Range,"Threshold [Min Max]",std::vector<double>,"");
45   BBTK_OUTPUT(LstOfVoxels,LstX,"List of x points",std::vector<int>,"");
46   BBTK_OUTPUT(LstOfVoxels,LstY,"List of y points",std::vector<int>,"");
47   BBTK_OUTPUT(LstOfVoxels,LstZ,"List of z points",std::vector<int>,"");
48   BBTK_OUTPUT(LstOfVoxels,LstValues,"List of z points",std::vector<double>,"");
49 BBTK_END_DESCRIBE_BLACK_BOX(LstOfVoxels);
50 //===== 
51 // 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)
52 //===== 
53 }
54 // EO namespace bbcreaVtk
55
56 #endif // __bbcreaVtkLstOfVoxels_h_INCLUDED__
57