]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkGrayLevel.h
#2676 creaVtk Feature New Normal - New GrayLevel
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkGrayLevel.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 __bbcreaVtkGrayLevel_h_INCLUDED__
5 #define __bbcreaVtkGrayLevel_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11
12 namespace bbcreaVtk
13 {
14
15 class bbcreaVtk_EXPORT GrayLevel
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(GrayLevel,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(Image,vtkImageData*);
24   BBTK_DECLARE_INPUT(Coordinate,std::vector<double>);
25   BBTK_DECLARE_OUTPUT(GrayLevel,double);
26   BBTK_PROCESS(Process);
27   void Process();
28 //===== 
29 // 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)
30 //===== 
31 };
32
33 BBTK_BEGIN_DESCRIBE_BLACK_BOX(GrayLevel,bbtk::AtomicBlackBox);
34 BBTK_NAME("GrayLevel");
35 BBTK_AUTHOR("Monica ESPINOSA");
36 BBTK_DESCRIPTION("No Description.");
37 BBTK_CATEGORY("empty");
38 BBTK_INPUT(GrayLevel,Image,"Image",vtkImageData*,"");
39 BBTK_INPUT(GrayLevel,Coordinate,"Coordinate Of Point ",std::vector<double>,"");
40 BBTK_OUTPUT(GrayLevel,GrayLevel,"GrayLevel",double,"");
41 BBTK_END_DESCRIBE_BLACK_BOX(GrayLevel);
42 //===== 
43 // 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)
44 //===== 
45 }
46 // EO namespace bbcreaVtk
47
48 #endif // __bbcreaVtkGrayLevel_h_INCLUDED__
49