X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkGrayLevel.h;fp=bbtk_creaVtk_PKG%2Fsrc%2FbbcreaVtkGrayLevel.h;h=1023f8df5fa82a3f156b9d6443bd38679ecf24e5;hb=5b1af4fb7d491747f57465950509dc2fcc7b07a6;hp=20e06f821aae006d3f0096fee23fea3dc0aa7515;hpb=4f4d31c32dcb776788d8cc66ea8bbe0d27685eea;p=creaVtk.git diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkGrayLevel.h b/bbtk_creaVtk_PKG/src/bbcreaVtkGrayLevel.h index 20e06f8..1023f8d 100644 --- a/bbtk_creaVtk_PKG/src/bbcreaVtkGrayLevel.h +++ b/bbtk_creaVtk_PKG/src/bbcreaVtkGrayLevel.h @@ -21,8 +21,13 @@ class bbcreaVtk_EXPORT GrayLevel // 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) //===== BBTK_DECLARE_INPUT(Image,vtkImageData*); + BBTK_DECLARE_INPUT(WithSpacing,bool); BBTK_DECLARE_INPUT(Coordinate,std::vector); + BBTK_DECLARE_INPUT(LstPointsX,std::vector); + BBTK_DECLARE_INPUT(LstPointsY,std::vector); + BBTK_DECLARE_INPUT(LstPointsZ,std::vector); BBTK_DECLARE_OUTPUT(GrayLevel,double); + BBTK_DECLARE_OUTPUT(LstGrayLevel,std::vector); BBTK_PROCESS(Process); void Process(); //===== @@ -31,13 +36,21 @@ class bbcreaVtk_EXPORT GrayLevel }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(GrayLevel,bbtk::AtomicBlackBox); -BBTK_NAME("GrayLevel"); -BBTK_AUTHOR("Monica ESPINOSA"); -BBTK_DESCRIPTION("No Description."); -BBTK_CATEGORY("empty"); -BBTK_INPUT(GrayLevel,Image,"Image",vtkImageData*,""); -BBTK_INPUT(GrayLevel,Coordinate,"Coordinate Of Point ",std::vector,""); -BBTK_OUTPUT(GrayLevel,GrayLevel,"GrayLevel",double,""); + BBTK_NAME("GrayLevel"); + BBTK_AUTHOR("Monica ESPINOSA"); + BBTK_DESCRIPTION("No Description."); + BBTK_CATEGORY("empty"); + + BBTK_INPUT(GrayLevel,Image,"Image",vtkImageData*,""); + BBTK_INPUT(GrayLevel,WithSpacing,"default (false) With spacing of the image",bool,""); + BBTK_INPUT(GrayLevel,Coordinate,"Coordinate Of Point ",std::vector,""); + BBTK_INPUT(GrayLevel,LstPointsX," List of points in X",std::vector,""); + BBTK_INPUT(GrayLevel,LstPointsY," List of points in X",std::vector,""); + BBTK_INPUT(GrayLevel,LstPointsZ," List of points in X",std::vector,""); + + BBTK_OUTPUT(GrayLevel,GrayLevel,"GrayLevel",double,""); + BBTK_OUTPUT(GrayLevel,LstGrayLevel,"List of GrayLevels for the list of points",std::vector,""); + BBTK_END_DESCRIBE_BLACK_BOX(GrayLevel); //===== // 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)