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