]> Creatis software - bbtk.git/blobdiff - packages/vtk/src/bbvtkInversCrop.h
#3013 BBTK Feature New Normal - package vtk box InvertCrop Type option
[bbtk.git] / packages / vtk / src / bbvtkInversCrop.h
index 63fb7ef3a733fc8b54646486541591a5c922711d..5ed7d052da0cbf0e07107b07bbd6f95f5baf9a8f 100644 (file)
@@ -21,6 +21,7 @@ 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(Type,int);
   BBTK_DECLARE_INPUT(ImageFix,vtkImageData*);
   BBTK_DECLARE_INPUT(ImageMove,vtkImageData*);
   BBTK_DECLARE_INPUT(Origin,std::vector<int>);
@@ -40,6 +41,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(InversCrop,bbtk::AtomicBlackBox);
   BBTK_DESCRIPTION("Invers Crop, Both images had to have the same format");
   BBTK_CATEGORY("");
 
+  BBTK_INPUT(InversCrop,Type,"(default 0) 0=Create image for de 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>,"");