2 // 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)
4 #ifndef __bbvtkInversCrop_h_INCLUDED__
5 #define __bbvtkInversCrop_h_INCLUDED__
6 #include "bbvtk_EXPORT.h"
7 #include "bbtkAtomicBlackBox.h"
11 #include "vtkImageData.h"
16 class bbvtk_EXPORT InversCrop
18 public bbtk::AtomicBlackBox
20 BBTK_BLACK_BOX_INTERFACE(InversCrop,bbtk::AtomicBlackBox);
22 // 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)
24 BBTK_DECLARE_INPUT(Type,int);
25 BBTK_DECLARE_INPUT(ImageFix,vtkImageData*);
26 BBTK_DECLARE_INPUT(ImageMove,vtkImageData*);
27 BBTK_DECLARE_INPUT(Origin,std::vector<int>);
28 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
29 BBTK_PROCESS(Process);
32 vtkImageData *_imageoutput;
34 // 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)
38 BBTK_BEGIN_DESCRIBE_BLACK_BOX(InversCrop,bbtk::AtomicBlackBox);
39 BBTK_NAME("InversCrop");
40 BBTK_AUTHOR("InfoDev");
41 BBTK_DESCRIPTION("Invers Crop, Both images had to have the same format");
44 BBTK_INPUT(InversCrop,Type,"(default 0) 0=Create image for the result FixImage+MoveImage, 1=Use the FixImage as output",int,"");
45 BBTK_INPUT(InversCrop,ImageFix,"Fix Image (necesary). Need same format of ImageMove",vtkImageData*,"");
46 BBTK_INPUT(InversCrop,ImageMove,"Move Image (necesary). Need same format of ImageFix",vtkImageData*,"");
47 BBTK_INPUT(InversCrop,Origin,"Position to be put de Move Image (default 0,0,0 )",std::vector<int>,"");
49 BBTK_OUTPUT(InversCrop,Out,"First output",vtkImageData*,"");
51 BBTK_END_DESCRIBE_BLACK_BOX(InversCrop);
53 // 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)
58 #endif // __bbvtkInversCrop_h_INCLUDED__