]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkExtrusion.h
#3488 Extrusion Boxes
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkExtrusion.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkExtrusion.h b/bbtk_creaVtk_PKG/src/bbcreaVtkExtrusion.h
new file mode 100644 (file)
index 0000000..63d9482
--- /dev/null
@@ -0,0 +1,55 @@
+//===== 
+// 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 __bbcreaVtkExtrusion_h_INCLUDED__
+#define __bbcreaVtkExtrusion_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include <vtkPolyData.h>
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT Extrusion
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(Extrusion,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(In,vtkPolyData*);
+    BBTK_DECLARE_INPUT(In2,vtkPolyData*);
+    BBTK_DECLARE_INPUT(Type,int);
+    BBTK_DECLARE_OUTPUT(Out,vtkPolyData*);
+    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(Extrusion,bbtk::AtomicBlackBox);
+BBTK_NAME("Extrusion");
+BBTK_AUTHOR("InfoDev");
+BBTK_DESCRIPTION("No Description.");
+BBTK_CATEGORY("empty");
+
+  BBTK_INPUT(Extrusion,In,"PolyData input ",vtkPolyData*,"");
+  BBTK_INPUT(Extrusion,In2,"PolyData input ",vtkPolyData*,"");
+  BBTK_INPUT(Extrusion,Type,"(default 0) Type 0:BOUNDARY_EDGES  1:ALL_EDGES",int,"");
+
+  BBTK_OUTPUT(Extrusion,Out,"PolyData output",vtkPolyData*,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(Extrusion);
+//===== 
+// 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 bbcreaVtk
+
+#endif // __bbcreaVtkExtrusion_h_INCLUDED__
+