]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkBooleanOperationPolyDataFilter.h
#3274 creaVtk Feature New Normal - BooleanOperationPolyDataFilter BoxWidget ClipPol...
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkBooleanOperationPolyDataFilter.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 __bbcreaVtkBooleanOperationPolyDataFilter_h_INCLUDED__
5 #define __bbcreaVtkBooleanOperationPolyDataFilter_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkPolyData.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT BooleanOperationPolyDataFilter
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(BooleanOperationPolyDataFilter,bbtk::AtomicBlackBox);
21 //===== 
22 // 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)
23 //===== 
24   BBTK_DECLARE_INPUT(In1,vtkPolyData*);
25   BBTK_DECLARE_INPUT(In2,vtkPolyData*);
26   BBTK_DECLARE_INPUT(Operation,int);
27   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
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(BooleanOperationPolyDataFilter,bbtk::AtomicBlackBox);
36   BBTK_NAME("BooleanOperationPolyDataFilter");
37   BBTK_AUTHOR("InfoDev");
38   BBTK_DESCRIPTION("No Description.");
39   BBTK_CATEGORY("empty");
40
41   BBTK_INPUT(BooleanOperationPolyDataFilter,In1,"vtkPolyData",vtkPolyData*,"");
42   BBTK_INPUT(BooleanOperationPolyDataFilter,In2,"vtkPolyData",vtkPolyData*,"");
43   BBTK_INPUT(BooleanOperationPolyDataFilter,Operation,"(defalut 0) 0:Union 1:Intersection 2:Difference",int,"");
44
45   BBTK_OUTPUT(BooleanOperationPolyDataFilter,Out,"vtkPolyData",vtkPolyData*,"");
46
47 BBTK_END_DESCRIBE_BLACK_BOX(BooleanOperationPolyDataFilter);
48 //===== 
49 // 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)
50 //===== 
51 }
52 // EO namespace bbcreaVtk
53
54 #endif // __bbcreaVtkBooleanOperationPolyDataFilter_h_INCLUDED__
55