//===== // 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 __bbcreaVtkImageAccumulate_h_INCLUDED__ #define __bbcreaVtkImageAccumulate_h_INCLUDED__ #include "bbcreaVtk_EXPORT.h" #include "bbtkAtomicBlackBox.h" #include "iostream" #include "vtkImageData.h" #include "vtkImageAccumulate.h" namespace bbcreaVtk { class bbcreaVtk_EXPORT ImageAccumulate : public bbtk::AtomicBlackBox { BBTK_BLACK_BOX_INTERFACE(ImageAccumulate,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(In,vtkImageData*); BBTK_DECLARE_OUTPUT(VoxelCount,int); BBTK_PROCESS(Process); void Process(); vtkImageAccumulate *acc; //===== // 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(ImageAccumulate,bbtk::AtomicBlackBox); BBTK_NAME("ImageAccumulate"); BBTK_AUTHOR("Info-Dev"); BBTK_DESCRIPTION("Count voxel (IgnoreZeroOn)"); BBTK_CATEGORY("empty"); BBTK_INPUT(ImageAccumulate,In,"Input image",vtkImageData*,""); BBTK_OUTPUT(ImageAccumulate,VoxelCount,"VoxelCount",int,""); BBTK_END_DESCRIBE_BLACK_BOX(ImageAccumulate); //===== // 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 // __bbcreaVtkImageAccumulate_h_INCLUDED__