]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkImage3DVector.h
New functionality, obtain an 3D image vector from an image.
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkImage3DVector.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 __bbcreaVtkImage3DVector_h_INCLUDED__
5 #define __bbcreaVtkImage3DVector_h_INCLUDED__
6 #include "bbcreaVtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11 namespace bbcreaVtk
12 {
13
14 class bbcreaVtk_EXPORT Image3DVector
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(Image3DVector,bbtk::AtomicBlackBox);
19 //===== 
20 // 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)
21 //===== 
22   BBTK_DECLARE_INPUT(In,std::vector<vtkImageData*>);
23         BBTK_DECLARE_INPUT (NbImagesPerRow,int);
24   BBTK_DECLARE_INPUT (NbImagesInMosaic,int);
25   BBTK_DECLARE_OUTPUT(Out,std::vector<vtkImageData*>);
26   BBTK_PROCESS(Process);
27   void Process();
28 //===== 
29 // 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)
30 //===== 
31 };
32
33 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Image3DVector,bbtk::AtomicBlackBox);
34 BBTK_NAME("Image3DVector");
35 BBTK_AUTHOR("Carlos torres");
36 BBTK_DESCRIPTION("carlos.torres@insa-lyon.fr -");
37 BBTK_CATEGORY("empty");
38 BBTK_INPUT(Image3DVector,In,"2D image list",std::vector<vtkImageData*>,"");
39 BBTK_INPUT(Image3DVector,NbImagesPerRow,"Nb of Images Per Row ",int,"");
40 BBTK_INPUT(Image3DVector,NbImagesInMosaic,"Nb of Images In Mosaic ",int,"");
41 BBTK_OUTPUT(Image3DVector,Out,"3D image Vector",std::vector<vtkImageData*>,"");
42 BBTK_END_DESCRIBE_BLACK_BOX(Image3DVector);
43 //===== 
44 // 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)
45 //===== 
46 }
47 // EO namespace bbcreaVtk
48
49 #endif // __bbcreaVtkImage3DVector_h_INCLUDED__
50