]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkImageCastToUShort.h
*** empty log message ***
[bbtk.git] / packages / vtk / src / bbvtkImageCastToUShort.h
1 #ifndef __bbvtkImageCastToUShort_h_INCLUDED__
2 #define __bbvtkImageCastToUShort_h_INCLUDED__
3 #include "bbvtk_EXPORT.h"
4 #include "bbtkAtomicBlackBox.h"
5 #include "iostream"
6
7 #include "vtkImageData.h"
8 #include "vtkImageCast.h"
9
10
11 namespace bbvtk
12 {
13
14 class bbvtk_EXPORT ImageCastToUShort
15  : 
16    public bbtk::AtomicBlackBox
17 {
18   BBTK_BLACK_BOX_INTERFACE(ImageCastToUShort,bbtk::AtomicBlackBox);
19   BBTK_DECLARE_INPUT(In,vtkImageData*);
20   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
21   BBTK_PROCESS(Process);
22   void Process();
23
24 private:
25         vtkImageCast* cast;
26 };
27
28 BBTK_BEGIN_DESCRIBE_BLACK_BOX(ImageCastToUShort,bbtk::AtomicBlackBox);
29 BBTK_NAME("ImageCastToUShort");
30 BBTK_AUTHOR("car-prie@uniandes.edu.co");
31 BBTK_DESCRIPTION("Cast an Image to UShort");
32 BBTK_CATEGORY("__CATEGORY__");
33 BBTK_INPUT(ImageCastToUShort,In,"First input",vtkImageData*,"");
34 BBTK_OUTPUT(ImageCastToUShort,Out,"First output",vtkImageData*,"");
35 BBTK_END_DESCRIBE_BLACK_BOX(ImageCastToUShort);
36 }
37 // EO namespace bbvtk
38
39 #endif // __bbvtkImageCastToUShort_h_INCLUDED__
40