]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkVecImageGaussianSmooth.h
1acb573b323811a70cca56a051432a50b9e439ea
[bbtk.git] / packages / vtk / src / bbvtkVecImageGaussianSmooth.h
1 #ifndef __bbvtkVecImageGaussianSmooth_h_INCLUDED__
2 #define __bbvtkVecImageGaussianSmooth_h_INCLUDED__
3 #include "bbtkAtomicBlackBox.h"
4 #include "iostream"
5
6 #include "vtkImageGaussianSmooth.h"
7 #include "vtkImageData.h"
8 #include <vector>
9
10 namespace bbvtk
11 {
12
13 class /*BBTK_EXPORT*/ VecImageGaussianSmooth
14  : 
15    public bbtk::AtomicBlackBox
16 {
17   BBTK_BLACK_BOX_INTERFACE(VecImageGaussianSmooth,bbtk::AtomicBlackBox);
18 //==================================================================
19 /// User callback called in the box contructor
20 virtual void bbUserConstructor();
21 /// User callback called in the box copy constructor
22 virtual void bbUserCopyConstructor();
23 /// User callback called in the box destructor
24 virtual void bbUserDestructor();
25 //==================================================================
26   BBTK_DECLARE_INPUT(In,std::vector<vtkImageData*>);
27   BBTK_DECLARE_INPUT(StdDevX,double);
28   BBTK_DECLARE_INPUT(StdDevY,double);
29   BBTK_DECLARE_INPUT(StdDevZ,double);
30   BBTK_DECLARE_INPUT(iImage,int);
31   BBTK_DECLARE_OUTPUT(Out,std::vector<vtkImageData*>);
32   BBTK_DECLARE_OUTPUT(OutImage,vtkImageData*);
33   BBTK_PROCESS(Process);
34   void Process();
35   
36   std::vector<vtkImageGaussianSmooth *> VecVtkimagegaussiansmooth;
37   std::vector<vtkImageData*>                    VecResult;
38 };
39
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(VecImageGaussianSmooth,bbtk::AtomicBlackBox);
41 BBTK_NAME("VecImageGaussianSmooth");
42 BBTK_AUTHOR("InfoTeam CREATIS-LRMN");
43 BBTK_DESCRIPTION("Vector of ImageGaussianSmooth");
44 BBTK_CATEGORY("filter");
45
46
47 BBTK_INPUT(VecImageGaussianSmooth,In,"Vector of input images",std::vector<vtkImageData*>,"");
48 BBTK_INPUT(VecImageGaussianSmooth,StdDevX,"Standard deviation in direction X",double,"");
49 BBTK_INPUT(VecImageGaussianSmooth,StdDevY,"Standard deviation in direction Y",double,"");
50 BBTK_INPUT(VecImageGaussianSmooth,StdDevZ,"Standard deviation in direction Z",double,"");
51 BBTK_INPUT(VecImageGaussianSmooth,iImage,"iImage ",int,"");
52 BBTK_OUTPUT(VecImageGaussianSmooth,Out,"Vector of output images",std::vector<vtkImageData*>,"");
53 BBTK_OUTPUT(VecImageGaussianSmooth,OutImage,"Image[iImage]",vtkImageData*,"");
54
55 BBTK_END_DESCRIBE_BLACK_BOX(VecImageGaussianSmooth);
56 }
57 // EO namespace bbvtk
58
59 #endif // __bbvtkVecImageGaussianSmooth_h_INCLUDED__
60