]> Creatis software - creaWT.git/blob - wt/bbtk_wt_PKG/src/bbwtSphereXTK.h
bugs wt xtk
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtSphereXTK.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 __bbwtSphereXTK_h_INCLUDED__
5 #define __bbwtSphereXTK_h_INCLUDED__
6 #include "bbwt_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
8 #include "iostream"
9
10 #include<Wt/WContainerWidget>
11
12 namespace bbwt
13 {
14
15 class bbwt_EXPORT SphereXTK
16  : 
17    public bbtk::AtomicBlackBox
18 {
19   BBTK_BLACK_BOX_INTERFACE(SphereXTK,bbtk::AtomicBlackBox);
20 //===== 
21 // 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)
22 //===== 
23
24   BBTK_DECLARE_INPUT(ViewerWTxtk,Wt::WContainerWidget*);
25
26   BBTK_DECLARE_INPUT(Center,std::vector<double>);
27   BBTK_DECLARE_INPUT(Radio,double);
28 //  BBTK_DECLARE_OUTPUT(Out,double);
29   BBTK_PROCESS(Process);
30   void Process();
31
32   bool firsttime;
33 //===== 
34 // 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)
35 //===== 
36 };
37
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(SphereXTK,bbtk::AtomicBlackBox);
39   BBTK_NAME("SphereXTK");
40   BBTK_AUTHOR("InfoDev");
41   BBTK_DESCRIPTION("No Description.");
42   BBTK_CATEGORY("empty");
43
44   BBTK_INPUT(SphereXTK,ViewerWTxtk,"Viewer 2D/3D Wt=>XTK "             ,Wt::WContainerWidget*,"");
45   BBTK_INPUT(SphereXTK,Center,"Center  [x,y,z]",std::vector<double>,"");
46   BBTK_INPUT(SphereXTK,Radio,"Radio",double,"");
47
48 //  BBTK_OUTPUT(SphereXTK,Out,"First output",double,"");
49
50 BBTK_END_DESCRIBE_BLACK_BOX(SphereXTK);
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 bbwt
56
57 #endif // __bbwtSphereXTK_h_INCLUDED__
58