]> Creatis software - creaVtk.git/blob - bbtk_creaVtk_PKG/src/bbcreaVtkBoxWidget.h
#3525 Python descrition
[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 #include "vtkLinearTransform.h"
17
18 namespace bbcreaVtk
19 {
20
21 class bbcreaVtk_EXPORT BoxWidget
22  : 
23    public bbtk::AtomicBlackBox
24 {
25   BBTK_BLACK_BOX_INTERFACE(BoxWidget,bbtk::AtomicBlackBox);
26 //===== 
27 // 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)
28 //===== 
29   BBTK_DECLARE_INPUT( Active                , bool );
30   BBTK_DECLARE_INPUT( InitBoxChangeImage    , bool );
31   BBTK_DECLARE_INPUT( TransformIn           , vtkLinearTransform* );
32   BBTK_DECLARE_INPUT( Renderer              , vtkRenderer* );
33   BBTK_DECLARE_INPUT( ImageInitSize         , vtkImageData* );
34   BBTK_DECLARE_OUTPUT( ImplicitFunction     , vtkImplicitFunction* );
35   BBTK_DECLARE_OUTPUT( TransformOut         , vtkLinearTransform* );
36   BBTK_DECLARE_OUTPUT( Box_BoxWidget        , BoxWidget* );
37
38   BBTK_PROCESS(Process);
39
40     void SetTransform( vtkLinearTransform* transform );
41     void Process();
42
43         bool                    firsttime;
44         vtkBoxWidget    *boxWidget;
45         vtkPlanes               *planes;
46     vtkTransform    *transformOut;
47
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
53 BBTK_BEGIN_DESCRIBE_BLACK_BOX(BoxWidget,bbtk::AtomicBlackBox);
54   BBTK_NAME("BoxWidget");
55   BBTK_AUTHOR("InfoDev");
56   BBTK_DESCRIPTION("(C++,Python) No Description.");
57   BBTK_CATEGORY("empty");
58
59   BBTK_INPUT(BoxWidget,Active,"(default false)  true/false",bool,"");
60   BBTK_INPUT(BoxWidget,InitBoxChangeImage,"(default false)  true/false",bool,"");
61   BBTK_INPUT(BoxWidget,TransformIn,"vtkLinearTransform",vtkLinearTransform*,"");
62   BBTK_INPUT(BoxWidget,ImageInitSize,"(default NULL=> 0,500,0,500,0,500) Boudaring image size ",vtkImageData*,"");
63   BBTK_INPUT(BoxWidget,Renderer,"vtkRenderer",vtkRenderer*,"");
64
65   BBTK_OUTPUT(BoxWidget,ImplicitFunction,"vtkImplicitFunction",vtkImplicitFunction*,"");
66   BBTK_OUTPUT(BoxWidget,TransformOut,"vtkLinearTransform",vtkLinearTransform*,"");
67   BBTK_OUTPUT(BoxWidget,Box_BoxWidget,"bbtk Box BoxWidget",BoxWidget*,"");
68
69 BBTK_END_DESCRIBE_BLACK_BOX(BoxWidget);
70 //===== 
71 // 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)
72 //===== 
73 }
74 // EO namespace bbcreaVtk
75
76 #endif // __bbcreaVtkBoxWidget_h_INCLUDED__
77