From: Eduardo Davila Date: Tue, 21 Jun 2011 08:53:42 +0000 (+0000) Subject: no message X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2a621f8bd495861a1cfb984217ce07d3b72172d8;p=bbtk.git no message --- diff --git a/packages/vtk/src/bbvtkUnaryOperations.cxx b/packages/vtk/src/bbvtkUnaryOperations.cxx index bcf168d..f9e1589 100644 --- a/packages/vtk/src/bbvtkUnaryOperations.cxx +++ b/packages/vtk/src/bbvtkUnaryOperations.cxx @@ -76,6 +76,9 @@ void UnaryOperations::Process() ope->SetOperationToLog(); break; + + +/* EED 21Juin 2011 Borrame case 10: substractWithMinimum(); bbSetOutputOut(constante); @@ -86,6 +89,8 @@ void UnaryOperations::Process() bbSetOutputOut(constante); return; break; +*/ + default: std::cout << "Invalid Operation" << std::endl; return; diff --git a/packages/vtk/src/bbvtkUnaryOperations.h b/packages/vtk/src/bbvtkUnaryOperations.h index fddd758..f1693de 100644 --- a/packages/vtk/src/bbvtkUnaryOperations.h +++ b/packages/vtk/src/bbvtkUnaryOperations.h @@ -32,7 +32,7 @@ class bbvtk_EXPORT UnaryOperations void crearPredeterminado(); void substractWithMinimum(); - void MultiplyBy(); +// void MultiplyBy(); bbtkStaticLecture lector; @@ -47,7 +47,7 @@ BBTK_BEGIN_DESCRIBE_BLACK_BOX(UnaryOperations,bbtk::AtomicBlackBox); BBTK_CATEGORY("filtre"); BBTK_INPUT(UnaryOperations,In1,"Image to be operated",vtkImageData*,""); BBTK_INPUT(UnaryOperations,InConstant,"Constant that will be used in the operations.",double,"0 default"); - BBTK_INPUT(UnaryOperations,Operation,"0:Add (Default), 1:subtract, 2:multiply, 3:divide, 4:invert, 5:sin, 6:cos, 7:exp, 8:log, 9:abs",int,"Addition default"); + BBTK_INPUT(UnaryOperations,Operation,"0:Add (Default), 1:subtract, 2:multiply, 3:divide, 4:invert, 5:sin, 6:cos, 7:exp, 8:log, 9:abs????",int,"Addition default"); BBTK_OUTPUT(UnaryOperations,Out,"",vtkImageData*,""); BBTK_END_DESCRIBE_BLACK_BOX(UnaryOperations); }