]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkPolyDataToImageData.h
91e73cd784fd1dba8a2fcfce283f03a547f2d97b
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPolyDataToImageData.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 __bbcreaVtkPolyDataToImageData_h_INCLUDED__
5 #define __bbcreaVtkPolyDataToImageData_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkPolyData.h"
12 #include "vtkImageData.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT PolyDataToImageData
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(PolyDataToImageData,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(InImage,vtkImageData*);
26   BBTK_DECLARE_INPUT(BackgroundValue,double);
27
28   BBTK_DECLARE_INPUT(InPolyData,vtkPolyData*);
29   BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
30   BBTK_PROCESS(Process);
31   void Process();
32 //===== 
33 // 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)
34 //===== 
35 };
36
37 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataToImageData,bbtk::AtomicBlackBox);
38   BBTK_NAME("PolyDataToImageData");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42
43   BBTK_INPUT(PolyDataToImageData,InImage,"Image to put Result",vtkImageData*,"");
44   BBTK_INPUT(PolyDataToImageData,BackgroundValue,"(default 255) Background value",double,"");
45   BBTK_INPUT(PolyDataToImageData,InPolyData,"Input vtkPolyData",vtkPolyData*,"");
46
47   BBTK_OUTPUT(PolyDataToImageData,Out,"Output vtkImageData",vtkImageData*,"");
48
49 BBTK_END_DESCRIBE_BLACK_BOX(PolyDataToImageData);
50 //===== 
51 // 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)
52 //===== 
53 }
54 // EO namespace bbcreaVtk
55
56 #endif // __bbcreaVtkPolyDataToImageData_h_INCLUDED__
57