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 "vtkVersion.h"
12 #include "vtkImageData.h"
17 class bbvtk_EXPORT InversCrop
19 public bbtk::AtomicBlackBox
21 BBTK_BLACK_BOX_INTERFACE(InversCrop,bbtk::AtomicBlackBox);
23 // 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)
26 BBTK_DECLARE_INPUT(Active,bool);
27 BBTK_DECLARE_INPUT(Type,int);
28 BBTK_DECLARE_INPUT(ImageFix,vtkImageData*);
29 BBTK_DECLARE_INPUT(ImageMove,vtkImageData*);
30 BBTK_DECLARE_INPUT(Origin,std::vector<int>);
31 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
32 BBTK_PROCESS(Process);
35 vtkImageData *_imageoutput;
37 // 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)
41 BBTK_BEGIN_DESCRIBE_BLACK_BOX(InversCrop,bbtk::AtomicBlackBox);
42 BBTK_NAME("InversCrop");
43 BBTK_AUTHOR("InfoDev");
44 BBTK_DESCRIPTION("Invers Crop, Both images had to have the same format");
46 BBTK_INPUT(InversCrop,Active,"true/false (default true)",bool,"");
47 BBTK_INPUT(InversCrop,Type,"(default 0) 0=Create image for the result FixImage+MoveImage, 1=Use the FixImage as output",int,"");
48 BBTK_INPUT(InversCrop,ImageFix,"Fix Image (necesary). Need same format of ImageMove",vtkImageData*,"");
49 BBTK_INPUT(InversCrop,ImageMove,"Move Image (necesary). Need same format of ImageFix",vtkImageData*,"");
50 BBTK_INPUT(InversCrop,Origin,"Position to be put de Move Image (default 0,0,0 )",std::vector<int>,"");
51 BBTK_OUTPUT(InversCrop,Out,"First output",vtkImageData*,"");
52 BBTK_END_DESCRIBE_BLACK_BOX(InversCrop);
54 // 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)
59 #endif // __bbvtkInversCrop_h_INCLUDED__