]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkGetVtkImageVectorSize.h
#3039 BBTK Bug New Normal - vtk package MetaImageReader exeption file not exists
[bbtk.git] / packages / vtk / src / bbvtkGetVtkImageVectorSize.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 __bbvtkGetVtkImageVectorSize_h_INCLUDED__
5 #define __bbvtkGetVtkImageVectorSize_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include "vtkImageData.h"
11
12 namespace bbvtk
13 {
14
15 class bbvtk_EXPORT GetVtkImageVectorSize
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(GetVtkImageVectorSize,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23   BBTK_DECLARE_INPUT(In,std::vector<vtkImageData*>);
24   BBTK_DECLARE_OUTPUT(VectorSize,int);
25   BBTK_PROCESS(Process);
26   void Process();
27 //===== 
28 // 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)
29 //===== 
30 };
31
32 BBTK_BEGIN_DESCRIBE_BLACK_BOX(GetVtkImageVectorSize,bbtk::AtomicBlackBox);
33 BBTK_NAME("GetVtkImageVectorSize");
34 BBTK_AUTHOR("Eduardo DAVILA");
35 BBTK_DESCRIPTION("eduardo.davila@creatis.insa-lyon.fr -");
36 BBTK_CATEGORY("std");
37
38   BBTK_INPUT(GetVtkImageVectorSize,In,"vtkImageData std::vector",std::vector<vtkImageData*>,"");
39
40   BBTK_OUTPUT(GetVtkImageVectorSize,VectorSize,"Size of the vtkImageData vector",int,"");
41
42 BBTK_END_DESCRIBE_BLACK_BOX(GetVtkImageVectorSize);
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 bbvtk
48
49 #endif // __bbvtkGetVtkImageVectorSize_h_INCLUDED__
50