]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageConnectivityFilter.h
#3437creaVtkFeatureNewNormalConnectivity Filter (s) box and LstOfVoxels box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageConnectivityFilter.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 __bbcreaVtkImageConnectivityFilter_h_INCLUDED__
5 #define __bbcreaVtkImageConnectivityFilter_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include <vtkImageData.h>
12 #include <vtkImageConnectivityFilter.h>
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT ImageConnectivityFilter
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(ImageConnectivityFilter,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(ExtractionMode,int);
27   BBTK_DECLARE_INPUT(ScalarRange,std::vector< double >);
28
29   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
30   BBTK_PROCESS(Process);
31   void Process();
32
33   vtkImageConnectivityFilter* imgConnfilter;
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(ImageConnectivityFilter,bbtk::AtomicBlackBox);
40   BBTK_NAME("ImageConnectivityFilter");
41   BBTK_AUTHOR("InfoDev");
42   BBTK_DESCRIPTION("No Description.");
43   BBTK_CATEGORY("empty");
44
45   BBTK_INPUT(ImageConnectivityFilter,In,"Input image",vtkImageData*,"");
46   BBTK_INPUT(ImageConnectivityFilter,ExtractionMode,"(default 0) 0=LargestRegion  1=AllRegions   2=SeededRegions",int,"");
47   BBTK_INPUT(ImageConnectivityFilter,ScalarRange,"threshold [Min Max]",std::vector< double >,"");
48
49   BBTK_OUTPUT(ImageConnectivityFilter,Out,"Output image",vtkImageData*,"");
50
51 BBTK_END_DESCRIBE_BLACK_BOX(ImageConnectivityFilter);
52 //===== 
53 // 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 //===== 
55 }
56 // EO namespace bbcreaVtk
57
58 #endif // __bbcreaVtkImageConnectivityFilter_h_INCLUDED__
59