]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkBoxWidget.h
#3274 creaVtk Feature New Normal - BooleanOperationPolyDataFilter BoxWidget ClipPol...
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkBoxWidget.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 __bbcreaVtkBoxWidget_h_INCLUDED__
5 #define __bbcreaVtkBoxWidget_h_INCLUDED__
6
7 #include "bbcreaVtk_EXPORT.h"
8 #include "bbtkAtomicBlackBox.h"
9 #include "iostream"
10
11 #include "vtkBoxWidget.h"
12 #include "vtkRenderer.h"
13 #include "vtkImplicitFunction.h"
14 #include "vtkPlanes.h"
15
16 namespace bbcreaVtk
17 {
18
19 class bbcreaVtk_EXPORT BoxWidget
20  : 
21    public bbtk::AtomicBlackBox
22 {
23   BBTK_BLACK_BOX_INTERFACE(BoxWidget,bbtk::AtomicBlackBox);
24 //===== 
25 // 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)
26 //===== 
27   BBTK_DECLARE_INPUT( Active , bool );
28   BBTK_DECLARE_INPUT( Renderer , vtkRenderer* );
29   BBTK_DECLARE_OUTPUT( ImplicitFunction , vtkImplicitFunction* );
30   BBTK_PROCESS(Process);
31   void Process();
32
33         bool                    firsttime;
34         vtkBoxWidget    *boxWidget;
35         vtkPlanes               *planes;
36 //===== 
37 // 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)
38 //===== 
39 };
40
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(BoxWidget,bbtk::AtomicBlackBox);
42   BBTK_NAME("BoxWidget");
43   BBTK_AUTHOR("InfoDev");
44   BBTK_DESCRIPTION("No Description.");
45   BBTK_CATEGORY("empty");
46
47   BBTK_INPUT(BoxWidget,Active,"(default false)  true/false",bool,"");
48   BBTK_INPUT(BoxWidget,Renderer,"vtkRenderer",vtkRenderer*,"");
49
50   BBTK_OUTPUT(BoxWidget,ImplicitFunction,"vtkImplicitFunction",vtkImplicitFunction*,"");
51
52 BBTK_END_DESCRIBE_BLACK_BOX(BoxWidget);
53 //===== 
54 // 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)
55 //===== 
56 }
57 // EO namespace bbcreaVtk
58
59 #endif // __bbcreaVtkBoxWidget_h_INCLUDED__
60