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 __bbcreaVtkGrayLevel_h_INCLUDED__
5 #define __bbcreaVtkGrayLevel_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkImageData.h"
15 class bbcreaVtk_EXPORT GrayLevel
17 public bbtk::AtomicBlackBox
19 BBTK_BLACK_BOX_INTERFACE(GrayLevel,bbtk::AtomicBlackBox);
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)
23 BBTK_DECLARE_INPUT(Image,vtkImageData*);
24 BBTK_DECLARE_INPUT(WithSpacing,bool);
25 BBTK_DECLARE_INPUT(Coordinate,std::vector<double>);
26 BBTK_DECLARE_INPUT(LstPointsX,std::vector<double>);
27 BBTK_DECLARE_INPUT(LstPointsY,std::vector<double>);
28 BBTK_DECLARE_INPUT(LstPointsZ,std::vector<double>);
29 BBTK_DECLARE_OUTPUT(GrayLevel,double);
30 BBTK_DECLARE_OUTPUT(LstGrayLevel,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(GrayLevel,bbtk::AtomicBlackBox);
39 BBTK_NAME("GrayLevel");
40 BBTK_AUTHOR("Monica ESPINOSA");
41 BBTK_DESCRIPTION("No Description.");
42 BBTK_CATEGORY("empty");
44 BBTK_INPUT(GrayLevel,Image,"Image",vtkImageData*,"");
45 BBTK_INPUT(GrayLevel,WithSpacing,"default (false) With spacing of the image",bool,"");
46 BBTK_INPUT(GrayLevel,Coordinate,"Coordinate Of Point ",std::vector<double>,"");
47 BBTK_INPUT(GrayLevel,LstPointsX," List of points in X",std::vector<double>,"");
48 BBTK_INPUT(GrayLevel,LstPointsY," List of points in X",std::vector<double>,"");
49 BBTK_INPUT(GrayLevel,LstPointsZ," List of points in X",std::vector<double>,"");
51 BBTK_OUTPUT(GrayLevel,GrayLevel,"GrayLevel",double,"");
52 BBTK_OUTPUT(GrayLevel,LstGrayLevel,"List of GrayLevels for the list of points",std::vector<double>,"");
54 BBTK_END_DESCRIBE_BLACK_BOX(GrayLevel);
56 // 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)
59 // EO namespace bbcreaVtk
61 #endif // __bbcreaVtkGrayLevel_h_INCLUDED__