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)
25 BBTK_DECLARE_INPUT(Active,bool);
26 BBTK_DECLARE_INPUT(Type,int);
27 BBTK_DECLARE_INPUT(ImageFix,vtkImageData*);
28 BBTK_DECLARE_INPUT(ImageMove,vtkImageData*);
29 BBTK_DECLARE_INPUT(Origin,std::vector<int>);
30 BBTK_DECLARE_OUTPUT(Out,vtkImageData*);
31 BBTK_PROCESS(Process);
34 vtkImageData *_imageoutput;
36 // 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)
40 BBTK_BEGIN_DESCRIBE_BLACK_BOX(InversCrop,bbtk::AtomicBlackBox);
41 BBTK_NAME("InversCrop");
42 BBTK_AUTHOR("InfoDev");
43 BBTK_DESCRIPTION("Invers Crop, Both images had to have the same format");
45 BBTK_INPUT(InversCrop,Active,"true/false (default true)",bool,"");
46 BBTK_INPUT(InversCrop,Type,"(default 0) 0=Create image for the result FixImage+MoveImage, 1=Use the FixImage as output",int,"");
47 BBTK_INPUT(InversCrop,ImageFix,"Fix Image (necesary). Need same format of ImageMove",vtkImageData*,"");
48 BBTK_INPUT(InversCrop,ImageMove,"Move Image (necesary). Need same format of ImageFix",vtkImageData*,"");
49 BBTK_INPUT(InversCrop,Origin,"Position to be put de Move Image (default 0,0,0 )",std::vector<int>,"");
50 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__