]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkCutter.h
#3465 cutter box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkCutter.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 __bbcreaVtkCutter_h_INCLUDED__
5 #define __bbcreaVtkCutter_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10 #include "vtkPolyData.h"
11 #include "vtkImplicitFunction.h"
12
13 namespace bbcreaVtk
14 {
15
16 class bbcreaVtk_EXPORT Cutter
17  : 
18    public bbtk::AtomicBlackBox
19 {
20   BBTK_BLACK_BOX_INTERFACE(Cutter,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(In,vtkPolyData*);
25   BBTK_DECLARE_INPUT(ImplicitFunction,vtkImplicitFunction*);
26   BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
27   BBTK_PROCESS(Process);
28   void Process();
29 //===== 
30 // 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 //===== 
32 };
33
34 BBTK_BEGIN_DESCRIBE_BLACK_BOX(Cutter,bbtk::AtomicBlackBox);
35   BBTK_NAME("Cutter");
36   BBTK_AUTHOR("InfoDev");
37   BBTK_DESCRIPTION("vtkCutter");
38   BBTK_CATEGORY("empty");
39
40   BBTK_INPUT(Cutter,In,"vtkPolyData input",vtkPolyData*,"");
41   BBTK_INPUT(Cutter,ImplicitFunction,"vtkImpliciteFunction  ex.: vtkBox, vtkCone, vtkCylender, vtkPlane, vtkSphere(s), vtkQuadric, ETC.",vtkImplicitFunction*,"");
42
43   BBTK_OUTPUT(Cutter,Out,"vtkPolyData output",vtkPolyData*,"");
44   
45 BBTK_END_DESCRIBE_BLACK_BOX(Cutter);
46 //===== 
47 // 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)
48 //===== 
49 } // EO namespace bbcreaVtk
50
51 #endif // __bbcreaVtkCutter_h_INCLUDED__
52