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)
4 #ifndef __bbcreaVtkLstOfVoxels_h_INCLUDED__
5 #define __bbcreaVtkLstOfVoxels_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
12 #include "vtkImageData.h"
17 class bbcreaVtk_EXPORT LstOfVoxels
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(LstOfVoxels,bbtk::AtomicBlackBox);
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)
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);
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)
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);
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)
54 // EO namespace bbcreaVtk
56 #endif // __bbcreaVtkLstOfVoxels_h_INCLUDED__