X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=packages%2Fvtk%2Fsrc%2FbbvtkBinaryOperations.cxx;h=f58c6ecd642af8bb16c110e4717fcb350b54d98a;hb=ab180f23cb155da45dce2bc83cf79955950dad7b;hp=4689f75c0800e441308ac1510a341e3c1a98f880;hpb=cfad95b6e08e6e53846ffcda7fbc5932065f2c47;p=bbtk.git diff --git a/packages/vtk/src/bbvtkBinaryOperations.cxx b/packages/vtk/src/bbvtkBinaryOperations.cxx index 4689f75..f58c6ec 100644 --- a/packages/vtk/src/bbvtkBinaryOperations.cxx +++ b/packages/vtk/src/bbvtkBinaryOperations.cxx @@ -84,12 +84,19 @@ void BinaryOperations::Process() case 3: ope->SetOperationToDivide(); break; + case 4: + ope->SetOperationToMax(); + break; + case 5: + ope->SetOperationToMin(); + break; default: std::cout << "Invalid Operation" << std::endl; return; break; } + ope->Modified(); ope->Update(); vtkImageData* salida = ope->GetOutput();