]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkInversCrop.h
63fb7ef3a733fc8b54646486541591a5c922711d
[bbtk.git] / packages / vtk / src / bbvtkInversCrop.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 __bbvtkInversCrop_h_INCLUDED__
5 #define __bbvtkInversCrop_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10
11 #include "vtkImageData.h"
12
13 namespace bbvtk
14 {
15
16 class bbvtk_EXPORT InversCrop
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(InversCrop,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(ImageFix,vtkImageData*);
25   BBTK_DECLARE_INPUT(ImageMove,vtkImageData*);
26   BBTK_DECLARE_INPUT(Origin,std::vector<int>);
27   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
28   BBTK_PROCESS(Process);
29   void Process();
30
31   vtkImageData *_imageoutput;
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(InversCrop,bbtk::AtomicBlackBox);
38   BBTK_NAME("InversCrop");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("Invers Crop, Both images had to have the same format");
41   BBTK_CATEGORY("");
42
43   BBTK_INPUT(InversCrop,ImageFix,"Fix Image (necesary). Need same format of ImageMove",vtkImageData*,"");
44   BBTK_INPUT(InversCrop,ImageMove,"Move Image (necesary). Need same format of ImageFix",vtkImageData*,"");
45   BBTK_INPUT(InversCrop,Origin,"Position to be put de Move Image (default 0,0,0 )",std::vector<int>,"");
46
47   BBTK_OUTPUT(InversCrop,Out,"First output",vtkImageData*,"");
48
49 BBTK_END_DESCRIBE_BLACK_BOX(InversCrop);
50 //===== 
51 // 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 //===== 
53 }
54 // EO namespace bbvtk
55
56 #endif // __bbvtkInversCrop_h_INCLUDED__
57