X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkBinaryOperations.h;h=49db6b15d79e308f211d7491167e1b094a2aeeac;hb=9ce7b1159290d46aa6e38c4706d3fe5435d80508;hp=9e6bd034774f0807f5a07860a6adcb814bfe350c;hpb=9a0cff4a61edd2b20bc0d7d00f4509193b8c50b6;p=bbtk.git diff --git a/packages/vtk/src/bbvtkBinaryOperations.h b/packages/vtk/src/bbvtkBinaryOperations.h index 9e6bd03..49db6b1 100644 --- a/packages/vtk/src/bbvtkBinaryOperations.h +++ b/packages/vtk/src/bbvtkBinaryOperations.h @@ -32,6 +32,7 @@ #include "iostream" #include "bbtkStaticLecture.h" +#include "vtkVersion.h" #include #include @@ -66,14 +67,14 @@ class bbvtk_EXPORT BinaryOperations }; BBTK_BEGIN_DESCRIBE_BLACK_BOX(BinaryOperations,bbtk::AtomicBlackBox); -BBTK_NAME("BinaryOperations"); -BBTK_AUTHOR("Info-Dev"); -BBTK_DESCRIPTION("Arithmetic operations between two images: add, substract, multiply, divide"); -BBTK_CATEGORY("filter"); -BBTK_INPUT(BinaryOperations,In1,"first image to be operated",vtkImageData*,"NULL default"); -BBTK_INPUT(BinaryOperations,In2,"second image to be operated",vtkImageData*,"NULL default"); -BBTK_INPUT(BinaryOperations,Operation,"0:Add (default) , 1:subtract, 2:multiply, 3:divide",int,""); -BBTK_OUTPUT(BinaryOperations,Out,"",vtkImageData*,""); + BBTK_NAME("BinaryOperations"); + BBTK_AUTHOR("Info-Dev"); + BBTK_DESCRIPTION("Arithmetic operations between two images"); + BBTK_CATEGORY("filter"); + BBTK_INPUT(BinaryOperations,In1,"first image to be operated",vtkImageData*,"NULL default"); + BBTK_INPUT(BinaryOperations,In2,"second image to be operated",vtkImageData*,"NULL default"); + BBTK_INPUT(BinaryOperations,Operation,"0:Add (default) , 1:subtract, 2:multiply, 3:divide, 4=Max, 5=Min, 6=Replace with In1, 7=Replace with In2",int,""); + BBTK_OUTPUT(BinaryOperations,Out,"",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(BinaryOperations); } // EO namespace bbSimpleProcessing