]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkInversCrop.h
#3157 BBTK Feature New - NormalInvertCropBox Active
[bbtk.git] / packages / vtk / src / bbvtkInversCrop.h
index 59d90dc0fafb91446211c8e57a68834952962ee3..fc56a555dd7dd74a5ab807e5f31d7b49ac343429 100644 (file)
@@ -21,6 +21,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 +42,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<int>,"");
-
   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)