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 <vtkVersionMacros.h>
11 #include "vtkImageData.h"
12 #include "vtkImageAccumulate.h"
17 class bbcreaVtk_EXPORT ImageAccumulate
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(ImageAccumulate,bbtk::AtomicBlackBox);
23 // 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)
25 BBTK_DECLARE_INPUT(In,vtkImageData*);
26 BBTK_DECLARE_OUTPUT(VoxelCount,int);
27 BBTK_PROCESS(Process);
30 vtkImageAccumulate *acc;
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(ImageAccumulate,bbtk::AtomicBlackBox);
39 BBTK_NAME("ImageAccumulate");
40 BBTK_AUTHOR("Info-Dev");
41 BBTK_DESCRIPTION("Count voxel (IgnoreZeroOn)");
42 BBTK_CATEGORY("empty");
44 BBTK_INPUT(ImageAccumulate,In,"Input image",vtkImageData*,"");
46 BBTK_OUTPUT(ImageAccumulate,VoxelCount,"VoxelCount",int,"");
48 BBTK_END_DESCRIBE_BLACK_BOX(ImageAccumulate);
50 // 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)
53 // EO namespace bbcreaVtk
55 #endif // __bbcreaVtkImageAccumulate_h_INCLUDED__