//===== // 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(Active,bool); BBTK_DECLARE_INPUT(Type,int); 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,Active,"true/false (default true)",bool,""); BBTK_INPUT(InversCrop,Type,"(default 0) 0=Create image for the result FixImage+MoveImage, 1=Use the FixImage as output",int,""); 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__