]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkFromVtk4DToItk4D.h
2178 creaVtk Bug New High Error in creaVtkFromVtk4DToItk4 box output.
[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
10 #include "vtkImageData.h"
11 #include <vector>
12 //#include "itkImage.h"
13 #include "creaVtkFromVtk4DToItk4D.h"
14
15 namespace bbcreaVtk
16 {
17
18 class bbcreaVtk_EXPORT FromVtk4DToItk4D
19  : 
20    public bbtk::AtomicBlackBox
21 {
22   BBTK_BLACK_BOX_INTERFACE(FromVtk4DToItk4D,bbtk::AtomicBlackBox);
23   BBTK_DECLARE_INPUT(In,std::vector<vtkImageData*> );
24   BBTK_DECLARE_OUTPUT(Out, Image4DType::Pointer );
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
36  BBTK_INPUT(FromVtk4DToItk4D,In,"Vtk image 4D",std::vector<vtkImageData*>,"");
37
38  BBTK_OUTPUT(FromVtk4DToItk4D,Out,"Itk image 4D", Image4DType::Pointer ,"");
39
40 BBTK_END_DESCRIBE_BLACK_BOX(FromVtk4DToItk4D);
41
42 }
43 // EO namespace bbcreaVtk
44
45 #endif // __bbcreaVtkFromVtk4DToItk4D_h_INCLUDED__
46