]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkFromVtk4DToItk4D.h
7ff303cec6c097d7550a63df0beadbeb6687d7c6
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkFromVtk4DToItk4D.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 __bbcreaVtkFromVtk4DToItk4D_h_INCLUDED__
5 #define __bbcreaVtkFromVtk4DToItk4D_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9 #include "vtkImageData.h"
10 #include <vector>
11 #include "itkImage.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT FromVtk4DToItk4D
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
21
22   BBTK_DECLARE_INPUT(In,std::vector<vtkImageData*> );
23         //Bug. Image type doesn't work.
24   //BBTK_DECLARE_OUTPUT(Out,std::vector<itk::Image< unsigned char > >);
25   BBTK_PROCESS(Process);
26   void Process();
27
28 };
29
30 BBTK_BEGIN_DESCRIBE_BLACK_BOX(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
31 BBTK_NAME("FromVtk4DToItk4D");
32 BBTK_AUTHOR("Carlos Torres");
33 BBTK_DESCRIPTION("carlos.torres@creatis.insa-lyon.fr -");
34 BBTK_CATEGORY("empty");
35 BBTK_INPUT(FromVtk4DToItk4D,In,"Vtk image 4D",std::vector<vtkImageData*>,"");
36 //BBTK_OUTPUT(FromVtk4DToItk4D,Out,"Itk image 4D",std::vector<itk::Image< unsigned char > >,"");
37 BBTK_END_DESCRIBE_BLACK_BOX(FromVtk4DToItk4D);
38
39 }
40 // EO namespace bbcreaVtk
41
42 #endif // __bbcreaVtkFromVtk4DToItk4D_h_INCLUDED__
43