]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkImageBoundaries.h
no message
[bbtk.git] / packages / vtk / src / bbvtkImageBoundaries.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 __bbvtkImageBoundaries_h_INCLUDED__
5 #define __bbvtkImageBoundaries_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10
11 #include <vtkImageData.h>
12
13 namespace bbvtk
14 {
15
16 class bbvtk_EXPORT ImageBoundaries
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(ImageBoundaries,bbtk::AtomicBlackBox);
21 //===== 
22 // 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)
23 //===== 
24         BBTK_DECLARE_INPUT(In,vtkImageData*);
25         BBTK_DECLARE_INPUT(LowerValue,double);
26         BBTK_DECLARE_INPUT(UpperValue,double);
27         BBTK_DECLARE_OUTPUT(Index,std::vector<int>);
28         BBTK_DECLARE_OUTPUT(Size,std::vector<int>);
29   BBTK_PROCESS(Process);
30   void Process();
31         
32
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(ImageBoundaries,bbtk::AtomicBlackBox);
39         BBTK_NAME("ImageBoundaries");
40         BBTK_AUTHOR("Info-Dev");
41         BBTK_DESCRIPTION("Get gray level boundaries of an vtkImageData");
42         BBTK_CATEGORY("filter");
43         BBTK_INPUT(ImageBoundaries,In,"Input image",vtkImageData*,"");
44         BBTK_INPUT(ImageBoundaries,LowerValue,"0 default. Lower gray level",double,"");
45         BBTK_INPUT(ImageBoundaries,UpperValue,"5000 default. Upper gray level",double,"");
46         BBTK_OUTPUT(ImageBoundaries,Index,"Start point of the boundarie",std::vector<int>,"");
47         BBTK_OUTPUT(ImageBoundaries,Size,"Size of the boundarie from start",std::vector<int>,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(ImageBoundaries);
49 //===== 
50 // 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)
51 //===== 
52 }
53 // EO namespace bbvtk
54
55 #endif // __bbvtkImageBoundaries_h_INCLUDED__
56