]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImageAccumulate.h
#2811 creaVtk Feature New Normal - Concat Transform ImageAccumulate TransformVector
[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 "vtkImageData.h"
11 #include "vtkImageAccumulate.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT ImageAccumulate
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(ImageAccumulate,bbtk::AtomicBlackBox);
21 //===== 
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)
23 //===== 
24   BBTK_DECLARE_INPUT(In,vtkImageData*);
25   BBTK_DECLARE_OUTPUT(VoxelCount,int);
26   BBTK_PROCESS(Process);
27   void Process();
28
29         vtkImageAccumulate *acc;
30
31
32 //===== 
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)
34 //===== 
35 };
36
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");
42
43   BBTK_INPUT(ImageAccumulate,In,"Input image",vtkImageData*,"");
44
45   BBTK_OUTPUT(ImageAccumulate,VoxelCount,"VoxelCount",int,"");
46
47 BBTK_END_DESCRIBE_BLACK_BOX(ImageAccumulate);
48 //===== 
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)
50 //===== 
51 }
52 // EO namespace bbcreaVtk
53
54 #endif // __bbcreaVtkImageAccumulate_h_INCLUDED__
55