//===== // 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) //===== #ifndef __bbcreaVtkGrayLevel_h_INCLUDED__ #define __bbcreaVtkGrayLevel_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT GrayLevel : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(GrayLevel,bbtk::AtomicBlackBox); //===== // 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(); //===== // 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_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,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) //===== } // EO namespace bbcreaVtk #endif // __bbcreaVtkGrayLevel_h_INCLUDED__