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)
4 #ifndef __bbcreaVtkPolyDataToImageData_h_INCLUDED__
5 #define __bbcreaVtkPolyDataToImageData_h_INCLUDED__
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
11 #include "vtkPolyData.h"
12 #include "vtkImageData.h"
13 #include "vtkPolyDataToImageStencil.h"
14 #include "vtkImageStencil.h"
15 #include "vtkCleanPolyData.h"
16 #include "vtkTriangleFilter.h"
17 #include "vtkExtractVOI.h"
18 #include "vtkExtractVOI.h"
23 class bbcreaVtk_EXPORT PolyDataToImageData
25 public bbtk::AtomicBlackBox
27 BBTK_BLACK_BOX_INTERFACE(PolyDataToImageData,bbtk::AtomicBlackBox);
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)
31 BBTK_DECLARE_INPUT(InImage,vtkImageData*);
32 BBTK_DECLARE_INPUT(BackgroundValue,double);
34 BBTK_DECLARE_INPUT(InPolyData,vtkPolyData*);
35 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
36 BBTK_PROCESS(Process);
39 vtkCleanPolyData *clean1;
40 vtkPolyDataToImageStencil *dataToStencil;
41 vtkExtractVOI *extract;
42 vtkImageStencil *stencil;
45 // 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 BBTK_BEGIN_DESCRIBE_BLACK_BOX(PolyDataToImageData,bbtk::AtomicBlackBox);
50 BBTK_NAME("PolyDataToImageData");
51 BBTK_AUTHOR("InfoDev");
52 BBTK_DESCRIPTION("No Description.");
53 BBTK_CATEGORY("empty");
55 BBTK_INPUT(PolyDataToImageData,InImage,"Image to put Result",vtkImageData*,"");
56 BBTK_INPUT(PolyDataToImageData,BackgroundValue,"(default 255) Background value",double,"");
57 BBTK_INPUT(PolyDataToImageData,InPolyData,"Input vtkPolyData",vtkPolyData*,"");
59 BBTK_OUTPUT(PolyDataToImageData,Out,"Output vtkImageData",vtkImageData*,"");
61 BBTK_END_DESCRIBE_BLACK_BOX(PolyDataToImageData);
63 // 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)
66 // EO namespace bbcreaVtk
68 #endif // __bbcreaVtkPolyDataToImageData_h_INCLUDED__