X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkInversCrop.h;h=d94fbec77feab71d561bd2d9504069a3c8049301;hb=ba904093f24f1b5d7689ca915de23183b9029ba4;hp=59d90dc0fafb91446211c8e57a68834952962ee3;hpb=1880cc0a4d3244494442cde0bc4b8e667774ebf4;p=bbtk.git diff --git a/packages/vtk/src/bbvtkInversCrop.h b/packages/vtk/src/bbvtkInversCrop.h index 59d90dc..d94fbec 100644 --- a/packages/vtk/src/bbvtkInversCrop.h +++ b/packages/vtk/src/bbvtkInversCrop.h @@ -8,6 +8,7 @@ #include "iostream" +#include "vtkVersion.h" #include "vtkImageData.h" namespace bbvtk @@ -21,6 +22,8 @@ class bbvtk_EXPORT 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) //===== + + BBTK_DECLARE_INPUT(Active,bool); BBTK_DECLARE_INPUT(Type,int); BBTK_DECLARE_INPUT(ImageFix,vtkImageData*); BBTK_DECLARE_INPUT(ImageMove,vtkImageData*); @@ -40,14 +43,12 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(InversCrop,bbtk::AtomicBlackBox); 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)