X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=packages%2Fvtk%2Fsrc%2FbbvtkInversCrop.h;fp=packages%2Fvtk%2Fsrc%2FbbvtkInversCrop.h;h=63fb7ef3a733fc8b54646486541591a5c922711d;hb=cb583d72f63e28fc654386c4eb02257b62f24ffe;hp=0000000000000000000000000000000000000000;hpb=03110e730a19cb174f6a820f97b7a972a1ff9fc2;p=bbtk.git diff --git a/packages/vtk/src/bbvtkInversCrop.h b/packages/vtk/src/bbvtkInversCrop.h new file mode 100644 index 0000000..63fb7ef --- /dev/null +++ b/packages/vtk/src/bbvtkInversCrop.h @@ -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); + 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,""); + + 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__ +