]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkClipPolyData.h
#3274 creaVtk Feature New Normal - BooleanOperationPolyDataFilter BoxWidget ClipPol...
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkClipPolyData.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 __bbcreaVtkClipPolyData_h_INCLUDED__
5 #define __bbcreaVtkClipPolyData_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkPolyData.h"
12 #include "vtkImplicitFunction.h"
13
14 namespace bbcreaVtk
15 {
16
17 class bbcreaVtk_EXPORT ClipPolyData
18  : 
19    public bbtk::AtomicBlackBox
20 {
21   BBTK_BLACK_BOX_INTERFACE(ClipPolyData,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(Type,int);
26   BBTK_DECLARE_INPUT(In,vtkPolyData*);
27   BBTK_DECLARE_INPUT(Inside,bool);
28   BBTK_DECLARE_INPUT(ImplicitFunction,vtkImplicitFunction*);
29   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
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(ClipPolyData,bbtk::AtomicBlackBox);
38   BBTK_NAME("ClipPolyData");
39   BBTK_AUTHOR("InfoDev");
40   BBTK_DESCRIPTION("No Description.");
41   BBTK_CATEGORY("empty");
42
43   BBTK_INPUT(ClipPolyData,Type,"(default 0) 0:surface vtkClipPolydata   1:points vtkExtractPoints",int,"");
44   BBTK_INPUT(ClipPolyData,In,"vtkPolyData",vtkPolyData*,"");
45   BBTK_INPUT(ClipPolyData,Inside,"(defalut true)  Inside true, Outside false",bool,"");
46   BBTK_INPUT(ClipPolyData,ImplicitFunction,"vtkImplicitFunction",vtkImplicitFunction*,"");
47
48   BBTK_OUTPUT(ClipPolyData,Out,"vtkPolyData",vtkPolyData*,"");
49
50 BBTK_END_DESCRIBE_BLACK_BOX(ClipPolyData);
51 //===== 
52 // 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)
53 //===== 
54 }
55 // EO namespace bbcreaVtk
56
57 #endif // __bbcreaVtkClipPolyData_h_INCLUDED__
58