]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkTurnImage.h
#3513 CleanMeshWithPatch
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkTurnImage.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 __bbcreaVtkTurnImage_h_INCLUDED__
5 #define __bbcreaVtkTurnImage_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include <vtkVersionMacros.h>
12 #include "vtkImageData.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT TurnImage
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(TurnImage,bbtk::AtomicBlackBox);
22 //===== 
23 // 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)
24 //===== 
25   BBTK_DECLARE_INPUT(In,vtkImageData*);
26   BBTK_DECLARE_INPUT(Dir,int);
27   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
28   BBTK_PROCESS(Process);
29   void Process();
30 //===== 
31 // 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)
32 //===== 
33 };
34
35 BBTK_BEGIN_DESCRIBE_BLACK_BOX(TurnImage,bbtk::AtomicBlackBox);
36   BBTK_NAME("TurnImage");
37   BBTK_AUTHOR("InfoDev");
38   BBTK_DESCRIPTION("No Description.");
39   BBTK_CATEGORY("empty");
40
41   BBTK_INPUT(TurnImage,In,"Input Image",vtkImageData*,"");
42   BBTK_INPUT(TurnImage,Dir,"(default 0) 0:XY(original)  1:YZ  2:XZ",int,"");
43
44   BBTK_OUTPUT(TurnImage,Out,"Output image",vtkImageData*,"");
45
46 BBTK_END_DESCRIBE_BLACK_BOX(TurnImage);
47 //===== 
48 // 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)
49 //===== 
50 }
51 // EO namespace bbcreaVtk
52
53 #endif // __bbcreaVtkTurnImage_h_INCLUDED__
54