]> Creatis software - creaWT.git/blobdiff - wt/bbtk_wt_PKG/src/bbwtAddMesh.h
bugs wt xtk
[creaWT.git] / wt / bbtk_wt_PKG / src / bbwtAddMesh.h
diff --git a/wt/bbtk_wt_PKG/src/bbwtAddMesh.h b/wt/bbtk_wt_PKG/src/bbwtAddMesh.h
new file mode 100644 (file)
index 0000000..3ebde73
--- /dev/null
@@ -0,0 +1,50 @@
+//===== 
+// 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 __bbwtAddMesh_h_INCLUDED__
+#define __bbwtAddMesh_h_INCLUDED__
+#include "bbwt_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include<Wt/WContainerWidget>
+
+namespace bbwt
+{
+
+class bbwt_EXPORT AddMesh
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(AddMesh,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(ViewerWt,Wt::WContainerWidget*);
+  BBTK_DECLARE_INPUT(Mesh,std::string);
+//  BBTK_DECLARE_OUTPUT(Out,double);
+  BBTK_PROCESS(Process);
+  void Process();
+//===== 
+// 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(AddMesh,bbtk::AtomicBlackBox);
+ BBTK_NAME("AddMesh");
+ BBTK_AUTHOR("Info-Dev");
+ BBTK_DESCRIPTION("No Description.");
+ BBTK_CATEGORY("empty");
+
+ BBTK_INPUT(AddMesh,ViewerWt,"Viewer 2D/3D Wt=>XTK "             ,Wt::WContainerWidget*,"");
+ BBTK_INPUT(AddMesh,Mesh    ,"Filename (from resourceDir-WT)" ,std::string          ,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(AddMesh);
+//===== 
+// 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 // __bbwtAddMesh_h_INCLUDED__
+