]> Creatis software - creaVtk.git/blobdiff - bbtk_creaVtk_PKG/src/bbcreaVtkPlane.h
#3465 cutter box
[creaVtk.git] / bbtk_creaVtk_PKG / src / bbcreaVtkPlane.h
diff --git a/bbtk_creaVtk_PKG/src/bbcreaVtkPlane.h b/bbtk_creaVtk_PKG/src/bbcreaVtkPlane.h
new file mode 100644 (file)
index 0000000..a6a1e85
--- /dev/null
@@ -0,0 +1,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)
+//===== 
+#ifndef __bbcreaVtkPlane_h_INCLUDED__
+#define __bbcreaVtkPlane_h_INCLUDED__
+
+#include "bbcreaVtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+#include "vtkImplicitFunction.h"
+
+namespace bbcreaVtk
+{
+
+class bbcreaVtk_EXPORT Plane
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(Plane,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(Origin,std::vector<double>);
+  BBTK_DECLARE_INPUT(Normal,std::vector<double>);
+  BBTK_DECLARE_OUTPUT(Out,vtkImplicitFunction*);
+  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(Plane,bbtk::AtomicBlackBox);
+  BBTK_NAME("Plane");
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("Implicite Function of VTK");
+  BBTK_CATEGORY("empty");
+
+  BBTK_INPUT(Plane,Origin,"(default [0,0,0])  point  [x,y,z]",std::vector<double>,"");
+  BBTK_INPUT(Plane,Normal,"(default [0,0,1]) vector [x,y,z]",std::vector<double>,"");
+
+  BBTK_OUTPUT(Plane,Out,"vtkImplicitFuntion",vtkImplicitFunction*,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(Plane);
+//===== 
+// 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 // __bbcreaVtkPlane_h_INCLUDED__
+