]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkFillHolesFilter.h
#3468 cutter stripper fillholes box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkFillHolesFilter.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkFillHolesFilter.h b/bbtk_creaVtk_PKG/src/bbcreaVtkFillHolesFilter.h
new file mode 100644 (file)
index 0000000..f2ab5b4
--- /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 __bbcreaVtkFillHolesFilter_h_INCLUDED__
+#define __bbcreaVtkFillHolesFilter_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+#include "vtkPolyData.h"
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT FillHolesFilter
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(FillHolesFilter,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(HoleSize,double);
+  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(FillHolesFilter,bbtk::AtomicBlackBox);
+  BBTK_NAME("FillHolesFilter");  
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("vtk - Mesh fill holes");
+  BBTK_CATEGORY("empty");
+  BBTK_INPUT(FillHolesFilter,In,"Input mesh polydata",vtkPolyData*,"");
+  BBTK_INPUT(FillHolesFilter,HoleSize,"(default 500) Hole size",double,"");
+  BBTK_OUTPUT(FillHolesFilter,Out,"Output mesh",vtkPolyData*,"");
+BBTK_END_DESCRIBE_BLACK_BOX(FillHolesFilter);
+//===== 
+// 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 // __bbcreaVtkFillHolesFilter_h_INCLUDED__
+