From: Eduardo DAVILA Date: Thu, 1 Aug 2019 05:34:58 +0000 (+0200) Subject: #3288 BBTK Bug New Normal - BinaryOperations signal modification error X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=7778b66d794d0ae910cf48147fd0edbd5a4fe2e8;p=bbtk.git #3288 BBTK Bug New Normal - BinaryOperations signal modification error --- diff --git a/packages/vtk/src/bbvtkBinaryOperations.cxx b/packages/vtk/src/bbvtkBinaryOperations.cxx index 106ceb2..0e2a523 100644 --- a/packages/vtk/src/bbvtkBinaryOperations.cxx +++ b/packages/vtk/src/bbvtkBinaryOperations.cxx @@ -35,7 +35,6 @@ BBTK_ADD_BLACK_BOX_TO_PACKAGE(vtk,BinaryOperations) BBTK_BLACK_BOX_IMPLEMENTATION(BinaryOperations,bbtk::AtomicBlackBox); void BinaryOperations::Process() { - // THE MAIN PROCESSING METHOD BODY // Here we simply set the input 'In' value to the output 'Out' // And print out the output value @@ -50,7 +49,7 @@ void BinaryOperations::Process() if (bbGetInputIn1() == NULL) { - std::cout << "Set In1 at least" << std::endl; + std::cout << "EED BinaryOperations::Process Set In1 at least" << std::endl; return; } @@ -73,12 +72,9 @@ void BinaryOperations::Process() #endif } else { - std::cout << "Set In2" << std::endl; + std::cout << "EED BinaryOperations::Process Set In2" << std::endl; return; } - - - switch (bbGetInputOperation()) { case 0: @@ -105,14 +101,11 @@ void BinaryOperations::Process() return; break; } - ope->Modified(); ope->Update(); vtkImageData* salida = ope->GetOutput(); - bbSetOutputOut(salida); - bbSignalOutputModification(); - +// bbSignalOutputModification(); }