]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkInversCrop.h
2118 BBTK Feature New High InversCrop
[bbtk.git] / packages / vtk / src / bbvtkInversCrop.h
diff --git a/packages/vtk/src/bbvtkInversCrop.h b/packages/vtk/src/bbvtkInversCrop.h
new file mode 100644 (file)
index 0000000..63fb7ef
--- /dev/null
@@ -0,0 +1,57 @@
+//===== 
+// 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 __bbvtkInversCrop_h_INCLUDED__
+#define __bbvtkInversCrop_h_INCLUDED__
+#include "bbvtk_EXPORT.h"
+#include "bbtkAtomicBlackBox.h"
+#include "iostream"
+
+
+#include "vtkImageData.h"
+
+namespace bbvtk
+{
+
+class bbvtk_EXPORT InversCrop
+ : 
+   public bbtk::AtomicBlackBox
+{
+  BBTK_BLACK_BOX_INTERFACE(InversCrop,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(ImageFix,vtkImageData*);
+  BBTK_DECLARE_INPUT(ImageMove,vtkImageData*);
+  BBTK_DECLARE_INPUT(Origin,std::vector<int>);
+  BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
+  BBTK_PROCESS(Process);
+  void Process();
+
+  vtkImageData *_imageoutput;
+//===== 
+// 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(InversCrop,bbtk::AtomicBlackBox);
+  BBTK_NAME("InversCrop");
+  BBTK_AUTHOR("InfoDev");
+  BBTK_DESCRIPTION("Invers Crop, Both images had to have the same format");
+  BBTK_CATEGORY("");
+
+  BBTK_INPUT(InversCrop,ImageFix,"Fix Image (necesary). Need same format of ImageMove",vtkImageData*,"");
+  BBTK_INPUT(InversCrop,ImageMove,"Move Image (necesary). Need same format of ImageFix",vtkImageData*,"");
+  BBTK_INPUT(InversCrop,Origin,"Position to be put de Move Image (default 0,0,0 )",std::vector<int>,"");
+
+  BBTK_OUTPUT(InversCrop,Out,"First output",vtkImageData*,"");
+
+BBTK_END_DESCRIBE_BLACK_BOX(InversCrop);
+//===== 
+// 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 bbvtk
+
+#endif // __bbvtkInversCrop_h_INCLUDED__
+