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 __bbcreaVtkImageAccumulate_h_INCLUDED__
5 #define __bbcreaVtkImageAccumulate_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
10 #include "vtkImageData.h"
11 #include "vtkImageAccumulate.h"
16 class bbcreaVtk_EXPORT ImageAccumulate
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(ImageAccumulate,bbtk::AtomicBlackBox);
22 // 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)
24 BBTK_DECLARE_INPUT(In,vtkImageData*);
25 BBTK_DECLARE_OUTPUT(VoxelCount,int);
26 BBTK_PROCESS(Process);
29 vtkImageAccumulate *acc;
33 // 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)
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageAccumulate,bbtk::AtomicBlackBox);
38 BBTK_NAME("ImageAccumulate");
39 BBTK_AUTHOR("Info-Dev");
40 BBTK_DESCRIPTION("Count voxel (IgnoreZeroOn)");
41 BBTK_CATEGORY("empty");
43 BBTK_INPUT(ImageAccumulate,In,"Input image",vtkImageData*,"");
45 BBTK_OUTPUT(ImageAccumulate,VoxelCount,"VoxelCount",int,"");
47 BBTK_END_DESCRIBE_BLACK_BOX(ImageAccumulate);
49 // 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)
52 // EO namespace bbcreaVtk
54 #endif // __bbcreaVtkImageAccumulate_h_INCLUDED__