]> Creatis software - creaWT.git/blobdiff - wt/bbtk_wt_PKG/src/bbwtSphereXTK.h
bugs wt xtk
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtSphereXTK.h
diff --git a/wt/bbtk_wt_PKG/src/bbwtSphereXTK.h b/wt/bbtk_wt_PKG/src/bbwtSphereXTK.h
new file mode 100644 (file)
index 0000000..4abf2be
--- /dev/null
@@ -0,0 +1,58 @@
+//===== 
+// 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)
+//===== 
+#ifndef __bbwtSphereXTK_h_INCLUDED__
+#define __bbwtSphereXTK_h_INCLUDED__
+#include "bbwt_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include<Wt/WContainerWidget>
+
+namespace bbwt
+{
+
+class bbwt_EXPORT SphereXTK
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(SphereXTK,bbtk::AtomicBlackBox);
+//===== 
+// 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)
+//===== 
+
+  BBTK_DECLARE_INPUT(ViewerWTxtk,Wt::WContainerWidget*);
+
+  BBTK_DECLARE_INPUT(Center,std::vector<double>);
+  BBTK_DECLARE_INPUT(Radio,double);
+//  BBTK_DECLARE_OUTPUT(Out,double);
+  BBTK_PROCESS(Process);
+  void Process();
+
+  bool firsttime;
+//===== 
+// 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)
+//===== 
+};
+
+BBTK_BEGIN_DESCRIBE_BLACK_BOX(SphereXTK,bbtk::AtomicBlackBox);
+  BBTK_NAME("SphereXTK");
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("No Description.");
+  BBTK_CATEGORY("empty");
+
+  BBTK_INPUT(SphereXTK,ViewerWTxtk,"Viewer 2D/3D Wt=>XTK "             ,Wt::WContainerWidget*,"");
+  BBTK_INPUT(SphereXTK,Center,"Center  [x,y,z]",std::vector<double>,"");
+  BBTK_INPUT(SphereXTK,Radio,"Radio",double,"");
+
+//  BBTK_OUTPUT(SphereXTK,Out,"First output",double,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(SphereXTK);
+//===== 
+// 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)
+//===== 
+}
+// EO namespace bbwt
+
+#endif // __bbwtSphereXTK_h_INCLUDED__
+