]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageAccumulate.h
vtk9itk5wx3-macos
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImageAccumulate.h
1 //===== 
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)
3 //===== 
4 #ifndef __bbcreaVtkImageAccumulate_h_INCLUDED__
5 #define __bbcreaVtkImageAccumulate_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include <vtkVersionMacros.h>
11 #include "vtkImageData.h"
12 #include "vtkImageAccumulate.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT ImageAccumulate
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(ImageAccumulate,bbtk::AtomicBlackBox);
22 //===== 
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)
24 //===== 
25   BBTK_DECLARE_INPUT(In,vtkImageData*);
26   BBTK_DECLARE_OUTPUT(VoxelCount,int);
27   BBTK_PROCESS(Process);
28   void Process();
29
30         vtkImageAccumulate *acc;
31
32
33 //===== 
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)
35 //===== 
36 };
37
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");
43
44   BBTK_INPUT(ImageAccumulate,In,"Input image",vtkImageData*,"");
45
46   BBTK_OUTPUT(ImageAccumulate,VoxelCount,"VoxelCount",int,"");
47
48 BBTK_END_DESCRIBE_BLACK_BOX(ImageAccumulate);
49 //===== 
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)
51 //===== 
52 }
53 // EO namespace bbcreaVtk
54
55 #endif // __bbcreaVtkImageAccumulate_h_INCLUDED__
56